I am trying to make a script that when you hold the side mouse button it will keep pressing
U, and when I let go of the side button it will stop pressing.
Here is what I have
RepeatKey := !RepeatKey If RepeatKey SetTimer, SendTheKey, 100 Else SetTimer, SendTheKey, Off return p:: Pause Suspend return SendTheKey: SendInput u Return
Right now this code is toggled it just keep pressing
U until I press the side mouse button again
Anyone know how to make it into a hold and release?