How can I access the HTML of a message from an AppleScript? I have a few people who send me HTML documents that I need to automatically do some stuff to as soon as they come in. I assumed that the HTML would be an attachment, but the AppleScripts I've used successfully with other types of attachments always work - not so with HTML. When I click on the globe at the bottom of a message window, what shows up in the browser as a URL for a file of "message.html" in the attachments folder for all HTML, with only a few that have been separate HTML documents with identifiable names/paths.
How come some HTML can be a separate document, while others appear to be just copied into a template named "message.html"? If I want to save the HTML document, there is no way to do so directly but to manually select the document from the browser? I'd go directly to the PowerMail attachments folder but there's no way (not that I can tell) to tell which "enclosure.4.html", "enclosure.7.html", etc., is the one belonging to the message currently displayed or filtered or whatever? I've continually checked the File/Attachments menu, but HTML documents don't ever show anything but greyed out menus. It would be nice if the globe at least offered an option to show the html document in the Finder. No. That wouldn't work when I need to automate this without having to launch/ activate PowerMail AND the web browser to get to HTML. Generally, I dislike HTML in my email, but there are times when it is unavoidable, but I've been going on a wild goose chase trying to track down HTML that comes with messages PowerMail retrieves. There must be solutions I'm totally overlooking in 4.1.3. Is this addressed better in one of the updates? Totally frustrated with trying to deal with the way PowerMail makes it such a pain in the a$$... to work with HTML. cheshirekat

