Re: Selecting all mailboxes in a Mail message viewer
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? ______________________________________________________________________
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