I am looking for an Applescript to mark messages as read within Outlook 2011 for Mac.
I have not been able to identify the correct property to set.
Select File> Options> Advanced. 2.In Outlook panes, select Reading pane 3. Uncheck the boxes to Mark items as read when viewed in the Reading Pane and Mark item as read when the selection changes.
How do I view the HTML in Outlook? In Microsoft Outlook, double-click to open an email. You'll see an “Actions” menu under the “Message” tab. Click on that menu and select the “Other Actions,” then click on “View Source” to see the HTML code.
Try:
tell application "Microsoft Outlook"
set myMessages to selection
repeat with aMessage in myMessages
set aMessage's is read to true
end repeat
end tell
The above answer is great, if you want to select the message(s) to mark as read. but with Outlook on Mac putting Calendar invites in Deleted as "unread"...this version will run for you and can be set up to do it's thing from cron as often as you would like.
tell application "Microsoft Outlook"
repeat with afolder in deleted items
set aMsg to (every message of afolder where its is read is not true)
repeat with aMessage in aMsg
set aMessage's is read to true
end repeat
end repeat
end tell
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With