AppleScript to empty Deleted Items folder?

P

Paul Berkowitz

Is there a way I can delete all the items in my Deleted Items folder via
AppleScript?

tell application "Microsoft Entourage" to delete every message in
deleted mail folder


If you mean an IMAP account's Deleted Items folder, deleted items are really
just marked for deletion. They can only be purged when you quit (or leave
IMAP folders if you set that setting, which is not possible by AS).


--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
 
K

Ken Ray

tell application "Microsoft Entourage" to delete every message in deleted
mail folder


If you mean an IMAP account's Deleted Items folder, deleted items are really
just marked for deletion. They can only be purged when you quit (or leave IMAP
folders if you set that setting, which is not possible by AS).

Thanks, Paul.

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [email protected]
 
Top