AppleEvents / Sandbox: Returning errAEPrivilegeError not allowed to send AppleEvent to process

I want to create an InDesign document with Apple Script using Sandboxing. My Apple Script:

inform Adobe Indesign CS5.5 about this make a new document end tell

My rights: enter image description here

In Adobe InDesign CS5.5.app Info.plist Package ID is com.adobe.InDesign I try both com.adobe.InDesign and com.adobe.indesign entry.

When I launch my sandbox application, it launches the Adobe InDesign application, but does not create any document in it. I am checking a console application (available in / Applications / Utilities /), look for sandboxd violations in the All Messages syslog request, which gives the following error:

AppleEvents / sandbox: Returning errAEPrivilegeError / -10004 and refusing to dispatch an ascr / gdte event from a process because it is not allowed to send an AppleEvent to that process.

Which entitlement entry should be associated with an InDesign document?

thank

+3


source to share


1 answer


If I check the Adobe InDesign id (OSX 10.10, InDesign CC 2015) it says "com.adobe.InDesign" <- register capital letters! For me it works with this ID in sandbox mode with your permissions.

I have heard from others that they prefer to use



tell application id "com.adobe.InDesign" to doSomeHandler()

      

0


source







All Articles