Code: Select all
F5:: ;On/Off with key F5
SendEactive := !SendEactive
If SendEactive
SetTimer SendE, 200 ;spams every 200ms
Else
SetTimer SendE, Off
Return
SendE: ;spams key e
Send, e
Return
F4:: ;On/Off with key F4
Send3active := !Send3active
If Send3active
SetTimer Send3, 200 ;spams every 200ms
Else
SetTimer Send3, Off
Return
Send3: ;spams key 3
Send, 3
Return
[Mod action: Moved topic from “Scripts and Function (v1)” because that sub-forum is for sharing finished scripts with others, not for asking for help with your scripts.]