Re: LCB Performance

2018-08-10 Thread Geoff Canyon via use-livecode
This is not in LCB script, but you posting this reminded me of some code I wrote a long time ago when I needed (for a programming challenge) to write a function that would return primes up to 10^9 or so. That was far too large to do the traditional "build an array of excluded values" sort of

Re: valueDiff for arrays?

2018-08-10 Thread Mark Wieder via use-livecode
On 08/10/2018 05:36 PM, Geoff Canyon via use-livecode wrote: Are you working with "LiveCode UI elements appear in lists of stacks" enabled? I specifically named all the script behaviors for Navigator starting with "rev" and they don't show up in the Project Browser for me. Exactly. And It's

Re: Repeat for each element failing

2018-08-10 Thread dunbarxx via use-livecode
My error. I meant: Are you speaking of the "warm" in myFavoriteColors["warm"]["red"] Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Navigator v 6 is out

2018-08-10 Thread Tom Glod via use-livecode
geoff...you gots yourself a new user . thank you very much, this is really helpful on a project i been working on recently. the project manager..just not ready. On Fri, Aug 10, 2018 at 9:31 PM, Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > Very nice. (I did notice

Re: Repeat for each element failing

2018-08-10 Thread dunbarxx via use-livecode
Bob wrote: "Is it legal to have arrays for the elements, or is it restricted to values? " Are you speaking of the "red" in myFavoriteColors["warm"]["red"] Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

Re: Navigator v 6 is out

2018-08-10 Thread Brian Milby via use-livecode
Very nice. (I did notice that your collapse code still has an apparent debug msg put with a couple of numbers). I'll take it for a spin and see if I notice anything (but kind of doubt I will). Thanks, Brian On Fri, Aug 10, 2018 at 7:56 PM, Geoff Canyon via use-livecode <

Re: Regaining IDE Efficiency: Property Inspector

2018-08-10 Thread Geoff Canyon via use-livecode
On Thu, Aug 9, 2018 at 3:49 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 08/09/2018 08:14 AM, Richard Gaskin via use-livecode wrote: > > > Many (most?) development environments use a property sheet* instead, to > > handle the deep, rich variety of detailed

Re: valueDiff for arrays?

2018-08-10 Thread Mark Waddingham via use-livecode
Or the ui stack is a substack which gets duplicated as another substack under the same root, but empty, mainstack... Mark. Sent from my iPhone > On 10 Aug 2018, at 19:48, Brian Milby via use-livecode > wrote: > > In your case it may be a bit more complicated, but I would think still >

Navigator v 6 is out

2018-08-10 Thread Geoff Canyon via use-livecode
Seems stable to me, but no one else has tried it, so I'm calling it alpha 1, use at your own risk. You can get Navigator here . Or grab it from GitHub . Update documentation is here

Re: valueDiff for arrays?

2018-08-10 Thread Brian Milby via use-livecode
In your case it may be a bit more complicated, but I would think still attainable. The key would be for the scripts to live in a sub stack that didn't get duplicated. On Fri, Aug 10, 2018 at 7:41 PM, Geoff Canyon via use-livecode < use-livecode@lists.runrev.com> wrote: > On Sat, Aug 4, 2018 at

Re: valueDiff for arrays?

2018-08-10 Thread Brian Milby via use-livecode
I do it both ways, the problem is that behavior scripts created for maintaining a stack (version control) are inconvenient in the IDE. I've thought about suggesting a multiple step scriptify for IDE tools. The first step would be to create a card to house all behavior buttons. The first round

Re: valueDiff for arrays?

2018-08-10 Thread Geoff Canyon via use-livecode
On Sat, Aug 4, 2018 at 12:00 PM Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > Plugins should probably be de-scriptified for distribution for this > reason. > This would be very bad for Navigator. Navigator shows multiple copies of itself (as many as you like/can

Re: valueDiff for arrays?

2018-08-10 Thread Geoff Canyon via use-livecode
Are you working with "LiveCode UI elements appear in lists of stacks" enabled? I specifically named all the script behaviors for Navigator starting with "rev" and they don't show up in the Project Browser for me. Not that I had looked before this, I use Navigator for everything. ;-) On Sat, Aug

Re: Regaining IDE Efficiency: Property Inspector

2018-08-10 Thread Mark Wieder via use-livecode
On 08/10/2018 09:50 AM, Brian Milby via use-livecode wrote: > Scroll wheel is set to move the whole group, so any individual control is not touched. It does not move any content itself, just the whole “card”. ftfy: adding this handler to the script of field "value" of group "template" of

Re: Livecode Global

2018-08-10 Thread Mike Kerner via use-livecode
And you can pull all the recordings off the website. I'd say the beginner series is worth the price all by itself. That guy is AWESOME. Brian was ok, too. I don't remember anything earth-shattering, which is usually what gets people talking. Lots of good instructionals this time. On Fri, Aug

Re: Repeat for each element failing

2018-08-10 Thread Bob Sneidar via use-livecode
Belay that apparently while troubleshooting and modifying code, one of the records in the datagrid had an empty key value. Bob S > On Aug 10, 2018, at 13:20 , Bob Sneidar via use-livecode > wrote: > > Hi all. > > I have an array of arrays (think dgData) and I am starting a repeat loop

Repeat for each element failing

2018-08-10 Thread Bob Sneidar via use-livecode
Hi all. I have an array of arrays (think dgData) and I am starting a repeat loop like this: repeat for each element aSiteRecord in aSiteData ... I verified aSiteData is an array of arrays (it's the dgData of my sites datagrid) but when stepping in the debugger it goes right to the next

Re: Livecode Global

2018-08-10 Thread Tom Glod via use-livecode
right on happy to hear.I totally forgot about it...and no one reminded me didn't see anything on social media.maybe its just mebut maybe we'll try to create more awareness for the next one. perfect time to work on my talk. more than 1 month to go. thanks Brian On Fri, Aug

Re: Intersect outputs different result in desktop and LC server

2018-08-10 Thread Richard Gaskin via use-livecode
jbv wrote: > Is it me or is LC9 server much faster than previous versions ? A great many areas are measurably faster, some even noticeably faster. v7 was a transitional series, necessary for Unicode along with other deep revisions. As a first pass at such a broad scope of changes, many

Re: Regaining IDE Efficiency: Property Inspector

2018-08-10 Thread Bob Sneidar via use-livecode
Not complaining, just saying, the scrollwheel should scroll whatever target the mouse is hovering over. You can use the mouseControl for that. Bob S > On Aug 10, 2018, at 09:50 , Brian Milby via use-livecode > wrote: > > Scroll wheel is set to move the whole group, so any individual

Re: Livecode Global

2018-08-10 Thread Brian Milby via use-livecode
I’m biased since I gave a talk, but it was good. We do have 2 more. Thanks, Brian On Aug 10, 2018, 9:59 AM -0500, Tom Glod via use-livecode , wrote: > This might sound like a dumb question, but are the livecode global events > still going on for the remainder of the year? we just had one

Re: Regaining IDE Efficiency: Property Inspector

2018-08-10 Thread Brian Milby via use-livecode
Scroll wheel is set to move the whole group, so any individual control is not touched. It does not move any content itself, just the whole “card”. Thanks, Brian On Aug 10, 2018, 11:32 AM -0500, Mark Wieder via use-livecode , wrote: > On 08/09/2018 07:47 PM, Brian Milby via use-livecode wrote: >

Re: Tree View / Custom Properties PI

2018-08-10 Thread Curry Kenworthy via use-livecode
Brian: > So, it looks like adding 4 lines of code to the IDE > and changing 1 word in the Tree View widget source > can remove a few of the irritation points. Nice! Thanks for looking into this part of it. Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and

Re: Regaining IDE Efficiency: Property Inspector

2018-08-10 Thread Mark Wieder via use-livecode
On 08/09/2018 07:47 PM, Brian Milby via use-livecode wrote: For the PI, the raw keys are intercepted and scroll wheel is directed toward scrolling the PI group. So if you take the custom properties tab and grow it and then shrink it then the scroll wheel should work as expected to move the

Re: stackfiles

2018-08-10 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: >> On Aug 9, 2018, at 15:51 , Richard Gaskin wrote: >> >> Besides, even if you had two stacks whose stackFiles had the same >> stack short name assigned to different stackFiles, one of them >> wouldn't work anyway because as soon as it tried you'd get a stack >> name conflict

Re: Tree View / Custom Properties PI

2018-08-10 Thread Brian Milby via use-livecode
Events are sent when the button is clicked, just need to verify everything. It may require a different message, but have not gotten that far. Modifying the widget is easy though. Thanks, Brian On Aug 10, 2018, 10:24 AM -0500, Bob Sneidar via use-livecode , wrote: > And the + button is actually

Re: Tree View / Custom Properties PI

2018-08-10 Thread Bob Sneidar via use-livecode
And the + button is actually an element of the treeview widget, so good luck with that. You would have to trap for an event when the + button is clicked, and I think if I understand widgets, that the event would have to be exposed to the IDE by the widget. Bob S > On Aug 10, 2018, at 08:19

Re: Writing to SMB Share?

2018-08-10 Thread Bob Sneidar via use-livecode
That should work for any SMB connection that accepts UNC paths, regardless of OS. The downside of course is that the password is exposed in the script or in some stored property. A domain environment would assume the user is a domain user and authenticate against LDAP. Bob S > On Aug 10,

Re: Tree View / Custom Properties PI

2018-08-10 Thread Bob Sneidar via use-livecode
You would need to set the focus to the field for the key value when the + button was clicked. Unfortunately, the revInspector stack has a blank card, so apparently it is built "on the fly". I cannot discern what the field name or the + button name is. Bob S > On Aug 9, 2018, at 22:01 ,

Livecode Global

2018-08-10 Thread Tom Glod via use-livecode
This might sound like a dumb question, but are the livecode global events still going on for the remainder of the year? we just had one last month apparently...and there were no emails, no posts, literally nothing written about it anywhere that I saw. If anyone attended it how was it?

Re: stackfiles

2018-08-10 Thread Bob Sneidar via use-livecode
Hi Richard. I tested this. You don't get a conflict warning if the second stack attempts to open it's version of "splash" after the first stack had opened it's version. Instead, when the first stack has it's version of "splash" already opened, and the second stack tries to open it's "splash",

Re: Writing to SMB Share?

2018-08-10 Thread Matthias Rebbe via use-livecode
From which OS do you want to connect? From Linux you could include the username and password in the UNC. smb://username:passwort@servername/folder” But i am not sure, if this works when working in a domain structure. Regards Matthias > Am 10.08.2018 um 13:54 schrieb Malte Pfaff-Brill via

Writing to SMB Share?

2018-08-10 Thread Malte Pfaff-Brill via use-livecode
Hi folks, Is it possible to write to an SMB share which requires User authentication from within liveCode (Domain/User/password)? If so, I am glad for any pointers! Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please