• 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: Dave Keck <email@hidden>
  • Date: Thu, 15 Apr 2010 21:05:40 -1000

> But the progress-bar window will still pop up...

I would consider that a part of the high-level concept of "emptying
the trash." NSFileManager is probably what you're looking for, in
combination with the mentioned AppleScript to update the trash icon:

    http://pastie.org/922743

Needs error-checking, etc.
_______________________________________________

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

  • Prev by Date: Re: How to empty the Trash programmatically?
  • 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