【发布时间】:2011-07-11 15:58:25
【问题描述】:
我需要在收到邮件时使用 applescript 处理邮件正文。 使用 Outlook 2011 时如何获取电子邮件的正文?
我对 Applescript 完全陌生。
任何将 Applescript 与 Outlook 2011 一起使用的教程或此问题的入门代码都会非常有帮助。
【问题讨论】:
标签: email outlook applescript
我需要在收到邮件时使用 applescript 处理邮件正文。 使用 Outlook 2011 时如何获取电子邮件的正文?
我对 Applescript 完全陌生。
任何将 Applescript 与 Outlook 2011 一起使用的教程或此问题的入门代码都会非常有帮助。
【问题讨论】:
标签: email outlook applescript
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 有了消息的内容。
【讨论】: