I can not seem to hotkey numbers? 1:: dose not work when I press "1" to activate the script?
Posted: 17 Oct 2022, 18:37
This does not work... when I press "1" to start/stop the script
This does work when I press F2 to start / stop the script.
How do I use numbers (not the numpad numbers) as hotkeys?
Thanks
Code: Select all
1::
if !T
gosub Press_e
SetTimer, Press_e, % (T:=!T) ? 1000 : "Off"
return
Press_e:
send 1
return
Code: Select all
F2::
if !T
gosub Press_e
SetTimer, Press_e, % (T:=!T) ? 1000 : "Off"
return
Press_e:
send 1
return
Thanks