• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Referencing a Message in Mail 6.1 - Huh?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Referencing a Message in Mail 6.1 - Huh?
      • From: Stan Cleveland <email@hidden>
References: 
 >Referencing a Message in Mail 6.1 - Huh? (From: Christopher Stone <email@hidden>)
 >Re: Referencing a Message in Mail 6.1 - Huh? (From: Axel Luttgens <email@hidden>)
 >Re: Referencing a Message in Mail 6.1 - Huh? (From: Shane Stanley <email@hidden>)
 >Re: Referencing a Message in Mail 6.1 - Huh? (From: Ron Hunsinger <email@hidden>)
 >Re: Referencing a Message in Mail 6.1 - Huh? (From: Shane Stanley <email@hidden>)
 >Re: Referencing a Message in Mail 6.1 - Huh? (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: Referencing a Message in Mail 6.1 - Huh?
  • Next by Date: Re: Referencing a Message in Mail 6.1 - Huh?
  • Previous by thread: Re: Referencing a Message in Mail 6.1 - Huh?
  • Next by thread: Re: Referencing a Message in Mail 6.1 - Huh?
  • Index(es):
    • Date
    • Thread