Re: Text without formatting (OS 9.1)
Re: Text without formatting (OS 9.1)
- Subject: Re: Text without formatting (OS 9.1)
- From: Richard 23 <email@hidden>
- Date: Thu, 1 Mar 2001 23:40:52 -0800
>
I have been playing around with this, because I often use AppleScript
>
variables to remove style from text on the clipboard. I have never had
>
a problem (until now) with styled text in variables. I would like to
>
know too how to remove text style from a text variable.(?)
{<<class ktxt>>, <<class ksty>>} of (theStr as record)
set {theText, theStyl} to result
or simply:
set theText to <<class ktxt>> of (theStr as record)
of course it's not that simple, you gotta convert the
<< >> to chevrons first... option- ah, whatever.
R23