-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOUTLOOK - KM SEARCH v1.1 - Select subject line in ToDo task and search in Outlook.kmmacros
531 lines (531 loc) · 14.1 KB
/
OUTLOOK - KM SEARCH v1.1 - Select subject line in ToDo task and search in Outlook.kmmacros
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
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
<?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>622129249.04385304</real>
<key>Macros</key>
<array>
<dict>
<key>Actions</key>
<array>
<dict>
<key>ActionColor</key>
<string>Red</string>
<key>IsDisclosed</key>
<false/>
<key>MacroActionType</key>
<string>Comment</string>
<key>StyledText</key>
<data>
cnRmZAAAAAADAAAAAgAAAAcAAABU
WFQucnRmAQAAAC6YAAAAKwAAAAEA
AACQAAAAe1xydGYxXGFuc2lcYW5z
aWNwZzEyNTJcY29jb2FydGYyNTEz
Clxjb2NvYXRleHRzY2FsaW5nMFxj
b2NvYXBsYXRmb3JtMHtcZm9udHRi
bH0Ke1xjb2xvcnRibDtccmVkMjU1
XGdyZWVuMjU1XGJsdWUyNTU7fQp7
XCpcZXhwYW5kZWRjb2xvcnRibDs7
fQp9AQAAACMAAAABAAAABwAAAFRY
VC5ydGYQAAAAlGV9X7YBAAAAAAAA
AAAAAA==
</data>
<key>Title</key>
<string>The cursor needs to be in the task notes section</string>
</dict>
<dict>
<key>ActionColor</key>
<string>Teal</string>
<key>IsDisclosed</key>
<false/>
<key>MacroActionType</key>
<string>Comment</string>
<key>StyledText</key>
<data>
cnRmZAAAAAADAAAAAgAAAAcAAABU
WFQucnRmAQAAAC6YAAAAKwAAAAEA
AACQAAAAe1xydGYxXGFuc2lcYW5z
aWNwZzEyNTJcY29jb2FydGYyNTEz
Clxjb2NvYXRleHRzY2FsaW5nMFxj
b2NvYXBsYXRmb3JtMHtcZm9udHRi
bH0Ke1xjb2xvcnRibDtccmVkMjU1
XGdyZWVuMjU1XGJsdWUyNTU7fQp7
XCpcZXhwYW5kZWRjb2xvcnRibDs7
fQp9AQAAACMAAAABAAAABwAAAFRY
VC5ydGYQAAAAlGV9X7YBAAAAAAAA
AAAAAA==
</data>
<key>Title</key>
<string>Copy all text</string>
</dict>
<dict>
<key>KeyCode</key>
<integer>0</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>256</integer>
<key>ReleaseAll</key>
<false/>
<key>TargetApplication</key>
<dict/>
<key>TargetingType</key>
<string>Front</string>
</dict>
<dict>
<key>KeyCode</key>
<integer>8</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>256</integer>
<key>ReleaseAll</key>
<false/>
<key>TargetApplication</key>
<dict/>
<key>TargetingType</key>
<string>Front</string>
</dict>
<dict>
<key>KeyCode</key>
<integer>53</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>0</integer>
<key>ReleaseAll</key>
<false/>
<key>TargetApplication</key>
<dict/>
<key>TargetingType</key>
<string>Front</string>
</dict>
<dict>
<key>IsDisclosed</key>
<false/>
<key>MacroActionType</key>
<string>SetVariableToText</string>
<key>Text</key>
<string>%CurrentClipboard%</string>
<key>Variable</key>
<string>clipText</string>
</dict>
<dict>
<key>IsDisclosed</key>
<false/>
<key>MacroActionType</key>
<string>SetVariableToText</string>
<key>Text</key>
<string></string>
<key>Variable</key>
<string>ToDoClipboard</string>
</dict>
<dict>
<key>IsDisclosed</key>
<false/>
<key>MacroActionType</key>
<string>SetVariableToText</string>
<key>Text</key>
<string></string>
<key>Variable</key>
<string>ToDoSubject</string>
</dict>
<dict>
<key>Actions</key>
<array>
<dict>
<key>Conditions</key>
<dict>
<key>ConditionList</key>
<array>
<dict>
<key>ConditionType</key>
<string>Variable</string>
<key>Variable</key>
<string>lineText</string>
<key>VariableConditionType</key>
<string>StartsWith</string>
<key>VariableValue</key>
<string>Subject</string>
</dict>
</array>
<key>ConditionListMatch</key>
<string>All</string>
</dict>
<key>ElseActions</key>
<array/>
<key>MacroActionType</key>
<string>IfThenElse</string>
<key>ThenActions</key>
<array>
<dict>
<key>MacroActionType</key>
<string>SetVariableToText</string>
<key>Text</key>
<string>%Variable%lineText%</string>
<key>Variable</key>
<string>ToDoSubject</string>
</dict>
<dict>
<key>ActionColor</key>
<string>Magenta</string>
<key>IsDisclosed</key>
<false/>
<key>MacroActionType</key>
<string>Comment</string>
<key>StyledText</key>
<data>
cnRmZAAAAAAD
AAAAAgAAAAcA
AABUWFQucnRm
AQAAAC6YAAAA
KwAAAAEAAACQ
AAAAe1xydGYx
XGFuc2lcYW5z
aWNwZzEyNTJc
Y29jb2FydGYy
NTEzClxjb2Nv
YXRleHRzY2Fs
aW5nMFxjb2Nv
YXBsYXRmb3Jt
MHtcZm9udHRi
bH0Ke1xjb2xv
cnRibDtccmVk
MjU1XGdyZWVu
MjU1XGJsdWUy
NTU7fQp7XCpc
ZXhwYW5kZWRj
b2xvcnRibDs7
fQp9AQAAACMA
AAABAAAABwAA
AFRYVC5ydGYQ
AAAAlGV9X7YB
AAAAAAAAAAAA
AA==
</data>
<key>Title</key>
<string>Remove the prefix 'Subject:' if needed and put result back into variable</string>
</dict>
<dict>
<key>Delete</key>
<true/>
<key>First</key>
<string>8</string>
<key>MacroActionType</key>
<string>Substring</string>
<key>Second</key>
<string>8</string>
<key>Source</key>
<string>Variable</string>
<key>StringRangeType</key>
<string>To</string>
<key>Variable</key>
<string>ToDoSubject</string>
</dict>
<dict>
<key>Action</key>
<string>BreakFromLoop</string>
<key>IsDisclosed</key>
<false/>
<key>MacroActionType</key>
<string>Cancel</string>
</dict>
</array>
<key>TimeOutAbortsMacro</key>
<true/>
</dict>
</array>
<key>Collections</key>
<dict>
<key>CollectionList</key>
<array>
<dict>
<key>CollectionType</key>
<string>LinesIn</string>
<key>IncludeBlankLines</key>
<false/>
<key>Source</key>
<string>Variable</string>
<key>Variable</key>
<string>clipText</string>
</dict>
</array>
</dict>
<key>MacroActionType</key>
<string>For</string>
<key>TimeOutAbortsMacro</key>
<true/>
<key>Variable</key>
<string>lineText</string>
</dict>
<dict>
<key>Action</key>
<string>DisplayWindow</string>
<key>IsActive</key>
<false/>
<key>IsDisclosed</key>
<false/>
<key>MacroActionType</key>
<string>InsertText</string>
<key>StyledText</key>
<data>
cnRmZAAAAAADAAAAAgAAAAcAAABU
WFQucnRmAQAAAC6XAQAAKwAAAAEA
AACPAQAAe1xydGYxXGFuc2lcYW5z
aWNwZzEyNTJcY29jb2FydGYyNTEz
Clxjb2NvYXRleHRzY2FsaW5nMFxj
b2NvYXBsYXRmb3JtMHtcZm9udHRi
bFxmMFxmc3dpc3NcZmNoYXJzZXQw
IEhlbHZldGljYTt9CntcY29sb3J0
Ymw7XHJlZDI1NVxncmVlbjI1NVxi
bHVlMjU1O1xyZWQwXGdyZWVuMFxi
bHVlMDt9CntcKlxleHBhbmRlZGNv
bG9ydGJsOztcY3NzcmdiXGMwXGMw
XGMwXGM4NDcwNlxjbmFtZSBjb250
cm9sVGV4dENvbG9yO30KXHBhcmRc
dHg1NjBcdHgxMTIwXHR4MTY4MFx0
eDIyNDBcdHgyODAwXHR4MzM2MFx0
eDM5MjBcdHg0NDgwXHR4NTA0MFx0
eDU2MDBcdHg2MTYwXHR4NjcyMFxw
YXJkaXJuYXR1cmFsXHBhcnRpZ2h0
ZW5mYWN0b3IwCgpcZjBcZnMyNiBc
Y2YyICVWYXJpYWJsZSVUb0RvU3Vi
amVjdCV9AQAAACMAAAABAAAABwAA
AFRYVC5ydGYQAAAAd3GmX7YBAAAA
AAAAAAAAAA==
</data>
<key>Text</key>
<string>%Variable%ToDoSubject%</string>
</dict>
<dict>
<key>JustDisplay</key>
<false/>
<key>MacroActionType</key>
<string>SetClipboardToText</string>
<key>Text</key>
<string>Subject:”%Variable%ToDoSubject%”</string>
</dict>
<dict>
<key>ActionColor</key>
<string>Purple</string>
<key>IsDisclosed</key>
<false/>
<key>MacroActionType</key>
<string>Comment</string>
<key>StyledText</key>
<data>
cnRmZAAAAAADAAAAAgAAAAcAAABU
WFQucnRmAQAAAC6YAAAAKwAAAAEA
AACQAAAAe1xydGYxXGFuc2lcYW5z
aWNwZzEyNTJcY29jb2FydGYyNTEz
Clxjb2NvYXRleHRzY2FsaW5nMFxj
b2NvYXBsYXRmb3JtMHtcZm9udHRi
bH0Ke1xjb2xvcnRibDtccmVkMjU1
XGdyZWVuMjU1XGJsdWUyNTU7fQp7
XCpcZXhwYW5kZWRjb2xvcnRibDs7
fQp9AQAAACMAAAABAAAABwAAAFRY
VC5ydGYQAAAAlGV9X7YBAAAAAAAA
AAAAAA==
</data>
<key>Title</key>
<string>Open Outlook and move focus to Archive folder</string>
</dict>
<dict>
<key>AllWindows</key>
<true/>
<key>AlreadyActivatedActionType</key>
<string>Normal</string>
<key>Application</key>
<dict>
<key>BundleIdentifier</key>
<string>com.microsoft.Outlook</string>
<key>Name</key>
<string>Microsoft Outlook</string>
<key>NewFile</key>
<string>/Applications/Microsoft Outlook.app</string>
</dict>
<key>MacroActionType</key>
<string>ActivateApplication</string>
<key>ReopenWindows</key>
<true/>
<key>TimeOutAbortsMacro</key>
<true/>
</dict>
<dict>
<key>ActionColor</key>
<string>Magenta</string>
<key>IsDisclosed</key>
<false/>
<key>MacroActionType</key>
<string>Comment</string>
<key>StyledText</key>
<data>
cnRmZAAAAAADAAAAAgAAAAcAAABU
WFQucnRmAQAAAC6YAAAAKwAAAAEA
AACQAAAAe1xydGYxXGFuc2lcYW5z
aWNwZzEyNTJcY29jb2FydGYyNTEz
Clxjb2NvYXRleHRzY2FsaW5nMFxj
b2NvYXBsYXRmb3JtMHtcZm9udHRi
bH0Ke1xjb2xvcnRibDtccmVkMjU1
XGdyZWVuMjU1XGJsdWUyNTU7fQp7
XCpcZXhwYW5kZWRjb2xvcnRibDs7
fQp9AQAAACMAAAABAAAABwAAAFRY
VC5ydGYQAAAAlGV9X7YBAAAAAAAA
AAAAAA==
</data>
<key>Title</key>
<string>Search Outlook with contents of clipboard (subject line of email in ToDo)</string>
</dict>
<dict>
<key>KeyCode</key>
<integer>53</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>0</integer>
<key>ReleaseAll</key>
<false/>
<key>TargetApplication</key>
<dict/>
<key>TargetingType</key>
<string>Front</string>
</dict>
<dict>
<key>KeyCode</key>
<integer>18</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>256</integer>
<key>ReleaseAll</key>
<false/>
<key>TargetApplication</key>
<dict/>
<key>TargetingType</key>
<string>Front</string>
</dict>
<dict>
<key>KeyCode</key>
<integer>48</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>512</integer>
<key>ReleaseAll</key>
<false/>
<key>TargetApplication</key>
<dict/>
<key>TargetingType</key>
<string>Front</string>
</dict>
<dict>
<key>KeyCode</key>
<integer>123</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>0</integer>
<key>ReleaseAll</key>
<false/>
<key>TargetApplication</key>
<dict/>
<key>TargetingType</key>
<string>Front</string>
</dict>
<dict>
<key>KeyCode</key>
<integer>125</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>0</integer>
<key>ReleaseAll</key>
<false/>
<key>TargetApplication</key>
<dict/>
<key>TargetingType</key>
<string>Front</string>
</dict>
<dict>
<key>MacroActionType</key>
<string>Pause</string>
<key>Time</key>
<string>0.5</string>
<key>TimeOutAbortsMacro</key>
<true/>
</dict>
<dict>
<key>KeyCode</key>
<integer>3</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>768</integer>
<key>ReleaseAll</key>
<false/>
<key>TargetApplication</key>
<dict/>
<key>TargetingType</key>
<string>Front</string>
</dict>
<dict>
<key>Action</key>
<string>Paste</string>
<key>IsDisclosed</key>
<false/>
<key>MacroActionType</key>
<string>CutCopyPaste</string>
<key>TimeOutAbortsMacro</key>
<true/>
</dict>
<dict>
<key>KeyCode</key>
<integer>36</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>0</integer>
<key>ReleaseAll</key>
<false/>
<key>TargetApplication</key>
<dict/>
<key>TargetingType</key>
<string>Front</string>
</dict>
</array>
<key>CreationDate</key>
<real>626437875.88706505</real>
<key>ModificationDate</key>
<real>632766914.06066704</real>
<key>Name</key>
<string>NEW OUTLOOK - KM SEARCH v1.1: Select subject line in ToDo task and search in Outlook</string>
<key>Triggers</key>
<array>
<dict>
<key>FireType</key>
<string>Pressed</string>
<key>KeyCode</key>
<integer>19</integer>
<key>MacroTriggerType</key>
<string>HotKey</string>
<key>Modifiers</key>
<integer>768</integer>
</dict>
</array>
<key>UID</key>
<string>D30D51E9-D854-4328-ABB8-BB7986D18E68</string>
</dict>
</array>
<key>Name</key>
<string>Global Macro Group</string>
<key>ToggleMacroUID</key>
<string>EFCA8958-6C46-44DA-A6D7-7AE36A77E537</string>
<key>UID</key>
<string>AC3DB8D1-E24A-493B-A217-AAEFDDA3836E</string>
</dict>
</array>
</plist>