Re: Mail windows
Re: Mail windows
- Subject: Re: Mail windows
- From: Luther Fuller <email@hidden>
- Date: Tue, 17 Feb 2009 13:32:49 -0600
On Feb 17, 2009, at 12:41 PM, Michelle Steiner wrote:
First of all, you have to identify the nature of the windows. For instance, the window that contains the list of mailboxes on the left
The list of mailboxes may not be visible, as in ...
set mailbox list visible of message viewer 1 to false
But, I've just run into a big bad bug. The line above does not work!
Run this script ...
tell application "Mail" activate set frontViewer to (some message viewer whose index is 1) set selected mailboxes of frontViewer to {inbox} try set mailbox list visible of some message viewer to false on error beep end try end tell
The property 'mailbox list visible' seems to be broken. If you manually hide the mailbox list on the left, you will get a window named "Inbox (nn messages)" that will look like an Inbox window. BUT, IT'S NOT! It's a message viewer.
Also, I'll bug report the 'mailbox list visible' if it is a problem on more than just my Mac (10.5.6). Let me know. The error I get is -10000 "Mail got an error: AppleEvent handler failed."
|
_______________________________________________
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