-
Notifications
You must be signed in to change notification settings - Fork 0
/
Debug.ahk
76 lines (72 loc) · 2.42 KB
/
Debug.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
#SingleInstance, Force
SendMode Input
SetWorkingDir, %A_ScriptDir%
dcfa := []
dcfa.Push({"key": "a", "val": "ᴀ"}
, {"key": "b", "val": "ʙ"}
, {"key": "c", "val": "ᴄ"}
, {"key": "d", "val": "ᴅ"}
, {"key": "e", "val": "ᴇ"}
, {"key": "f", "val": "ꜰ"}
, {"key": "g", "val": "ɢ"}
, {"key": "h", "val": "ʜ"}
, {"key": "i", "val": "ɪ"}
, {"key": "j", "val": "ᴊ"}
, {"key": "k", "val": "ᴋ"}
, {"key": "l", "val": "ʟ"}
, {"key": "m", "val": "ᴍ"}
, {"key": "n", "val": "ɴ"}
, {"key": "o", "val": "ᴏ"}
, {"key": "p", "val": "ᴘ"}
, {"key": "q", "val": "ǫ"}
, {"key": "r", "val": "ʀ"}
, {"key": "s", "val": "ꜱ"}
, {"key": "t", "val": "ᴛ"}
, {"key": "u", "val": "ᴜ"}
, {"key": "v", "val": "ᴠ"}
, {"key": "w", "val": "ᴡ"}
, {"key": "x", "val": "ⅹ"}
, {"key": "y", "val": "ʏ"}
, {"key": "z", "val": "ᴢ"})
dcfa.Push({"key": "A", "val": "ᴀ"}
, {"key": "B", "val": "ʙ"}
, {"key": "C", "val": "ᴄ"}
, {"key": "D", "val": "ᴅ"}
, {"key": "E", "val": "ᴇ"}
, {"key": "F", "val": "ꜰ"}
, {"key": "G", "val": "ɢ"}
, {"key": "H", "val": "ʜ"}
, {"key": "I", "val": "ɪ"}
, {"key": "J", "val": "ᴊ"}
, {"key": "K", "val": "ᴋ"}
, {"key": "L", "val": "ʟ"}
, {"key": "M", "val": "ᴍ"}
, {"key": "N", "val": "ɴ"}
, {"key": "O", "val": "ᴏ"}
, {"key": "P", "val": "ᴘ"}
, {"key": "Q", "val": "ǫ"}
, {"key": "R", "val": "ʀ"}
, {"key": "S", "val": "ꜱ"}
, {"key": "T", "val": "ᴛ"}
, {"key": "U", "val": "ᴜ"}
, {"key": "V", "val": "ᴠ"}
, {"key": "W", "val": "ᴡ"}
, {"key": "X", "val": "ⅹ"}
, {"key": "Y", "val": "ʏ"}
, {"key": "Z", "val": "ᴢ"})
SmallCapsDict := new COMDict(dcfa)
MsgBox, % SmallCapsDict.HasKey("count")
for k in SmallCapsDict.Keys()
test .= k " = " SmallCapsDict[k] "`n"
MsgBox, % test
test := ""
inverted := SmallCapsDict.invert()
for k in inverted.Keys()
test .= k " = " inverted.item(k) "`n"
MsgBox, % test
test := ""
for k in SmallCapsDict.Keys()
test .= k " = " SmallCapsDict.item(k) "`n"
MsgBox, % test
return
#Include, COMDict.ahk