A reliable tool for making FaceTime calls programmatically through AppleScript automation.
Tool Name: facetime-auto-call
Parameters:
mode: audio | video | find-contact | testcontact: Phone number or email addressUsage:
bash /path/to/facetime-auto-call/scripts/call.sh <mode> <contact>
macOS requires .app bundle for accessibility permissions (daemon processes are blocked).
Quick Setup:
bash /path/to/facetime-auto-call/scripts/setup.sh
Manual Authorization:
~/Applications/NodeRunner.appSee: OpenClaw Issue #940
bash /path/to/facetime-auto-call/scripts/call.sh audio "user@example.com"
bash /path/to/facetime-auto-call/scripts/call.sh audio "+1234567890"
bash /path/to/facetime-auto-call/scripts/call.sh video "user@example.com"
bash /path/to/facetime-auto-call/scripts/call.sh find-contact "John"
bash /path/to/facetime-auto-call/scripts/call.sh test
When user says:
facetime-auto-call tool with audio mode and contact infofacetime-auto-call tool with video modefacetime-auto-call tool with audio mode and phone numberExample:
User: "Call John"
Agent: bash /path/to/facetime-auto-call/scripts/call.sh audio "john@example.com"
Use in monitoring scripts:
# Token monitoring example
if [ "$MARKET_CAP" -lt "$TARGET" ]; then
bash /path/to/facetime-auto-call/scripts/call.sh audio "alert@example.com"
fi
macOS notification UI depth varies (7-10 layers) based on:
Solution: Multi-depth fallback (8 → 9 → 7 → 10)
Per Apple Documentation:
Error: "System Events" cannot access...
Fix:
ls ~/Applications/NodeRunner.app # Check if exists
bash /path/to/facetime-auto-call/scripts/setup.sh # Re-setup
Cause: FaceTime process not started
Fix: Script auto-cleans and restarts FaceTime
Error: Button not found (-2700)
Cause: Notification depth outside 8-9 range
Fix: Use Accessibility Inspector to check actual depth
open /System/Library/CoreServices/Applications/Accessibility\ Inspector.app
共 1 个版本