-; UltimateKEYS.ahk - 2021-08-16
+; UltimateKEYS.ahk - 2021-11-22
-; Created by : Pieter Degroote
+; Website : www.ultimatekeys.info (pieter-degroote.github.io/UltimateKEYS/)
-; License : GNU General Public License Version 3
+; License : GNU General Public License Version 3
-; GitHub : https://github.com/pieter-degroote/UltimateKEYS
+; GitHub : github.com/pieter-degroote/UltimateKEYS
; Requirements :
-; Keyboard layout (on Windows OS) : US QWERTY
+; Keyboard layout (on Windows) : US QWERTY
-; AutoHotkey v1.1 (https://www.autohotkey.com/)
+; AutoHotkey v1.1 (www.autohotkey.com)
dkMacronStroke.item["T"] := "{u+0166}" ; (Ŧ) T with stroke
dkMacronStroke.item["u"] := "{u+016b}" ; (ū) u with macron
dkMacronStroke.item["U"] := "{u+016a}" ; (Ū) U with macron
+dkMacronStroke.item["v"] := "{u+01d6}" ; (ǖ) u with diaeresis and macron
+dkMacronStroke.item["V"] := "{u+01d5}" ; (Ǖ) U with diaeresis and macron
dkMacronStroke.item["y"] := "{u+0233}" ; (ȳ) y with macron
dkMacronStroke.item["Y"] := "{u+0232}" ; (Ȳ) Y with macron
dkMacronStroke.item["z"] := "{u+01b6}" ; (ƶ) z with stroke
dkBreveSpecial.item[chr(0x00d1)] := "{u+019d}" ; (Ñ -> Ɲ) N with left hook
dkBreveSpecial.item[chr(0x00f6)] := "{u+0254}" ; (ö -> ɔ) small open o
dkBreveSpecial.item[chr(0x00d6)] := "{u+0186}" ; (Ö -> Ɔ) capital open O
-dkBreveSpecial.item[chr(0x00df)] := "{u+1e9e}" ; (ß -> ẞ) capital sharp S (capital Eszett)
dkBreveSpecial.item[chr(0x00e5)] := "{u+2c73}" ; (å -> ⱳ) w with hook
dkBreveSpecial.item[chr(0x00c5)] := "{u+2c72}" ; (Å -> Ⱳ) W with hook
dkBreveSpecial.item[" "] := "{u+02d8}" ; (˘) breve
dkAcuteAccent.item[chr(0x00c7)] := "{u+1e08}" ; (Ç -> Ḉ) C with cedilla and acute
dkAcuteAccent.item[chr(0x00e9)] := "{u+0260}" ; (é -> ɠ) g with hook
dkAcuteAccent.item[chr(0x00c9)] := "{u+0193}" ; (É -> Ɠ) G with hook
-dkAcuteAccent.item[chr(0x00df)] := "{u+1e9e}" ; (ß -> ẞ) capital sharp S (capital Eszett)
dkAcuteAccent.item[chr(0x00ec)] := "{u+028c}" ; (ì -> ʌ) latin small letter turned v
dkAcuteAccent.item[chr(0x00cc)] := "{u+0245}" ; (Ì -> Ʌ) latin capital letter turned V
dkAcuteAccent.item[chr(0x00fb)] := "{u+01b4}" ; (û -> ƴ) y with hook
dkDiaeresis.item["I"] := "{u+00cf}" ; (Ï) I with diaeresis
dkDiaeresis.item["o"] := "{u+00f6}" ; (ö) o with diaeresis
dkDiaeresis.item["O"] := "{u+00d6}" ; (Ö) O with diaeresis
+dkDiaeresis.item["s"] := "{u+0283}" ; (ʃ) small letter esh
+dkDiaeresis.item["S"] := "{u+01a9}" ; (Ʃ) capital letter esh
dkDiaeresis.item["t"] := "{u+1e97}" ; (ẗ) t with diaeresis
dkDiaeresis.item["u"] := "{u+00fc}" ; (ü) u with diaeresis
dkDiaeresis.item["U"] := "{u+00dc}" ; (Ü) U with diaeresis
+dkDiaeresis.item["v"] := "{u+01d8}" ; (ǘ) u with diaeresis and acute
+dkDiaeresis.item["V"] := "{u+01d7}" ; (Ǘ) U with diaeresis and acute
dkDiaeresis.item["w"] := "{u+1e85}" ; (ẅ) w with diaeresis
dkDiaeresis.item["W"] := "{u+1e84}" ; (Ẅ) W with diaeresis
dkDiaeresis.item["x"] := "{u+1e8d}" ; (ẍ) x with diaeresis
dkGraveAccent.item["T"] := "{u+00de}" ; (Þ) capital letter thorn
dkGraveAccent.item["u"] := "{u+0215}" ; (ȕ) u with double grave
dkGraveAccent.item["U"] := "{u+0214}" ; (Ȕ) U with double grave
+dkGraveAccent.item["v"] := "{u+01dc}" ; (ǜ) u with diaeresis and grave
+dkGraveAccent.item["V"] := "{u+01db}" ; (Ǜ) U with diaeresis and grave
dkGraveAccent.item["w"] := "{u+1e81}" ; (ẁ) w with grave
dkGraveAccent.item["W"] := "{u+1e80}" ; (Ẁ) W with grave
dkGraveAccent.item["y"] := "{u+1ef3}" ; (ỳ) y with grave
dkTilde.item["N"] := "{u+00d1}" ; (Ñ) N with tilde
dkTilde.item["o"] := "{u+00f5}" ; (õ) o with tilde
dkTilde.item["O"] := "{u+00d5}" ; (Õ) O with tilde
-dkTilde.item["s"] := "{u+0283}" ; (ʃ) small letter esh
-dkTilde.item["S"] := "{u+01a9}" ; (Ʃ) capital letter esh
dkTilde.item["u"] := "{u+0169}" ; (ũ) u with tilde
dkTilde.item["U"] := "{u+0168}" ; (Ũ) U with tilde
dkTilde.item["v"] := "{u+1e7d}" ; (ṽ) v with tilde
dkTilde.item["g"] := "{u+ab36}" ; (ꬶ) cross-tailed g
dkTilde.item["h"] := "{u+0267}" ; (ɧ) small letter heng with hook
dkTilde.item["k"] := "{u+0138}" ; (ĸ) small letter kra
+dkTilde.item["s"] := "{u+017f}" ; (ſ) small long s
dkTilde.item["1"] := "{u+2000}" ; en quad
dkTilde.item["2"] := "{u+2001}" ; em quad
dkTilde.item["!"] := "{u+2000}" ; en quad
dkTilde.item["@"] := "{u+2001}" ; em quad
-dkTilde.item[chr(0x00df)] := "{u+017f}" ; (ß -> ſ) small long s
dkTilde.item[" "] := "~" ; tilde
; Dead Key : Currency
dkCurrency := ComObjCreate("Scripting.Dictionary")
-dkCurrency.item["a"] := "{u+20b3}" ; (₳) Argentine austral
+dkCurrency.item["a"] := "{u+058f}" ; (֏) Armenian dram
dkCurrency.item["A"] := "{u+20b3}" ; (₳) Argentine austral
dkCurrency.item["b"] := "{u+20bf}" ; (₿) bitcoin
-dkCurrency.item["B"] := "{u+20bf}" ; (₿) bitcoin
+dkCurrency.item["B"] := "{u+0e3f}" ; (฿) Thai baht
dkCurrency.item["c"] := "{u+20a1}" ; (₡) Costa Rican colón
dkCurrency.item["C"] := "{u+20b5}" ; (₵) Ghanaian cedi
dkCurrency.item["d"] := "{u+20ab}" ; (₫) Vietnamese dong
dkCurrency.item["m"] := "{u+20bc}" ; (₼) Azerbaijani manat
dkCurrency.item["M"] := "{u+20a5}" ; (₥) mill sign
dkCurrency.item["n"] := "{u+20a6}" ; (₦) Nigerian naira
-dkCurrency.item["N"] := "{u+20a6}" ; (₦) Nigerian naira
+dkCurrency.item["N"] := "{u+20bb}" ; (₻) nordic mark
dkCurrency.item["p"] := "{u+20b1}" ; (₱) Philippine peso
-dkCurrency.item["P"] := "{u+20b1}" ; (₱) Philippine peso
+dkCurrency.item["P"] := "{u+20a7}" ; (₧) Spanish pesetas
dkCurrency.item["r"] := "{u+20b9}" ; (₹) Indian rupee
dkCurrency.item["R"] := "{u+20bd}" ; (₽) Russian ruble
dkCurrency.item["s"] := "{u+20aa}" ; (₪) Israeli new shekel
dkCurrency.item["x"] := "{u+00a4}" ; (¤) currency sign
dkCurrency.item["X"] := "{u+00a4}" ; (¤) currency sign
dkCurrency.item[chr(0x00e7)] := "{u+20a2}" ; (ç -> ₢) Brazilian cruzeiro
-dkCurrency.item[chr(0x00c7)] := "{u+20a2}" ; (Ç -> ₢) Brazilian cruzeiro
+dkCurrency.item[chr(0x00c7)] := "{u+20a0}" ; (Ç -> ₠) euro-currency sign
dkCurrency.item[chr(0x00f8)] := "{u+20a4}" ; (ø -> ₤) lira
dkCurrency.item[chr(0x00d8)] := "{u+20b6}" ; (Ø -> ₶) livre tournois
+dkCurrency.item[chr(0x00ea)] := "{u+20a8}" ; (ê -> ₨) rupee sign
+dkCurrency.item[chr(0x00ca)] := "{u+20a8}" ; (Ê -> ₨) rupee sign
dkCurrency.item[" "] := "{u+00a4}" ; (¤) currency sign
dkMathSymbols.item["7"] := "{u+2227}" ; (∧) logical and
dkMathSymbols.item["&"] := "{u+2227}" ; (∧) logical and
dkMathSymbols.item["8"] := "{u+2297}" ; (⊗) circled times
-dkMathSymbols.item["*"] := "{u+2297}" ; (⊗) circled times
+dkMathSymbols.item["*"] := "{u+2299}" ; (⊙) circled dot operator
dkMathSymbols.item["9"] := "{u+221f}" ; (∟) right angle
dkMathSymbols.item["("] := "{u+221f}" ; (∟) right angle
dkMathSymbols.item["0"] := "{u+2221}" ; (∡) measured angle
dkMathSymbols.item["<"] := "{u+2264}" ; (≤) less-than or equal to
dkMathSymbols.item["."] := "{u+2265}" ; (≥) greater-than or equal to
dkMathSymbols.item[">"] := "{u+2265}" ; (≥) greater-than or equal to
-dkMathSymbols.item["-"] := "{u+2296}" ; (⊖) circled minus
-dkMathSymbols.item["_"] := "{u+2298}" ; (⊘) circled division slash
+dkMathSymbols.item["-"] := "{u+00b1}" ; (±) plus-minus sign
+dkMathSymbols.item["_"] := "{u+2296}" ; (⊖) circled minus
+dkMathSymbols.item["/"] := "{u+2298}" ; (⊘) circled division slash
dkMathSymbols.item["="] := "{u+225d}" ; (≝) equal to by definition
dkMathSymbols.item["+"] := "{u+2295}" ; (⊕) circled plus
dkMathSymbols.item[";"] := "{u+2235}" ; (∵) because sign
dkMathSymbols.item[":"] := "{u+2234}" ; (∴) therefore sign
dkMathSymbols.item["'"] := "{u+2032}" ; (′) prime
dkMathSymbols.item[chr(34)] := "{u+2033}" ; (″) double prime
-dkMathSymbols.item["/"] := "{u+2034}" ; (‴) triple prime
-dkMathSymbols.item["?"] := "{u+2057}" ; (⁗) quadruple prime
+dkMathSymbols.item["["] := "{u+2034}" ; (‴) triple prime
+dkMathSymbols.item["]"] := "{u+2057}" ; (⁗) quadruple prime
dkMathSymbols.item["\"] := "{u+2228}" ; (∨) logical or
dkMathSymbols.item["|"] := "{u+2228}" ; (∨) logical or
dkMathSymbols.item[chr(0x00e7)] := "{u+2245}" ; (ç -> ≅) congruent to
dkMathSymbols.item[chr(0x00c7)] := "{u+2247}" ; (Ç -> ≇) not congruent to
+dkMathSymbols.item[chr(0x00f6)] := "{u+2300}" ; (ö -> ⌀) diameter sign
+dkMathSymbols.item[chr(0x00d6)] := "{u+2300}" ; (Ö -> ⌀) diameter sign
+dkMathSymbols.item[chr(0x00f2)] := "{u+2a7d}" ; (ò -> ⩽) less-than or slanted equal to
+dkMathSymbols.item[chr(0x00d2)] := "{u+2a7d}" ; (Ò -> ⩽) less-than or slanted equal to
+dkMathSymbols.item[chr(0x00f3)] := "{u+2a7e}" ; (ó -> ⩾) greater-than or slanted equal to
+dkMathSymbols.item[chr(0x00d3)] := "{u+2a7e}" ; (Ó -> ⩾) greater-than or slanted equal to
dkMathSymbols.item[chr(0x00f5)] := "{u+2261}" ; (õ -> ≡) identical to
dkMathSymbols.item[chr(0x00d5)] := "{u+2262}" ; (Õ -> ≢) not identical to
dkMathSymbols.item[" "] := "{u+221a}" ; (√) square root
Send {blind}{vkE8}
return
+>!s::
+ if GetKeyState("CapsLock", "T")
+ Send {u+1e9e} ; (ẞ) capital sharp S (capital Eszett)
+ else
+ Send {u+00df} ; (ß) small sharp s (Eszett)
+ return
+>!+s::
+ if GetKeyState("CapsLock", "T")
+ Send {u+00df} ; (ß) small sharp s (Eszett)
+ else
+ Send {u+1e9e} ; (ẞ) capital sharp S (capital Eszett)
+ Send {blind}{vkE8}
+ return
+
>!u::
if GetKeyState("CapsLock", "T")
Send {u+00dc} ; (Ü) U with diaeresis
Send {blind}{vkE8}
return
->!s::Send {u+00df} ; (ß) small sharp s (Eszett)
->!+s::
- Send {u+00a7} ; (§) section sign
- Send {blind}{vkE8} ; suppresses 'Right Alt + Shift' hotkey
- return
-
>!1::Send {u+00a1} ; (¡) inverted exclamation mark
>!+1::
Send {u+00b9} ; (¹) superscript 1
>!2::Send {u+00a9} ; (©) copyright sign
>!+2::
Send {u+00b2} ; (²) superscript 2
- Send {blind}{vkE8}
+ Send {blind}{vkE8} ; suppresses 'Right Alt + Shift' hotkey
return
->!3::Send {u+00b1} ; (±) plus-minus sign
+>!3::Send {u+00a7} ; (§) section sign
>!+3::
Send {u+00b3} ; (³) superscript 3
Send {blind}{vkE8}