[futurebasic] Re: [FB] Sandboxing: Data migration fails

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2013 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Sun, 28 Apr 2013 18:33:18 -0400
Rich wrote:

> What if I need to send an AppleScript to the Finder?
> I am guessing that is not possible with sandboxing.

It should be possible, but you need to set a temporary AppleEvent entitlement in your app identifying the Finder-- or any other apps you are scripting-- as a target of your AppleScript messaging (read, write or read-write). References:




The .entitlements XML will look like this in ASCII (note strings are case sensitive and contrary to reason, i.e., Finder is identified in lowercase, as is an Apple application like Safari or iTunes):


This should get your app though the App Store.