Skip to content

Instantly share code, notes, and snippets.

@iraSenthil
Created March 23, 2011 05:29
Show Gist options
  • Save iraSenthil/882670 to your computer and use it in GitHub Desktop.
Save iraSenthil/882670 to your computer and use it in GitHub Desktop.
Use caps lock for Arrow movement
Capslock::
{
Gui, 93:+Owner ; prevent display of taskbar button
Gui, 93:Show, y-99999 NA, Enable nav-hotkeys
KeyWait, Capslock ; wait until the Capslock button is released
Gui, 93:Cancel
Return
}
#IfWinExist, Enable nav-hotkeys
*i::Send {Blind}{Up}
*k::Send {Blind}{Down}
*l::Send {Blind}{Right}
*j::Send {Blind}{Left}
#IfWinExist, ; end context-sensitive block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment