Re: Because LC can't do two things at once.

2015-02-21 Thread Michael Doub
Here are three really good web sites that can help with regexp. I don't consider myself an expert by any means but I feel like I am now getting the hang of it. I give the credit to the creators of these sites. Such a valuable asset. -= Mike

Re: A nasty experience with the currentcard

2015-02-21 Thread Geoff Canyon
On Sat, Feb 21, 2015 at 11:06 AM, Richard Gaskin ambassa...@fourthworld.com wrote: has this Dictionary omission been submitted to the bug queue Bug 14651 http://quality.runrev.com/show_bug.cgi?id=14651 Unfortunately, now I can't replicate the bug that led to this discussion in the first

Re: The owner of a selected control - a mystery

2015-02-21 Thread Graham Samuel
Thanks Richard I see what you are saying. I tried to report what I saw as a bug and my test stack revealed some other problems. So there is a bug report now, 14648, but it only obliquely refers to the stuff I recently posted! Incidentally, (please skip this as being OT for the current

Re: The owner of a selected control - a mystery

2015-02-21 Thread Richard Gaskin
Graham Samuel wrote: ... set the selected to empty This last statement resulted in an execution error: “controls don’t have the same owner”. I get a different error, can't find object, which I would expected because selected is an object property, not a global property. To deselect all

Re: Because LC can't do two things at once.

2015-02-21 Thread Peter M. Brigham
On Feb 21, 2015, at 2:59 AM, Richard Gaskin wrote: Peter M. Brigham wrote: Just out of curiosity, how *would* you do this via shell call or the equivalent on a Windows laptop? Good question. Thanks to the beautiful simplicity of the Linux /proc directory I was able to find: cat

Re: A nasty experience with the currentcard

2015-02-21 Thread Geoff Canyon
Thanks, I figured that out. It was only annoying because I was working on a stack named with a rev prefix, so no error messages were being thrown. On Sat, Feb 21, 2015 at 1:44 AM, Phil Davis rev...@pdslabs.net wrote: Try current card instead. go to current card of stack x put the

Re: A nasty experience with the currentcard

2015-02-21 Thread Geoff Canyon
I don't remember -- it could just be that I was going for current card and forgot the space. The script editor colors currentcard the same as terms like long id, while it colors current card like keywords like stack For me, LC 6.7.1 on a Mac (most recent OS): toplevel: put the long id of the

Re: Because LC can't do two things at once.

2015-02-21 Thread Richard Gaskin
Peter M. Brigham wrote: Just out of curiosity, how *would* you do this via shell call or the equivalent on a Windows laptop? Good question. Thanks to the beautiful simplicity of the Linux /proc directory I was able to find: cat /proc/acpi/battery/BAT1/state The charging state field

Re: The owner of a selected control - a mystery

2015-02-21 Thread Richard Gaskin
Graham Samuel wrote: 2, When you print to a pdf file and use a name you’ve used before, the engine doesn’t offer a way of telling the user that this is so, and offering the option to overwrite or change the name. This is something to do with the way the OS dialog is invoked, I suspect.

Re: A nasty experience with the currentcard

2015-02-21 Thread J. Landman Gay
It was in one of the release notes many versions ago. I actually used it in a project once. You can set the currentcard of another stack without having to go there, which is handy for some situations. On February 21, 2015 1:59:08 AM CST, Geoff Canyon gcan...@gmail.com wrote: I don't remember

Re: The owner of a selected control - a mystery

2015-02-21 Thread Graham Samuel
Have done now, its 14649 - it’s only Saturday, not Sunday as I said in my earlier message, so I must have more time, no? Graham On 21 Feb 2015, at 17:58, Richard Gaskin ambassa...@fourthworld.com wrote: Graham Samuel wrote: 2, When you print to a pdf file and use a name you’ve used

Re: A nasty experience with the currentcard

2015-02-21 Thread Richard Gaskin
Sorry if I'd missed this earlier, but has this Dictionary omission been submitted to the bug queue? When we kick-off the Community Documentation Team soon I'd like to make sure we catch things like this. J. Landman Gay wrote: It was in one of the release notes many versions ago. I actually

Re: MySQL lite password

2015-02-21 Thread Andrew Kluthe
That's interesting, Pete. Good catch. On Fri, Feb 20, 2015 at 5:02 PM, Peter Haworth p...@lcsql.com wrote: Hi Andrew, Turns out SQLite added a user authentication extension in 10/2014 that requires a password to access an SQLite database but it's not part of the SQLite library provided with

The owner of a selected control - a mystery

2015-02-21 Thread Graham Samuel
Using LC 7.0.2 rc-2, I was trying to implement a ‘select all’ function by using loops to select each type of object on a card which contains the full gamut - fields, graphics, images, buttons and groups. This worked as far as I can see, and after doing all the selecting, I was able to group the

Re: The owner of a selected control - a mystery

2015-02-21 Thread J. Landman Gay
On 2/21/2015 10:11 AM, Graham Samuel wrote: 1. When you print to a pdf file, you often get a blank page. I have not yet found that the solution offered (putting a ‘print break’ into the script) works for me. If the bounds of the printout overrun the available print area, LC will push the

Re: Because LC can't do two things at once.

2015-02-21 Thread Peter Haworth
I like what you said about not speaking Regex. I think that's the biggest problem people have with Regex: it's a language and if you don't know the syntax rules of any language, it doesn't make sense. Good analogy. Here's the regex for extracting what you want from the Mac output: '(\w*)