I'm looking for some help. I'm trying to make toggle run available in evolve. I have it working but I want the toggle to be off when I press S (Back). I haven't had any luck. I was able to get the W (Forward) key to turn the toggle off but not back. Also, sometimes I have to presss mouse 4 twice before it starts to run. I was wondering if there is any way to fix that.
Code: Select all
#IfWinActive ahk_exe Evolve.exe
*XButton1::
KeyDown := !KeyDown
If KeyDown
Send {W down}
Else
Send {W up}
Return
~W::KeyDown:=0
#IfWinActive