-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgreekletters.ahk
69 lines (65 loc) · 2.01 KB
/
greekletters.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
; Explanation of Signs
; # Win (Windows logo key)
; ! Alt
; ^ Control
; + Shift
; & An ampersand may be used between any two keys or mouse buttons to combine them into a custom hotkey.
; * - fires replacement immediately, O - removes default trigger character (ahk will be triggered with space)
; AHK Docs
; https://gist.github.com/csharpforevermore/11348986
; https://autohotkey.com/docs/Hotkeys.htm
; https://autohotkey.com/docs/Hotstrings.htm
; CapsLock on will bring up Greek letters, a becomes α, b becomes β, etc.
; Credits to Exaskryz: https://autohotkey.com/boards/viewtopic.php?f=5&t=25218
#If GetKeyState("CapsLock","T")
{
a::Send {U+03B1} ; α alpha
+a::Send {U+0391} ; Α Alpha
b::Send {U+03B2} ; β beta
+b::Send {U+0392} ; Β Beta
c::Send {U+03B3} ; γ gamma
+c::Send {U+0393} ; Γ Gamma
d::Send {U+03B4} ; δ delta
+d::Send {U+0394} ; Δ Delta
e::Send {U+03B5} ; ε epislon
+e::Send {U+0395} ; Ε Epislon
z::Send {U+03B6} ; ζ zeta
+z::Send {U+0396} ; Ζ Zeta
h::Send {U+03B7} ; η eta
+h::Send {U+0397} ; Η Eta
j::Send {U+03B8} ; θ theta
+j::Send {U+0398} ; Θ Theta
i::Send {U+03B9} ; ι iota
+i::Send {U+0399} ; Ι Iota
k::Send {U+03BA} ; κ kappa
+k::Send {U+039A} ; Κ Kappa
l::Send {U+03BB} ; λ lambda
+l::Send {U+039B} ; Λ Lambda
m::Send {U+03BC} ; μ mu
+m::Send {U+039C} ; Μ Mu
n::Send {U+03BD} ; ν nu
+n::Send {U+039D} ; Ν Nu
q::Send {U+03BE} ; ξ xi
+q::Send {U+039E} ; Ξ Xi
o::Send {U+03BF} ; ο omicron
+o::Send {U+039F} ; Ο Omicron
p::Send {U+03C0} ; π pi
+p::Send {U+03A0} ; Π Pi
r::Send {U+03C1} ; ρ rho
+r::Send {U+03A1} ; Ρ Rho
s::Send {U+03C3} ; σ sigma
+s::Send {U+03A3} ; Σ Sigma
!s::Send {U+03C2} ; ς final sigma
t::Send {U+03C4} ; τ tau
+t::Send {U+03A4} ; Τ Tau
y::Send {U+03C5} ; υ upsilon
+y::Send {U+03A5} ; Υ Upsilon
f::Send {U+03C6} ; φ phi
+f::Send {U+03A6} ; Φ Phi
x::Send {U+03C7} ; χ chi
+x::Send {U+03A7} ; Χ Chi
u::Send {U+03C8} ; ψ psi
+u::Send {U+03A8} ; Ψ Psi
w::Send {U+03C9} ; ω omega
+w::Send {U+03A9} ; Ω Omega
}