• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: questions for scripting apple mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >questions for scripting apple mail (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Re: InDesign CS2: Problem with launching scripts out of the script window
  • Next by Date: Re: Referencing the Print window in InDesign
  • Previous by thread: Re: questions for scripting apple mail
  • Next by thread: Getting InDesign Print preferences
  • Index(es):
    • Date
    • Thread