Page 1 of 1
Set Clipboarddata
Posted: Wed Nov 30, 2016 12:49 am
by lohill
Is there a work-around for 'set clipboarddata' when using LC 8.1.1 on a Windows PC? I have tried fullclipboarddata too and it doesn't work.
You can test this easily by just making a button with the following script:
on mouseUp
set the clipboarddata to "Hello World!"
end mouseUp
This will run successfully on a Mac but not a PC using LC 8.1.1.
Larry
Re: Set Clipboarddata
Posted: Wed Nov 30, 2016 5:40 am
by dunbarx
Hmmm.
Does this have anything to do with a current thread on the beginners section?
"copying and pasting from/to fields not working?"
Craig Newman
Re: Set Clipboarddata
Posted: Wed Nov 30, 2016 6:43 am
by FourthWorld
The clipBoardData is an array. See the dictionary for usage.
Re: Set Clipboarddata
Posted: Wed Nov 30, 2016 4:13 pm
by LiveCode_Panos
This is no longer reproducible, not sure why Larry saw that in the first place:
http://quality.livecode.com/show_bug.cgi?id=18935
Re: Set Clipboarddata
Posted: Fri Dec 02, 2016 10:20 am
by [-hh]
You could use
the rawClipboardData ( introduced in LC 8 ).
There is a great
Clipboard stack for both, clipboardData and rawClipboardData, by Stephen Barncard.
You will find the link here (LC use-list):
http://lists.runrev.com/pipermail/use-l ... 32070.html