• 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
Re: AppleScript --> HTML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >AppleScript --> HTML (From: "Dave Miller" <email@hidden>)

  • Prev by Date: Re: AppleScript --> HTML
  • Next by Date: keystroke reference?
  • Previous by thread: Re: AppleScript --> HTML
  • Next by thread: Re: UI Scripting FileMaker
  • Index(es):
    • Date
    • Thread