• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rich text from an Outlook 2011 email message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Rich text from an Outlook 2011 email message
      • From: "L. Lee" <email@hidden>
References: 
 >Re: Rich text from an Outlook 2011 email message (From: "L. Lee" <email@hidden>)

  • Prev by Date: Changing default alarms in Calendar
  • Next by Date: how to mount a flash drive attached to Airport Extreme
  • Previous by thread: Re: Rich text from an Outlook 2011 email message
  • Next by thread: Re: Rich text from an Outlook 2011 email message
  • Index(es):
    • Date
    • Thread