Simple Code, i'm being an idiot

Ask gaming related questions
HyperStockers
Posts: 1
Joined: 26 Jan 2016, 22:11

Simple Code, i'm being an idiot

26 Jan 2016, 22:17

Want to have a simple script, which essentially reverses a key press (always held down except when i press/hold it, then returning to being held down once released) The script i came up with is;
Send {F8 down}
XButton2::
Send {F8 up}
Return
^1::ExitApp
However it clearly doesn't work, send help please
Shadowpheonix
Posts: 1259
Joined: 16 Apr 2015, 09:41

Re: Simple Code, i'm being an idiot

27 Jan 2016, 10:37

Code: Select all

Send {F8 down}
XButton2::
Send {F8 up}
KeyWait, XButton2
Send {F8 down}
Return
^1::
Send {F8 up}    ; Don't want to leave the key stuck down when the script exits.
ExitApp

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 8 guests