Re: LC Server style survey: co-mingle code w/HTML?

2017-12-08 Thread Simon Smith via use-livecode
Despite my earlier comments - it is still something that I would be interested in. While my preferences has always been to mix html / code together - if there is a better way to do things, then I would definitely be interested in finding out / learning more. Carpe diem *Simon Smith* m. +27

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

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

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

Re: libUrl tsNet and socketTimeoutInterval

2017-12-08 Thread Charles Warwick via use-livecode
Hi Ralph, There currently isn’t any ability to query the existing timeout values, though the default values are listed in the dictionary. I will look to add that ability in an upcoming release. If the Internet library is included in your application, it will automatically call tsNetInit for

Re: LC Server style survey: co-mingle code w/HTML?

2017-12-08 Thread Rick Harrison via use-livecode
Hi Richard, I think you may have stated your question for us in the wrong way. Instead of asking us is we co-mingle our code with HTML you should have asked us if we had any interest in doing things differently by using LC Script from the desktop to work with web pages. I think we have found

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

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
"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 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

RE: libUrl tsNet and socketTimeoutInterval

2017-12-08 Thread Ralph DiMola via use-livecode
Charles, Thanks... FYI Async tsNet in the iOS version just worked(like magic). Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Charles Warwick via

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

Re: On-Rev Server & character functions

2017-12-08 Thread Pyyhtiä Christer via use-livecode
It was so easy to figure it out, sorry for asking. But, what is the version of LC in on-rev server? Christer Pyyhtiä MindCrea Ltd chris...@mindcrea.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

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

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 |

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

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

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:

On-Rev Server & character functions

2017-12-08 Thread Pyyhtiä Christer via use-livecode
What is the current situation of the LiveCode server version vs V8? For example, using the functions numToCodePoint etc. Christer Pyyhtiä chris...@mindcrea.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: LC Server style survey: co-mingle code w/HTML?

2017-12-08 Thread Mark Waddingham via use-livecode
On 2017-12-07 19:52, Richard Gaskin via use-livecode wrote: Would it be possible/practical to extend the merge function to at least allow things like control structures with non-LC stuff in between them? E.g., from my earlier post: EXAMPLE B The implicit merge LC Server uses is more complete

Re: LC Server style survey: co-mingle code w/HTML?

2017-12-08 Thread Mark Waddingham via use-livecode
On 2017-12-08 17:17, Rick Harrison via use-livecode wrote: Hi Richard, I think you may have stated your question for us in the wrong way. Instead of asking us is we co-mingle our code with HTML you should have asked us if we had any interest in doing things differently by using LC Script from

Re: libUrl tsNet and socketTimeoutInterval

2017-12-08 Thread Sannyasin Brahmanathaswami via use-livecode
Awesome Ralph: Looks like we need to crowd fund Charles for documentation (smile) You are about 3 days ahead of me… can you post some code snippets of your methods? On 12/7/17, 1:54 PM, "use-livecode on behalf of Ralph DiMola via use-livecode"

Re: libUrl tsNet and socketTimeoutInterval

2017-12-08 Thread Sannyasin Brahmanathaswami via use-livecode
Charles Warwick wrote: Sorry for the confusion, tsNet does handle the ‘load’ function, effectively using its own asynchronous functions to replicate standard libUrl behaviour. BR: wow. That's magic! so this means we can just proceed "as usual" with using load [URL] url [with message

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

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

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

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 |

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: libUrl tsNet and socketTimeoutInterval

2017-12-08 Thread Sannyasin Brahmanathaswami via use-livecode
Ralph -- I sent this to you off list by mistake copying here FWIW if anyone is lurking. This all looks great and covers "download files" use cases The remaining puzzles are one off url calls from/for mobile controls : 1) remote path to audio.mp3; for player 2) url web calls in browser widget

Re: MergPop error on iOS 11.2 & LC 8.1.8

2017-12-08 Thread Paul Hibbert via use-livecode
William, Just did a quick test and to make this work I had to go to Standalone Application Settings > General and choose “Select inclusions for the standalone application”, then under Standalone Application Settings > Inclusions scroll down and make sure “MergPop” is selected along with any

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:

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

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

MergPop error on iOS 11.2 & LC 8.1.8

2017-12-08 Thread William de Smet via use-livecode
Hi there, I am seeing an error on using MergPop with iOS 11.2 /LC 8.1.8 when saving a PNG with the 'Save Image' button on the popover sheet. It quits the app immediately. 'E-mail, Copy, Print, Save Files App' all work fine. Even Airdrop works fine. I do this: try put

RE: libUrl tsNet and socketTimeoutInterval

2017-12-08 Thread Ralph DiMola via use-livecode
BR, I async also works in iOS just fine and dandy. In My app I am getting the background images for cards while the user first logs in. Async allows the images to be downloaded in the background. This allows me to change images without releasing a new app without hanging the app up when I used