-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKeyBindings.ahk
executable file
·95 lines (79 loc) · 1.5 KB
/
KeyBindings.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
SC029::
SendInput ``
return
+SC029 UP::
if shifted != true
SendInput ~
else
shifted = false
return
SC029 & a::
if CharSendMode = acute
CharSend("á", "Á")
else if CharSendMode = umlaut
CharSend("ä", "Ä")
else if CharSendMode = grave
CharSend("à", "À")
return
SC029 & e::
if CharSendMode = acute
CharSend("é", "É")
else if CharSendMode = umlaut
CharSend("ë", "Ë")
else if CharSendMode = grave
CharSend("è", "È")
return
SC029 & i::
if CharSendMode = acute
CharSend("í", "Í")
else if CharSendMode = umlaut
CharSend("ï", "Ï")
else if CharSendMode = grave
CharSend("ì", "Ì")
return
SC029 & o::
if CharSendMode = acute
CharSend("ó", "Ó")
else if CharSendMode = umlaut
CharSend("ö", "Ö")
else if CharSendMode = grave
CharSend("ò", "Ò")
return
SC029 & u::
if CharSendMode = acute
CharSend("ú", "Ú")
else if CharSendMode = umlaut
CharSend("ü", "Ü")
else if CharSendMode = grave
CharSend("ù", "Ù")
return
SC029 & y::
CharSend("Ψ", "Ψ")
return
SC029 & n::
CharSend("ñ", "Ñ")
return
SC029 & c::
CharSend("ç", "Ç")
return
SC029 & 1::
CharSend("¡", "¡")
return
SC029 & /::
CharSend("¿", "¿")
return
^SC029 UP::
SendInput ~
return
SC029 & Left::
ShowText("Acute Mode (á)", 1,20,"green")
CharSendMode = acute
return
SC029 & Right::
ShowText("Grave Mode (à)", 1,20,"blue")
CharSendMode = grave
return
SC029 & Up::
ShowText("Umlaut Mode (ä)", 1,20,"purple")
CharSendMode = umlaut
return