I have an autohotkeys script to map CapsLock + i j k l to be my arrow keys:
CapsLock & h::
Send, {Left down}{Left up}
Return
CapsLock & k::
Send, {Down down}{Down up}
Return
CapsLock & i::
Send, {Up down}{Up up}
Return
CapsLock & l::
Send, {Right down}{Right up}
Return
And it works some of the time. However when I use Caps + i j k l with another key like shift for highlighting, or alt + tab, it ceases to work properly.
How do I add these use cases to my script?