Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread Matthias Rebbe via use-livecode
@Jerry @Brian Thanks to both of you. So i was remembering right that there was such a tool Will try tomorrow. Exporting will do. I can check the length of each file after export. @Richard Thanks, but i think i am okay with Brian´s tool. Most important for me is just the total number of lines of

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread Mark Wieder via use-livecode
On 3/12/19 4:30 PM, Richard Gaskin via use-livecode wrote: My old stats collection included a tool for measuring Cyclomatic Complexity, re-weighting McCabe's classic algo in ways that provide a better assessment that takes xTalk's unique language characteristics into account. At some point I

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread Richard Gaskin via use-livecode
Matthias Rebbe wrote: > i might be wrong, but i think to remember that there was a plugin or > tool available some (maybe long) time ago which was able to give some > stats about the scripts in a stack or was able to export all scripts > of a stack. I used to write things like that, but now tha

Re: Drag-and-Drop with Desktop Files

2019-03-12 Thread Bob Sneidar via use-livecode
I think he was trying to get the OS to tell him which files were hilited by the user without having to drag and drop. At least that is what I got from the post. Bob S > On Mar 12, 2019, at 11:17 , J. Landman Gay via use-livecode > wrote: > > See the entry for dragDrop in the dictionary. Yo

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread Brian Milby via use-livecode
I have a tool that exports the scripts of a stack but does not supply any stats. https://forums.livecode.com/viewtopic.php?f=77&t=31079 https://github.com/bwmilby/lc-misc/tree/master/ScriptTracker https://github.com/bwmilby/lc-misc/blob/master/ScriptTracker/ScriptTracker.md Thanks, Brian On Mar 1

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread JJS via use-livecode
check here: https://forums.livecode.com/viewtopic.php?f=77&p=174741#p174704 from brian milby, it's great. regards, Jerry Op 12-3-2019 om 22:00 schreef Matthias Rebbe via use-livecode: Hi, i might be wrong, but i think to remember that there was a plugin or tool available some (maybe long) t

get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread Matthias Rebbe via use-livecode
Hi, i might be wrong, but i think to remember that there was a plugin or tool available some (maybe long) time ago which was able to give some stats about the scripts in a stack or was able to export all scripts of a stack. If so, does anyone remember where to find that tool? Regards, Matthi

Re: Can't add column behavior

2019-03-12 Thread JJS via use-livecode
That's a smart idea. Thanks for mentioning it Bob. Regards, Jerry Op 12-3-2019 om 16:56 schreef Bob Sneidar via use-livecode: When I have encountered DG wierdness, that is what I do. In fact I have a script that backs up the important settings of a datagrid (column names, labels, widths etc

Re: Drag-and-Drop with Desktop Files

2019-03-12 Thread J. Landman Gay via use-livecode
See the entry for dragDrop in the dictionary. You can get the file paths from there. on dragDrop -- check for file paths get the dragData["files"] ... pass dragDrop end dragDrop On 3/12/19 10:46 AM, Bob Sneidar via use-livecode wrote: On a Mac you could just make an Applescript call to t

Re: Can't add column behavior

2019-03-12 Thread Bob Sneidar via use-livecode
When I have encountered DG wierdness, that is what I do. In fact I have a script that backs up the important settings of a datagrid (column names, labels, widths etc.) as a property of the card it's on, then another script that creates a new one and restores the settings. Bob S > On Mar 9, 2

Re: Drag-and-Drop with Desktop Files

2019-03-12 Thread Bob Sneidar via use-livecode
On a Mac you could just make an Applescript call to the Finder. Windows, I don't know. There is probably a powershell call that will do it. Bob S > On Mar 8, 2019, at 06:46 , R.H. via use-livecode > wrote: > > Desktop and IDE, mainly Windows 10 (could be any OS), LiveCode lastest > version.

Re: Statistics-Distributions_v105

2019-03-12 Thread Roger Guay via use-livecode
Herman, I’m not sure what you mean ""Coup de Graph” is seen ,,,”, but my stuff is built with a chain saw and chisel compared to your fine work. I didn’t see fit to announce it. Thanks again, Roger > On Mar 12, 2019, at 8:15 AM, hh via use-livecode > wrote: > > a side effect of my announcem

Re: Compiling Livecode

2019-03-12 Thread Richard Gaskin via use-livecode
David Bovill wrote: >> On 09/03/2019 Richard Gaskin wrote: >> >> David Bovill wrote: >> > No one using docker? >> >> https://hub.docker.com/r/techstrategies/livecode/ > > I tried that and have it hosted somewhere. By the way who is / are > "techstrategies". That's the "ts" in "tsNe

Re: Statistics-Distributions_v105

2019-03-12 Thread hh via use-livecode
Roger, a side effect of my announcement is that also your "Coup de Graph" is seen which opens a much wider field of applications. (You didn't announce it here in the list!sss?) So the same thanks to you. Hermann ___ use-livecode mailing list use-livec

Re: Statistics-Distributions_v105

2019-03-12 Thread Roger Guay via use-livecode
Herman, this is wonderful! I learn so much from you. Thank you! Roger > On Mar 12, 2019, at 7:18 AM, hh via use-livecode > wrote: > > > > This tabulates and displays 20 distributions: > > binomial, hypergeometric, negativebinomial, poisson, > arcsine, beta,cauchy, centralF, chisquare, expon

Statistics-Distributions_v105

2019-03-12 Thread hh via use-livecode
This tabulates and displays 20 distributions: binomial, hypergeometric, negativebinomial, poisson, arcsine, beta,cauchy, centralF, chisquare, exponential, gamma, invgamma, kumaraswamy, lognormal, normal, pareto, studentt, triangular, uniform and weibull. Uses jStat ( https://github.com/jstat/j

Re: acceleratedRendering bugs

2019-03-12 Thread Sphere via use-livecode
Thanks for your reply Randy. Nice app you made. I noticed it is sensitve and that the DG2 group with images and text got even slower. So i have to play some more to get it more smoother as it looked more cloggy when scrolling. i can try the max and see if it will have some effect. I also tried

Re: acceleratedRendering bugs

2019-03-12 Thread Randy Hengst via use-livecode
My work is only with iOS. So, no comments about Android… But, I found while working a recent iPad app (with many moving controls) that I needed to adjust the layerMode to dynamic and back to static after the move. I also increased the compositorCacheLimit as you noted… only I went up to 256*10