run_applescript
Execute AppleScript code to automate macOS system controls, app management, and task scheduling. Provide script and optional timeout for precise automation.
Instructions
Execute arbitrary AppleScript code.
Args: script: AppleScript code to execute timeout: Maximum execution time in seconds (default: 30)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |