On Apr 13, 2006, at 3:17 AM, Knut Lorenzen wrote:
William Squires ([EMAIL PROTECTED]) schrieb dereinst (am
13.04.2006 2:13
Uhr):
Hi, I'm looking for a simple tool which satisfies one of the
following:
1) An OS X service that can turn selected text (in an RTF-capable
editor such as TextEdit or AppleWorks 6) directly into an HTML
file on
the desktop (it's okay if it gives it some generic name like
"untitled1.html") or a direct replacement of the selected text, or...
Take a look a textutil (man textutil in Terminal). From the man pages
(examples):
textutil -convert html foo.rtf
converts foo.rtf into foo.html.
You can also do this directly from TextEdit. Saving As HTML appears
to use textutil, or at least it gives the same output.
I'm curious because you mentioned TextEdit in your original post;
however, textutil wasn't available until 10.4, so I think the HTML-
saving abilities in TextEdit probably weren't either.
What I really wish is that there way to output the custom styles from
TextEdit -- you can create a custom style called, say, "Title", but
the only ways to output it will mark up the text with generically-
named classes (p1, p2...) which are defined as having the font, size,
color, etc.
But what I really want is "<Title>Some Text</Title>"
Is there an app that can do that? Or preferably, a subclass of
EditField that I can use in my project?
ian
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>