Story
onmyway133 opened this issue · comments
Sandbox
- https://developer.apple.com/library/content/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/AppSandboxTemporaryExceptionEntitlements.html
- http://stackoverflow.com/questions/21636464/how-can-i-know-the-apple-event-access-groups-used-by-an-application/21679279#21679279
- https://www.objc.io/issues/14-mac/sandbox-scripting/ 🚀 🤖
do shell script
Extension does not get loaded most of the time
killall Finder
Process (NSTask)
LSOpenURLsWithRole() failed for the application /Applications/iTerm.app with error -54 for the file /Users/khoa/XcodeProject2/FinderGo/FinderGo.
NSAppleScript
LSOpenURLsWithRole() failed for the application /Applications/iTerm.app with error -54 for the file /Users/khoa/XcodeProject2/FinderGo/FinderGo.
Optional({
NSAppleScriptErrorAppName = Finder;
NSAppleScriptErrorBriefMessage = "Application isn\U2019t running.";
NSAppleScriptErrorMessage = "Finder got an error: Application isn\U2019t running.";
NSAppleScriptErrorNumber = "-600";
NSAppleScriptErrorRange = "NSRange: {24, 83}";
})
Pass arguments to AppleScript
Get returned value of AppleScript