Code: Select all
$LButton::
While GetKeyState("LButton", "P"){
Click
Sleep 20 ; milliseconds
}
Return
$w::
Send {w down}
send {w up}
Sleep 55
Send {w down}
KeyWait w
Send {w up}
Return
Code: Select all
$LButton::
While GetKeyState("LButton", "P"){
Click
Sleep 20 ; milliseconds
}
Return
$w::
Send {w down}
send {w up}
Sleep 55
Send {w down}
KeyWait w
Send {w up}
Return
Code: Select all
#Requires AutoHotkey v1.1.33.11
SetKeyDelay 25, 25
LButton Up::SetTimer Clik, Off
LButton::
SetTimer Clik, 20
Clik:
SendEvent {LButton}
Return
w::
SendEvent w
on := True
If GetKeyState("w", "P")
SetTimer More, -55
#If on
w::Return
#If
~w Up::
SetTimer More, Off
on := False
SoundBeep 1000
Return
More:
If GetKeyState("w", "P")
SendEvent {w down}
Return
Users browsing this forum: LeoSkeleton and 34 guests