Re: Opening a message in Mail
Re: Opening a message in Mail
- Subject: Re: Opening a message in Mail
- From: Michelle Steiner <email@hidden>
- Date: Wed, 22 Apr 2009 09:51:44 -0700
On Apr 22, 2009, at 9:37 AM, Christopher Stone wrote: Why the dickens doesn't this work?
tell application "Mail" set m to message 1 of message viewer 1 open m end tell
It's a bug. It works only if a mailbox/folder is selected in the GUI, and will then return message 1 of the selected mailbox/folder. (If more than one folder is selected, it will return messages only from the first of those selected folders.)
-- Michelle
-- If you're not going somewhere, you're not getting anywhere.
|
_______________________________________________
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