• 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: How to empty the Trash programmatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to empty the Trash programmatically?


  • Subject: Re: How to empty the Trash programmatically?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 15 Apr 2010 23:30:49 -0700

On Apr 15, 2010, at 11:05 PM, Oleg Krupnov wrote:

> Is there a way to programmatically empty the Trash can?

Send the Finder an ‘Empty Trash’ AppleEvent. You can use the scripting bridge API to do this pretty easily.

—Jens_______________________________________________

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: How to empty the Trash programmatically?
      • From: Oleg Krupnov <email@hidden>
References: 
 >How to empty the Trash programmatically? (From: Oleg Krupnov <email@hidden>)

  • Prev by Date: Re: program termination after releasing self defined NSXMLParser class
  • Next by Date: Re: How to empty the Trash programmatically?
  • Previous by thread: Re: How to empty the Trash programmatically?
  • Next by thread: Re: How to empty the Trash programmatically?
  • Index(es):
    • Date
    • Thread