• 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: Clipboard and Entourage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clipboard and Entourage


  • Subject: Re: Clipboard and Entourage
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 30 Aug 2005 11:09:58 -0700

On Aug 29, 2005, at 6:55 PM, Matt Neuburg wrote:

On or about 8/29/05 6:35 PM, thus spake "Christopher Nebel"
<email@hidden>:

     set x to "some unicode" as Unicode text
     set the clipboard to x  -- clipboard now contains 'utxt' (and
nothing else!)

You (matt) effectively did the former, Jay the latter.  Sufficiently
old or ill-behaved applications such as Entourage do not understand
'utxt' flavor, and therefore don't see any paste-able data and
disable their "paste" command.

Ah. So this is all because of those accented e's and a's. Even though they
are MacRoman, they are turned into Unicode when the data goes onto the
clipboard.


So there are two reasons I didn't see any problem. (1) I was using text that
didn't get turned into Unicode.

No. "String" objects will never get spontaneously turned into 'utxt' on send, and "Unicode text" objects will never get turned into 'TEXT' on send. It got sent as 'utxt' because it was a "Unicode text" object, and that happened because (1) display dialog's "text returned" output is now Unicode and (2) concatenating "string" and "Unicode text" now yields "Unicode text" regardless of the order.



--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
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: 
 >Re: Clipboard and Entourage (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: A Yummy (_Not_) Bug: Gremlin is Rewriting my GUI-Scripting
  • Next by Date: A mail script inquiry
  • Previous by thread: Re: Clipboard and Entourage
  • Next by thread: Re: Clipboard and Entourage
  • Index(es):
    • Date
    • Thread