So I've tried my best to write my own hotkey, but for now I'm stucked.
What I want to do is that whenever Mbutton is clicked it's going to left click mouse as fast as it can but every 100 click it stops for a second. And whenever I take my finger off of Mbutton it stops.
As for now I have this code: and it works as I want to but after 100 clicks it does not go again to 200..300.. etc.
Could anyone help me with this?
Code: Select all
Process, Priority, , A
SetMouseDelay, -1
Mbutton::
Loop{
Loop, 100 {
If (GetKeyState("Mbutton","P")){
Click
}
else{
break
}
}
Sleep 500
return
}
return
PgUp::
Pause::