Re: Unicode to plain text ( funklessly )
Re: Unicode to plain text ( funklessly )
- Subject: Re: Unicode to plain text ( funklessly )
- From: Paul Skinner <email@hidden>
- Date: Thu, 19 Sep 2002 12:55:50 -0400
At 3:14 pm -0700 18/9/02, Jon Pugh wrote:
At 12:02 PM -0700 9/18/02, Jon Pugh wrote:
Does anyone know how to convert utxt to TEXT in plain AppleScript?
And the winner is:
At 2:04 PM -0700 9/18/02, John Coelho wrote:
>set plain_text to +class ktxt; of (unicodeString as record)
Thank you.
Thank you indeed! This solves what I too was beginning to think was
insoluble.
There's no funky stuff necessary.
tell application "Mail"
set unicodeString to the content of the first item of (get the
selection)
end tell
class of unicodeString
-->Unicode text
set plainTextString to (text of unicodeString) as text
class of plainTextString
-->string
--
Paul Skinner
OS X 10.2 / AS 1.9 / PB Ti
_______________________________________________
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.