Mail.app can't get contents of rich text message
Mail.app can't get contents of rich text message
- Subject: Mail.app can't get contents of rich text message
- From: David Rouse <email@hidden>
- Date: Mon, 17 Jan 2005 19:39:25 -0500
I maintain productivity scripts for the newspaper I work for, and one
of the scripts we use is supposed to grab the text of an email message,
send that text to a text editor and turn the emailed text into "word
processable" text.
The problem I've found with moving to OS X is that Mail.app I can't get
the contents of a rich text message.
For example:
using terms from application "Mail"
on perform mail action with messages theMessages
set ThisMessage to item 1 of theMessages
set a to content of ThisMessage
display dialog a
-- set b to source of ThisMessage
-- display dialog b
end perform mail action with messages
end using terms from
Gives a blank dialog box when used with a rich text message. Other
variations I've tried return a '?'
Any ideas? Naturally the users like not having to go through the copy
and paste step...
--
David Rouse
Our World | Your World | RouseWorld
www.rouseworld.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden