On Fri, Apr 16, 2010 at 1:05 AM, Oleg Krupnov <oleg.krup...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to