5

我正在寻找一个 Applescript 以在 Outlook 2011 for Mac 中将邮件标记为已读。

我无法确定要设置的正确属性。

4

2 回答 2

8

尝试:

tell application "Microsoft Outlook"
    set myMessages to selection
    repeat with aMessage in myMessages
        set aMessage's is read to true
    end repeat
end tell
于 2013-02-20T05:03:27.127 回答
1

如果您想选择要标记为已读的消息,上述答案很棒。但是使用 Mac 上的 Outlook 将日历邀请放入已删除的“未读”中......此版本将为您运行,并且可以设置为根据需要经常从 cron 执行此操作。

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
于 2016-03-17T16:37:40.207 回答