• 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: Stan Cleveland <email@hidden>
  • Date: Tue, 02 Oct 2012 18:06:50 -0600

On Oct 2, 2012, at 4:53 PM, Shane Stanley wrote:

> Yet the script still fails.

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).

Stan C.

 _______________________________________________
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: Shane Stanley <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>)

  • 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