Skip to content

Instantly share code, notes, and snippets.

@pethesdaniel
Last active September 11, 2021 21:52
Show Gist options
  • Save pethesdaniel/ee09f8da8db1b0c815a6e64d2ed59685 to your computer and use it in GitHub Desktop.
Save pethesdaniel/ee09f8da8db1b0c815a6e64d2ed59685 to your computer and use it in GitHub Desktop.
AutoHotKey script. Missing hungarian letters while holding Caps Lock for QWERTY type keyboards.
#KeyHistory 0
SetCapsLockState, AlwaysOff
#If GetKeyState("CapsLock","P")
o::Send {ö}
u::Send {ü}
+o::Send {Ö}
+u::Send {Ü}
<^>!o::Send {ő}
<^>!u::Send {ű}
+<^>!o::Send {Ő}
+<^>!u::Send {Ű}
@pethesdaniel
Copy link
Author

CapsLock basically becomes an umlaut button.

Combinations are:
AltrGr+o = ó (without script)
AltGr+u = ú (without script)
CapsLock+o =ö
CapsLock+u =ü
AltGr+CapsLock+o = ő
AltGr+CapsLock+u = ű
Holding Shift will give upper case letters.

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