Copying text in boxes to clipboard

J. Landman Gay jacque at hyperactivesw.com
Fri Dec 8 21:50:51 EST 2017


Actually, you could extract the text and write it into an html table in any 
version of LC. Then set the clipboardData["html"] to it.

It would only paste into apps that accept html of course.
--
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



On December 8, 2017 3:27:10 PM hh via use-livecode 
<use-livecode at lists.runrev.com> wrote:

>> JLG wrote:
>> In that case, others who have responded are right. You
>> can't put that  into the clipboard except as an image.
>
> The impact is (what I wrote): You can't put that into the
> **LC 6** - clipboard.
>
> Of course we can do that in LC 8 or later by accessing the
> *raw* clipboard. That is:
> Put the contents of the grid of simple text fields into
> a HTML <table> object. Then write clean HTML data with that
> to the rawClipboardData, go to Pages, OpenOffice, Word or
> whatever and paste.
>
>
> _______________________________________________
> 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