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.
精彩评论