Re: Unicode text and the annoying relic called "styled text"
Re: Unicode text and the annoying relic called "styled text"
- Subject: Re: Unicode text and the annoying relic called "styled text"
- From: jj <email@hidden>
- Date: Wed, 22 Dec 2004 20:17:56 +0100
Title: Re: Unicode text and the annoying relic called "styled text"
> set utxt to "Foo" as Unicode text
> set |TEXT| to utxt as string
> set the clipboard to {string:|TEXT|, Unicode text:utxt}
>
> When I tried to paste this content, I got a very short string of
> invisible "stuff" in the input field. To figure out what was going on, I
> extracted the content of the clipboard as a record:
>
> set clipData to the clipboard as record
> --> Unicode text:"Foo", styled text:"Foo"
>
> Styled text?!!! Where did that come from? Come to find out, the attempt
> to coerce Unicode text to string actually returned styled text.
There is an old thread (february) at applescript-implementors list which may throw some ligth over this question:
http://lists.apple.com/archives/applescript-implementors/2004/Feb/msg00039.html
jj
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden