On Jan 19, 2015, at 12:15:18, Steve Mills <sjmi...@mac.com> wrote: > > I was thinking of doing it with AppleScript. Thanks. Perhaps Apple expects > the application calling recycleURLs will keep track of the returned urls and > put them on its own undo stack. That seems kinda goofy. > > And in case anyone else runs across this thread and runs into "Application > isn't running" errors, I needed to add AppleScript entitlements to my > sandboxed app in order for this to work.
Arg. Just adding the entitlements wasn't enough. I'm still getting "A privilege violation occurred." This Sandbox stuff is getting to be really annoying. So what else do I need to do so I can tell Finder to move files to the trash? The parent folder in this case has even had startAccessingSecurityScopedResource called on its url. The app has the com.apple.security.assets.pictures.read-write entitlement set to YES, and my test files are in subfolders of Pictures. -- Steve Mills Drummer, Mac geek _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com