Press X key repeatedly while being able to use other buttons
Posted: 22 Jun 2018, 23:13
So I want Numpad4 to be repeatedly pressed while being able to use other keys such as WASD. When I tried the script below, it allows me to repeatedly press numpad4 but does not work if Im pressing another key. Here's the code:
Side question, is there a way to press the Numpad4 faster than "SetBatchLines, -1"?
Code: Select all
F11:: Hotkey, *~$Space, Toggle
End::
ExitApp
*~$Space::
While GetKeyState("Numpad4")
{
Send, {Numpad4}
SetBatchLines, -1
}
Return