Re: Rich text from an Outlook 2011 email message
Re: Rich text from an Outlook 2011 email message
- Subject: Re: Rich text from an Outlook 2011 email message
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 27 Aug 2013 00:47:46 -0700
- Thread-topic: Rich text from an Outlook 2011 email message
Try 'source', not content. You should get all the HTML code as well as the
plain text in a multipart message. You can parse just the HTLM code using
<HTML> and </HTML>. At least that's how it is in Entourage and I'm pretty
sure it will be the same in Outlook.
--
Paul Berkowitz
> From: "L. Lee" <email@hidden>
> Date: Mon, 26 Aug 2013 16:58:21 -0500
> To: AppleScript-Users <email@hidden>
> Subject: Re: Rich text from an Outlook 2011 email message
>
> Thanks, Jim.
What I expect when I ask for the "content" of the message is the
> html
code, but that's not what I get. It appears instead to be content that
> is
rendered somehow according to characteristics that don't seem
> accessible
to AppleScript, a combination of plain text and html code, the html
> code
consisting only of whatever URLs were contained in the message. I
> was
hoping to find a way to get the "content" in an unrendered form
> (raw
html), but it appears that the only way to do that might be to use
> the
View Source command which is only available from the contextual menu
> for
each message, then manipulate the text to get just the html
> portion
defined by the "boundary" parameters.
Laine Lee
On 8/26/13 2:56 PM,
> "Jim Skibbie" <email@hidden> wrote:
>From the Outlook dictionary, you
> should be able to get the property called
>"content" which is the HTML content
> of the given message.
>
>
>From there, you should be able to use textutil to
> convert that HTML to
>RTF.
>
>
>>
>>Is there any way for an AppleScript to get
> rich text out of an Outlook
>>2011 HTML email message without scripting the
> UI? Thanks.
>>
>>Laine Lee
>
>
>
>
> _______________________________________________
>Do not post admin requests to
> the list. They will be ignored.
>AppleScript-Users mailing list
> (email@hidden)
>Help/Unsubscribe/Update your
> Subscription:
> 40@sbcglo
>bal.net
>Archives:
> http://lists.apple.com/archives/applescript-users
>
>This email sent to
> email@hidden
_______________________________________________
Do
> not post admin requests to the list. They will be ignored.
AppleScript-Users
> mailing list (email@hidden)
Help/Unsubscribe/Update
> your
> Subscription:
> email@hidden
Archives:
> http://lists.apple.com/archives/applescript-users
This email sent to
> email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden