Apple Mail Script Help
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.