Merge pull request #647 from kirschem/feature/#622-macos-umlaut-behavior-on-windows

#622: Mirror umlaut behavior from macos with ahk
This commit is contained in:
Ben Reaves
2022-04-15 22:08:38 -05:00
committed by GitHub

View File

@@ -858,3 +858,28 @@ Send {LWin up}
Send {RShift up}
Send {LShift up}
return
#IfWinNotActive ahk_group remotes
$!u::Goto, ActivateUmlautModifier
$!s::Send, ß
ActivateUmlautModifier:
StringCaseSense, On
; watch next input string
Input, UserInput, L1 B
if UserInput = o
Send, ö
else if UserInput = O
Send, Ö
else if UserInput = a
Send, ä
else if UserInput = A
Send, Ä
else if UserInput = u
Send, ü
else if UserInput = U
Send, Ü
else
Send, %UserInput%
return
#If