I found something like this in the forum archives but couldnt modify it to work as i wanted.
can someone script a toggleable "G" spammer, and the key for activation, G itself. (if thats not possible then numpad 0)
delay 40ms if possible
Toggle rapidly press G
Re: Toggle rapidly press G
Something like this:
Code: Select all
#NoEnv
#MaxThreadsperHotkey 2
toggle := False
looping := False
numpad0::
if (toggle) {
toggle := False
GetKeyState, state, numpad0
while (state = "D") {
GetKeyState, state, numpad0
}
return
} else if (looping) {
toggle := False
GetKeyState, state, numpad0
while (state = "D") {
GetKeyState, state, numpad0
}
return
} else {
toggle := True
GetKeyState, state, numpad0
while (state = "D") {
GetKeyState, state, numpad0
}
}
while (toggle) {
looping := True
sendinput {g}
}
looping := False
return
Re: Toggle rapidly press G
Code: Select all
#maxthreadsperhotkey 2
$g::
toggle := !toggle
while toggle
{
send g
sleep 40
}
return
Who is online
Users browsing this forum: No registered users and 288 guests