Re: Return Total of a Given Repeated Number in a List

2024-05-24 Thread Mike Kerner via use-livecode
i LOVE all of these solutions. chunking is so great. in every language i use, there are two things i always implement: * chunking * quicken date shortcuts On Fri, May 24, 2024 at 2:56 AM Andreas Bergendal via use-livecode < use-livecode@lists.runrev.com> wrote: > Another way to do it is this: > >

Re: Return Total of a Given Repeated Number in a List

2024-05-24 Thread Alex Tweedly via use-livecode
On 24/05/2024 13:35, Mike Kerner via use-livecode wrote: i LOVE all of these solutions. chunking is so great. in every language i use, there are two things i always implement: * chunking Yes. * quicken date shortcuts Alex. ___ use-livecod

Re: Return Total of a Given Repeated Number in a List

2024-05-24 Thread Bob Sneidar via use-livecode
Filter items of tList with 2;put the number of items of tList Bob S > On May 23, 2024, at 7:07 PM, Roger Guay via use-livecode > wrote: > > > Hi all, > > Please, what’s the easiest way to return the total number of a given repeated > number in a list of numbers? IOW, how many times is 2 re

Re: Return Total of a Given Repeated Number in a List

2024-05-24 Thread Bob Sneidar via use-livecode
Actually: put tList into tTest — so you don’t lose the original contents of tList filter items of tTest with 2 put the number of items of tTest Bob S > On May 24, 2024, at 8:23 AM, Bob Sneidar via use-livecode > wrote: > > Filter items of tList with 2;put the number of items of tList > > Bo

Re: Strange syntax in new widgets!?

2024-05-24 Thread Bob Sneidar via use-livecode
Yes I was very surprised when first working with widgets how limited their list of commands and properties are. The only widget I use is the segmented control, and only then because the tab panel looks godaweful ugly in Windows, and I can maintain visual constancy using the segmented control. We

Place Phone Call MacOS

2024-05-24 Thread Bob Sneidar via use-livecode
Hi all. With MacOS connected to my iPhone, I can place a phone call and use my computer speaker and Mic. I would like to create a button in my app to do that, but I cannot find any infor on how to craft a URL to do that. There probably is no URL type for that anyway. Is there any way I can d

Re: Place Phone Call MacOS

2024-05-24 Thread Andreas Bergendal via use-livecode
There is. The url type is ”tel”. launch url "tel:[phone number]” (Works in the IDE at least, can’t test standalone/app at the moment.) /Andreas > 24 maj 2024 kl. 18:20 skrev Bob Sneidar via use-livecode > : > > Hi all. > > With MacOS connected to my iPhone, I can place a phone call and use

Re: Place Phone Call MacOS

2024-05-24 Thread Paul Dupuis via use-livecode
FYI: launch url "tel:[phone number]" Works in LC on Windows 11 as well if you have paired your Android or iPhone with Windows. On 5/24/2024 12:28 PM, Andreas Bergendal via use-livecode wrote: There is. The url type is ”tel”. launch url "tel:[phone number]” (Works in the IDE at least, can’t

Re: Return Total of a Given Repeated Number in a List

2024-05-24 Thread Roger Guay via use-livecode
The single most important feature of LiveCode is this list. Thank you, Bob, Alex, Mike and Andreas Roger > On May 24, 2024, at 8:26 AM, Bob Sneidar via use-livecode > wrote: > > Actually: > > put tList into tTest — so you don’t lose the original contents of tList > filter items of tTest with