Last active
August 9, 2023 07:10
-
-
Save Robert-Beier/7b7b0a152fcb17bfcebc8bb12e142638 to your computer and use it in GitHub Desktop.
AutoHotkey script allowing the English International keyboard shortcuts for umlaute (ä, ö, ü) and eszett (ß) on windows
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
; Alt+S -> ß | |
!s:: Send ß | |
return | |
; Alt+U followed by A -> ä | |
; Alt+U followed by Shift+A -> Ä | |
; Alt+U followed by O -> ö | |
; Alt+U followed by Shift+O -> Ö | |
; Alt+U followed by U -> ü | |
; Alt+U followed by Shift+U -> Ü | |
!u:: | |
Input, key, L1 | |
if (key = "a") | |
{ | |
if (GetKeyState("Shift", "P")) | |
{ | |
Send Ä | |
} | |
else | |
{ | |
Send ä | |
} | |
} | |
else if (key = "o") | |
{ | |
if (GetKeyState("Shift", "P")) | |
{ | |
Send Ö | |
} | |
else | |
{ | |
Send ö | |
} | |
} | |
else if (key = "u") | |
{ | |
if (GetKeyState("Shift", "P")) | |
{ | |
Send Ü | |
} | |
else | |
{ | |
Send ü | |
} | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had some additional settings at the top of my script. I removed them and don't get the warning anymore. Thanks!