Install
openclaw skills install macos-applescript-fallbackReliable macOS AppleScript fallback for creating Apple Reminders, Apple Notes, Apple Calendar events, and sending iMessage when direct tool/plugin routes are unavailable or flaky (especially on older macOS versions). Use when users ask to create reminders/notes/calendar events or send a message to their own phone via Messages, and prioritize shell+osascript execution with robust compatibility fallbacks and permission troubleshooting.
openclaw skills install macos-applescript-fallbackUse local shell + AppleScript for 4 tasks:
Prefer bundled scripts in scripts/ over ad-hoc inline AppleScript for consistency and compatibility.
Run these scripts directly:
# reminder
./scripts/create_reminder.sh "今晚8点吃晚饭" "2026-03-22 20:00:00"
# note (HTML body required)
./scripts/create_note.sh "<h1>武汉三日游</h1><p>Day1 黄鹤楼...</p>" "iCloud"
# calendar
./scripts/create_calendar_event.sh "跑步" "个人" "2026-03-23 08:00:00" "2026-03-23 08:30:00"
# iMessage
./scripts/send_imessage.sh "zhangqianyi1995@icloud.com" "武汉下周末天气:..."
If missing required fields, ask one concise follow-up question.
Always call the corresponding script in scripts/.
Why:
sent, report success.Use checks from references/troubleshooting.md.
Most frequent root causes:
service type = iMessage, not by hard-coded service name.iCloud is missing, fallback to default account.<h1>, <p>) for stable rendering.Keep concise and concrete:
create_reminder.sh
<title> ["YYYY-MM-DD HH:MM:SS"]create_note.sh
<html-body> [account-name]create_calendar_event.sh
<title> <calendar-name> <start> <end>send_imessage.sh
<buddy(phone/appleid)> <message>troubleshooting.md