Please give Unread Mail access to Mail via Apple Script. The following is the content of file App.entitlements: Ĭom.-eventsĪnd adding the following in ist: NSAppleEventsUsageDescription How to run an AppleScript from a sandboxed application on a Mac (OS X), but it doesn't work. I had imagined that it was the old one that was preventing me from being able. I have tried most of the suggested solutions from this link: I just purchased a new MacBook Pro and migrated everything over from the old one. NSAppleScriptErrorBriefMessage - Not authorized to send Apple events to Font Book.
The script is running successfully and it installed the font from script editor, but when trying to run from my application it's failing with this message:
I'm trying to install fonts by using AppleScript.