Re: Extract from digest
Re: Extract from digest
- Subject: Re: Extract from digest
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 25 Jan 2002 15:03:26 -0800
On 1/25/02 2:35 PM, "Neal Blank" <email@hidden> wrote:
>
I'm a real newbie who has tried-- unsuccessfully -- to modify an Emailer
>
script so that it will work with Outlook Express 5.1. I'm running OS 8.6,
>
with AppleScript v1.1.3. The script, called Extract from Digest, enables
>
the user to highlight a single message in an email digest to save it,
>
reply, or forward.
>
>
Here's the script I'd like to modify:
First thing you should do is inspect the Dictionary of Outlook Express,
which is similar to Emailer's but has some distinct differences. Start with
the 'application' definition in Standard Suite to see what the classes are:
>
set theProperties to {receiving account:receiving account of
>
theMessage, time received:time received of theMessage, storage:storage of
>
theMessage}
There is no 'receiving account' class in OE, just account. So just change
'receiving account' in both instances above to 'account'.
>
set theLines to the long headers of theMessage
No 'long headers. Just 'headers'.
and therefore, at the bottom:
>
set theProperties to {long headers:theHeader, content:theBody, read
>
status:untouched} & theProperties
just 'headers' again.
I haven't tested it, but the rest looks OK. Most of the parsing of the
Headers is totally unnecessary and could be doe differently with far fewer
lines, but I think it ought to work like that.
--
Paul Berkowitz