Skip to content

Instantly share code, notes, and snippets.

@ofca
ofca / gist:1712605
Created January 31, 2012 20:06
AutoHotKey script which allow using i, j, k, l as arrows keys when CapsLock in on.
; ----------------------------------------------------------------------------
; j,k,l,i = arrows
; ----------------------------------------------------------------------------
$j::
GetKeyState, state, CapsLock, T ; D if CapsLock is ON or U otherwise.
if state = D
Send {Left}
else