Code: Select all
winTitle = ahk_exe gameprocess.exe
#MaxThreadsPerHotkey 2
#If WinActive(winTitle)
F1::
on := !on
SetKeyDelay, 110
While on
Loop, Parse, % "qrd"
Send % on ? A_LoopField : ""
Return
#If
How do I do that? I assume Loop, Parse, % "!qrd" will not work? Also, what exactly is the code on line 9 (Send % on ? A_LoopField : "") doing?