|
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
$*LShift::
Loop
{
if not GetKeyState("LShift","P")
break
SendInput {W Down}
Sleep 010
SendInput {W Up}
Sleep 010
SendInput {Space Down}
Sleep 001
SendInput {Space Up}
Sleep 020
SendInput {W Down}
Sleep 140
SendInput {W Up}
}
Return
this is the code save it as an .ahk file and compile installing autohotkey.
|