开发者

Applescript to get body of a message in Outlook 2011

I need to use applescript to process the body of an email during incoming. How can I get the body of an email when using Outlook开发者_运维问答 2011?

I am totally new to Applescript.

Any tutorial for using Applescript with Outlook 2011 or starter code for this question would be greatly helpful.


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

Now theText has the contents of the message.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