-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKMCheatCode.kmmacros
More file actions
440 lines (429 loc) · 11 KB
/
KMCheatCode.kmmacros
File metadata and controls
440 lines (429 loc) · 11 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>Activate</key>
<string>Normal</string>
<key>CreationDate</key>
<real>667673514.93459702</real>
<key>Macros</key>
<array>
<dict>
<key>Actions</key>
<array>
<dict>
<key>ActionColor</key>
<string>Orange</string>
<key>ActionUID</key>
<integer>68558</integer>
<key>MacroActionType</key>
<string>Comment</string>
<key>StyledText</key>
<data>
cnRmZAAAAAADAAAAAgAAAAcAAABU
WFQucnRmAQAAAC5tBQAAKwAAAAEA
AABlBQAAe1xydGYxXGFuc2lcYW5z
aWNwZzEyNTFcY29jb2FydGYyNzA4
Clxjb2NvYXRleHRzY2FsaW5nMFxj
b2NvYXBsYXRmb3JtMHtcZm9udHRi
bFxmMFxmc3dpc3NcZmNoYXJzZXQw
IEhlbHZldGljYTtcZjFcZm5pbFxm
Y2hhcnNldDAgTWVubG8tUmVndWxh
cjtcZjJcZnN3aXNzXGZjaGFyc2V0
MCBIZWx2ZXRpY2EtT2JsaXF1ZTsK
fQp7XGNvbG9ydGJsO1xyZWQyNTVc
Z3JlZW4yNTVcYmx1ZTI1NTtccmVk
MFxncmVlbjBcYmx1ZTA7XHJlZDIw
MlxncmVlbjIwMlxibHVlMjAyO1xy
ZWQyM1xncmVlbjIzXGJsdWUyMzsK
fQp7XCpcZXhwYW5kZWRjb2xvcnRi
bDs7XGNzc3JnYlxjMFxjMFxjMFxj
ODQ3MDZcY25hbWUgY29udHJvbFRl
eHRDb2xvcjtcY3NzcmdiXGM4MzEz
N1xjODMxMzdcYzgzMTM3O1xjc3Ny
Z2JcYzExNzY1XGMxMTc2NVxjMTE3
NjU7Cn0KXHBhcmRcdHg1NjBcdHgx
MTIwXHR4MTY4MFx0eDIyNDBcdHgy
ODAwXHR4MzM2MFx0eDM5MjBcdHg0
NDgwXHR4NTA0MFx0eDU2MDBcdHg2
MTYwXHR4NjcyMFxwYXJkaXJuYXR1
cmF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VBFUkxJTksg
Imh0dHBzOi8vZ2l0LmZmYnNvZmZh
Lm9yZy9wcm9qZWN0cy9rbWNoZWF0
In19e1xmbGRyc2x0IGh0dHBzOi8v
Z2l0LmZmYnNvZmZhLm9yZy9wcm9q
ZWN0cy9rbWNoZWF0fX0gXApcClwK
fQEAAAAjAAAAAQAAAAcAAABUWFQu
cnRmEAAAAHt7/GO2AQAAAAAAAAAA
AAA=
</data>
<key>Title</key>
<string>About this macros</string>
</dict>
<dict>
<key>ActionName</key>
<string>Clear SOCCode</string>
<key>ActionUID</key>
<integer>68559</integer>
<key>MacroActionType</key>
<string>SetVariableToText</string>
<key>Text</key>
<string></string>
<key>Variable</key>
<string>SOCCode</string>
</dict>
<dict>
<key>ActionUID</key>
<integer>68561</integer>
<key>DeviceID</key>
<string>SOUNDEFFECTS</string>
<key>MacroActionType</key>
<string>PlaySound</string>
<key>Path</key>
<string>~/Library/Sounds/KMCCinit.wav</string>
<key>TimeOutAbortsMacro</key>
<true/>
<key>Volume</key>
<integer>60</integer>
</dict>
<dict>
<key>ActionUID</key>
<integer>68562</integer>
<key>Floating</key>
<true/>
<key>HasTitle</key>
<false/>
<key>MacroActionType</key>
<string>CustomPrompt</string>
<key>Text</key>
<string><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>KMCheatCode</title>
<style type="text/css">
body {
background-color: #F0F0F4;
font: 11px system-ui;
color: #5A698B;
width: 420px;
margin: 0;
}
form {
font: bold 14px "Lucida Grande", serif;
}
#title {
width: 100%;
color: #5A698B;
padding-top: 12px;
padding-bottom: 4px;
padding-left: 8px;
text-transform: uppercase;
letter-spacing: 2px;
text-align: left;
}
form {
width: 100%;
}
.col1 {
text-align: right;
width: 105px;
padding-top: 5px;
height: 31px;
margin: 0;
float: left;
}
.message {
height: 75px;
}
.col2 {
width: 310px;
height: 31px;
display: block;
float: left;
margin: 0;
}
div.row {
clear: both;
width: 100%;
}
.submit {
height: 29px;
width: 100%;
padding-top: 5px;
clear: both;
}
.input {
width: 243px;
background-color: #fff;
color: #5A698B;
margin: 4px 0 5px 5px;
border: 1px solid #8595B2;
font: 16px system-ui;
}
.center {
text-align: center;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
</style>
</head>
<body data-kmwindow="SCREEN(Main,Left, 0.5%),SCREEN(Main,Top, 2%),258,30">
<form id="myform" action="#" method="post"> <div class="row">
<span class="col2">
<input name="SOCCode" class="input" type="number" id="name" autofocus />
</span>
</div>
</form>
<script>
function submitMacro() {
window.KeyboardMaestro.Submit();
}
function cancelMacro() {
window.KeyboardMaestro.Cancel();
}
window.addEventListener('keydown', (e) => {
if (e.key === 'Enter') {
submitMacro();
}
if (e.key === 'Escape') {
cancelMacro();
}
});
</script>
</body>
</html></string>
<key>TimeOutAbortsMacro</key>
<true/>
<key>UseText</key>
<true/>
</dict>
<dict>
<key>ActionUID</key>
<integer>68563</integer>
<key>CaseEntries</key>
<array>
<dict>
<key>Actions</key>
<array>
<dict>
<key>ActionUID</key>
<integer>68953</integer>
<key>IsDefaultApplication</key>
<true/>
<key>MacroActionType</key>
<string>OpenURL</string>
<key>TimeOutAbortsMacro</key>
<true/>
<key>URL</key>
<string>https://www.keyboardmaestro.com/</string>
</dict>
<dict>
<key>ActionUID</key>
<integer>68955</integer>
<key>AllWindows</key>
<true/>
<key>AlreadyActivatedActionType</key>
<string>Normal</string>
<key>Application</key>
<dict>
<key>BundleIdentifier</key>
<string>com.apple.mail</string>
<key>Name</key>
<string>Mail</string>
<key>NewFile</key>
<string>/System/Applications/Mail.app</string>
</dict>
<key>MacroActionType</key>
<string>ActivateApplication</string>
<key>ReopenWindows</key>
<false/>
<key>TimeOutAbortsMacro</key>
<true/>
</dict>
<dict>
<key>Action</key>
<string>CancelSpecificMacro</string>
<key>ActionUID</key>
<integer>68567</integer>
<key>Instance</key>
<string>THIS</string>
<key>MacroActionType</key>
<string>Cancel</string>
</dict>
</array>
<key>ConditionType</key>
<string>Contains</string>
<key>TestValue</key>
<string>0001</string>
</dict>
<dict>
<key>Actions</key>
<array>
<dict>
<key>Action</key>
<string>CancelSpecificMacro</string>
<key>ActionUID</key>
<integer>68570</integer>
<key>Instance</key>
<string>THIS</string>
<key>MacroActionType</key>
<string>Cancel</string>
</dict>
</array>
<key>ConditionType</key>
<string>Contains</string>
<key>TestValue</key>
<string>0002</string>
</dict>
<dict>
<key>Actions</key>
<array>
<dict>
<key>Action</key>
<string>CancelSpecificMacro</string>
<key>ActionUID</key>
<integer>68575</integer>
<key>Instance</key>
<string>THIS</string>
<key>MacroActionType</key>
<string>Cancel</string>
</dict>
</array>
<key>ConditionType</key>
<string>Contains</string>
<key>TestValue</key>
<string>0003</string>
</dict>
</array>
<key>MacroActionType</key>
<string>Switch</string>
<key>Source</key>
<string>Variable</string>
<key>Variable</key>
<string>SOCCode</string>
</dict>
<dict>
<key>ActionUID</key>
<integer>68576</integer>
<key>Conditions</key>
<dict>
<key>ConditionList</key>
<array>
<dict>
<key>ConditionType</key>
<string>Key</string>
<key>KeyCode</key>
<integer>53</integer>
<key>KeyConditionType</key>
<string>Down</string>
</dict>
</array>
<key>ConditionListMatch</key>
<string>All</string>
</dict>
<key>ElseActions</key>
<array>
<dict>
<key>ActionUID</key>
<integer>68577</integer>
<key>DeviceID</key>
<string>SOUNDEFFECTS</string>
<key>MacroActionType</key>
<string>PlaySound</string>
<key>Path</key>
<string>~/Library/Sounds/KMCCFail.wav</string>
<key>TimeOutAbortsMacro</key>
<true/>
<key>Volume</key>
<integer>31</integer>
</dict>
</array>
<key>MacroActionType</key>
<string>IfThenElse</string>
<key>ThenActions</key>
<array>
<dict>
<key>Action</key>
<string>CancelThisMacro</string>
<key>ActionUID</key>
<integer>68952</integer>
<key>MacroActionType</key>
<string>Cancel</string>
</dict>
</array>
<key>TimeOutAbortsMacro</key>
<true/>
</dict>
</array>
<key>CreationDate</key>
<real>699181519.27563095</real>
<key>ModificationDate</key>
<real>699183997.99018502</real>
<key>Name</key>
<string>KMCheatCode</string>
<key>Triggers</key>
<array>
<dict>
<key>FireType</key>
<string>Pressed</string>
<key>KeyCode</key>
<integer>67</integer>
<key>MacroTriggerType</key>
<string>HotKey</string>
<key>Modifiers</key>
<integer>0</integer>
</dict>
</array>
<key>UID</key>
<string>2058CC60-33BA-413E-9353-9A902FB5D52E</string>
</dict>
</array>
<key>Name</key>
<string>key numbers</string>
<key>ToggleMacroUID</key>
<string>A832B822-7DD3-4EF5-A059-299DFC1A15DC</string>
<key>UID</key>
<string>14012F83-AED4-4EC8-9029-42AFCBFE2F5B</string>
</dict>
</array>
</plist>