Re: questions for scripting apple mail
Re: questions for scripting apple mail
- Subject: Re: questions for scripting apple mail
- From: Michelle Steiner <email@hidden>
- Date: Wed, 11 Jul 2007 18:04:56 -0700
On Jul 11, 2007, at 12:30 PM, Bob Cuilla wrote:
have a mailbox "valid" in an account ""abc". I would like to
select mailbox "valid", then select all the messages therein and
then delete them.
How can I script this?
tell application "Mail" to delete messages of mailbox "valid"
--
"To occupy Iraq would instantly shatter our coalition, turning the
whole Arab world against us and make a broken tyrant into a latter-
day hero ... assigning young soldiers to a fruitless hunt for a
securely entrenched dictator and condemning them to fight in what
would be an un-winnable urban guerilla war. It could only plunge that
part of the world into even greater instability."
- George H.W. Bush
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden