I'm using this script:
Code: Select all
toggle_on := 0
*$RButton::
toggle_on := !toggle_on
if (toggle_on){
Send {Blind}{RButton Down}
} else {
Send {Blind}{RButton Up}
}
return
*$RButton Up::
; Block release events, do nothing
return
to toggle the RMB. Works great, but I want it to start the toggle only after I hold the RMB for 1 second. If I just click the RMB it should just work as a normal RMB.
Looked around but can't find it. Pls help.