Re: applescript in standalones?

2018-10-23 Thread Brian Milby via use-livecode
I can confirm that the following scripts work as expected in a stand alone application (9.0.1): on mouseUp local tScript put "Display Dialog" && quote & "Hello world" & quote into tScript do tScript as "AppleScript" answer the result -- '{button returned:"OK"}' if you click the OK

Re: regex url validator?

2018-10-23 Thread Pi Digital via use-livecode
Hi Alex > Alex wrote: > 1. the syntax diagram is (I think) wrong (or at least misleading) > >> filter [{lines | items | keys | elements} of] *filterSource* {with | without >> | [not] matching} [{wildcard pattern | regex pattern}] *filterPattern* [into >> *targetContainer*] >> > in

Re: jsonImport or JSONToArray

2018-10-23 Thread Monte Goulding via use-livecode
> On 24 Oct 2018, at 10:04 am, Andre Alves Garzia via use-livecode > wrote: > > As you folks may have seen earlier today, I've shipped a new product here on > the list. While I was building the demo stack for this plugin, I had the same > problem as you describe. In my case it boiled down

Re: regex url validator?

2018-10-23 Thread Monte Goulding via use-livecode
> On 24 Oct 2018, at 9:35 am, Brian Milby via use-livecode > wrote: > > As long as it doesn’t break autocomplete, I think moving the square brackets > is a good idea. It makes it more accurate and clear that wildcard is what can > be optionally omitted but regex must be included. I’m

Re: jsonImport or JSONToArray

2018-10-23 Thread Andre Alves Garzia via use-livecode
As you folks may have seen earlier today, I've shipped a new product here on the list. While I was building the demo stack for this plugin, I had the same problem as you describe. In my case it boiled down to the automatic inclusions not working, I ended up needing to do manual inclusions and

Re: [ANN] Network Tracer

2018-10-23 Thread Andre Alves Garzia via use-livecode
Hey Tom, Thanks for the kind words my friend! I hope we all do lots of sales. :-) Be aware that this is not a product that is only for mobile. I've shown it in the context of mobile development (because it is where I think it is easier to perceive the value of the tool) but it also works for

Re: applescript in standalones?

