Page 1 of 1

Simple Code, i'm being an idiot

Posted: 26 Jan 2016, 22:17
by HyperStockers
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

Re: Simple Code, i'm being an idiot

Posted: 27 Jan 2016, 10:37
by Shadowpheonix

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