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: Jerry Krinock <email@hidden>
- Date: Tue, 20 Jan 2015 06:14:56 -0800
> On 2015 Jan 19, at 23:23, Steve Mills <email@hidden> wrote:
>
> Now if anyone has any ideas on how to get the AppleScript solution mentioned earlier in this thread to work, I'd be most appreciative.
To clarify Steve’s question: Is there any way to compile the following as an NSAppleScript and execute it from a *sandboxed* app?
with timeout 15 seconds
tell application "Finder"
delete POSIX file “/path/to/whatever"
end tell
end timeout
(It’s easy in a non-sandboxed app.)
_______________________________________________
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