Skip to content

Commit

Permalink
#622: Mirror umlaut behavior from macos with ahk
Browse files Browse the repository at this point in the history
  • Loading branch information
kirschem committed Apr 15, 2022
1 parent ddc7442 commit e4a649f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions windows/kinto.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e4a649f

Please sign in to comment.