Answer the question
In order to leave comments, you need to log in
Swift 3: How to allow AppleScript for Finder in sandbox?
Hello!
I need to use AppleScript in my application with sandbox enabled. Simple commands like "tell "Finder" to bla-bla-bla". Very simple. I realized that I need to create an Entitlement entry, something like:
<key>com.apple.security.scripting-targets</key>
<dict>
<key>com.apple.mail</key>
<array>
<string>com.apple.mail.compose</string>
</array>
</dict>
<key>com.apple.security.scripting-targets</key>
<dict>
<key>com.apple.finder</key>
<string>com.apple.finder</string>
</dict>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question