Email Applescript在Outlook 2011中获取邮件正文

Email Applescript在Outlook 2011中获取邮件正文,email,outlook,applescript,Email,Outlook,Applescript,我需要使用applescript来处理接收过程中的电子邮件正文。 使用Outlook 2011时,如何获取电子邮件正文 我对Applescript一无所知 任何关于将Applescript与Outlook 2011结合使用的教程,或关于此问题的入门代码,都将非常有帮助 set theText to string tell application "Microsoft Outlook" set messages to selection repeat with this_messa

我需要使用applescript来处理接收过程中的电子邮件正文。 使用Outlook 2011时,如何获取电子邮件正文

我对Applescript一无所知

任何关于将Applescript与Outlook 2011结合使用的教程,或关于此问题的入门代码,都将非常有帮助

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
现在,文本包含了消息的内容