Maybe I should start autohotkey v2, because v1 is too slow to make this code faster? Any idea, or any solution? I will greatly appreciate any help!
Code: Select all
*space::
Send 6
Send {Esc}
Send {LButton Down}
Sleep, 57
Send 2
Send {LButton Up}
Sleep, 100
Loop {
GetKeyState, iskeydown, space, p
if (iskeydown == "D") {
Send 6
Send {LButton Down}
Sleep, 57
Send 2
Send {LButton Up}
Sleep, 100
} else {
Break
}
}
return