• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unicode text and the annoying relic called "styled text"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Unicode text and the annoying relic called "styled text" (From: "Scott Babcock" <email@hidden>)

  • Prev by Date: Re: Unicode text and the annoying relic called "styled text"
  • Next by Date: Re: Unicode text and the annoying relic called "styled text"
  • Previous by thread: Re: Unicode text and the annoying relic called "styled text"
  • Next by thread: Re: Unicode text and the annoying relic called "styled text"
  • Index(es):
    • Date
    • Thread