Created
April 19, 2019 22:41
-
-
Save unimatrixZxero/181a3f5b87ae5989dd527fd56afe2021 to your computer and use it in GitHub Desktop.
Umlauts with capslock
This file contains 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
;Umlaut | |
#Persistent | |
SetCapsLockState, AlwaysOff | |
CapsLock & a:: | |
GetKeyState, state, Shift | |
if state = U | |
SendInput {ASC 0228} ;CapsLock+a = lower case a-umlaut | |
else Send, {ASC 0196} ;CapsLock+Shift+a = UPPER CASE A-umlaut | |
return | |
CapsLock & o:: | |
GetKeyState, state, Shift | |
if state = U | |
SendInput {ASC 0246} ;CapsLock+o = lower case o-umlaut | |
else Send, {ASC 0214} ;CapsLock+Shift+o = UPPER CASE O-umlaut | |
return | |
CapsLock & u:: | |
GetKeyState, state, Shift | |
if state = U | |
SendInput {ASC 0252} ;CapsLock+u = lower case u-umlaut | |
else Send, {ASC 0220} ;CapsLock+Shift+u = UPPER CASE U-umlaut | |
return | |
CapsLock & s:: Send, {ASC 0223} ;CapsLock+s = CapsLock+s, Eszett | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Needs this to work https://www.autohotkey.com/