• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: recycleURLs doesn't enable Put Back or Undo in Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: recycleURLs doesn't enable Put Back or Undo in Finder
      • From: Steve Mills <email@hidden>
References: 
 >recycleURLs doesn't enable Put Back or Undo in Finder (From: Steve Mills <email@hidden>)
 >Re: recycleURLs doesn't enable Put Back or Undo in Finder (From: Greg Parker <email@hidden>)
 >Re: recycleURLs doesn't enable Put Back or Undo in Finder (From: Steve Mills <email@hidden>)
 >Re: recycleURLs doesn't enable Put Back or Undo in Finder (From: Kyle Sluder <email@hidden>)
 >Re: recycleURLs doesn't enable Put Back or Undo in Finder (From: Steve Mills <email@hidden>)
 >Re: recycleURLs doesn't enable Put Back or Undo in Finder (From: Kyle Sluder <email@hidden>)
 >Re: recycleURLs doesn't enable Put Back or Undo in Finder (From: Steve Mills <email@hidden>)

  • Prev by Date: animating an NSStackView
  • Next by Date: Re: Need help on xcode offline documents, it doesn't recognize the docsets
  • Previous by thread: Re: recycleURLs doesn't enable Put Back or Undo in Finder
  • Next by thread: Re: recycleURLs doesn't enable Put Back or Undo in Finder
  • Index(es):
    • Date
    • Thread