I'm basing my script on this forum, but I can't get it to work. https://www.autohotkey.com/board/topic/87134-rapid-fire-hotkey-help/
Code: Select all
Rshift::
while GetKeyState(Rshift)
{
DllCall("mouse_event", uint, 1, int, 100, int, 0)
Sleep, 10
}
return
Code: Select all
DllCall("mouse_event", uint, 1, int, 100, int, 0)
While I think that I got a mistake over at the loop, I'm not really sure anymore since the original forum doesn't handle DllCall.