2018-10-23 Thread Tom Glod via use-livecode
Hi Brian, to be honest I am not sureyour answer definately reflects that feature request to which I linked...so probably that is the official situation. but just to make sure.. I want to build a standalone from which I am able to run applescript commands ..(ex send keystrokes to other

Re: Sorting search results - solution needed

2018-10-23 Thread dunbarxx via use-livecode
I am missing the rules of the game. But in any event I agree that the only way to sort a mixed bag of numbers, punctuation and alpha chars is to pre-parse and sort repeatedly by items, or some other, er, sort of chunk. But I do not see the "hierarchy" among spaces, periods, decimal numbers, etc.

Re: applescript in standalones?

2018-10-23 Thread Brian Milby via use-livecode
(I think I answered the wrong question though. I was answering if you can script a stand-alone from AS) I’ll check and answer the right question this evening if someone else doesn’t chime in. Thanks, Brian On Oct 23, 2018, 5:09 PM -0500, Tom Glod via use-livecode , wrote: > Can someone

Re: applescript in standalones?

2018-10-23 Thread Brian Milby via use-livecode
You have to manually include the dictionary and update the plist (I think), but the included engine does have the necessary support compiled in. Thanks, Brian On Oct 23, 2018, 5:09 PM -0500, Tom Glod via use-livecode , wrote: > Can someone confirm for me whether "do as applescript" works in

Re: [ANN] Network Tracer

2018-10-23 Thread Tom Glod via use-livecode
great product Andre...I don't do mobile dev yet, but I can see the benefit of it to anyone who does. Wishing you lots of sales. Cheers On Tue, Oct 23, 2018 at 6:28 PM Andre Alves Garzia via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Everyone, > > It is with a lot of excitement

Re: Autocomplete Problem

2018-10-23 Thread Monte Goulding via use-livecode
That is bracket completion and can be turned off separately to autocomplete. Cheers Monte > On 24 Oct 2018, at 9:24 am, William Prothero via use-livecode > wrote: > > What is annoying to me is when I use brackets and quotes. Maybe it’s just the > way I have gotten habituated, but it is

Re: regex url validator?

2018-10-23 Thread Brian Milby via use-livecode
As long as it doesn’t break autocomplete, I think moving the square brackets is a good idea. It makes it more accurate and clear that wildcard is what can be optionally omitted but regex must be included. Thanks, Brian On Oct 23, 2018, 4:54 PM -0500, Monte Goulding via use-livecode , wrote: >

[ANN] Network Tracer

2018-10-23 Thread Andre Alves Garzia via use-livecode
Hi Everyone, It is with a lot of excitement that I am here to announce a new plugin for LiveCode called Network Tracer. This is a zero-configuration plugin and library combination that creates a "networked log" experience to help you debug your LC solutions. To use it, you open the

Re: Autocomplete Problem

2018-10-23 Thread William Prothero via use-livecode
Monte: What is annoying to me is when I use brackets and quotes. Maybe it’s just the way I have gotten habituated, but it is always trying to put double quotes when I add a quote (or bracket at the end of a bracketed expression) at the end of a string. Best, Bill > On Oct 23, 2018, at 2:58

applescript in standalones?

2018-10-23 Thread Tom Glod via use-livecode
Can someone confirm for me whether "do as applescript" works in standalones built by v9? ..I'm seeing a couple of discrepancies in this regards. We don't have a mac handy and i know some of you will know this off the top of your head. many thanks. seeing this in the requests for contributions

Re: Autocomplete Problem

2018-10-23 Thread Monte Goulding via use-livecode
> On 24 Oct 2018, at 1:23 am, Rick Harrison via use-livecode > wrote: > > It keeps interfering with what I’m trying to type I’m wondering how it is interfering with what you are trying to type. Can you provide an example. It shouldn’t do so unless you tab to complete. It could be that as

Re: regex url validator?

2018-10-23 Thread Monte Goulding via use-livecode
> On 24 Oct 2018, at 8:40 am, Monte Goulding via use-livecode > wrote: > > Hmm… the syntax just describes valid syntax rather than how it behaves so I’m > not sure if the change suggested above adds much. > > The docs do state: > > If a regex pattern is specified, the filterPattern

Re: regex url validator?

2018-10-23 Thread Monte Goulding via use-livecode
> On 24 Oct 2018, at 3:29 am, Alex Tweedly via use-livecode > wrote: > > Hi Sean, > > I think there are two (hopefully straightforward) suggestions for the docs on > this: > > 1. the syntax diagram is (I think) wrong (or at least misleading) > >> filter [{lines | items | keys |

Re: Sorting search results - solution needed

2018-10-23 Thread Bob Sneidar via use-livecode
Okay I misunderstood. So were it not for the multiple periods in a single value, you could have sorted numeric by word 1 of each, then resorted alphabetically by word 2 of each. The wrench in the works is the double periods. For this you can write a function that builds a string for a value

Re: Sorting search results - solution needed

2018-10-23 Thread Bob Sneidar via use-livecode
Come to think of it no. I didn't notice the items further down in the list with multiple periods. Your problems is very basic: You really have alpha-numeric data, which you are trying to sort numerically. It's a contradiction in terms. Looking at the nature of your data, and assuming your data

Re: Sorting search results - solution needed

2018-10-23 Thread Scott Seward via use-livecode
Hmm, interesting. I'll noodle on that. I also see my email is pretty unreadable without any formatting. Here is a slightly better data example. Alpha sort 187 187.01 187.02 187.1 187.22 187.234 187.3 187.33 187.456 10187 18700 187 (a) 187 (a)(1) 187 (b) 187 (b)(1) 187.1.1 187.1.2 187.c 187a 187c

Re: Sorting search results - solution needed

2018-10-23 Thread Bob Sneidar via use-livecode
sort lines numeric by word 1 of each > On Oct 23, 2018, at 12:22 , Scott Seward via use-livecode > wrote: > > Hi, > > I need to sort the result set of a search. But the common sort mechanisms I’m > familiar with won’t get me where I need. I’m sure this is a common problem > and much better

Re: Navigator 6.6 alpha 1 is out

2018-10-23 Thread Geoff Canyon via use-livecode
Updated to fix an issue with showing script-only stacks in the stack list. On Wed, Oct 17, 2018 at 6:50 PM Geoff Canyon wrote: > Updated to fix some minor issues, and added the improved Properties menu, > now with inline boolean values instead of submenus, thanks to Kay C Lan. >

Re: Sorting search results - solution needed

2018-10-23 Thread Kee Nethery via use-livecode
I’d deconstruct the values into separate items and then sort by the last item, then next to last, eventually getting to the first. Kee Nethery > On Oct 23, 2018, at 12:22 PM, Scott Seward via use-livecode > wrote: > > Hi, > > I need to sort the result set of a search. But the common sort

Re: starting the Project Browser

2018-10-23 Thread Mark Wieder via use-livecode
On 10/23/2018 11:52 AM, Klaus major-k via use-livecode wrote: Hi Douglas, Am 23.10.2018 um 20:31 schrieb Douglas Ruisaard via use-livecode : Is there a way to start/open the "Project Browser" (from the main LC Tools menu) using a script command for LC v8 and above? this works, go figure

Sorting search results - solution needed

2018-10-23 Thread Scott Seward via use-livecode
Hi, I need to sort the result set of a search. But the common sort mechanisms I’m familiar with won’t get me where I need. I’m sure this is a common problem and much better developers then I know the name of it and how to execute it in Livecode. Any help would be appreciated. Here is the

Re: starting the Project Browser

2018-10-23 Thread Klaus major-k via use-livecode
Hi Douglas, > Am 23.10.2018 um 20:31 schrieb Douglas Ruisaard via use-livecode > : > > Is there a way to start/open the "Project Browser" (from the main LC Tools > menu) using a script command for LC v8 and above? this works, go figure :-D ... go stack "revIDEProjectBrowser" ... > ... > >

Re: regex url validator?

2018-10-23 Thread Tom Glod via use-livecode
thanks Sean and Alex for taking the lead on updating doc..Mark ..lots of examples is great idea. A whole new world has opened up. As a bonus from what I've read filtering using regular expressions are way faster than a repeat over an array. Thanks everyone for helping me out here

starting the Project Browser

2018-10-23 Thread Douglas Ruisaard via use-livecode
Is there a way to start/open the "Project Browser" (from the main LC Tools menu) using a script command for LC v8 and above? It used to be (possibly v7 or before) that the stack retained the "state" of the Project Browser and would automatically display it when a stack was opened if the stack

Re: regex url validator?

2018-10-23 Thread Mark Wieder via use-livecode
On 10/23/2018 09:29 AM, Alex Tweedly via use-livecode wrote: Hmmm - neither of these descriptions are very clear :-(   but maybe they'll help :-) While it would be good to have the BNF syntax properly coded, I think the most helpful thing would be good examples. And for this complex

Re: regex url validator?

2018-10-23 Thread Alex Tweedly via use-livecode
Hi Sean, I think there are two (hopefully straightforward) suggestions for the docs on this: 1. the syntax diagram is (I think) wrong (or at least misleading) filter [{lines | items | keys | elements} of] *filterSource* {with | without | [not] matching} [{wildcard pattern | regex

Re: Autocomplete Problem

2018-10-23 Thread Rick Harrison via use-livecode
Edit>Options>… worked fine. Thanks Sean! > On Oct 23, 2018, at 11:45 AM, Sean Cole (Pi) via use-livecode > wrote: > > Hi Rick, > > With the script editor live, go to the menu for it and to Edit>Options> and > turn off Autocomplete. There was an option to use F1 to disable but I don't > seem

Re: regex url validator?

2018-10-23 Thread Sean Cole (Pi) via use-livecode
Tom, I've looked at the docs and I'm not sure how to make it much clearer. Perhaps you have a suggestion? The examples given are: local tVar put the propertyNames into tVar filter tVar with "[az]*" -- tVar contains all property names beginning with a or z This one is NOT a regular expression

Re: regex url validator?

2018-10-23 Thread Sean Cole (Pi) via use-livecode
> > Maybe the documentation needs a tweak. Will do... Sean On Tue, 23 Oct 2018 at 15:04, Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > > > I originally used > > filter the lines of my_container with myregex > > or filter my_container with myregex > > none of the

Re: regex url validator?

2018-10-23 Thread Stephen MacLean via use-livecode
Hi Bob, This function does more than what Tom was asking for, but included it so he could see the entire function. No, rsIsValidEmail_LC isn’t built into LiveCode, it’s part of the rsIsValid suite. Best, Steve > On Oct 23, 2018, at 10:54 AM, Bob Sneidar via use-livecode > wrote: > > This

Re: Autocomplete Problem

2018-10-23 Thread Sean Cole (Pi) via use-livecode
Hi Rick, With the script editor live, go to the menu for it and to Edit>Options> and turn off Autocomplete. There was an option to use F1 to disable but I don't seem to be able to get this to work on my Mac Sean On Tue, 23 Oct 2018 at 15:23, Rick Harrison via use-livecode <

Re: regex url validator?

2018-10-23 Thread Bob Sneidar via use-livecode
I think the usability of regex for day to day programming can be stated as directly proportional to the percentage of professional software developers (the ones who *actually* make money at it) who could have come up with that regex string purely on their own. Bob S > On Oct 23, 2018, at

Re: regex url validator?

2018-10-23 Thread Brian Milby via use-livecode
Ah... yes if you want to use a regex then you must specify the type of filterPattern using “regex pattern” because if not specified then “wildcard pattern” is assumed. Thanks, Brian On Oct 23, 2018, 9:56 AM -0500, Bob Sneidar via use-livecode , wrote: > I mean AN other function:

Re: regex url validator?

2018-10-23 Thread Bob Sneidar via use-livecode
I mean AN other function: rsIsValidEmail_LC Bob S > On Oct 23, 2018, at 07:54 , Bob Sneidar via use-livecode > wrote: > > This looks like it is dependent on other functions. Are these built into > Livecode?? > > Bob S > > >> On Oct 23, 2018, at 06:26 , Stephen MacLean via use-livecode

Re: regex url validator?

2018-10-23 Thread Bob Sneidar via use-livecode
This looks like it is dependent on other functions. Are these built into Livecode?? Bob S > On Oct 23, 2018, at 06:26 , Stephen MacLean via use-livecode > wrote: > > Hi Tom, > > Don’t know if you found a solution yet, but this is from the rsIsValid suite > I put together a few years back.

Re: regex url validator?

2018-10-23 Thread Bob Sneidar via use-livecode
Start mixing alpha-bits breakfast cereal with their cat food. Worked for me. Bob S > On Oct 23, 2018, at 03:21 , Monte Goulding via use-livecode > wrote: > >> You shouldn't let your cat walk on the keyboard like that. > > Funny thing is my cats are regularly walking on my keyboard while

Autocomplete Problem

2018-10-23 Thread Rick Harrison via use-livecode
Greetings LiveCoders, I am having a problem with Autocomplete. It keeps interfering with what I’m trying to type, and I find it to be very annoying. I’m trying to turn the feature off in the Preferences under Script Editor and have unchecked the Auto Format box and that seems to have no

Re: regex url validator?

2018-10-23 Thread Tom Glod via use-livecode
I originally used filter the lines of my_container with myregex or filter my_container with myregex none of the expressions worked. just blanked out. When I used the same form as Steve...it worked. filter my_container with regex pattern myregex into my_variable So is that a bug in

Re: regex url validator?

2018-10-23 Thread Stephen MacLean via use-livecode
Hi Tom, Don’t know if you found a solution yet, but this is from the rsIsValid suite I put together a few years back. http://forums.livecode.com/viewtopic.php?f=16=26653=138698#p138698 .

Re: [off]Hactoberfest

2018-10-23 Thread Trevor DeVore via use-livecode
On Fri, Oct 19, 2018 at 9:54 AM Trevor DeVore wrote: > I've added another screencast that shows how to add a bug fix note to your > documentation Pull Request (PR). This is necessary if you are submitting a > PR that fixes a bug in the LiveCode Quality Control Center. > >

Re: regex url validator?

2018-10-23 Thread Monte Goulding via use-livecode
> On 23 Oct 2018, at 4:43 pm, J. Landman Gay via use-livecode > wrote: > > You shouldn't let your cat walk on the keyboard like that. Funny thing is my cats are regularly walking on my keyboard while I’m asleep and usually into the last app I have open which more often than not is the

Re: regex url validator?

2018-10-23 Thread Monte Goulding via use-livecode
> On 23 Oct 2018, at 5:01 pm, Mark Wieder via use-livecode > wrote: > >> Here’s one I have used which seems to work nicely: > > Interesting regex, but always returns true no matter what I throw at it. > Seems that if *any* of the variables are filled (e.g. tPath) then the > matchtext

[ANN] This Week in LiveCode 151

2018-10-23 Thread panagiotis merakos via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #151 here: https://goo.gl/njQaCv This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

Re: regex url validator?

2018-10-23 Thread Mark Wieder via use-livecode
On 10/22/2018 07:37 PM, Monte Goulding via use-livecode wrote: Here’s one I have used which seems to work nicely: Interesting regex, but always returns true no matter what I throw at it. Seems that if *any* of the variables are filled (e.g. tPath) then the matchtext function returns true, so