Re: Stupid, Stupid Text Features [Was: Can't set creator type]
Re: Stupid, Stupid Text Features [Was: Can't set creator type]
- Subject: Re: Stupid, Stupid Text Features [Was: Can't set creator type]
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 24 Feb 2004 13:00:38 -0800
On 2/24/04 9:20 AM, I wrote:
>
Arthur (who you may recall left this list out fed up with being constantly
>
thrown off it) has written me to say that it was indeed richard23 who
>
discovered <<class ktxt>> . Arthur has also come up with a version that
>
avoids the << >> stuff, which I will forward on here as soon as I've
>
digested it.
>
I found a little tweak that needed to be tweaked. OK, here it is without
guillemets. Use it only for text - it won't work as you might like for
lists.
on AsText(str)
try
return (text of ((str as string) as record)) as string
on error -- plain text to begin with
return str
end try
end AsText
--
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.