Scripting TextEdit Save As HTML?
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