Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Robert-Beier/7b7b0a152fcb17bfcebc8bb12e142638 to your computer and use it in GitHub Desktop.
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
; 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
@mbinna
Copy link

mbinna commented Aug 9, 2023

Your screenshot with the error message is referring to another script.

I had some additional settings at the top of my script. I removed them and don't get the warning anymore. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment