Code: Select all
LAlt::
If (A_PriorHotKey = A_ThisHotKey and A_TimeSincePriorHotkey < 500)
Suspend
Return
Code: Select all
LAlt::
If (A_PriorHotKey = A_ThisHotKey and A_TimeSincePriorHotkey < 500)
Suspend
Return
Code: Select all
LAlt::
Suspend, Permit ; Remove this line if you don't want to be able to unsuspend the script by double-taping again.
KeyWait, LAlt
KeyWait, LAlt, D T0.5 ; 0.5 is the time to wait, in seconds.
if !ErrorLevel
Suspend,Toggle
return
Users browsing this forum: Google [Bot], peter_ahk and 342 guests