• 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: Saving HTML from Entourage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving HTML from Entourage


  • Subject: Re: Saving HTML from Entourage
  • From: Mr Tea <email@hidden>
  • Date: Fri, 28 May 2004 09:45:41 +0100

On 28 May 2004, at 2735 am, Paul Berkowitz wrote:

That's doable, but since it's a bit complicated, please
say first if that's what you want and how exactly you'd like to save it.
Save it to what?

Thanks for the response, Paul. I should, of course, have been more explicit. When I wrote "how do I script saving a message as html in Entourage?", I meant "how can I use applescript to make Entourage X save an incoming message as an external, stand-alone HTML document".

Generally speaking, I want to script the the same thing that happens if I open a message, choose 'save as..." from the 'File' menu, and select 'HTML Document' from the dropdown 'Format' menu in the save dialog. (The HTML option is only available in the dialog when the message has HTML content.)

Specifically, I receive a couple of 'what's on' email newsletters from local multiplexes, and want to save them to a folder in the Finder, where they will subsequently be found by my web browser, and I want to do this with a script that runs as part of a rule.

This is as far as I got....

tell application "Microsoft Entourage"
set UGCData to 1st message of folder "Inbox" whose subject contains "UGCMail : Schedule" -- (would 'current message' work here, if the script is running as part of a rule?)
save UGCData in "Studio!:Studio Files:Internet:HLP :Local Pages:UGC.html"
end tell


Entourage allows an 'as' parameter for saving, to specify file type, but its dictionary is not forthcoming about what exactly to specify. If no 'as' parameter is set (as in the above example), the message is saved as an Entourage mail file (type "M822"). If I add 'as text' to the save command, I get just the displayed text from the message, with no formatting or html content. I tried 'as HTML', which Entourage didn't understand, and 'as web page', which returned an error. So either there's a simple bit of terminology that I've been unable to figure out, or I'm driving down a dead end - in which case, there's got to be a harder way, right?


Thanks,


Nick
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Saving HTML from Entourage
      • From: Paul Berkowitz <email@hidden>
    • Re: Saving HTML from Entourage
      • From: Paul Berkowitz <email@hidden>
    • Re: Saving HTML from Entourage
      • From: Graff <email@hidden>
    • Re: Saving HTML from Entourage
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Saving HTML from Entourage (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: I am stuck!
  • Next by Date: I am STILL stuck!
  • Previous by thread: Re: Saving HTML from Entourage
  • Next by thread: Re: Saving HTML from Entourage
  • Index(es):
    • Date
    • Thread