My English is not good but I hope it will enough to understand me.
Im looking for script to spam key "1" all the time (ofcourse it will start to spam when I will hit "1" once) and it will break when I will hit any key on keyboard or mouse.
I was trying to find this script on forum ofc and:
~$*1:: ;This makes the hotkey, so 1 triggers the script
Loop ;loop the script untill broken
{ ;loop start
GetKeyState 1, P ;Get the state of 1
Send {1} ;It hasnt been released so send another Click
sleep 675 ; This is the time between presses, after its slept it will return to the top of the loop and start again
} ;loop end
it unfortunately would spam 1 all the time.I just need one click to start the script and any other key would break it. Usually here i was finding scripts with hold down key script but its not what im looking for.
Thx for help!
I was trying to find answer in tutorial and in topics on this forum. Maybe my searching was bad but i was trying to find it few hours.




