Re: String to multiple-item list coercion
Re: String to multiple-item list coercion
- Subject: Re: String to multiple-item list coercion
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 26 Sep 2002 18:14:41 -0700
On 9/26/02 1:33 PM, "Paul Skinner" <email@hidden> wrote:
>
Cool Arthur! That's very close to what I was trying to do with the
>
Unicode conversion thread that I botched the other day. So close I had
>
to try using it there...
>
>
tell application "Mail"
>
set unicodeString to the content of the first item of (get the
>
selection)
>
end tell
>
class of unicodeString -->Unicode text
>
>
set {text:plainText} to (text of unicodeString) as text
>
plainText -->plain text!
Yes, that works, in stages:
set myPath to path to me as Unicode text
set {text:plainTextPath} to (text of myPath) as string
--> [international text, i.e. styled]
plainTextPath
--> [plain text]
class of plainTextPath
--> string [plain text]
--
Paul Berkowitz
_______________________________________________
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.