Re: discrepancy between official device metric and LC stack size

2018-02-02 Thread J. Landman Gay via use-livecode
On 1/31/18 5:23 PM, Nicolas Cueto via use-livecode wrote: I test my mobile stacks on a Nexus 5, and, in portrait orientation, many bottom pixels are offscreen, even though for width and height I follow exactly the numbers given in dp at the website Device Metrics .

Standalone Building

2018-02-02 Thread Bob Sneidar via use-livecode
Hi all. On the issue of Standalone Building with a call to open stacks modally in a script, I noted that I can suppress messages and then build the standalone without issue. I am wondering if this doesn't cause problems for the standalone builder, why not have the standalone builder save the c

Re: RevQueryDatabase error in standalone

2018-02-02 Thread Bob Sneidar via use-livecode
Okay I found the issue with the standalone not building properly. I wrote a new handler to size a window based on the min/max left, top,right,bottoms of every visible object, so that the "air" or empty space is consistent for every stack opened. It *sorta* works, as long as the topmost and leftm

Re: RevQueryDatabase error in standalone

2018-02-02 Thread Mark Wieder via use-livecode
On 02/02/2018 09:37 AM, Bob Sneidar via use-livecode wrote: put the short name of pCardID into tCardName I don't think you can do that. Shouldn't that be "card id pCardID"? -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-

any tricks to make SHELL non blocking?

