Mac Automation via AppleScript
This skill enables control of macOS applications and system functions through AppleScript execution via the osascript command.
Core Principle
Execute AppleScript commands using the Bash tool with osascript:
osascript -e 'AppleScript code here'
For multi-line scripts:
osascript <<'EOF'
tell application "App Name"
-- commands here
end tell
EOF
Supported Applications & Functions
1. Mail (邮件)
- Send emails with subject
[Description truncada. Veja o README completo no GitHub.]