Re: Applescript & Eudora
Re: Applescript & Eudora
- Subject: Re: Applescript & Eudora
- From: Doug McNutt <email@hidden>
- Date: Tue, 8 May 2001 10:00:25 -0600
>
Is there a way that an Applescript can sort through Eudora mailboxes
>
(current version for Mac) and strip out HTML code? In other words if
>
somebody sends me HTML formatted e-mail, can Eudora, with the
>
assistance of Applescript, strip out the code and leave the text intact?
Eudora's mailboxes are type TEXT even though they don't say so. They can be opened with any text editor but some may require changing the file type temporarily to TEXT.
With a bit of attention to leaving the beginnings and endings of messages alone, it's possible to edit as you like. When the mailbox is next seen by Eudora it will elicit a complaint about the index being out of date. Eudora will recreate it if you press the OK button.
The UNIX routine demime will operate on the text and do what you want. I believe the C source is available. MacPerl, or perl itself under MacOS neXt, has the capability you need.
Automatic scheduling of the work is a job for AppleScript which I have to leave for others.
--
-> Normal, a bit political, byline suppressed at the request of a list moderator <-