• 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: Applescript & Eudora
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript & Eudora


  • Subject: Re: Applescript & Eudora
  • From: Maurice Weitman <email@hidden>
  • Date: Tue, 8 May 2001 10:39:09 -0700

This might fit into the definition of "any help," Sabrina, and if not, well... never mind.

BBEdit, a wonderful, scriptable text editor (I'm using current version, 6.1.1), is able to do MOST of what you want. I'm less of an Applescript Expert than anyone, but you might want to check out some of BBEdit's capabilities.

For example, in the HTML Scripting section its dictionary is the function "translate html to text" converts the HTML in the frontmost window into text

[entity conversion boolean] -- convert HTML entities to their textual equivalents (for example &amp; to &) - default is false

[tag removal boolean] -- remove all html tags - default is false

[paragraph conversion boolean] -- remove html paragraphs (assumed by "tag removal true") - default is false

[create new document boolean] -- put the results into a new window - default is true

[selection only boolean] -- operate on the selection only - default is false

---------------

My experience with this function comes from only using it without scripting, from BBEdit's menus within the app, you know, like a normal person. As I said, it does MOST of what you want.

The problem (or opportunity, depending on your world view) is that it removes a tad too much. What tad, you ask??? Well, it will remove email addresses properly enclosed by angle brackets, as in <email@hidden>.

One more knowledgeable of AS might be able to work around this limitation; it's way beyond my fluency level.

Good luck,
Maurice

At 12:24 -0700 5/7/01, Sabrina L. Nelson wrote:
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?

I ask because I subscribe to probably twenty mailing lists that are
all high volume and more and more, people don't pay attention and
don't bother to turn off HTML when they send e-mail. Its so
frustrating that I can't even read mail from half the lists I
subscribe to.

I'm not much of an applescript expert -- really a newbie even though
I took some classes, so any help is appreciated.

Thank you!

Sabrina
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users


--


References: 
 >Applescript & Eudora (From: "Sabrina L. Nelson" <email@hidden>)

  • Prev by Date: Re: Rogue list?
  • Next by Date: Re: directory listing
  • Previous by thread: Re: Applescript & Eudora
  • Next by thread: Hex URL to string
  • Index(es):
    • Date
    • Thread