automating-numbers
Installation
SKILL.md
Automating Numbers (JXA-first, AppleScript discovery)
Relationship to the macOS automation skill
- Standalone for Numbers, aligned with
automating-mac-appspatterns. - Use
automating-mac-appsfor permissions, shell, and UI scripting guidance. - PyXA Installation: To use PyXA examples in this skill, see the installation instructions in
automating-mac-appsskill (PyXA Installation section).
Core Framing
- Numbers AppleScript dictionary is AppleScript-first; discover there.
- JXA provides logic and data processing.
- Objects are specifiers; read via methods, write via assignments.
- Handle errors from Numbers operations using try/catch blocks and Application error checking.
Workflow (default)
- Discover terms in Script Editor (Numbers dictionary).
- Prototype minimal AppleScript commands.
- Port to JXA and add defensive checks.
- Prefer batch reads and clipboard shim for writes.
- Use UI scripting only for dictionary gaps.