Code: Select all
Numpad8::
while A_TimeSinceThisHotkey < 1000
Send, w
sleep, 1000
while A_TimeSinceThisHotkey < 1000
Send, a
sleep, 1000
I'm very retarded when it comes to scripts so the answer may be very simple, sorry
Code: Select all
Numpad8::
while A_TimeSinceThisHotkey < 1000
Send, w
sleep, 1000
while A_TimeSinceThisHotkey < 1000
Send, a
sleep, 1000
Code: Select all
Numpad8::
SetKeyDelay, 1000, 1000
;SetKeyDelay, Delay, PressDuration
Send, wa
Return
Code: Select all
Numpad8::
AutoRepeat("w", 1000)
Sleep, 1000
AutoRepeat("a", 1000)
Sleep, 1000
Return
AutoRepeat(Key, PressDuration)
{
SetKeyDelay, 30
Loop,% PressDuration//30
Send, {%Key% Down}
Send, {%Key% Up}
}