Computer Use Scripting

Prefer AppleScript/JXA (macOS) or PowerShell (Windows) via run_script before GUI automation.

zavora-ai Updated
An original night landscape painted by Astra through Computer Use MCP

File contents

Script-first automation

  1. get_tool_guide then get_app_capabilities
  2. macOS: run_script with language: "applescript" or "javascript" (JXA)
  3. Windows: run_script with language: "powershell"
  4. Use get_app_dictionary (macOS) for suite/command names
  5. 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"

zavora-ai/computer-use-mcp commit 1f00a708ba

Frequently asked questions

npx get-skill add zavora-ai/computer-use-scripting