Re: plain text from clipboard
Re: plain text from clipboard
- Subject: Re: plain text from clipboard
- From: Richard 23 <email@hidden>
- Date: Thu, 2 Nov 2000 00:26:28 -0800
>
I know that getting the text data and the styles data of the clipboard
>
was discussed here recently, but I can't find it in my archives. Can anyone
>
refresh my memory?
>
I want to get just plain text from styled text on the clipboard.
>
Paul Skinner
>
Ron Chapple Studios
Well I missed it, but here's what I use:
---------->
set theStr to the clipboard
set {theText, theStyl} to {<<class ktxt>>, <<class ksty>>} of (theStr as
record)
set theText to text of (theStr as record)
<----------
NOTE: the double angly brackets are chevrons (option-\ and shift-option-\)
Here's a shameless plug for Convert Script" which handles such email
conversions
for you right in your email client with the assistance of OSA Menu....
My script is on page 3 at
http://homepage.mac.com/richard23/
Richard 23:
Network 242