pasting clipboard from Excel

dunbarx at aol.com dunbarx at aol.com
Tue Sep 13 11:39:04 EDT 2011


Colin.


I copied some data from a spreadsheet.


I made a field in LC.


I pasted the data into the field. Works fine. It always did.


Just for laughs, I made a button with:


on mouseUp
  put the clipBoardData into fld "colin"
end mouseUp


Am I missing something in what you are asking?


Craig





-----Original Message-----
From: Colin Holgate <coiin at verizon.net>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Tue, Sep 13, 2011 6:32 am
Subject: pasting clipboard from Excel


I'm trying to copy some cells from Excel (Mac, 2008 Office version) and paste it 
into a field in LiveCode. If I do that with Numbers all is good. From Excel I 
get nothing.

'the clipboard' tells me that it contains 'text, but that 'the clipboarddata' is 
apparently empty.

If I take a moment to paste the clipboard into another program, I can then go on 
to paste in LiveCode ok.

Is there a way for LiveCode to see the text from Excel without first pasting it 
into another program?



_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list