Re: AppleScript --> HTML
Re: AppleScript --> HTML
- Subject: Re: AppleScript --> HTML
- From: Richard Morton <email@hidden>
- Date: Fri, 25 Jul 2003 13:33:24 +1000
On Friday, July 25, 2003, at 09:22 AM, Dave Miller wrote:
Does anyone have a good method for converting color/format coded
AppleScript to HTML for display in a web page?
I use a combination of things, but it all starts with a scriptable text
app that does styles. AppleWorks & TextEdit both allow the retrieval
of text style info. It's then a matter of looping through the code &
adding tags based on the colours &/or fonts used.
I use span tags for this & indent lines using non breaking spaces.
This works acceptably in most browsers.
There are plenty of examples of this kind of markup here:
<
http://home.netc.net.au/~sunreal/FooDooLounge/code/index.html>
And the stylesheet is here:
<
http://home.netc.net.au/~sunreal/FooDooLounge/styl/FooDoo.css>
Cheers,
Spanner
_______________________________________________
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.