I'm trying make a script that keeps on tapping E as long as i hold E down.
Code: Select all
#IfWinActive ".exe"
E:: ; celebration slide
SetKeyDelay, 50, 50
While GetKeyState("E", "P")
{
Send {E down}
Send {E up}
}
#IfWinActive
Return
I also want it to run only when a certain game is in focus. But if the script doesn't work i can't tell if the
Code: Select all
#IfWinActive