Re: Referencing a Message in Mail 6.1 - Huh?
Re: Referencing a Message in Mail 6.1 - Huh?
- Subject: Re: Referencing a Message in Mail 6.1 - Huh?
- From: Shane Stanley <email@hidden>
- Date: Wed, 03 Oct 2012 10:10:30 +1000
On 03/10/2012, at 10:06 AM, Stan Cleveland <email@hidden> wrote:
> How about this?
>
> tell application id "com.apple.mail" -- Mail.app
> set msg to first message of mailbox "Anna scripting" whose id is 204357
> set src to source of msg
> end tell
>
> Using 'whose' is not ideal, but it works here (on Lion).
Right. But the question in the original post was why does a whose clause work but a direct reference doesn't.
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
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