I’m trying to learn how to Applescript. I want to create a script that will check my Mail
for new and unread messages. I’ll later try to script this into something that will cross-reference the senders with people in my Address Book and return only new, unread messages from people in my Address Book.
My question: setting a variable called newMessages to messages whose read status is “?”. I don’t know what Mail will recognize as the boolean value for read status. Is it “true” for unread messages? Is it “unread” for unread messages?
How do I find out what the values are that I can enter for similar properties of applications?
Thank you for any replies.