• 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: Extract from digest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Extract from digest (From: Neal Blank <email@hidden>)

  • Prev by Date: Re: Weird try block syntax
  • Next by Date: Re: Simple calculation
  • Previous by thread: Extract from digest
  • Next by thread: RE: speed advantage of OSAXen
  • Index(es):
    • Date
    • Thread