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