Essentially i'm trying to do this:
Code: Select all
~e::
while GetKeyState("e","P")
{
Send {1 Down}
Sleep 500
Send {1 Up}
}
while GetKeyState("e","P")
{
Send {2 Down}
Sleep 1000
Send {2 Up}
}
return
Code: Select all
when key "e" is pressed down
start sending key 1
wait 200 ms
start sending key 2
return
when key "e" is released
stop sending key 1
stop sending key 2
return
Thanks