Re: Copying text in boxes to clipboard

2017-12-08 Thread hh via use-livecode
> JLG wrote: > 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. Unfortunately no. The clipboardData["html"] is LC htmltext, which doesn't support .

Re: Copying text in boxes to clipboard

2017-12-08 Thread J. Landman Gay via use-livecode
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 | jac...@hyperactivesw.com HyperActive Software | htt

Re: Copying text in boxes to clipboard

2017-12-08 Thread hh via use-livecode
> 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 t

Re: Copying text in boxes to clipboard

2017-12-08 Thread Jim Lambert via use-livecode
Jacque's suggestion for PDF printing is excellent. That will get you a file. But you mentioned you want this to end up on the clipboard for pasting into other programs. > Dunbarx wrote: > I did a quick test using the "import snapshot" command, and pasted the > result into another app. It seems to

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
But the OP wants everything in the clipboard, so he can paste away. I suppose that the target apps might have a feature to import pdf's as a menu command, but that would require scaling and who knows what else. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User

Re: Copying text in boxes to clipboard

2017-12-08 Thread J. Landman Gay via use-livecode
On 12/8/17 12:30 PM, Charles Szasz via use-livecode wrote: Hi Jacque, I want to duplicate the borders of the fields in copying the fields to the clipboard. In that case, others who have responded are right. You can't put that into the clipboard except as an image. You could instead use the

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
"I want to duplicate the borders of the fields in copying the fields to the clipboard. " Right, so you need an image, not any sort of text wizardry. I did a quick test using the "import snapshot" command, and pasted the result into another app. It seems to have the same resolution as the img in t

Re: Copying text in boxes to clipboard

2017-12-08 Thread Charles Szasz via use-livecode
Hi Jacque, I want to duplicate the borders of the fields in copying the fields to the clipboard. Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Copying text in boxes to clipboard

2017-12-08 Thread J. Landman Gay via use-livecode
Looking at the responses so far, I think the confusion is whether you only want to extract the text from the fields, or whether you want to duplicate the field borders as well in order to reproduce the appearance of a grid with gridlines. -- Jacqueline Landman Gay | jac...@hyperact

Re: Copying text in boxes to clipboard

2017-12-08 Thread Charles Szasz via use-livecode
David, I think your programming approach is a good idea and may be the solution to my problem. Do you have a sample stack you could send me to look at? Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
"This is why I was trying to utilize the clipboard using text directly rather than a graphic. " Not understanding (again). How would you reproduce the physical fields as any form of text? That is how I started, with the field data, which I see now was not what you wanted. Craig -- Sent from:

Re: Copying text in boxes to clipboard

2017-12-08 Thread David V Glasgow via use-livecode
Hello Charles, I very often have to manipulate psychological test and subtest scores in LC that have to be exported in different formats. It is difficult to be sure I understand what you are trying to do, but I will say that I find the following the approach is one that suits me: • I store it

Re: Copying text in boxes to clipboard

2017-12-08 Thread Charles Szasz via use-livecode
Craig, I have tried the method you suggested. It does yield decent results but I was hoping for better quality. This is why I was trying to utilize the clipboard using text directly rather than a graphic. Sent from my iPad ___ use-livecode mailing

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
Sorry, I meant "import snapshot". Try this, and read the dictionary to set it up the way you want, likely from a rect. The resulting img control can then be placed into the clipboard. Quality should be pretty good. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-

Re: Copying text in boxes to clipboard

2017-12-08 Thread Charles Szasz via use-livecode
I am only using export snapshot as a “last resort” due to the quality of the graphic it creates. Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Copying text in boxes to clipboard

2017-12-08 Thread Charles Szasz via use-livecode
Dunbar, I tried using screenshots but they are graphic and lack the quality you would want. Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription pre

Re: Copying text in boxes to clipboard

2017-12-08 Thread Charles Szasz via use-livecode
I have 14 fields for subtest names named test1, test2, test3,..test14 and another 14 fields for scores named score1, score2, score3,..score14. They are all associated with different tests. Some tests will have all 14 subtests and scores while others will have only have one subtest and one score

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
Does the "export snapshot" command do what you want? That is an old gadget. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
Ah. Hmmm. Do i understand you want to take a "picture" of your existing field array, and place that in the clipboard? -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecod

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
Easy, if I understand what you are asking. So do you have pairs of fields, each pair a "name" and a "score"? Something like: name1, score1 name2, score2 etc. ?? Are these pairs of fields associated with each other in the way I assumed, that is, by their names, or in some other way? In any case

Re: Copying text in boxes to clipboard

2017-12-08 Thread hh via use-livecode
There is no way to do that with the *LC 6* clipboard. But, assuming you are on Mac, you could ... ... (1) 'code' the fields into a html table (no need to display that in LC). This is not too hard when using merge. ... (2) Then write that to a temporary html file put myHTMLCode into url("file:///U

Re: Copying text in boxes to clipboard

2017-12-07 Thread Charles Szasz via use-livecode
Thanks for responding to my LC problem. The fields have their showBorder set to true. There are 14 test name fields and 14 score fields. The fields are coded to be visible when they have content. I am not using a dataGrid. How do code to these many fields to the clipboard? Sent from my iPad

Re: Copying text in boxes to clipboard

2017-12-07 Thread dunbarx via use-livecode
A table made up of boxes? Are thee boxes individual fields? Or are they the "cells" that comprise table fields or dataGrids? In either case, or in any case at all, one can place the data in those boxes onto the clipboard by setting the clipbardData to the text of those, er, boxes. This either all

Copying text in boxes to clipboard

2017-12-07 Thread Charles Szasz via use-livecode
I have a table made up of boxes that has test names and their scores. I want the user to be able to copy the table with the test names and scores to the clipboard. Then the user can paste the table into a word processing document. Can this be done using LC 6.9? I have tried grouping then and