Re: Content of message - Apple's Mail app
Re: Content of message - Apple's Mail app
- Subject: Re: Content of message - Apple's Mail app
- From: daniel <email@hidden>
- Date: Sat, 22 Jan 2005 17:33:10 -0800
I don't think you can. You're asking for HTML parsing, which Mail
doesn't provide. When I've been in situations like yours I've had to
ask for the source and "parse" (clumsy search for substrings) it
myself.
Daniel
On Jan 22, 2005, at 11:57 AM, Charlie Buckett wrote:
Working from Mail's dictionary, I see that one can get the 'content'
of a message or the 'source' of a message.
If a message is HTML and I say:
set theMessage to the content of message i etc…
Only a footer added by the listserv is captured. The rest of the
message is returned simply as '?'
If I say:
set theMessage to the source of message i etc…
Everything in the message (including a lot of stuff I don't want) gets
returned.
How do I get just the text I see in a message window?
(my Buckett's got a hole in it).
Charlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
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:
This email sent to email@hidden