I have a script that presses and holds "e" for 10 seconds when i press num5, which works fine:
Code: Select all
#IfWinActive, ahk_class UnrealWindow
Numpad5::
Send {e down}
Sleep 10250 ; 10000 milliseconds = 10 seconds
Send {e up}
#IfWinActive
return
press num5
script presses and holds e for 10 seconds.
5 seconds into the runtime i press num5 again
scripts needs to "Let go" of e, then instantly press it again and hold for 10 seconds all over again.
Tried looking around but not having much luck, can anyone help?
-Alco