Re: How to empty the Trash programmatically?
Re: How to empty the Trash programmatically?
- Subject: Re: How to empty the Trash programmatically?
- From: "Stephen J. Butler" <email@hidden>
- Date: Fri, 16 Apr 2010 01:20:11 -0500
On Fri, Apr 16, 2010 at 1:05 AM, Oleg Krupnov <email@hidden> wrote:
> Hi,
>
> Is there a way to programmatically empty the Trash can?
This code is ancient, but it should give you an idea where to start
writing a modern version:
http://developer.apple.com/mac/library/samplecode/MoreAppleEvents/Listings/MoreFinderEvents_c.html
In particular: MoreFEEmptyTrash().
_______________________________________________
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