I am trying to make a process automatic, until I require it to stop.
I press a button on my keyboard, for example F2.
When F2 pressed, it starts a loop that presses F9 every second or so.
This keeps on going until I press F2 again.
I have watched tutorials but all people ever really cover is the mouseclicks. Also the help/tutorialpages from autohotkey itself are very bombastic. This should be very simple and yet it is not.
F2::
SetTimer TheLoop, 200
Return
TheLoop:
Send {F9}
Return
Anyone that can help me here?