automating-voice-memos
Installation
SKILL.md
Automating Voice Memos (no dictionary, data+UI hybrid)
Relationship to the macOS automation skill
- This is a standalone skill for Voice Memos automation.
- For setup help, see the
automating-mac-appsskill for permissions (Full Disk Access, Accessibility) and the ObjC bridge basics. - Prerequisites: Basic JXA (JavaScript for Automation) knowledge; install via macOS System Preferences > Security & Privacy.
Core Framing
- Catalyst App: Voice Memos is an iOS app adapted for macOS without full macOS APIs, hence no AppleScript dictionary for automation.
- UI-first: Prefer UI scripting/keyboard shortcuts for exports to avoid touching the database/container.
- Data (optional): Use data-layer control only if needed (ObjC + sqlite3). This requires broader permissions.
- Permissions: Accessibility for UI automation; Full Disk Access only if you read/write the container/DB.
Workflow (default)
- UI-first (no FDA): export via menu/shortcut to a folder you control.
- Optional data path: resolve storage paths; query CloudRecordings.db (Apple epoch +978307200) only if required.
- For UI actions (recording/export), drive the app with System Events (shortcuts preferred over clicks).
- For editing, prefer external tools (ffmpeg) after export; avoid writing directly into the container unless you accept FDA.