Re: Styled text to html
Re: Styled text to html
- Subject: Re: Styled text to html
- From: Daniel Jalkut <email@hidden>
- Date: Fri, 11 Nov 2005 09:56:10 -0500
Hi Simon - if you want something quick and dirty, and can rely on the
user having basic CSS support in their browser, take a look at my
script, described here:
http://www.red-sweater.com/blog/?p=46
If it doesn't do exactly what you want, it does at least show an
example of how you might iterate through all the styles in a
particular chunk and convert them to HTML tags.
You can change the target from "Script Editor" to TextEdit, or whatever.
Daniel
On Nov 11, 2005, at 5:37 AM, Simon Forster wrote:
Is there an easy way to convert styled text to HTML? I was looking
into this yesterday and found a couple of OSAX which purport to do
this but they run in the Classic environment. Is there some OS X
native way to do this? I'm just after the obvious bold, underline,
italic and new line style info.
Any pointers much appreciated.
TIA
Simon Forster
_____________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247
_____________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40red-sweater.com
This email sent to email@hidden
_______________________________________________
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