Code: Select all
lasttime = 0
~W::
If (a_tickCount-lasttime < 300)
{
Send, {LShift down}
KeyWait, W, U
Send, {LShift up}
Return
}
lasttime:=a_tickCount
Return
Code: Select all
lasttime = 0
~W::
If (a_tickCount-lasttime < 300)
{
Send, {LShift down}
KeyWait, W, U
Send, {LShift up}
Return
}
lasttime:=a_tickCount
Return
Code: Select all
~W::
If (A_PriorHotkey <> "~W") || (A_TimeSincePriorHotkey > 400) {
KeyWait, W
}
While (GetKeyState("W", "P")) {
Send, {LShift Down}
}
Send, {LShift Up}
return
Users browsing this forum: drlvanb and 431 guests