On or near 10/26/01 8:42 AM, Dan Crevier at [EMAIL PROTECTED] observed:
> Actually, a better version would be:
>
> set the content of theMsg to (get the content of theMsg as unicode text)
>
> This will preserve all of the Unicode characters. Entourage returns 8-bit
> text by default.
Thanks, again. So, for anyone who is interested, here is the full script,
"Strip HTML (fast)":
tell application "Microsoft Entourage"
set aMsg to item 1 of (get current messages)
set the content of aMsg to (get the content of aMsg as unicode text)
end tell
To use: Copy and paste into Script Editor. Compile and save in folder
"Entourage Script Menu Items" or a sub-folder thereof. Run from the
Entourage script menu after selecting an HTML message.
In at least one case I tried, where I opened the HTML message and had it
displayed when I ran the script, the display did not update to plain text
until I closed and re-opened the message. However, in other cases, the
display <did> update without any further action. I do not know why it lagged
in the one case; however, the script worked in every attempt.
--
Add me to Palm/Visor: http://signature.coola.com/?[EMAIL PROTECTED]
Allen Watson <[EMAIL PROTECTED]> XNS name: =Allen Watson
Applescripts for Outlook Express and Entourage:
<http://homepage.mac.com/allenwatson/>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>