screenhand 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist-app-maps/com.apple.Music.json +6587 -0
  2. package/dist-app-maps/com.apple.Notes.json +6098 -0
  3. package/dist-app-maps/com.apple.Photos.json +406 -0
  4. package/dist-app-maps/com.apple.Terminal.json +3968 -0
  5. package/dist-app-maps/com.apple.finder.json +420 -0
  6. package/dist-app-maps/com.apple.iCal.json +2375 -0
  7. package/dist-app-maps/com.apple.iWork.Keynote.json +2374 -0
  8. package/dist-app-maps/com.apple.iWork.Pages.json +7564 -0
  9. package/dist-app-maps/com.apple.mail.json +8353 -0
  10. package/dist-app-maps/com.apple.reminders.json +3322 -0
  11. package/dist-app-maps/net.whatsapp.WhatsApp.json +5151 -0
  12. package/dist-playbooks/calendar-create-event.json +20 -0
  13. package/dist-playbooks/calendar-list-events.json +20 -0
  14. package/dist-playbooks/calendar-navigate-views.json +47 -0
  15. package/dist-playbooks/calendar-open-settings.json +20 -0
  16. package/dist-playbooks/google-ads-transparency-competitor-research.json +89 -0
  17. package/dist-playbooks/google-search-competitor-research.json +76 -0
  18. package/dist-playbooks/keynote-add-slide.json +20 -0
  19. package/dist-playbooks/keynote-create-presentation.json +20 -0
  20. package/dist-playbooks/keynote-export-pdf.json +20 -0
  21. package/dist-playbooks/keynote-play-slideshow.json +20 -0
  22. package/dist-playbooks/meta-ad-library-competitor-research.json +100 -0
  23. package/dist-playbooks/notes-mastery-workflows.json +468 -0
  24. package/dist-playbooks/pages-export-pdf.json +20 -0
  25. package/dist-playbooks/pages-new-document.json +20 -0
  26. package/dist-playbooks/pages-open-document.json +20 -0
  27. package/dist-playbooks/reminders-complete.json +21 -0
  28. package/dist-playbooks/reminders-create.json +21 -0
  29. package/dist-playbooks/reminders-list.json +22 -0
  30. package/dist-playbooks/reminders-open.json +35 -0
  31. package/dist-playbooks/whatsapp-contact-info.json +32 -0
  32. package/dist-playbooks/whatsapp-navigate.json +71 -0
  33. package/dist-playbooks/whatsapp-new-call.json +32 -0
  34. package/dist-playbooks/whatsapp-new-group.json +32 -0
  35. package/dist-playbooks/whatsapp-search.json +28 -0
  36. package/dist-playbooks/whatsapp-settings.json +23 -0
  37. package/dist-playbooks/x_change_avatar.json +52 -0
  38. package/dist-references/apple-music.json +822 -0
  39. package/dist-references/calendar.json +1020 -0
  40. package/dist-references/google-search-competitor-research.json +73 -0
  41. package/dist-references/keynote.json +134 -0
  42. package/dist-references/mail.json +431 -0
  43. package/dist-references/pages.json +1203 -0
  44. package/dist-references/photos.json +642 -0
  45. package/dist-references/reminders.json +835 -0
  46. package/dist-references/terminal.json +640 -0
  47. package/dist-references/whatsapp.json +324 -0
  48. package/package.json +1 -1
