automating-notes
Installation
SKILL.md
Automating Apple Notes (JXA-first, AppleScript discovery)
Relationship to the macOS automation skill
- Standalone for Notes; reuse
automating-mac-appsfor permissions, shell, and Objective-C/UI scripting patterns. - PyXA Installation: To use PyXA examples in this skill, see the installation instructions in
automating-mac-appsskill (PyXA Installation section).
Core framing
- Notes uses an AEOM hierarchy: Application → Accounts → Folders → Notes (with nested folders).
- Load:
automating-notes/references/notes-basics.mdfor complete specifier reference.
Workflow (default)
- Resolve account/folder explicitly (iCloud vs On My Mac); validate existence and permissions.
- Ensure target path exists (create folders if needed); handle creation failures gracefully.
- Create notes with explicit
nameand HTMLbody; verify creation success. - Query/update with
.whosefilters; batch delete/move as needed; check counts before/after operations. - For checklists/attachments, use clipboard/Objective-C scripting if dictionary support is insufficient; test fallbacks.
- For meeting/people workflows, file notes under
meetings/<company>/<date>-<meeting-title>andpeople/<first>-<last>/...; validate final structure.