Code: Select all
~w::
if (A_ThisHotkey = A_PriorHotkey And A_TimeSincePriorHotkey < 400)
{
send {w down}
keywait s
send {w up}
}
Return
F6::suspend
Code: Select all
~w::
if (A_ThisHotkey = A_PriorHotkey And A_TimeSincePriorHotkey < 400)
{
send {w down}
keywait s
send {w up}
}
Return
F6::suspend
Code: Select all
$w::
if (A_ThisHotkey = A_PriorHotkey And A_TimeSincePriorHotkey < 400)
Send, {w Down}
Else
Send, w
Return
~s::Send, {w Up}
F6::suspend
Code: Select all
~w Up::SetTimer, Go, % (double := A_ThisHotkey = A_PriorHotkey && A_TimeSincePriorHotkey < 400) ? 20 : "Off"
#If double
s::
w::
SetTimer, Go, Off
double := False
Return
#If
Go:
Send w
Return
Code: Select all
~w Up::
If double := A_ThisHotkey = A_PriorHotkey && A_TimeSincePriorHotkey < 400 {
Send {w down}
SoundBeep, 1500
}
Return
#If double
s::
w::
Send {w up}
double := False
SoundBeep, 1000
Return
#If
Users browsing this forum: maxsun and 47 guests