@@ -0,0 +1,468 @@
1
+ {
2
+ "id": "notes-mastery-workflows",
3
+ "name": "notes-mastery-verified",
4
+ "description": "Full verified workflow: create note, heading, body, checklist (check/uncheck), table, link, bold/italic/underline, tags, pin/unpin, undo/redo, zoom, full screen, copy - all verified with world_state",
5
+ "platform": "notes",
6
+ "version": "1.0.0",
7
+ "tags": [
8
+ "notes",
9
+ "recorded"
10
+ ],
11
+ "successCount": 0,
12
+ "failCount": 0,
13
+ "steps": [
14
+ {
15
+ "action": "key",
16
+ "keys": [
17
+ "cmd",
18
+ "n"
19
+ ],
20
+ "description": "Key: cmd+n"
21
+ },
22
+ {
23
+ "action": "type_into",
24
+ "target": "",
25
+ "text": "Mastery Verification Test",
26
+ "description": "Type \"Mastery Verification Test\" into "
27
+ },
28
+ {
29
+ "action": "key",
30
+ "keys": [
31
+ "enter"
32
+ ],
33
+ "description": "Key: enter"
34
+ },
35
+ {
36
+ "action": "key",
37
+ "keys": [
38
+ "shift",
39
+ "cmd",
40
+ "h"
41
+ ],
42
+ "description": "Key: shift+cmd+h"
43
+ },
44
+ {
45
+ "action": "type_into",
46
+ "target": "",
47
+ "text": "Section One",
48
+ "description": "Type \"Section One\" into "
49
+ },
50
+ {
51
+ "action": "key",
52
+ "keys": [
53
+ "enter"
54
+ ],
55
+ "description": "Key: enter"
56
+ },
57
+ {
58
+ "action": "key",
59
+ "keys": [
60
+ "shift",
61
+ "cmd",
62
+ "b"
63
+ ],
64
+ "description": "Key: shift+cmd+b"
65
+ },
66
+ {
67
+ "action": "type_into",
68
+ "target": "",
69
+ "text": "This note tests cross-feature chains for mastery verification.",
70
+ "description": "Type \"This note tests cross-feature chains for mastery v\" into "
71
+ },
72
+ {
73
+ "action": "key",
74
+ "keys": [
75
+ "enter"
76
+ ],
77
+ "description": "Key: enter"
78
+ },
79
+ {
80
+ "action": "key",
81
+ "keys": [
82
+ "shift",
83
+ "cmd",
84
+ "l"
85
+ ],
86
+ "description": "Key: shift+cmd+l"
87
+ },
88
+ {
89
+ "action": "type_into",
90
+ "target": "",
91
+ "text": "Create note",
92
+ "description": "Type \"Create note\" into "
93
+ },
94
+ {
95
+ "action": "key",
96
+ "keys": [
97
+ "enter"
98
+ ],
99
+ "description": "Key: enter"
100
+ },
101
+ {
102
+ "action": "type_into",
103
+ "target": "",
104
+ "text": "Format with heading",
105
+ "description": "Type \"Format with heading\" into "
106
+ },
107
+ {
108
+ "action": "key",
109
+ "keys": [
110
+ "enter"
111
+ ],
112
+ "description": "Key: enter"
113
+ },
114
+ {
115
+ "action": "type_into",
116
+ "target": "",
117
+ "text": "Add checklist",
118
+ "description": "Type \"Add checklist\" into "
119
+ },
120
+ {
121
+ "action": "key",
122
+ "keys": [
123
+ "up"
124
+ ],
125
+ "description": "Key: up"
126
+ },
127
+ {
128
+ "action": "key",
129
+ "keys": [
130
+ "shift",
131
+ "cmd",
132
+ "u"
133
+ ],
134
+ "description": "Key: shift+cmd+u"
135
+ },
136
+ {
137
+ "action": "key",
138
+ "keys": [
139
+ "cmd",
140
+ "end"
141
+ ],
142
+ "description": "Key: cmd+end"
143
+ },
144
+ {
145
+ "action": "key",
146
+ "keys": [
147
+ "shift",
148
+ "cmd",
149
+ "l"
150
+ ],
151
+ "description": "Key: shift+cmd+l"
152
+ },
153
+ {
154
+ "action": "key",
155
+ "keys": [
156
+ "enter"
157
+ ],
158
+ "description": "Key: enter"
159
+ },
160
+ {
161
+ "action": "key",
162
+ "keys": [
163
+ "alt",
164
+ "cmd",
165
+ "t"
166
+ ],
167
+ "description": "Key: alt+cmd+t"
168
+ },
169
+ {
170
+ "action": "type_into",
171
+ "target": "",
172
+ "text": "Feature",
173
+ "description": "Type \"Feature\" into "
174
+ },
175
+ {
176
+ "action": "key",
177
+ "keys": [
178
+ "tab"
179
+ ],
180
+ "description": "Key: tab"
181
+ },
182
+ {
183
+ "action": "type_into",
184
+ "target": "",
185
+ "text": "Status",
186
+ "description": "Type \"Status\" into "
187
+ },
188
+ {
189
+ "action": "key",
190
+ "keys": [
191
+ "alt",
192
+ "cmd",
193
+ "down"
194
+ ],
195
+ "description": "Key: alt+cmd+down"
196
+ },
197
+ {
198
+ "action": "type_into",
199
+ "target": "",
200
+ "text": "Checklist",
201
+ "description": "Type \"Checklist\" into "
202
+ },
203
+ {
204
+ "action": "key",
205
+ "keys": [
206
+ "tab"
207
+ ],
208
+ "description": "Key: tab"
209
+ },
210
+ {
211
+ "action": "type_into",
212
+ "target": "",
213
+ "text": "Done",
214
+ "description": "Type \"Done\" into "
215
+ },
216
+ {
217
+ "action": "key",
218
+ "keys": [
219
+ "escape"
220
+ ],
221
+ "description": "Key: escape"
222
+ },
223
+ {
224
+ "action": "key",
225
+ "keys": [
226
+ "cmd",
227
+ "end"
228
+ ],
229
+ "description": "Key: cmd+end"
230
+ },
231
+ {
232
+ "action": "key",
233
+ "keys": [
234
+ "enter"
235
+ ],
236
+ "description": "Key: enter"
237
+ },
238
+ {
239
+ "action": "type_into",
240
+ "target": "",
241
+ "text": "Visit Apple",
242
+ "description": "Type \"Visit Apple\" into "
243
+ },
244
+ {
245
+ "action": "key",
246
+ "keys": [
247
+ "shift",
248
+ "cmd",
249
+ "left"
250
+ ],
251
+ "description": "Key: shift+cmd+left"
252
+ },
253
+ {
254
+ "action": "key",
255
+ "keys": [
256
+ "cmd",
257
+ "k"
258
+ ],
259
+ "description": "Key: cmd+k"
260
+ },
261
+ {
262
+ "action": "type_into",
263
+ "target": "",
264
+ "text": "https://apple.com",
265
+ "description": "Type \"https://apple.com\" into "
266
+ },
267
+ {
268
+ "action": "press",
269
+ "target": "OK",
270
+ "description": "Click OK"
271
+ },
272
+ {
273
+ "action": "key",
274
+ "keys": [
275
+ "enter"
276
+ ],
277
+ "description": "Key: enter"
278
+ },
279
+ {
280
+ "action": "key",
281
+ "keys": [
282
+ "cmd",
283
+ "b"
284
+ ],
285
+ "description": "Key: cmd+b"
286
+ },
287
+ {
288
+ "action": "type_into",
289
+ "target": "",
290
+ "text": "Bold text",
291
+ "description": "Type \"Bold text\" into "
292
+ },
293
+ {
294
+ "action": "key",
295
+ "keys": [
296
+ "cmd",
297
+ "b"
298
+ ],
299
+ "description": "Key: cmd+b"
300
+ },
301
+ {
302
+ "action": "type_into",
303
+ "target": "",
304
+ "text": " and ",
305
+ "description": "Type \" and \" into "
306
+ },
307
+ {
308
+ "action": "key",
309
+ "keys": [
310
+ "cmd",
311
+ "i"
312
+ ],
313
+ "description": "Key: cmd+i"
314
+ },
315
+ {
316
+ "action": "type_into",
317
+ "target": "",
318
+ "text": "italic text",
319
+ "description": "Type \"italic text\" into "
320
+ },
321
+ {
322
+ "action": "key",
323
+ "keys": [
324
+ "cmd",
325
+ "i"
326
+ ],
327
+ "description": "Key: cmd+i"
328
+ },
329
+ {
330
+ "action": "type_into",
331
+ "target": "",
332
+ "text": " and ",
333
+ "description": "Type \" and \" into "
334
+ },
335
+ {
336
+ "action": "key",
337
+ "keys": [
338
+ "cmd",
339
+ "u"
340
+ ],
341
+ "description": "Key: cmd+u"
342
+ },
343
+ {
344
+ "action": "type_into",
345
+ "target": "",
346
+ "text": "underline text",
347
+ "description": "Type \"underline text\" into "
348
+ },
349
+ {
350
+ "action": "key",
351
+ "keys": [
352
+ "cmd",
353
+ "u"
354
+ ],
355
+ "description": "Key: cmd+u"
356
+ },
357
+ {
358
+ "action": "key",
359
+ "keys": [
360
+ "enter"
361
+ ],
362
+ "description": "Key: enter"
363
+ },
364
+ {
365
+ "action": "type_into",
366
+ "target": "",
367
+ "text": "#mastery #testing",
368
+ "description": "Type \"#mastery #testing\" into "
369
+ },
370
+ {
371
+ "action": "menu_click",
372
+ "menuPath": [
373
+ "File",
374
+ "Pin Note"
375
+ ],
376
+ "description": "Menu click: File > Pin Note"
377
+ },
378
+ {
379
+ "action": "menu_click",
380
+ "menuPath": [
381
+ "File",
382
+ "Share"
383
+ ],
384
+ "description": "Menu click: File > Share"
385
+ },
386
+ {
387
+ "action": "key",
388
+ "keys": [
389
+ "escape"
390
+ ],
391
+ "description": "Key: escape"
392
+ },
393
+ {
394
+ "action": "menu_click",
395
+ "menuPath": [
396
+ "File",
397
+ "Unpin Note"
398
+ ],
399
+ "description": "Menu click: File > Unpin Note"
400
+ },
401
+ {
402
+ "action": "key",
403
+ "keys": [
404
+ "cmd",
405
+ "end"
406
+ ],
407
+ "description": "Key: cmd+end"
408
+ },
409
+ {
410
+ "action": "key",
411
+ "keys": [
412
+ "cmd",
413
+ "z"
414
+ ],
415
+ "description": "Key: cmd+z"
416
+ },
417
+ {
418
+ "action": "key",
419
+ "keys": [
420
+ "shift",
421
+ "cmd",
422
+ "z"
423
+ ],
424
+ "description": "Key: shift+cmd+z"
425
+ },
426
+ {
427
+ "action": "key",
428
+ "keys": [
429
+ "cmd",
430
+ "plus"
431
+ ],
432
+ "description": "Key: cmd+plus"
433
+ },
434
+ {
435
+ "action": "key",
436
+ "keys": [
437
+ "cmd",
438
+ "0"
439
+ ],
440
+ "description": "Key: cmd+0"
441
+ },
442
+ {
443
+ "action": "key",
444
+ "keys": [
445
+ "ctrl",
446
+ "cmd",
447
+ "f"
448
+ ],
449
+ "description": "Key: ctrl+cmd+f"
450
+ },
451
+ {
452
+ "action": "key",
453
+ "keys": [
454
+ "cmd",
455
+ "a"
456
+ ],
457
+ "description": "Key: cmd+a"
458
+ },
459
+ {
460
+ "action": "key",
461
+ "keys": [
462
+ "cmd",
463
+ "c"
464
+ ],
465
+ "description": "Key: cmd+c"
466
+ }
467
+ ]
468
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "id": "pages-export-pdf",
3
+ "name": "export-pdf",
4
+ "description": "Export the front Pages document as PDF using AppleScript export command with POSIX file path",
5
+ "platform": "pages",
6
+ "version": "1.0.0",
7
+ "tags": [
8
+ "pages",
9
+ "recorded"
10
+ ],
11
+ "successCount": 0,
12
+ "failCount": 0,
13
+ "steps": [
14
+ {
15
+ "action": "applescript",
16
+ "script": "-- export-pdf: Export the front Pages document as PDF\n-- Replace /tmp/output.pdf with your desired output path\ntell application \"Pages\"\n\ttell front document\n\t\texport to POSIX file \"/tmp/SH_Test.pdf\" as PDF\n\tend tell\nend tell",
17
+ "description": "AppleScript: -- export-pdf: Export the front Pages document as PDF\n-- Replace /tmp/output.pdf..."
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "id": "pages-new-document",
3
+ "name": "new-document",
4
+ "description": "Create a new blank Pages document using AppleScript make new document",
5
+ "platform": "pages",
6
+ "version": "1.0.0",
7
+ "tags": [
8
+ "pages",
9
+ "recorded"
10
+ ],
11
+ "successCount": 0,
12
+ "failCount": 0,
13
+ "steps": [
14
+ {
15
+ "action": "applescript",
16
+ "script": "-- new-document: Create a new blank Pages document via AppleScript\ntell application \"Pages\"\n\tset newDoc to make new document\nend tell",
17
+ "description": "AppleScript: -- new-document: Create a new blank Pages document via AppleScript\ntell applicat..."
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "id": "pages-open-document",
3
+ "name": "open-document",
4
+ "description": "Open an existing Pages document from a POSIX file path using AppleScript",
5
+ "platform": "pages",
6
+ "version": "1.0.0",
7
+ "tags": [
8
+ "pages",
9
+ "recorded"
10
+ ],
11
+ "successCount": 0,
12
+ "failCount": 0,
13
+ "steps": [
14
+ {
15
+ "action": "applescript",
16
+ "script": "-- open-document: Open an existing Pages file by path\n-- Replace /tmp/SH_Test.pages with the target file path\ntell application \"Pages\"\n\topen POSIX file \"/tmp/SH_Test.pages\"\nend tell",
17
+ "description": "AppleScript: -- open-document: Open an existing Pages file by path\n-- Replace /tmp/SH_Test.pa..."
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "id": "reminders-complete",
3
+ "name": "reminders-complete-reminder",
4
+ "description": "Mark a reminder as completed via AppleScript. Finds the reminder by name in a specified list and sets completed to true.",
5
+ "platform": "reminders",
6
+ "version": "1.0.0",
7
+ "tags": [
8
+ "reminders",
9
+ "applescript",
10
+ "complete"
11
+ ],
12
+ "successCount": 0,
13
+ "failCount": 0,
14
+ "steps": [
15
+ {
16
+ "action": "applescript",
17
+ "script": "tell application \"Reminders\"\n\tset targetList to list \"Reminders\"\n\tset r to reminder \"My Reminder\" of targetList\n\tset completed of r to true\n\treturn \"Completed: \" & name of r\nend tell",
18
+ "description": "Mark a reminder as complete. Replace 'Reminders' with the list name and 'My Reminder' with the reminder name. To uncomplete, set completed to false."
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "id": "reminders-create",
3
+ "name": "reminders-create-reminder",
4
+ "description": "Create a reminder via AppleScript with name, due date, notes, priority, and flag. Fastest and most reliable method \u2014 no UI interaction needed.",
5
+ "platform": "reminders",
6
+ "version": "1.0.0",
7
+ "tags": [
8
+ "reminders",
9
+ "applescript",
10
+ "create"
11
+ ],
12
+ "successCount": 0,
13
+ "failCount": 0,
14
+ "steps": [
15
+ {
16
+ "action": "applescript",
17
+ "script": "tell application \"Reminders\"\n\tset targetList to list \"Reminders\"\n\tset tomorrow to (current date) + 1 * days\n\tset r to make new reminder at end of reminders of targetList with properties {name:\"My Reminder\", due date:tomorrow, body:\"Notes here\", priority:0, flagged:false}\n\treturn name of r\nend tell",
18
+ "description": "Create a reminder in the default Reminders list with due date tomorrow. Properties: name (required), due date (optional), body=notes (optional), priority 0=none/1=high/5=medium/9=low (optional), flagged bool (optional)."
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "reminders-list",
3
+ "name": "reminders-list-all-reminders",
4
+ "description": "List all reminders across all lists via AppleScript, showing list name, reminder name, due date, and completion status.",
5
+ "platform": "reminders",
6
+ "version": "1.0.0",
7
+ "tags": [
8
+ "reminders",
9
+ "applescript",
10
+ "list",
11
+ "read"
12
+ ],
13
+ "successCount": 0,
14
+ "failCount": 0,
15
+ "steps": [
16
+ {
17
+ "action": "applescript",
18
+ "script": "tell application \"Reminders\"\n\tset output to {}\n\trepeat with aList in lists\n\t\tset listName to name of aList\n\t\trepeat with r in reminders of aList\n\t\t\tset dueStr to \"\"\n\t\t\tif due date of r is not missing value then\n\t\t\t\tset dueStr to \" (due: \" & (due date of r as string) & \")\"\n\t\t\tend if\n\t\t\tset completedStr to \"\"\n\t\t\tif completed of r is true then set completedStr to \" [DONE]\"\n\t\t\tset end of output to listName & \": \" & name of r & dueStr & completedStr\n\t\tend repeat\n\tend repeat\n\treturn output\nend tell",
19
+ "description": "Returns a list of all reminders across all lists. Each entry includes list name, reminder name, due date (if set), and [DONE] if completed."
20
+ }
21
+ ]
22
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "id": "reminders-open",
3
+ "name": "reminders-open-reminders",
4
+ "description": "Open and focus the Apple Reminders app. Launches if not running. Navigates to the All smart list to show every reminder.",
5
+ "platform": "reminders",
6
+ "version": "1.0.0",
7
+ "tags": [
8
+ "reminders",
9
+ "open",
10
+ "focus",
11
+ "launch"
12
+ ],
13
+ "successCount": 0,
14
+ "failCount": 0,
15
+ "steps": [
16
+ {
17
+ "action": "launch",
18
+ "bundleId": "com.apple.reminders",
19
+ "description": "Launch Reminders app (no-op if already running)"
20
+ },
21
+ {
22
+ "action": "focus",
23
+ "bundleId": "com.apple.reminders",
24
+ "description": "Bring Reminders to front"
25
+ },
26
+ {
27
+ "action": "key",
28
+ "keys": [
29
+ "cmd",
30
+ "3"
31
+ ],
32
+ "description": "Navigate to All smart list (shows every reminder across all lists)"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "id": "whatsapp-contact-info",
3
+ "name": "contact-info",
4
+ "description": "View contact info for active chat \u2014 Chats (Cmd+1) then open Contact Info panel (Shift+Cmd+I)",
5
+ "platform": "whatsapp",
6
+ "version": "1.0.0",
7
+ "tags": [
8
+ "whatsapp",
9
+ "recorded"
10
+ ],
11
+ "successCount": 0,
12
+ "failCount": 0,
13
+ "steps": [
14
+ {
15
+ "action": "key",
16
+ "keys": [
17
+ "cmd",
18
+ "1"
19
+ ],
20
+ "description": "Key: cmd+1"
21
+ },
22
+ {
23
+ "action": "key",
24
+ "keys": [
25
+ "shift",
26
+ "cmd",
27
+ "i"
28
+ ],
29
+ "description": "Key: shift+cmd+i"
30
+ }
31
+ ]
32
+ }