Re: the clipboard as unicode text NOT
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.