Created
January 5, 2015 03:27
-
-
Save stve/48d0f1b400aec8d7ec19 to your computer and use it in GitHub Desktop.
mark deleted items as read in Microsoft Outlook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if application "Microsoft Outlook" is running then | |
tell application "Microsoft Outlook" | |
set deletedMessages to messages of deleted items | |
repeat with aMessage in deletedMessages | |
if is read of aMessage is not true then | |
set aMessage's is read to true | |
end if | |
end repeat | |
end tell | |
end if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment