Re: How can I make a script that presses the f key as fast as possible as long as I press f4? Topic is solved
Posted: 20 Sep 2021, 10:17
Code: Select all
SetBatchLines, -1
F4::
while (GetKeyState("F4", "P"))
SendInput, f
return
Let's help each other out
https://www.autohotkey.com/boards/
https://www.autohotkey.com/boards/viewtopic.php?f=18&t=94861
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]