Code: Select all
SetBatchLines, -1
F4::
while (GetKeyState("F4", "P"))
SendInput, f
return
Code: Select all
SetBatchLines, -1
F4::
while (GetKeyState("F4", "P"))
SendInput, f
return
Code: Select all
SetBatchLines, -1
*Q:: ;an asterisk is needed to fire the hotkey with other modifiers
while (GetKeyState("Q", "P"))
SendInput, f
return
[code]