Re: recycleURLs doesn't enable Put Back or Undo in Finder
Re: recycleURLs doesn't enable Put Back or Undo in Finder
- Subject: Re: recycleURLs doesn't enable Put Back or Undo in Finder
- From: Steve Mills <email@hidden>
- Date: Mon, 19 Jan 2015 13:00:43 -0600
On Jan 19, 2015, at 12:15:18, Steve Mills <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden