Re: coercing styled text to text
Re: coercing styled text to text
- Subject: Re: coercing styled text to text
- From: Ben Robbins <email@hidden>
- Date: Mon, 14 Jan 2002 04:16:29 -0800
Thanks - that worked.
At 9:47 PM +0100 01/12/02, Helmut Fuchs wrote:
At 14:59 Uhr -0800 11.01.2002, Ben Robbins wrote:
Any ideas how to coerce styled text to plain text?
I'm using the following to extract "string" data if I don't know,
whether theString is a plain string, styled text of Unicode text:
get <<class ktxt>> of (theString as international text as record)
Be warned that you may be losing information - "styled text" carries
information about encodings, whereas a plain string doesn't.
HTH,
Helmut
--
_______________________________________________
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.
_____________________________________________________________________
ActiveMac Consulting
http://www.activemac.com/
Seattle, WA email@hidden
(206) 297-8834