Skip to content

Instantly share code, notes, and snippets.

@masters3d
Created March 4, 2018 17:29
Show Gist options
  • Save masters3d/6d4797793211a51a22f2697819d4e473 to your computer and use it in GitHub Desktop.
Save masters3d/6d4797793211a51a22f2697819d4e473 to your computer and use it in GitHub Desktop.
; Author: fwompner gmail com
#InstallKeybdHook
SetCapsLockState, alwaysoff
Capslock::
Send {LAlt Down}
KeyWait, CapsLock, T9 ; added timeout
Send {LAlt Up}
if ( instr(A_PriorKey, "Capslock") )
{
Send {Alt}
}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment