I'm trying to rest Finder from my code (in sandbox). One of the approaches that I tried is calling following apple script:
tell application \"Finder\" to quit
but it doesn't seem to work on the Mavericks. Any ideas?
I'm trying to rest Finder from my code (in sandbox). One of the approaches that I tried is calling following apple script:
tell application \"Finder\" to quit
but it doesn't seem to work on the Mavericks. Any ideas?
You need to add the com.apple.security.scripting-targets sandboxing entitlement to script other apps from within the sandbox. Please check How to run an AppleScript from a sandboxed application on a Mac (OS X)