• 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: Selecting all mailboxes in a Mail message viewer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selecting all mailboxes in a Mail message viewer


  • Subject: Re: Selecting all mailboxes in a Mail message viewer
  • From: Christopher Stone <email@hidden>
  • Date: Sun, 09 Sep 2012 00:14:16 -0500

On Sep 08, 2012, at 23:11, David Duncan <3ds9909@gmail.com> wrote:
The following script produces an error ("can't make every mailbox into type mailbox"). Is there a way of doing this with Applescript?
______________________________________________________________________

Hey David,

tell application "Mail"
set _mail to a reference to it
tell (some message viewer whose index is 1)
set selected mailboxes to (get _mail's mailboxes)
end tell
end tell

There are a few surprises in the items it selects on my system.

You can also look at mailboxes of every account.

--
Best Regards,
Chris

 _______________________________________________
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

  • Follow-Ups:
    • Selecting all mailboxes in a Mail message viewer
      • From: David Duncan <email@hidden>
References: 
 >Selecting all mailboxes in a Mail message viewer (From: David Duncan <email@hidden>)

  • Prev by Date: Selecting all mailboxes in a Mail message viewer
  • Next by Date: selecting a calendar in iCal on Lion? [ to export selected calendars to an ICS file ]
  • Previous by thread: Selecting all mailboxes in a Mail message viewer
  • Next by thread: Selecting all mailboxes in a Mail message viewer
  • Index(es):
    • Date
    • Thread