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