• 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
working with styled text records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

working with styled text records


  • Subject: working with styled text records
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Thu, 19 Sep 2002 11:16:19 +1000

Slightly off-topic because I want to dig a bit deeper than applescript itself.

With Arthur's help I've been able to generate HTML code from styled text. The styled text record contains two bits of info, the text class and the style class. Arthur has used a bit of educated guess work to analyse the style object and figured out bold/italics/etc. For those who've never seen one it looks like this:

{+class ktxt;:"ho ho", +class ksty;:+data styl000100000000000F000B00030100000B000000000000;}

I want to be able to manipulate the style object. Does anyone know where I can find out what the style data consists of and how I can use it?

--
Malcolm Fitzgerald
Database Manager
The Australian Society of Authors

phone: 02 9318 0877 fax: 02 9318 0530
http://www.asauthors.org mailto:email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: working with styled text records
      • From: Philip Aker <email@hidden>
  • Prev by Date: re: FMP 6.0v3, OS X 10.2 and AppleScript -> Broken
  • Next by Date: Re: Macintosh Scripting
  • Previous by thread: re: FMP 6.0v3, OS X 10.2 and AppleScript -> Broken
  • Next by thread: Re: working with styled text records
  • Index(es):
    • Date
    • Thread