I recently used autoHotKey on a Windows 8 machine and loved it. But I want to be able to press the lock button and turn the keyboard into virtual command line mode to move the cursor, insert and delete in any program.
UPDATE (Thanks @MCL for the help so far)
I am trying to use the following script, but it will not change state based behavior
state := GetKeyState("Capslock", "T") if state j::Send,{Left} l::Send,{Right} i::Send,{Up} k::Send,{Down} return
source share