osascript runs out-of-process, so TCC attributes the Apple event to osascript rather than MacSync — every Notes read was denied even after the user granted MacSync → Notes Automation (the script works fine from Terminal). Send the event in-process via NSAppleScript on the main actor (tell-application events need a live run loop for their reply); the grant is then honored and notes sync. The read is infrequent (600s cycle) and brief enough for a menu agent. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| contacts-sync-core | ||
| ical | ||
| icalls | ||
| imail | ||
| imessage | ||
| inotes | ||
| iphoto | ||
| ireminders | ||
| shared | ||