Code: Select all
1::
Loop
{
if not GetKeyState("1", "P")
break
send {1 down}
sleep, 50
send {1 up}
}
return
I tried looking around if there was a way to add some sort of condition that only activate IF "1" has been held for say 100ms. This must already exist somewhere here but I can't word it in a way that the search function understands...
TLDR, make it so > IF "1" is held for 100ms, then execute the loop