I have made a shortcut saying \"alt j\" goes one left with the arrows, like this:
!j::SendInput,{LEFT}
This works fine, except if I hold down \
So this is still an issue for you?
Looks to me like an AutoHotkey bug most likely, or wrongly sent j
s because your RAM can't handle the heavy programs well enough.
Things I can think of that you could try:
buy a better computer.
use setBatchLines, 1ms, making your script sleep 20ms each milli second and therefore consuming less cpu. This might clear AutoHotkey's mind.
SetKeyDelay, 50 might also help.
Sometimes, a pressed down modifier such as ctrl
or alt
, slows down windows drastically. This was at least the case under Windows Vista. So you might wanna get rid of the !
(alt) and stick to the j
instead: the following script gets activated by !j
and behaves just like your initial script, but will also keep running once you release ALT, as long as J is pressed down:
!j::
sendInput {left}
hotkey, *j, sendLeft, ON
hotkey, *j up, stopSendLeft, ON
return
sendLeft:
send {left}
return
stopSendLeft:
hotkey, *j, sendLeft, OFF
hotkey, *j up, stopSendLeft, OFF
return
Still, I don't have high hopes any of this will help you.