{"action":"created","issue":{"url":"https://api.github.com/repos/TaranVH/2nd-keyboard/issues/21","repository_url":"https://api.github.com/repos/TaranVH/2nd-keyboard","labels_url":"https://api.github.com/repos/TaranVH/2nd-keyboard/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/TaranVH/2nd-keyboard/issues/21/comments","events_url":"https://api.github.com/repos/TaranVH/2nd-keyboard/issues/21/events","html_url":"https://github.com/TaranVH/2nd-keyboard/issues/21","id":149669286,"number":21,"title":"Followed the Steps, but Doesn't Work","user":{"login":"FrancyCakes","id":18567635,"avatar_url":"https://avatars.githubusercontent.com/u/18567635?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancyCakes","html_url":"https://github.com/FrancyCakes","followers_url":"https://api.github.com/users/FrancyCakes/followers","following_url":"https://api.github.com/users/FrancyCakes/following{/other_user}","gists_url":"https://api.github.com/users/FrancyCakes/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancyCakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancyCakes/subscriptions","organizations_url":"https://api.github.com/users/FrancyCakes/orgs","repos_url":"https://api.github.com/users/FrancyCakes/repos","events_url":"https://api.github.com/users/FrancyCakes/events{/privacy}","received_events_url":"https://api.github.com/users/FrancyCakes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-04-20T06:06:01Z","updated_at":"2016-08-31T06:45:07Z","closed_at":null,"body":"Followed each step in the guide, but when it came to running the script I found that none of the keys on the second keyboard did anything, not even regular keystrokes. LuaMacros recognizes each keystroke but none of the given scripts worked for me. \r\n\r\nI'm not entirely sure what the problem is. "},"comment":{"url":"https://api.github.com/repos/TaranVH/2nd-keyboard/issues/comments/243673321","html_url":"https://github.com/TaranVH/2nd-keyboard/issues/21#issuecomment-243673321","issue_url":"https://api.github.com/repos/TaranVH/2nd-keyboard/issues/21","id":243673321,"user":{"login":"TaranVH","id":16040799,"avatar_url":"https://avatars.githubusercontent.com/u/16040799?v=3","gravatar_id":"","url":"https://api.github.com/users/TaranVH","html_url":"https://github.com/TaranVH","followers_url":"https://api.github.com/users/TaranVH/followers","following_url":"https://api.github.com/users/TaranVH/following{/other_user}","gists_url":"https://api.github.com/users/TaranVH/gists{/gist_id}","starred_url":"https://api.github.com/users/TaranVH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TaranVH/subscriptions","organizations_url":"https://api.github.com/users/TaranVH/orgs","repos_url":"https://api.github.com/users/TaranVH/repos","events_url":"https://api.github.com/users/TaranVH/events{/privacy}","received_events_url":"https://api.github.com/users/TaranVH/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T06:45:07Z","updated_at":"2016-08-31T06:45:07Z","body":"There could be a LOT of things wrong here!\r\n\r\nBasically you have to just go one small step at a time.\r\n\r\nYou got luamacros working.\r\nnow you need to see if it is properly saving into keypressed.txt!\r\n\r\nNow, you need to learn a little about autohotkey... try writing a VERY simple script that will READ keypressed.txt and put the result in a text box!\r\n\r\nHere, I did it for you!\r\n\r\nF12::\r\nFileRead, key, C:\\Users\\TaranVanHemert\\Documents\\GitHub\\2nd-keyboard\\2nd keyboard support files\\keypressed.txt\r\nmsgbox, your key is %key%\r\nReturn\r\n\r\nchange the file path first, of course. Note that this uses F12 so that you can press it on your keyboard!\r\n \r\nThen try even more complicated code like this!\r\nF12::\r\nFileRead, key, C:\\Users\\TaranVanHemert\\Documents\\GitHub\\2nd-keyboard\\2nd keyboard support files\\keypressed.txt\r\nmsgbox, your key is %key%\r\nIf(key = \"r\")\r\nmsgbox, You typed the R key on your second keyboard! Probably!\r\nelse if(key <> \"r\")\r\nmsgbox, You did not type the R key!\r\nReturn\r\n\r\nI didn't test this code but it SHOULD work...\r\n\r\nAnd then OH LOOK you got the code working already! Now you can swap out those message boxes for any function you desire! And you can just add more lines! YEAAAAH\r\n"}}
{"actor":{"display_login":"TaranVH"}}