Code: Select all
e::
KeyDown := !KeyDown
SendInput {lshift}
Sleep, 30
If KeyDown
SendInput {lshift down}
Else
SendInput {lshift up}
Return
r::
KeyDown := !KeyDown
SendInput {tab}
Sleep, 30
If KeyDown
SendInput {tab down}
Else
SendInput {tab up}
Return
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code.]
[Mod action: Moved topic from “Ask for Help (v2)” because this is v1 code and it is for a game. Please note the sub-forum to which your post has been moved, and post in the appropriate place next time.]