• 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
Mail: Message Reference Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail: Message Reference Problem


  • Subject: Mail: Message Reference Problem
  • From: Christopher Stone <email@hidden>
  • Date: Tue, 14 Jul 2009 13:25:00 -0500

Hey Folks,

This works fine:

tell application "Mail"
tell message viewer 1
set m to item 1 of (get selected messages)
tell m
set mID to id
set mBox to its mailbox
end tell
end tell
end tell

But this fails to compile with this error: Expected end of line, etc. but found number.

tell application "Mail"
message id 20260 of mailbox "INBOX" of account "someAccount" of application "Mail"
end tell

What's up with that?

Thanks.


Best Regards,

Chris
 _______________________________________________
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: Mail: Message Reference Problem
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: R1C1
  • Next by Date: Re: Mail: Message Reference Problem
  • Previous by thread: Re: Simple apple script - Beginner Problem
  • Next by thread: Re: Mail: Message Reference Problem
  • Index(es):
    • Date
    • Thread