Re: Accessing/creating mailboxes in Mail.app
Re: Accessing/creating mailboxes in Mail.app
- Subject: Re: Accessing/creating mailboxes in Mail.app
- From: Luther Fuller <email@hidden>
- Date: Sun, 02 Jan 2011 17:20:29 -0600
On Jan 2, 2011, at 4:45 PM, Axel Luttgens wrote:
> Yet strange: it is a bit as if Mail allowed to directly access the properties of a message viewer's window through the message viewer's window property.
> Is this documented somewhere?
I just did a search of my archives. It seems that this problem first appeared about three years ago.
On December 30, 2007, Subject: Frontmost Message Viewer, I said:
> This morning, I continued trying variations on this theme. I finally tried this ...
>
> tell application "Mail"
> set frontViewer to (some message viewer whose index is 1)
> set selected mailboxes of frontViewer to {mailbox "_Action ! ! ! ! ! !"}
>
> which does work correctly in Tiger. Using "whose" seems to be the key to this work-around. None of the other variations that have been recommended to me worked. This must be a bug in Tiger's Mail that has been fixed in Leopard's Mail.
I think I was still using Tiger at that time and moved to Leopard a few months later. (but not sure)
_______________________________________________
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