2018-02-02 Thread Klaus major-k via use-livecode
Hi friends, I have a command line utility which will process a generated file like: ... get shell(q(tCommandLineUtility) && q(tGeneratedFile)) ... FYI: function q tString return QUOTE & tString & QUOTE end q Any hints on how to make this NON blocking somehow? I need a solution for Mac and Win.

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Phil Davis via use-livecode
Run it in a different app that you communicate with via sockets? Or maybe run that app as a process? You said *any* hints, so... be careful what you ask for! :-) Phil Davis On 2/2/18 1:41 PM, Klaus major-k via use-livecode wrote: Hi friends, I have a command line utility which will process

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Paul Dupuis via use-livecode
I don't think you can use shell as non-blocking. You could use 'open process' to spawn your command line utility off as a subprocess which would be non blocking, but that approach has its own over head thing to work around On 2/2/2018 4:41 PM, Klaus major-k via use-livecode wrote: > Hi friends, >

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Richard Gaskin via use-livecode
Paul Dupuis wrote: > I don't think you can use shell as non-blocking. You could use 'open > process' to spawn your command line utility off as a subprocess which > would be non blocking, but that approach has its own over head thing > to work around What additional overhead is incurred by runnin

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread hh via use-livecode
This is non-blocking: put tCommandLineUtility && q(tGeneratedFile) into p0 open process p0 for neither -- no need to close that Don't use quotes for the utility. You have no feedback with that. That's the advantage of shell. > Klaus M. wrote: > Hi friends, > I have a command line utility which w

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Klaus major-k via use-livecode
Hi Phil, > Am 02.02.2018 um 23:30 schrieb Phil Davis via use-livecode > : > > Run it in a different app that you communicate with via sockets? Or maybe run > that app as a process? > You said *any* hints, so... be careful what you ask for! :-) yep, get it! :-D > Phil Davis > > On 2/2/18 1:41

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Klaus major-k via use-livecode
Hello Hermann, > Am 02.02.2018 um 23:53 schrieb hh via use-livecode > : > > This is non-blocking: > > put tCommandLineUtility && q(tGeneratedFile) into p0 > open process p0 for neither -- no need to close that > > Don't use quotes for the utility. > You have no feedback with that. That's the a

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 02.02.2018 um 23:53 schrieb hh via use-livecode > : > > This is non-blocking: > > put tCommandLineUtility && q(tGeneratedFile) into p0 > open process p0 for neither -- no need to close that > > Don't use quotes for the utility. > You have no feedback with that. That's the adva

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 03.02.2018 um 00:02 schrieb Klaus major-k via use-livecode > : > > Hi Hermann, > >> Am 02.02.2018 um 23:53 schrieb hh via use-livecode >> : >> >> This is non-blocking: >> >> put tCommandLineUtility && q(tGeneratedFile) into p0 >> open process p0 for neither -- no need to clo

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Paul Dupuis via use-livecode
On 2/2/2018 5:42 PM, Richard Gaskin via use-livecode wrote: > Paul Dupuis wrote: > > > I don't think you can use shell as non-blocking. You could use 'open > > process' to spawn your command line utility off as a subprocess which > > would be non blocking, but that approach has its own over head th

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread hh via use-livecode
> Klaus wrote: > ... it WORKS, thanks a lot! How could you doubt that!? :-( I never post things that I didn't test thoroughly, learned that from 'bn'. In this case I looked into the script of my next Mac/Win/Linux/Raspi-stack "timeLapseCamera" which runs since four days without problems. I have

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 03.02.2018 um 00:35 schrieb hh via use-livecode > : > >> Klaus wrote: >> ... it WORKS, thanks a lot! > > How could you doubt that!? :-( sorry, really didn't mean it personally! ;-) > I never post things that I didn't test thoroughly, learned that from 'bn'. > In this case I

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread hh via use-livecode
> Way cool, dude! > Voll krass, Alter! :-) Yes. I once was also a young man with curly hair -- like you. are now ... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscriptio

Re: RevQueryDatabase error in standalone

2018-02-02 Thread Bob Sneidar via use-livecode
pCardID contains the long ID of the card that called it. Remember it works perfectly in the IDE, so it's doubtful there are any syntactical errors. I am vaguely remembering that there are times when openCard is triggered first and openstack at other times. If openCard gets triggered first when o

Re: RevQueryDatabase error in standalone

2018-02-02 Thread Bob Sneidar via use-livecode
Belay that. Openstack happens first no matter what. I think at this point I will use it only as a utility for resizing windows when things have been rearranged, or a new form is created and I need to clean it up a bit. Bob S > On Feb 2, 2018, at 16:11 , Bob Sneidar via use-livecode > wrote:

Re: FormattedHeight of a field and its contents

2018-02-02 Thread David Epstein via use-livecode
Thanks for the responses on this. I used Bernd’s tool and did some more tests, and found some things that may be helpful to others. While the left and right margins of a field are meant literally (a 5 pixel left margin leaves 5 white pixels to the left of the text), the top margin is more comp

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Dr. Hawkins via use-livecode
On Fri, Feb 2, 2018 at 1:41 PM, Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > > Any hints on how to make this NON blocking somehow? > I need a solution for Mac and Win. > > I don''t know about darkside machines, but on \begin{condescending snark} mac and other real ope

Pasting tabs into Excel

2018-02-02 Thread J. Landman Gay via use-livecode
Someone asked me this and I don't have an answer: Before LC 8, you could put tabbed strings into the clipboard, paste into Excel or Google Sheets, and each tabbed item would go into a separate cell. After LC 8, the tabbed items go into a single cell as one string. How can we make Excel recogn

Re: Pasting tabs into Excel

2018-02-02 Thread dunbarx via use-livecode
Jacque. As if you needed this, confirmed here. What on earth can v.8 be doing to the tab character??? Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.

Re: Pasting tabs into Excel

2018-02-02 Thread Mike Bonner via use-livecode
It's strange. If you paste into excel, then select the cell and use the text to columns tool, using Space as delimiter, poof. Columns. Also, in libreoffice, paste special can be used to choose "unformatted text" and that works also. Surely there is a way to pop a simple tab delimited string into

Re: Pasting tabs into Excel

2018-02-02 Thread Matthias Rebbe via use-livecode
Hi, i cannot reproduce that here on Mac OS X and Excel 2016 (V 15.30). I executed your sample code in the messagebox and was able to paste successfully the clipboard to Excel. I even tried with alpha numeric values. But what i noticed is the following: When i just click on a cell, so that it is