• 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
Apple Mail Script Help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apple Mail Script Help


  • Subject: Apple Mail Script Help
  • From: Rich Goldman <email@hidden>
  • Date: Mon, 30 Jun 2003 21:54:39 -0400

Hi, I'm working on a script and am running into difficulty getting the
message index of an unread piece of mail. I am able to get the message
reference okay ( a typical result is message 1205 of mailbox "INBOX" of
account "email@hidden" of application "Mail") with the following
script:

tell application "Mail"
set newMailList to (get messages in in mailbox whose read status is
false)
set x to item 1 of newMailList
end tell

but I cannot seem to access the "message" property of the returned
message in order to get the index 1205. Any ideas? Thanks.
-Rich
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: [FYI] Casady & Greene
  • Next by Date: Check New Mail
  • Previous by thread: Re: [FYI] Casady & Greene
  • Next by thread: Check New Mail
  • Index(es):
    • Date
    • Thread