Last active
November 24, 2019 17:58
-
-
Save iamwavecut/b2ff22bd18dd45389fc4f1ac99c72623 to your computer and use it in GitHub Desktop.
AutoHotKey script to switch languages Mac OS X way - by pressing 'Caps Lock' key.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Usage - press 'Caps Lock' to change language, to switch case press 'Shift' + 'Caps Lock' | |
SendMode Input | |
SetWorkingDir %A_ScriptDir% | |
SetCapsLockState, AlwaysOff | |
+CapsLock::CapsLock | |
CapsLock::Send, {Alt down}{Shift down}{Shift up}{Alt up} ; Alt+Shift | |
; CapsLock::Send, {Ctrl down}{Shift down}{Shift up}{Ctrl up} ; Ctrl+Shift |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment