Skip to content

Instantly share code, notes, and snippets.

@euberdeveloper
Last active January 11, 2024 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save euberdeveloper/f99231c376bfb66d4aaeadd6715782d3 to your computer and use it in GitHub Desktop.
Save euberdeveloper/f99231c376bfb66d4aaeadd6715782d3 to your computer and use it in GitHub Desktop.
My AutoHotKey Script
/*
Special characters for italian keyboards
*/
; -- Tilde
<^>!'::SendInput "~"
; -- BackTick
<^>!ì::SendInput "``"
/*
Special characters for esperanto
*/
; -- Ĉ and ĉ with capslock
<^>!c::SendInput(GetKeyState("CapsLock", "T") ? "Ĉ" : "ĉ")
; -- Ĉ with shift
<^>!+C::SendInput "Ĉ"
; -- Ĝ and ĝ with capslock
<^>!g::SendInput(GetKeyState("CapsLock", "T") ? "Ĝ" : "ĝ")
; -- Ĝ with shift
<^>!+G::SendInput "Ĝ"
; -- Ĥ and ĥ with capslock
<^>!h::SendInput(GetKeyState("CapsLock", "T") ? "Ĥ" : "ĥ")
; -- Ĥ with shift
<^>!+H::SendInput "Ĥ"
; -- Ĵ and ĵ with capslock
<^>!j::SendInput(GetKeyState("CapsLock", "T") ? "Ĵ" : "ĵ")
; -- Ĵ with shift
<^>!+J::SendInput "Ĵ"
; -- Ŝ and ŝ with capslock
<^>!s::SendInput(GetKeyState("CapsLock", "T") ? "Ŝ" : "ŝ")
; -- Ŝ with shift
<^>!+S::SendInput "Ŝ"
; -- Ŭ and ŭ with capslock
<^>!u::SendInput(GetKeyState("CapsLock", "T") ? "Ŭ" : "ŭ")
; -- Ŭ with shift
<^>!+U::SendInput "Ŭ"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment