Re: Counting unique items in a file

2020-04-28 Thread Jim Lambert via use-livecode
function getUniqueNames inData,pColumn split inData by column split inData[pColumn] by return and return combine inData[pColumn] by return and space return inData[pColumn] end getUniqueNames Jim Lambert ___

Re: Three very simple questions

2020-04-28 Thread dunbarx--- via use-livecode
The user guide? It certainly is searchable. I do it all the time. Craig -Original Message- From: Graham Samuel via use-livecode To: How to use LiveCode Cc: Graham Samuel Sent: Tue, Apr 28, 2020 3:44 pm Subject: Re: Three very simple questions Bill, I think you’re right about the

Re: Three very simple questions

2020-04-28 Thread Brian Milby via use-livecode
Correct about the guide.  A PDF is included which can be searched (help... user guide).  There is a bug about the guide search.  It is probably going to take JavaScript though. Thanks, Brian On Apr 28, 2020, 3:44 PM -0400, Graham Samuel via use-livecode , wrote: > Bill, I think you’re right

Re: Three very simple questions

2020-04-28 Thread Graham Samuel via use-livecode
Bill, I think you’re right about the Guide not being searchable. I was going to point it out myself, but I began to think that I had used up my grumbling allowance, or at least I had not much left and needed to use it for other things. Of course the Giude should be searchable! Graham Re

Re: Another widget grumble

2020-04-28 Thread Niggemann, Bernd via use-livecode
> Alex Tweedly wrote: > How do you tell whether a widget is "part of the main product" ? > Or, conversely, how do you find out what other source it came from ? If you look at a widget in the Properties Inspector in the "basic" pane you will find its name and then "Kind" for the Cock widget:

Re: Mobile screen sizes - another naive question

2020-04-28 Thread Richard Gaskin via use-livecode
You never need an excuse with me. On the contrary, having an adventurous mind hardly needs an excuse at all. In fact, where you're headed is a potentially exciting place. I have a need for something tangentially related for a web production tool, where I need to reproduce in an LC lib some of

Re: Which git service suits a LiveCoder best?

2020-04-28 Thread Trevor DeVore via use-livecode
On Tue, Apr 28, 2020 at 8:50 AM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > I wouldn't say it's using levure as intended. > trevor, in his videos, anyway, does not export every script to an SOS, only > ones that are a certain length. if you do it that way, then

Re: Another widget grumble

2020-04-28 Thread Brian Milby via use-livecode
Anything you can find here can be updated by the community (either via PR, or compiled and used in your own project): https://github.com/livecode/livecode/tree/develop/extensions/widgets On Tue, Apr 28, 2020 at 11:26 AM Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > >

Re: Mobile screen sizes - another naive question

2020-04-28 Thread Richard Gaskin via use-livecode
Thank you for your feedback, Graham. If it takes more than a quick skim to get to the "a ha!" of using groups well to reduce scripting, I'll bet I can revise that to be clearer. Help me understand something - anyone, please chime in: Resizable windows have been around since the dawn of GUI

Re: Mobile screen sizes - another naive question

2020-04-28 Thread Alex Tweedly via use-livecode
Richard, it wasn't that you over-wrote it - the problem was I over-thought it. My excuse is that I have been thinking quite a bit this last week about whether there was a (simple enough) approach to layout that would allow "rows & columns" semi-flow layout to be nearly automatic, and be

Re: Another widget grumble

2020-04-28 Thread Alex Tweedly via use-livecode
On 28/04/2020 13:38, Brian Milby via use-livecode wrote: For any that are part of the main product, a PR to add that feature would not be very difficult.  If I get some time I will take a look.  I do agree that a distinct label would be a good idea for native control widgets. How do you

Re: Mobile screen sizes - another naive question

2020-04-28 Thread Richard Gaskin via use-livecode
Very good thoughts there, Alex. The assumptions you list would be important to keep in mind if one were aiming to generalize basic layout handling, with libraries that have nicely-designed APIs, or even further with virtual props that would lend themselves well to reducing things further to

Re: Which git service suits a LiveCoder best?

2020-04-28 Thread Mike Kerner via use-livecode
I wouldn't say it's using levure as intended. trevor, in his videos, anyway, does not export every script to an SOS, only ones that are a certain length. if you do it that way, then scriptTracker could be valuable. I choose to put every script in SOS's, so scriptTracker isn't particularly useful

Re: Mobile screen sizes - another naive question

2020-04-28 Thread Brian Milby via use-livecode
On the MobileDemo stack, there are a couple scripts that would be useful. https://github.com/bwmilby/mobileDemo/tree/master/mobileDemo_Scripts stack_MobileDemo_button_id_1024 stack_MobileDemo_card_id_1002 The button script is a behavior applied to 2 groups on the card. There are 6 buttons that

Re: Another widget grumble

2020-04-28 Thread Brian Milby via use-livecode
For any that are part of the main product, a PR to add that feature would not be very difficult.  If I get some time I will take a look.  I do agree that a distinct label would be a good idea for native control widgets. Thanks, Brian On Apr 28, 2020, 8:23 AM -0400, Graham Samuel via

Another widget grumble

2020-04-28 Thread Graham Samuel via use-livecode
I’m still trying to use the ‘mobile native’ style of widget. Previously I’ve objected to the idea of an object that displays its name and has no label or alias. My objection was mostly that names that the user sees often have spaces in them (“Stop Now” or whatever), whereas names with spaces in

Re: Mobile screen sizes - another naive question

2020-04-28 Thread Graham Samuel via use-livecode
Richard, thanks for these valuable insights. I am doing my best to absorb them as quick as I can, meanwhile making use of FullScreen mode just to get my app running before it becomes redundant. You are right, it has been very difficult to gather comprehensive info on the topic until now.