Script-first automation
get_tool_guidethenget_app_capabilities- macOS:
run_scriptwithlanguage: "applescript"or"javascript"(JXA) - Windows:
run_scriptwithlanguage: "powershell" - Use
get_app_dictionary(macOS) for suite/command names - Fall back to AX only if scripting fails or app is not scriptable
Examples:
- Safari URL:
tell application "Safari" to open location "https://…" - Windows:
Start-Process "https://example.com"