【问题标题】:Applescript to get body of a message in Outlook 2011Applescript 在 Outlook 2011 中获取邮件正文
【发布时间】:2011-07-11 15:58:25
【问题描述】:

我需要在收到邮件时使用 applescript 处理邮件正文。 使用 Outlook 2011 时如何获取电子邮件的正文?

我对 Applescript 完全陌生。

任何将 Applescript 与 Outlook 2011 一起使用的教程或此问题的入门代码都会非常有帮助。

【问题讨论】:

    标签: email outlook applescript


    【解决方案1】:
    set theText to string
    tell application "Microsoft Outlook"
        set messages to selection
        repeat with this_message in messages
            set theText to content of this_message
        end repeat
    end tell
    

    现在 theText 有了消息的内容。

    【讨论】:

      猜你喜欢
      • 2014-08-11
      • 2011-10-08
      • 2011-12-10
      • 1970-01-01
      • 1970-01-01
      • 2021-09-30
      • 2014-03-25
      • 1970-01-01
      • 2014-04-29
      相关资源
      最近更新 更多