Hey folks, this has been helping me deal with rockpox a lot recently. Full disclosure, I don't actually have any accessibility issues regarding rockpox, but I'm hoping this may help others who do.
1.) Download AutoHotKey v2.0 from https://www.autohotkey.com/
2.) Create a blank text document somewhere
3.) Paste the following code into that text document:
!RButton:: {
While GetKeyState("RButton", "P")
{
Send '{a down}'
Sleep 1
Send '{a up}'
Sleep 1
Send '{d down}'
Sleep 1
Send '{d up}'
Sleep 1
}
return
}
4.) Save the document with the file type as ".ahk" without the quotes
5.) Double click your new .ahk file or right click and select "run"
6.) The script is running in the background now. Use your hotkeys and it'll spam your A and D keys back and forth!
The first line that contains "!RButton::" contains your chosen hotkeys (anything before the double colon). Mine are ALT RMB. You can find other hotkeys here: https://www.autohotkey.com/docs/v2/Hotkeys.htm
Whatever you change your hotkey/s to, make sure you edit the text in the first set of quotation marks in the line with GetKeyState to match
My apologies for any coding/scripting nonsense I probably don't see. This is literally the only coding I do and I only do stuff like this once every few months, so my knowledge is severely lacking!
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/DeepRockGal...