• 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
Scripting TextEdit Save As HTML?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting TextEdit Save As HTML?


  • Subject: Scripting TextEdit Save As HTML?
  • From: Stephen Jonke <email@hidden>
  • Date: Fri, 5 Aug 2005 13:59:43 -0400

I've been trying to figure out how to tell TextEdit to save an RTF file as an HTML file. I.e. like selecting Save As... and choosing HTML as the output format - it converts to HTML, and rather nicely. Is this not possible via AppleScript? Or is there some magic string I should provide to the "as" argument that will do the trick? None of "HTML", "HTML document" nor "text/html" does it.

  save reference : the object for the command
    [as Unicode text] : The file type in which to save the data.
    [in alias] : The file in which to save the object.

Steve

_________________________________________________________________
Stephen Jonke                                  email@hidden
I Like Flannel and I Vote!                http://oneleftfoot.com/


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Scripting TextEdit Save As HTML?
      • From: Jeff Porten <email@hidden>
    • Re: Scripting TextEdit Save As HTML?
      • From: "Gary (Lists)" <email@hidden>
  • Prev by Date: Strange error...
  • Next by Date: Re: Strange error...
  • Previous by thread: Re: Strange error...
  • Next by thread: Re: Scripting TextEdit Save As HTML?
  • Index(es):
    • Date
    • Thread