• 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: the clipboard as unicode text NOT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the clipboard as unicode text NOT


  • Subject: Re: the clipboard as unicode text NOT
  • From: John Delacour <email@hidden>
  • Date: Sat, 10 May 2003 02:04:00 +0100
  • Mac-eudora-version: 6.0a16

At 12:28 am +0100 10/5/03, Kai wrote:

> set apple to ASCII character 240
-- [snip]
set the clipboard to apple
set s to get the clipboard as Unicode text
class of s
--> string

Interestingly, on the OS 9.1 machine I'm on at the moment, that gives me:

--> list

Same thing with SE 1.8.3 running in Classic


Not sure what this will give you, but here's what I get:

================================

set apple to ASCII character 240
set the clipboard to apple
set s to (the clipboard) as Unicode text
class of s
--> Unicode text

================================

You're right! I should have thought of that. It's a very cantankerous osax and always has been.

The workaround I had was

set s to ("" as Unicode text) & (the clipboard)

In this case even if I don't put the brackets round the clipboard, they appear on compilation, so I had a solution and stopped there.

JD
_______________________________________________
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.

References: 
 >Re: the clipboard as unicode text NOT (From: Kai <email@hidden>)

  • Prev by Date: Re: Frontmost document??
  • Next by Date: Re: Frontmost document??
  • Previous by thread: Re: the clipboard as unicode text NOT
  • Next by thread: Moving bookmarks into Safari
  • Index(es):
    • Date
    • Thread