• 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: (standard additions) read file as styled text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (standard additions) read file as styled text


  • Subject: Re: (standard additions) read file as styled text
  • From: Brennan Young <email@hidden>
  • Date: Thu, 26 Apr 2001 17:25:54 +0200
  • Organization: Magic Lantern

Christopher Nebel wrote:

> If you can manage to get both globs of data, I'm pretty sure
> Programmer's Tool can combine them in the right way, but I don't know
> the exact incantation. It's also possible, if somewhat circuitous, to
> do it in straight AppleScript by running the data through the clipboard,
> like this:
>
> set x to +data
> styl000400000000000C000900150000000C00000000000000000005000C000900150100000C00000000000000000009000C000900150000000C0000000000000000000A000C000900150200000C000000000000;
> set y to "This that those"
> set the clipboard to {styled Clipboard text:x, string:y}
> get the clipboard
> --> "This that those", with "that" bold and "those" italic.

That's terrific Chris, thanks! I can really use this!

Funny to see styled text in 'the result' window!


--
_____________

Brennan


References: 
 >Re: (standard additions) read file as styled text (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Screen Blanking-duh...
  • Next by Date: My mac has a sense of humour
  • Previous by thread: Re: (standard additions) read file as styled text
  • Next by thread: Re: Scripting in DeltaGraph
  • Index(es):
    • Date
    • Thread