opensubscriber
   Find in this group all groups
 
Unknown more information…

a : applescript-users@lists.apple.com 15 January 2006 • 12:42AM -0500

Re: As Text Work-Around Broken
by Laine Lee

REPLY TO AUTHOR
 
REPLY TO GROUP




On 1/13/06 12:45 PM, "Jason Bourque" <jasonsmark@mac....> wrote:

> Hello,
>
> I have used this for some time but it seems to be broken..
>
> For unicode text this should work. Any ideas?
>
>

I borrowed this one some time ago.

on get_as_text(a_string)
    --coerce and corece to plain text
    try
        return (text of ((a_string as string) as record)) as string
    end try
    return a_string as string
end get_as_text

--
Laine Lee
llee@lone...
http://lonestar.utsa.edu/llee


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (Applescript-users@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/subscriber%40opensubscriber.com

This email sent to subscriber@open...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.