So I'm using the following:
--------------------------------
Code: Select all
toggle = 0
#MaxThreadsPerHotkey 2
F2::
Toggle := !Toggle
While Toggle{
Click
Send q
Send w
Send e
Send r
sleep 1000
}
return
---------------------------------
And what this is missing, I'd like the script to be paused/stopped until I press F2 again to reactivate it.
I want 3 keys to do this, and I want them to be T , Esc/Escape and Enter(non numpad Enter)
Is it possible for these 3 keys to be pressed and they will cancel/stop/pause the script, and upon entering F2 again I can activate the script again?
If possible since I'm only just learning I'd like help to get a working script with these commandlines and I'd be able to build and break down the segments and learn from it that way.
Thank you so much for taking the time to read this and hopefully help.