Script to rapidly press space bar.
-
- Posts: 1
- Joined: 21 Apr 2021, 16:31
Script to rapidly press space bar.
I have no idea where to start on this since I am very new to Auto Hot Key. I would like a script to rapidly press spacebar until I hit the key to toggle it on or off.
-
- Posts: 16
- Joined: 21 Apr 2021, 15:21
Re: Script to rapidly press space bar.
Try this. Just press spacebar to toggle rapidfire on/off. Hope it helps.
Code: Select all
#MaxThreadsperHotkey 2
~space::
Previouskey:= !PreviousKey
loop
{
if PreviousKey
{
sleep, 0
send, {space}
}
else
break
}
return
Who is online
Users browsing this forum: No registered users and 44 guests