From panos.merakos at livecode.com Wed May 1 10:43:56 2024 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 1 May 2024 17:43:56 +0300 Subject: [[ ANN ]] Release 9.6.12 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.12 RC-1. LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, including support for adding a privacy manifest in your iOS app, which is a new requirement for AppStore submissions as of today. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From panos.merakos at livecode.com Wed May 1 10:48:48 2024 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 1 May 2024 17:48:48 +0300 Subject: [[ ANN ]] Release 10.0.0 DP-8 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 DP-8. LiveCode 10.0.0 DP-8 comes with 5 bugfixes since the previous DP release, and also includes the bug fixes of LiveCode 9.6.12 RC-1, including support for adding a privacy manifest in your iOS app, which is a new requirement for AppStore submissions as of today. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From bobsneidar at iotecdigital.com Wed May 1 12:39:38 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 May 2024 16:39:38 +0000 Subject: [[ ANN ]] Release 9.6.12 RC-1 In-Reply-To: References: Message-ID: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> License server is crashed. Livecode.com is down too it seems. Bob S > On May 1, 2024, at 7:43 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.12 RC-1. > > LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, > including support for adding a privacy manifest in your iOS app, which is a > new requirement for AppStore submissions as of today. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tj_frame at outlook.com Wed May 1 12:48:42 2024 From: tj_frame at outlook.com (TJ Frame) Date: Wed, 1 May 2024 16:48:42 +0000 Subject: [[ ANN ]] Release 9.6.12 RC-1 In-Reply-To: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> References: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> Message-ID: I'm currently downloading the update at an impressive 16kbs ________________________________ From: use-livecode on behalf of Bob Sneidar via use-livecode Sent: Wednesday, May 1, 2024 11:39 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: [[ ANN ]] Release 9.6.12 RC-1 License server is crashed. Livecode.com is down too it seems. Bob S > On May 1, 2024, at 7:43 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.12 RC-1. > > LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, > including support for adding a privacy manifest in your iOS app, which is a > new requirement for AppStore submissions as of today. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed May 1 12:56:51 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 May 2024 16:56:51 +0000 Subject: [[ ANN ]] Release 9.6.12 RC-1 In-Reply-To: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> References: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> Message-ID: <51203F90-B8D6-40C9-9837-BACB7883C3C8@iotecdigital.com> All better now. Bob S > On May 1, 2024, at 9:39 AM, Bob Sneidar wrote: > > License server is crashed. Livecode.com is down too it seems. > > Bob S > > >> On May 1, 2024, at 7:43 AM, panagiotis merakos via use-livecode wrote: >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.12 RC-1. >> >> LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, >> including support for adding a privacy manifest in your iOS app, which is a >> new requirement for AppStore submissions as of today. >> >> You can find more details on the bug fixes and improvements of this new >> release here: >> >> https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> The LiveCode Team >> >> >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Thu May 2 18:39:37 2024 From: tom at makeshyft.com (Tom Glod) Date: Thu, 2 May 2024 18:39:37 -0400 Subject: Game of Life as LiveCode web deployment In-Reply-To: References: Message-ID: Hey Andreas, This is very cool, its a good demo for the web engine. I still don't plan on deploying to the web, but its nice to see that its getting better. Thanks, Tom On Tue, Apr 30, 2024 at 5:27 AM Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > So, in my series of ”LiveCode projects that can be deployed straight to > web with almost no modification”, here is the LC implementation of Game of > Life that I created during the pandemic, with great help from Thierry D. > > https://wheninspace.com/gameoflife/ > > The only adaptation I have made is changing the save function for custom > seed patterns from local text file to browser local storage. > > I also threw in a new feature for importing RLE code (a common GoL seed > pattern format). > > It doesn’t have responsive design, so a large screen is recommended. > It does work on mobile though (at least iOS), albeit being a bit slow (and > you'll obviously need to scroll around to see things). > > Depending on your processor capacity, the web browser may choke and stall > on the fast progression rate, so you may then need to enter a longer > millisec delay value in the appropriate field and try again. > (As reference: On an iPad 6th gen a 600 millisec delay is needed, while on > a Mac Studio M1 Max just 40 millisecs is fine.) > > Have fun! :D > > /Andreas > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Thu May 2 19:56:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 May 2024 23:56:34 +0000 Subject: Supress Standalone Builder Warnings Message-ID: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> Hi all. I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? BTW the standalone building IS much faster with 9.6.12 (rc1) Bob S From jacque at hyperactivesw.com Thu May 2 20:40:59 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 May 2024 19:40:59 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> Message-ID: <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It's this: The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: > Hi all. > > I have about had it with the Standalone asking me if I want to save, purge > or cancel for stacks that are already open. I ONLY ever have one version of > any stack that is open, unless the Standalone Builder is leaving stack IN > the Standalone in memory, which would be breathtakingly bad programming, > and I do not think they are doing that. > > What I would like to do is edit the library that is popping up that dialog, > and setting it to where it always cancels (doesnt change anything). I know > I will have to update the library each time a new release came out but its > worth it just to avoid the hassle of quitting and relaunching every time a > different standalone need to be built. > > I tried editing the script of revSaveAsStandalone.livecode in the MacOS > bundle, but the word purge does not occur in the library. Any idea what > library is actually popping up that dialog? > > BTW the standalone building IS much faster with 9.6.12 (rc1) > > Bob S > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Thu May 2 21:20:04 2024 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 2 May 2024 18:20:04 -0700 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5FAB4468-7657-4BE4-AE55-960862EEDD5F@gmail.com> I build my complex apps using Trevor’s Levure Framework and never have an issue. If you don’t want to go that route, maybe there’s something in the framework you could borrow? --- Marty Knapp > On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: > > It's this: > > > The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: > >> Hi all. >> >> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >> >> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >> >> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >> >> BTW the standalone building IS much faster with 9.6.12 (rc1) >> >> Bob S From bobsneidar at iotecdigital.com Fri May 3 11:26:53 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 15:26:53 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque. I did attempt to deploy this solution a while back, but for whatever reason it failed to work, but I’m sure I missed something. I’m curious, should this also be applied to (pre) openCard / closeCard handlers as well? Thanks this is the simplest explanation I have seen. Bob S > On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: > > It's this: > > > The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: > >> Hi all. >> >> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >> >> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >> >> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >> >> BTW the standalone building IS much faster with 9.6.12 (rc1) >> >> Bob S >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 11:31:33 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 15:31:33 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <5FAB4468-7657-4BE4-AE55-960862EEDD5F@gmail.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5FAB4468-7657-4BE4-AE55-960862EEDD5F@gmail.com> Message-ID: <1C89AB61-A6C0-43DE-89B2-D6625E60DCCB@iotecdigital.com> Hi Marty. I really do want to convert to Levure, but I had a lot of refactoring to do to completely cut over to Andre’s Publish and Subscribe framework before I do that, and I am waiting until that is completed. I am just at the point now, so maybe that will be my next project. Bob S > On May 2, 2024, at 6:20 PM, Marty Knapp via use-livecode wrote: > > I build my complex apps using Trevor’s Levure Framework and never have an issue. If you don’t want to go that route, maybe there’s something in the framework you could borrow? > --- > Marty Knapp > >> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: >> >> It's this: >> >> >> The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: >> >>> Hi all. >>> >>> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >>> >>> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >>> >>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >>> >>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>> >>> Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri May 3 11:38:43 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 11:38:43 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: References: Message-ID: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> Bob: > I have about had it with the Standalone asking me if I want to > save, purge or cancel for stacks that are already open. Simplest way In card 1 of main stack to build: on closestack --- curryk 2020 no-purge LC build: if the environment is "development" then lock messages --- and only if add'l main stack issues: try # delete stack "XYZ" end try end if end closestack Jacqueline: > The engine used to lock messages when building a standalone > but that was changed 4 years ago. > Personally I think it causes more problems than it solves. Indeed; WAY more. Richard: > In MC building a standalone was not a disruptive process. > It shouldn't be in LC either, and certainly shouldn't > require modifying code just to build. Amen! Well said. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Fri May 3 12:26:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:26:41 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Unfortunately that is not working. I put the function that checks in the script of the mainStack, and that script gets set as a backScript on preOpenstack so that all the handlers in that stack are available in a Windows standalone (when the Windows builder breaks out all the sub stacks, the script of the mainStack is no longer in the message path). I then used the Find function to find all the (pre) openStack / closeStack handlers and add the statement at the beginning. However when I attempt to build for MacOS and Windows, or if I do a second build in the same Livecode session, I get the dreaded dialogs over, and over, and over…………. Again. Like 100 times. So my initial question is, what library actually pops up that dialog so I can force the cancel option every time, or is that something built into the engine? Bob S > On May 3, 2024, at 8:26 AM, Bob Sneidar wrote: > > Hi Jacque. > > I did attempt to deploy this solution a while back, but for whatever reason it failed to work, but I’m sure I missed something. I’m curious, should this also be applied to (pre) openCard / closeCard handlers as well? > > Thanks this is the simplest explanation I have seen. > > Bob S > > >> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: >> >> It's this: >> >> >> The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: >> >>> Hi all. >>> >>> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >>> >>> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >>> >>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >>> >>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>> >>> Bob S >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri May 3 12:29:46 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 11:29:46 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <18f3f4a5090.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think the pre* handlers would need it too but try without and see how it goes. It depends on where they are in the message hierarchy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 10:29:13 AM Bob Sneidar via use-livecode wrote: > Hi Jacque. > > I did attempt to deploy this solution a while back, but for whatever reason > it failed to work, but Im sure I missed something. Im curious, should > this also be applied to (pre) openCard / closeCard handlers as well? > > Thanks this is the simplest explanation I have seen. > > Bob S > > >> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode >> wrote: >> >> It's this: >> >> >> The engine used to lock messages when building a standalone but that was >> changed 4 years ago. Personally I think it causes more problems than it >> solves, but the solution is to add (multiple) handlers to your stack to >> avoid the dialog. Most of my stacks work okay without the additions, but if >> you have certain handlers in the message hierarchy you get the dialog. The >> code you need to add is in the link above. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode >> wrote: >> >>> Hi all. >>> >>> I have about had it with the Standalone asking me if I want to save, purge >>> or cancel for stacks that are already open. I ONLY ever have one version of >>> any stack that is open, unless the Standalone Builder is leaving stack IN >>> the Standalone in memory, which would be breathtakingly bad programming, >>> and I do not think they are doing that. >>> >>> What I would like to do is edit the library that is popping up that dialog, >>> and setting it to where it always cancels (doesnt change anything). I know >>> I will have to update the library each time a new release came out but its >>> worth it just to avoid the hassle of quitting and relaunching every time a >>> different standalone need to be built. >>> >>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS >>> bundle, but the word purge does not occur in the library. Any idea what >>> library is actually popping up that dialog? >>> >>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>> >>> Bob S >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 12:35:43 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:35:43 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3f4a5090.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <18f3f4a5090.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I did the pre’s as well. What about “before”? Bob S > On May 3, 2024, at 9:29 AM, J. Landman Gay via use-livecode wrote: > > I think the pre* handlers would need it too but try without and see how it goes. It depends on where they are in the message hierarchy. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 3, 2024 10:29:13 AM Bob Sneidar via use-livecode wrote: > >> Hi Jacque. >> >> I did attempt to deploy this solution a while back, but for whatever reason it failed to work, but I’m sure I missed something. I’m curious, should this also be applied to (pre) openCard / closeCard handlers as well? >> >> Thanks this is the simplest explanation I have seen. >> >> Bob S >> >> >>> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: >>> >>> It's this: >>> >>> >>> The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: >>> >>>> Hi all. >>>> >>>> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >>>> >>>> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >>>> >>>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >>>> >>>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>>> >>>> Bob S >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 12:39:35 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:39:35 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> Message-ID: <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> Hi Curry. I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? Bob S On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: Simplest way – In card 1 of main stack to build: on closestack --- curryk 2020 no-purge LC build: if the environment is "development" then lock messages --- and only if add'l main stack issues: try # delete stack "XYZ" end try end if end closestack From bobsneidar at iotecdigital.com Fri May 3 12:44:10 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:44:10 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> Message-ID: <1516ADAC-AE82-4AE6-B2B4-E993F875268C@iotecdigital.com> Also, isn’t the problem that when opening a stack Livecode detects the stack being opened has the same name as one already in memory? Bob S > On May 3, 2024, at 9:39 AM, Bob Sneidar via use-livecode wrote: > > Hi Curry. > > I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? > > Bob S > > > On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: > > Simplest way – In card 1 of main stack to build: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is "development" then > lock messages > --- and only if add'l main stack issues: > try > # delete stack "XYZ" > end try > end if > end closestack > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 13:22:57 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 17:22:57 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <1516ADAC-AE82-4AE6-B2B4-E993F875268C@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <1516ADAC-AE82-4AE6-B2B4-E993F875268C@iotecdigital.com> Message-ID: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> OK so in the process of all this, my original stack Forms Generator 8 has been OVERWRITTEN with the version the Standalone Builder created. So… anybody on this list do NOT follow the instructions in this thread, unless you make backups of all your stacks first, which thankfully I have done. Bob S > On May 3, 2024, at 9:44 AM, Bob Sneidar via use-livecode wrote: > > Also, isn’t the problem that when opening a stack Livecode detects the stack being opened has the same name as one already in memory? > > Bob S > > >> On May 3, 2024, at 9:39 AM, Bob Sneidar via use-livecode wrote: >> >> Hi Curry. >> >> I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? >> >> Bob S >> >> >> On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: >> >> Simplest way – In card 1 of main stack to build: >> >> on closestack >> --- curryk 2020 no-purge LC build: >> if the environment is "development" then >> lock messages >> --- and only if add'l main stack issues: >> try >> # delete stack "XYZ" >> end try >> end if >> end closestack >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri May 3 13:40:24 2024 From: paul at researchware.com (Paul Dupuis) Date: Fri, 3 May 2024 13:40:24 -0400 Subject: Livecode startup messages... Message-ID: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." This dialog may appear on earlier versions - I forget if I had seen it previously. Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". From bobsneidar at iotecdigital.com Fri May 3 13:43:53 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 17:43:53 +0000 Subject: Livecode startup messages... In-Reply-To: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> Message-ID: <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> I think this has come up before, but I forget the resolution. Did you search the forums? Bob S > On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: > > When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." > > This dialog may appear on earlier versions - I forget if I had seen it previously. > > Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri May 3 14:10:50 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 14:10:50 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> References: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> Message-ID: Bob: > put this in the closeStack of the splash stack or the main stack? As it says - the 'stack to build' - saving standalone from. > Also, isnt the problem that when opening a stack Livecode detects > the stack being opened has the same name as one already in memory? As Jacqueline said: > The engine used to lock messages when building a standalone > but that was changed 4 years ago. Bob: > make backups of all your stacks first Of course, and don't mix/match methods, or ignore your project setup - Code in use 4 years, no issues; restores LC's own original SB technique! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From paul at researchware.com Fri May 3 14:16:07 2024 From: paul at researchware.com (Paul Dupuis) Date: Fri, 3 May 2024 14:16:07 -0400 Subject: Livecode startup messages... In-Reply-To: <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> Message-ID: <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> I had not searched the forums, but I just did for "Waiting for printer" and "printer connections" and neither phrase turned up anything related to the dialog that appears on startup (unfortunately). Maybe under another search term, but the general term of "printer" returns 38 screens of forum messages! Good suggestion though. Thank you. On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: > I think this has come up before, but I forget the resolution. Did you search the forums? > > Bob S > > >> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: >> >> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." >> >> This dialog may appear on earlier versions - I forget if I had seen it previously. >> >> Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 14:33:03 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 18:33:03 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> Message-ID: Okay, well this is better. When building for MacOS and Windows simultaneously, I only get the dialog twice, whether or not I delete the main stack or no. But if I leave Livecode running and then try to open the main stack, I get all the dialogs. I think the problem is that the Livecode Standalone builder is leaving files open from the standalone that ought not be left open. The Standalone Builder should build a list of all the file paths of all open stacks (that are not native to Livecode itself) prior to the build, then close them all, then build the standalone, then close. any stacks opened in that process, then restore the old environment by re-opening the stacks that were open prior to the build. That is the only way I can see to make the process as clean as possible. The end goal here has to be to leave the environment in the exact state that it was prior to building. I doubt that will ever get implemented, but that has to be how it works. I think I can develop a workaround myself, and will probably do that and share it with everyone. Bob S > On May 3, 2024, at 11:10 AM, Curry Kenworthy via use-livecode wrote: > > Bob: > > > put this in the closeStack of the splash stack or the main stack? > > As it says - the 'stack to build' - saving standalone from. > > > Also, isn’t the problem that when opening a stack Livecode detects > > the stack being opened has the same name as one already in memory? > > As Jacqueline said: > > > The engine used to lock messages when building a standalone > > but that was changed 4 years ago. > > Bob: > > > make backups of all your stacks first > > Of course, and don't mix/match methods, or ignore your project setup - > > Code in use 4 years, no issues; restores LC's own original SB technique! > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Fri May 3 14:48:39 2024 From: david.bovill at gmail.com (David Bovill) Date: Fri, 3 May 2024 19:48:39 +0100 Subject: Livecode Login stuck pinging Facebook? In-Reply-To: <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> Message-ID: I can't login to my account and register the new dp8 - or login via the web site. Something Livecode server end? From curry at pair.com Fri May 3 14:53:59 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 14:53:59 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: References: Message-ID: <4e2d9f77-1cf1-4f1f-9294-43f581862f1f@pair.com> Bob: > Okay, well this is better. I only get the dialog twice, > whether or not I delete the main stack or no. > Standalone builder is leaving files open from the standalone > that ought not be left open. Yes, thats what this last part does - Comments edited for clarity! --- and only if add'l main stack(s) with issues: try # delete stack "ABC" # delete stack "XYZ" --- etc end try Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From jacque at hyperactivesw.com Fri May 3 15:03:42 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 14:03:42 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> Message-ID: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think the problem is in the splash stack, which is where the blocking handlers should go. When LC builds a standalone, it clones the one in the IDE and creates the standalone from that. Then it reopens the original which now triggers all the handlers in the original. You don't really need to worry about the other stacks, just the one that triggers the opening of the working stack(s). When the SB finishes, it will reopen the splash and the blocks will prevent any other stacks from loading into memory. That may mean you need to use the message box to trigger the handler that opens the others right after the SB finishes. The problem may be that LC doesn't close its own copy properly before reopening the original. I'd submit a bug report and include your stack(s) so they can take a look. Ideally there would be an option or property that would let us decide whether messages should be locked or not. It would be nice if the engine could store variable values, create the standalone with messages locked, and then restore the values after the build. I'm not sure Curry's suggestion will work, since the SB manages lockmessages on its own. I've tried scripting a lock messages and it was ignored. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 11:41:24 AM Bob Sneidar via use-livecode wrote: > Hi Curry. > > I use a Splash Stack which then opens what I call the mainStack. Should I > put this in the closeStack of the splash stack or the main stack? > > Bob S > > > On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode > wrote: > > Simplest way In card 1 of main stack to build: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is "development" then > lock messages > --- and only if add'l main stack issues: > try > # delete stack "XYZ" > end try > end if > end closestack > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri May 3 15:19:26 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 14:19:26 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> Message-ID: <18f3fe5a630.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> In that case, I'll have to try it next time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 1:13:03 PM Curry Kenworthy via use-livecode wrote: > Code in use 4 years, no issues; restores LC's own original SB technique! From bobsneidar at iotecdigital.com Fri May 3 16:13:06 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 20:13:06 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Well I gave that a try, only using your method in the splash stack. I get the same results as Curry, I get two dialogs complaining there are open stacks on the second platform build, then when I try to open the Main Stack without quitting and relaunching Livecode, I get the dialog for every stack that I start using in the main stack. As I said, I think the trick has to be to find a way to save the state of the environment before building for a platform, close all non-native stacks, do the build, again close all non-native stacks, then restore the stacks from the saved environment. I am working on that now and it should be fairly trivial. Bob S > On May 3, 2024, at 12:03 PM, J. Landman Gay via use-livecode wrote: > > I think the problem is in the splash stack, which is where the blocking handlers should go. When LC builds a standalone, it clones the one in the IDE and creates the standalone from that. Then it reopens the original which now triggers all the handlers in the original. You don't really need to worry about the other stacks, just the one that triggers the opening of the working stack(s). When the SB finishes, it will reopen the splash and the blocks will prevent any other stacks from loading into memory. That may mean you need to use the message box to trigger the handler that opens the others right after the SB finishes. > > The problem may be that LC doesn't close its own copy properly before reopening the original. I'd submit a bug report and include your stack(s) so they can take a look. Ideally there would be an option or property that would let us decide whether messages should be locked or not. It would be nice if the engine could store variable values, create the standalone with messages locked, and then restore the values after the build. > > I'm not sure Curry's suggestion will work, since the SB manages lockmessages on its own. I've tried scripting a lock messages and it was ignored. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 3, 2024 11:41:24 AM Bob Sneidar via use-livecode wrote: > >> Hi Curry. >> >> I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? >> >> Bob S >> >> >> On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: >> >> Simplest way – In card 1 of main stack to build: >> >> on closestack >> --- curryk 2020 no-purge LC build: >> if the environment is "development" then >> lock messages >> --- and only if add'l main stack issues: >> try >> # delete stack "XYZ" >> end try >> end if >> end closestack >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Fri May 3 16:30:34 2024 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 3 May 2024 16:30:34 -0400 Subject: Livecode Login stuck pinging Facebook? In-Reply-To: References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> Message-ID: I'm completely locked out -- my Mac happened to open dp8, took me to the registration saying I wasn't recognized, and now all versions of LC take me to the registration page. I can't login at the web site either, and trying to reset my password doesn't email me. very sad face gc On Fri, May 3, 2024 at 2:50 PM David Bovill via use-livecode < use-livecode at lists.runrev.com> wrote: > I can't login to my account and register the new dp8 - or login via the web > site. Something Livecode server end? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curry at pair.com Fri May 3 16:52:54 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 16:52:54 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Jacqueline: > In that case, I'll have to try it next time. Yes, not merely a suggestion; already works with SB here. :) > I get the same results as Curry, > I get two dialogs complaining there are open stacks Not as Curry; that's due to a partial implementation. See follow up. But you are working on same thing - Have fun! Easy code, already solved, done. Just hard to type a long discussion - Can't wait to get AAC app set up better, and do this more often! Ultimately, though ... Richard: > In MC building a standalone was not a disruptive process. > It shouldn't be in LC either, and certainly shouldn't > require modifying code just to build. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Fri May 3 16:58:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 20:58:07 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> Okay I think I traced the issue down to the fact that I “start using” a LOT of stacks, 64 to be exact, and I think that includes all the behaviors as well as the libraries. When I quit (or Livecode deletes) the mainStack, it does NOT delete all the stacksInUse. I think my solution will be to close all the Stack Files of the main stack upon closing the Main Stack. Bob S From matthias_livecode_150811 at m-r-d.de Fri May 3 17:33:09 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 3 May 2024 23:33:09 +0200 Subject: Livecode startup messages... In-Reply-To: <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> Message-ID: <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> There was a problem in the past where standalones were LC IDE, LC Instaler and standalones were crashing on startup. >> This is what Panos wrote about it: We recently fixed a bug (affecting mainly Windows 11) where the LC installer, the LC IDE and Windows standalones were crashing on startup. It turned out this was caused if some generic printer drivers were installed in the device, and installing the official printer drivers from the vendor's website prevented the crash. We had reports for Brother printers, Epson and HP if I remember correctly. The fix we added did fix the crash, but in some cases caused a delay on startup, if the device still had the "generic" printer driver installed. << Maybe there is a regression in some way that LC now does not crash but shows the messages. Could you try the following? 1. Open Windows Task Manager 2. Search for a process named "Spooler Subsystem app" or just "Print Spooler" 3. Force quit this process If this solves it, then it seems to be a regression in the new LC dp builds. Regards, Matthias > Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode : > > I had not searched the forums, but I just did for "Waiting for printer" and "printer connections" and neither phrase turned up anything related to the dialog that appears on startup (unfortunately). Maybe under another search term, but the general term of "printer" returns 38 screens of forum messages! Good suggestion though. Thank you. > > > On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >> I think this has come up before, but I forget the resolution. Did you search the forums? >> >> Bob S >> >> >>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: >>> >>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." >>> >>> This dialog may appear on earlier versions - I forget if I had seen it previously. >>> >>> Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 18:12:49 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 22:12:49 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> Message-ID: I think I have solved (but not resolved) the mystery. My main stack has a lot of behaviors, which of course are enumerated in the stackFiles. When the standalone is created, the builder closes the copy of the main stack but it apparently leaves all the COPIES of the behavior stacks in memory. When I open the original Mainstack, duplicate stacks are still open. There seems to be no way to delete (close) the copies, because there is no variable it seems that contains the names of all the behavior stacks left in memory by the standalone builder. They do not appear in the openStacks or the stacksInUse. They are not the same stacks as the stackFiles of the original mainstack. What really needs to happen, and I have said this before, the standalone builder needs to keep track of all the files it puts in memory, and then close them each time a bild is made for each platform. This is a bug and I will report it as such. Bob S > On May 3, 2024, at 1:58 PM, Bob Sneidar via use-livecode wrote: > > Okay I think I traced the issue down to the fact that I “start using” a LOT of stacks, 64 to be exact, and I think that includes all the behaviors as well as the libraries. When I quit (or Livecode deletes) the mainStack, it does NOT delete all the stacksInUse. > > I think my solution will be to close all the Stack Files of the main stack upon closing the Main Stack. > > Bob S From bobsneidar at iotecdigital.com Fri May 3 18:19:40 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 22:19:40 +0000 Subject: Livecode startup messages... In-Reply-To: <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> Message-ID: <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Interesting. As I’ve mentioned I install and provide IT support for copiers and printers. Ever since Windows 8 (I believe) Microsoft has been providing built in drivers for these devices, and they use what is called a WSD (Windows Service Daemon) port instead of a typical TCP/IP port. If you go to install a printer and you see a list of icons representing the discovered printers on the network, NEVER EVER USE THEM! Manufacturers will not support them, and they cause all kinds of issues. ALWAYS select “The device I want isn’t listed” and use the standard TCP/IP method of installing a printer, or better yet the manufacturer probably supplies an executable either downloaded or on a CD ROM. Use that. Of course, that does not help LC devs who are deploying apps to end users who cannot be told what to do. Bob S > On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode wrote: > > There was a problem in the past where standalones were LC IDE, LC Instaler and standalones were crashing on startup. >>> > This is what Panos wrote about it: > We recently fixed a bug (affecting mainly Windows 11) where the LC > installer, the LC IDE and Windows standalones were crashing on startup. It > turned out this was caused if some generic printer drivers were installed > in the device, and installing the official printer drivers from the > vendor's website prevented the crash. We had reports for Brother printers, > Epson and HP if I remember correctly. > > The fix we added did fix the crash, but in some cases caused a delay on > startup, if the device still had the "generic" printer driver installed. > << > > > Maybe there is a regression in some way that LC now does not crash but shows the messages. > > Could you try the following? > > 1. Open Windows Task Manager > 2. Search for a process named "Spooler Subsystem app" or just "Print > Spooler" > 3. Force quit this process > > If this solves it, then it seems to be a regression in the new LC dp builds. > > Regards, > > Matthias > > > > >> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode : >> >> I had not searched the forums, but I just did for "Waiting for printer" and "printer connections" and neither phrase turned up anything related to the dialog that appears on startup (unfortunately). Maybe under another search term, but the general term of "printer" returns 38 screens of forum messages! Good suggestion though. Thank you. >> >> >> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >>> I think this has come up before, but I forget the resolution. Did you search the forums? >>> >>> Bob S >>> >>> >>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: >>>> >>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." >>>> >>>> This dialog may appear on earlier versions - I forget if I had seen it previously. >>>> >>>> Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri May 3 20:13:55 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 19:13:55 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> Message-ID: <18f40f341b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I get it now. The way I work around this is to close all stacks and remove from memory (or just relaunch LC,) turn off messages in the toolbar, and open the splash stack. That prevents the other stacks from opening. Build the standalone and you shouldn't have any trouble, except for remembering to do the dance. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 5:14:49 PM Bob Sneidar via use-livecode wrote: > I think I have solved (but not resolved) the mystery. My main stack has a > lot of behaviors, which of course are enumerated in the stackFiles. > > When the standalone is created, the builder closes the copy of the main > stack but it apparently leaves all the COPIES of the behavior stacks in > memory. When I open the original Mainstack, duplicate stacks are still > open. There seems to be no way to delete (close) the copies, because there > is no variable it seems that contains the names of all the behavior stacks > left in memory by the standalone builder. They do not appear in the > openStacks or the stacksInUse. They are not the same stacks as the > stackFiles of the original mainstack. > > What really needs to happen, and I have said this before, the standalone > builder needs to keep track of all the files it puts in memory, and then > close them each time a bild is made for each platform. > > This is a bug and I will report it as such. > > Bob S > > >> On May 3, 2024, at 1:58 PM, Bob Sneidar via use-livecode >> wrote: >> >> Okay I think I traced the issue down to the fact that I start using a LOT >> of stacks, 64 to be exact, and I think that includes all the behaviors as >> well as the libraries. When I quit (or Livecode deletes) the mainStack, it >> does NOT delete all the stacksInUse. >> >> I think my solution will be to close all the Stack Files of the main stack >> upon closing the Main Stack. >> >> Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 20:44:39 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 4 May 2024 00:44:39 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f40f341b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> <18f40f341b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> Yeah I do that now. Maybe I’m just majoring in the minors, but it ought to just work out of the box, and it irks me that it doesn’t. The Dev team ought to have one dev dedicated to quashing these niggling bugs. Sent from my iPhone > On May 3, 2024, at 17:15, J. Landman Gay via use-livecode wrote: > > I get it now. The way I work around this is to close all stacks and remove from memory (or just relaunch LC,) turn off messages in the toolbar, and open the splash stack. That prevents the other stacks from opening. Build the standalone and you shouldn't have any trouble, except for remembering to do the dance From curry at pair.com Sat May 4 05:10:19 2024 From: curry at pair.com (Curry Kenworthy) Date: Sat, 4 May 2024 05:10:19 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> References: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> Message-ID: Thus, I'm pleased to have created the only (?) complete lower-code workaround for smooth standalone building, without needing to do the dance to avoid LC purge dialogs, nor tweak many handlers. ;) So here is the authentic tried-and-true workaround code again, with Comments Edited for stronger clarity versus hasty/casual reading! Solved AND resolved, these 4 years But of course, needing ANY workaround for LC standalone building is just plain wrong! That is awkward and a little creepy; it should indeed work right out of the box without modifying code just to build as someone already said it well. I hope EVERYONE will encourage LC to fix this SB issue. Meanwhile... Simplest way In card 1 of main stack to build from: on closestack --- curryk 2020 no-purge LC build: if the environment is "development" then lock messages --- and only if add'l loaded MAIN stacks with issues: try # delete stack "ABC" # delete stack "XYZ" --- etc end try end if end closestack Of course, for a build workaround (or any LC work!) backup your stacks first, and don't mix/match methods without caution or ignore project setup. Read carefully to understand code and comments, and see delete stack in LC reference. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Sun May 5 20:37:27 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 May 2024 00:37:27 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> Message-ID: Yes but as I mentioned, that did not work for me. I still got the two messages after the first build, then messages for ALL my subsequent stack files for build attempts afterwards. I’ll try again tomorrow. Sent from my iPhone > On May 4, 2024, at 02:12, Curry Kenworthy via use-livecode wrote: > > Thus, I'm pleased to have created the only (?) complete lower-code workaround for smooth standalone building, without needing to do ‘the dance’ to avoid LC purge dialogs, nor tweak many handlers. ;) > > So here is the authentic tried-and-true workaround code again, with Comments Edited for stronger clarity versus hasty/casual reading! > > Solved AND resolved, these 4 years – > > But of course, needing ANY workaround for LC standalone building is just plain wrong! > > That is awkward and a little creepy; it should indeed work right out of the box without ‘modifying code just to build’ as someone already said it well. I hope EVERYONE will encourage LC to fix this SB issue. > > Meanwhile... Simplest way – In card 1 of main stack to build from: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is "development" then > lock messages > --- and only if add'l loaded MAIN stacks with issues: > try > # delete stack "ABC" > # delete stack "XYZ" --- etc > end try > end if > end closestack > > Of course, for a build workaround (or any LC work!) backup your stacks first, and don't mix/match methods without caution or ignore project setup. Read carefully to understand code and comments, and see ‘delete stack’ in LC reference. > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Mon May 6 07:48:22 2024 From: curry at pair.com (Curry Kenworthy) Date: Mon, 6 May 2024 07:48:22 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: References: Message-ID: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> Bob: > Yes but as I mentioned, that did not work for me. You used something DIFFERENT (a partial implementation) so different results - Thats fine; its just not this particular workaround! I think you misread a code comment, now edited for clarity.... > I still got the two messages after the first build, > then messages for ALL my subsequent stack files Thats what the last part does: close (delete) any ADDITIONAL problematic main stacks in memory - (NOT the build stack again!) - to avoid subsequent dialogs. Then ... smooth building, here, ever since. Your auto detection effort would be very useful, but just manually identify the SPECIFIC problem stacks, per the dialogs and delete the MAIN stacks thereof in the code. If more than a couple main stacks to delete, I would use repeat with a test or try. Likewise, the isBuildingStandalone() function from Panos could provide a more specific closestack trigger if needed for splash stack, but I havent tried it in this workaround. Whether behaviors or other issues could ever require an extra step, obviously we CAN enjoy the same build experience as pre-2020 SB, by simply using the same techniques! Just as I have. > [Standalone Builder] ought to just work out of the box YES! Reported (again) to LC yet? It is a bug/defect, but that was denied at the time. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Mon May 6 11:39:47 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 May 2024 15:39:47 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> References: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> Message-ID: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> Hi Curry. Thanks for your help and Jacque as well. I did as you say, in card 1 of the splash stack (which is the stack I build from because I do not have the need to modify it runtime) I have this code in the card script: on closestack --- curryk 2020 no-purge LC build: if the environment is “development" then lock messages --- and only if add'l loaded MAIN stacks with issues: try save stack "Forms Generator" delete stack "Forms Generator" # delete stack "XYZ" --- etc end try end if end closestack The result is the first time I build everything goes smoothly (as it always has.) The SECOND time I build I get an alert dialog for every stack that is a behavior of something in the Main Stack or that I started using (library I guess). The standalone Builder opens COPIES of these stacks to add to the standalone, then LEAVES THEM OPEN IN MEMORY. THAT is the heart of the matter. The SB ought not to do that! (I’m talking to you LC devs.) I suppose I could enumerate all of those and then just have code that statically closes each stack. That is probably what I will do. Deleting the main stack does not delete the COPIES of those library or behavior stacks. In summary the problem is not what is open when I go to build. The problem is what is open after I build. Anyway, my thanks again for everyone who offered a suggestion on how to resolve this. Sometime the brute force workaround is the only workaround. Bob S > On May 6, 2024, at 4:48 AM, Curry Kenworthy via use-livecode wrote: > > > Bob: > > > Yes but as I mentioned, that did not work for me. > > You used something DIFFERENT (a partial implementation) so different results - > > That’s fine; it’s just not this particular workaround! 😊 > > I think you misread a code comment, now edited for clarity.... > > > I still got the two messages after the first build, > > then messages for ALL my subsequent stack files > > That’s what the last part does: close (‘delete’) any ADDITIONAL problematic main stacks in memory - > > (NOT the build stack again!) - to avoid subsequent dialogs. > > Then ... smooth building, here, ever since. > > Your auto detection effort would be very useful, but just manually identify the SPECIFIC problem stacks, per the dialogs – and ‘delete’ the MAIN stacks thereof in the code. > > If more than a couple main stacks to delete, I would use repeat with a test or try. Likewise, the isBuildingStandalone() function from Panos could provide a more specific closestack trigger if needed for splash stack, but I haven’t tried it in this workaround. > > Whether behaviors or other issues could ever require an extra step, obviously we CAN enjoy the same build experience as pre-2020 SB, by simply using the same techniques! Just as I have. > > > [Standalone Builder] ought to just work out of the box > > YES! Reported (again) to LC yet? > > It is a bug/defect, but that was denied at the time. > > Best wishes, > > Curry Kenworthy > From klaus at major-k.de Mon May 6 12:15:15 2024 From: klaus at major-k.de (Klaus major-k) Date: Mon, 6 May 2024 18:15:15 +0200 Subject: Supress Standalone Builder Warnings In-Reply-To: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> References: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> Message-ID: <71092D57-D221-4C06-BC9D-1FDE67EFF841@major-k.de> Hi all, as I already wrote in this thread in the LC forum: -> Maybe the mothership could add another "messageless" application which will create the standalone(s)? See here: > Am 06.05.2024 um 17:39 schrieb Bob Sneidar via use-livecode : > > Hi Curry. Thanks for your help and Jacque as well. > > I did as you say, in card 1 of the splash stack (which is the stack I build from because I do not have the need to modify it runtime) I have this code in the card script: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is “development" then > lock messages > --- and only if add'l loaded MAIN stacks with issues: > try > save stack "Forms Generator" > delete stack "Forms Generator" > # delete stack "XYZ" --- etc > end try > end if > end closestack > > The result is the first time I build everything goes smoothly (as it always has.) The SECOND time I build I get an alert dialog for every stack that is a behavior of something in the Main Stack or that I started using (library I guess). > > The standalone Builder opens COPIES of these stacks to add to the standalone, then LEAVES THEM OPEN IN MEMORY. THAT is the heart of the matter. The SB ought not to do that! (I’m talking to you LC devs.) > > I suppose I could enumerate all of those and then just have code that statically closes each stack. That is probably what I will do. > Deleting the main stack does not delete the COPIES of those library or behavior stacks. > In summary the problem is not what is open when I go to build. The problem is what is open after I build. > Anyway, my thanks again for everyone who offered a suggestion on how to resolve this. Sometime the brute force workaround is the only workaround. > > Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From curry at pair.com Wed May 8 11:56:28 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 8 May 2024 11:56:28 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> References: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> Message-ID: <57636eae-b0f0-4005-90ba-dc6e6b026db4@pair.com> Bob: > Thanks for your help and Jacque as well. Very welcome, good topic! But STILL a different/partial implementation Main stacks triggers wrong connotation for you. Not the build stack .... or the project stack ... but, in your case: > library or behavior stacks Yes, THOSE! Whatever stacks are identified via subsequent dialogs. > I could enumerate all of those and then just have code that > statically closes each stack. Yep, thats the delete part. Only the ones announced in dialogs. If more than a couple, use a repeat to test or try each separately. (MAIN stacks, not substacks, for safety with LC delete stack!) > The SB ought not to do that! Very true. Reported (again) to LC yet? Already resolved for my project though, so I will focus on other LC issues here, after a break for more AAC setup! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From MikeKerner at roadrunner.com Wed May 8 13:20:11 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 8 May 2024 13:20:11 -0400 Subject: Livecode startup messages... In-Reply-To: <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Message-ID: this is not just a lc issue we use 4d, extensively, and every time a 4d client starts on windows, the same message appears On Fri, May 3, 2024 at 6:20 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Interesting. As I’ve mentioned I install and provide IT support for > copiers and printers. Ever since Windows 8 (I believe) Microsoft has been > providing built in drivers for these devices, and they use what is called a > WSD (Windows Service Daemon) port instead of a typical TCP/IP port. > > If you go to install a printer and you see a list of icons representing > the discovered printers on the network, NEVER EVER USE THEM! Manufacturers > will not support them, and they cause all kinds of issues. ALWAYS select > “The device I want isn’t listed” and use the standard TCP/IP method of > installing a printer, or better yet the manufacturer probably supplies an > executable either downloaded or on a CD ROM. Use that. > > Of course, that does not help LC devs who are deploying apps to end users > who cannot be told what to do. > > Bob S > > > > On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > There was a problem in the past where standalones were LC IDE, LC > Instaler and standalones were crashing on startup. > >>> > > This is what Panos wrote about it: > > We recently fixed a bug (affecting mainly Windows 11) where the LC > > installer, the LC IDE and Windows standalones were crashing on startup. > It > > turned out this was caused if some generic printer drivers were installed > > in the device, and installing the official printer drivers from the > > vendor's website prevented the crash. We had reports for Brother > printers, > > Epson and HP if I remember correctly. > > > > The fix we added did fix the crash, but in some cases caused a delay on > > startup, if the device still had the "generic" printer driver installed. > > << > > > > > > Maybe there is a regression in some way that LC now does not crash but > shows the messages. > > > > Could you try the following? > > > > 1. Open Windows Task Manager > > 2. Search for a process named "Spooler Subsystem app" or just "Print > > Spooler" > > 3. Force quit this process > > > > If this solves it, then it seems to be a regression in the new LC dp > builds. > > > > Regards, > > > > Matthias > > > > > > > > > >> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> I had not searched the forums, but I just did for "Waiting for printer" > and "printer connections" and neither phrase turned up anything related to > the dialog that appears on startup (unfortunately). Maybe under another > search term, but the general term of "printer" returns 38 screens of forum > messages! Good suggestion though. Thank you. > >> > >> > >> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: > >>> I think this has come up before, but I forget the resolution. Did you > search the forums? > >>> > >>> Bob S > >>> > >>> > >>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) > Standalones build with either of those versions starts up, on Windows 11, > there is a dialog that appear stating "Waiting for printer connections..." > >>>> > >>>> This dialog may appear on earlier versions - I forget if I had seen > it previously. > >>>> > >>>> Is there some setting to prevent or hide this dialog? In my > standalone app, I have customers asking what is it and find it "annoying". > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From paul at researchware.com Wed May 8 16:01:52 2024 From: paul at researchware.com (Paul Dupuis) Date: Wed, 8 May 2024 16:01:52 -0400 Subject: Livecode startup messages... In-Reply-To: References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Message-ID: Yes, I figured that out earlier this week and just hadn't had time to post. It is some sort of Windows 11 issue and not on all Windows 11 systems. Still don't know what it is. The 3 printers on our office network are all HPs and I think all my drivers are up to date. I also have a couple of different PDF printer drivers installed (Microsoft's, Foxit's and one other) On 5/8/2024 1:20 PM, Mike Kerner via use-livecode wrote: > this is not just a lc issue > we use 4d, extensively, and every time a 4d client starts on windows, the > same message appears > > On Fri, May 3, 2024 at 6:20PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Interesting. As Ive mentioned I install and provide IT support for >> copiers and printers. Ever since Windows 8 (I believe) Microsoft has been >> providing built in drivers for these devices, and they use what is called a >> WSD (Windows Service Daemon) port instead of a typical TCP/IP port. >> >> If you go to install a printer and you see a list of icons representing >> the discovered printers on the network, NEVER EVER USE THEM! Manufacturers >> will not support them, and they cause all kinds of issues. ALWAYS select >> The device I want isnt listed and use the standard TCP/IP method of >> installing a printer, or better yet the manufacturer probably supplies an >> executable either downloaded or on a CD ROM. Use that. >> >> Of course, that does not help LC devs who are deploying apps to end users >> who cannot be told what to do. >> >> Bob S >> >> >>> On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> There was a problem in the past where standalones were LC IDE, LC >> Instaler and standalones were crashing on startup. >>> This is what Panos wrote about it: >>> We recently fixed a bug (affecting mainly Windows 11) where the LC >>> installer, the LC IDE and Windows standalones were crashing on startup. >> It >>> turned out this was caused if some generic printer drivers were installed >>> in the device, and installing the official printer drivers from the >>> vendor's website prevented the crash. We had reports for Brother >> printers, >>> Epson and HP if I remember correctly. >>> >>> The fix we added did fix the crash, but in some cases caused a delay on >>> startup, if the device still had the "generic" printer driver installed. >>> << >>> >>> >>> Maybe there is a regression in some way that LC now does not crash but >> shows the messages. >>> Could you try the following? >>> >>> 1. Open Windows Task Manager >>> 2. Search for a process named "Spooler Subsystem app" or just "Print >>> Spooler" >>> 3. Force quit this process >>> >>> If this solves it, then it seems to be a regression in the new LC dp >> builds. >>> Regards, >>> >>> Matthias >>> >>> >>> >>> >>>> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com>: >>>> I had not searched the forums, but I just did for "Waiting for printer" >> and "printer connections" and neither phrase turned up anything related to >> the dialog that appears on startup (unfortunately). Maybe under another >> search term, but the general term of "printer" returns 38 screens of forum >> messages! Good suggestion though. Thank you. >>>> >>>> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >>>>> I think this has come up before, but I forget the resolution. Did you >> search the forums? >>>>> Bob S >>>>> >>>>> >>>>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) >> Standalones build with either of those versions starts up, on Windows 11, >> there is a dialog that appear stating "Waiting for printer connections..." >>>>>> This dialog may appear on earlier versions - I forget if I had seen >> it previously. >>>>>> Is there some setting to prevent or hide this dialog? In my >> standalone app, I have customers asking what is it and find it "annoying". >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From matthias_livecode_150811 at m-r-d.de Wed May 8 16:52:49 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 8 May 2024 22:52:49 +0200 Subject: Livecode startup messages... In-Reply-To: References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Message-ID: <1C7AF996-FA3B-4922-8C90-549176FC7D06@m-r-d.de> Did you try the this "workaround"? 1. Open Windows Task Manager 2. Search for a process named "Spooler Subsystem app" or just "Print Spooler" 3. Force quit this process If this solves the problem, then maybe 9.6.11 still contains a bug that already was fixed in earlier versions. Regards, Matthias > Am 08.05.2024 um 22:01 schrieb Paul Dupuis via use-livecode : > > Yes, > > I figured that out earlier this week and just hadn't had time to post. It is some sort of Windows 11 issue and not on all Windows 11 systems. Still don't know what it is. The 3 printers on our office network are all HPs and I think all my drivers are up to date. I also have a couple of different PDF printer drivers installed (Microsoft's, Foxit's and one other) > > > On 5/8/2024 1:20 PM, Mike Kerner via use-livecode wrote: >> this is not just a lc issue >> we use 4d, extensively, and every time a 4d client starts on windows, the >> same message appears >> >> On Fri, May 3, 2024 at 6:20 PM Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Interesting. As I’ve mentioned I install and provide IT support for >>> copiers and printers. Ever since Windows 8 (I believe) Microsoft has been >>> providing built in drivers for these devices, and they use what is called a >>> WSD (Windows Service Daemon) port instead of a typical TCP/IP port. >>> >>> If you go to install a printer and you see a list of icons representing >>> the discovered printers on the network, NEVER EVER USE THEM! Manufacturers >>> will not support them, and they cause all kinds of issues. ALWAYS select >>> “The device I want isn’t listed” and use the standard TCP/IP method of >>> installing a printer, or better yet the manufacturer probably supplies an >>> executable either downloaded or on a CD ROM. Use that. >>> >>> Of course, that does not help LC devs who are deploying apps to end users >>> who cannot be told what to do. >>> >>> Bob S >>> >>> >>>> On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> There was a problem in the past where standalones were LC IDE, LC >>> Instaler and standalones were crashing on startup. >>>> This is what Panos wrote about it: >>>> We recently fixed a bug (affecting mainly Windows 11) where the LC >>>> installer, the LC IDE and Windows standalones were crashing on startup. >>> It >>>> turned out this was caused if some generic printer drivers were installed >>>> in the device, and installing the official printer drivers from the >>>> vendor's website prevented the crash. We had reports for Brother >>> printers, >>>> Epson and HP if I remember correctly. >>>> >>>> The fix we added did fix the crash, but in some cases caused a delay on >>>> startup, if the device still had the "generic" printer driver installed. >>>> << >>>> >>>> >>>> Maybe there is a regression in some way that LC now does not crash but >>> shows the messages. >>>> Could you try the following? >>>> >>>> 1. Open Windows Task Manager >>>> 2. Search for a process named "Spooler Subsystem app" or just "Print >>>> Spooler" >>>> 3. Force quit this process >>>> >>>> If this solves it, then it seems to be a regression in the new LC dp >>> builds. >>>> Regards, >>>> >>>> Matthias >>>> >>>> >>>> >>>> >>>>> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode < >>> use-livecode at lists.runrev.com>: >>>>> I had not searched the forums, but I just did for "Waiting for printer" >>> and "printer connections" and neither phrase turned up anything related to >>> the dialog that appears on startup (unfortunately). Maybe under another >>> search term, but the general term of "printer" returns 38 screens of forum >>> messages! Good suggestion though. Thank you. >>>>> >>>>> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >>>>>> I think this has come up before, but I forget the resolution. Did you >>> search the forums? >>>>>> Bob S >>>>>> >>>>>> >>>>>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>>>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) >>> Standalones build with either of those versions starts up, on Windows 11, >>> there is a dialog that appear stating "Waiting for printer connections..." >>>>>>> This dialog may appear on earlier versions - I forget if I had seen >>> it previously. >>>>>>> Is there some setting to prevent or hide this dialog? In my >>> standalone app, I have customers asking what is it and find it "annoying". >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andreas.bergendal at gmail.com Mon May 13 15:49:06 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Mon, 13 May 2024 21:49:06 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: <8C5852B6-9AEA-4315-8B67-5EA0FCF67313@gmail.com> <19E5C70A-06DB-4317-BF12-623ACDF61B00@ucsb.edu> <003301da86d3$4008f040$c01ad0c0$@net> Message-ID: WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest /Andreas > 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : > > That's cool ! I really like those 'slide-out' left buttons. > > Thank you very much for this. > > Alex. > > > On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >> >> https://wheninspace.com/WebDeployHelperTest/ >> >> To back my words! :D >> >> /Andreas >> >> >>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>> >>> thank you for making this available to the community. >>> >>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> +1 >>>> >>>> Ralph DiMola >>>> IT Director >>>> Evergreen Information Services >>>> rdimola at evergreeninfo.net >>>> >>>> -----Original Message----- >>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>> Behalf Of William Prothero via use-livecode >>>> Sent: Thursday, April 04, 2024 4:48 PM >>>> To: How to use LiveCode >>>> Cc: William Prothero >>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>> >>>> Andreas, >>>> This sounds really great! It encourages me to start working with web >>>> apps.Thanks for your contribution. >>>> Best, >>>> Bill From prothero at ucsb.edu Mon May 13 16:09:18 2024 From: prothero at ucsb.edu (William Prothero) Date: Mon, 13 May 2024 13:09:18 -0700 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> Andreas: That is simply wonderful! I'll try it out. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: > > WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. > > https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest > > /Andreas > > >> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >> >> That's cool ! I really like those 'slide-out' left buttons. >> >> Thank you very much for this. >> >> Alex. >> >> >>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>> >>> https://wheninspace.com/WebDeployHelperTest/ >>> >>> To back my words! :D >>> >>> /Andreas >>> >>> >>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>> >>>> thank you for making this available to the community. >>>> >>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> +1 >>>>> >>>>> Ralph DiMola >>>>> IT Director >>>>> Evergreen Information Services >>>>> rdimola at evergreeninfo.net >>>>> >>>>> -----Original Message----- >>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>> Behalf Of William Prothero via use-livecode >>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>> To: How to use LiveCode >>>>> Cc: William Prothero >>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>> >>>>> Andreas, >>>>> This sounds really great! It encourages me to start working with web >>>>> apps.Thanks for your contribution. >>>>> Best, >>>>> Bill > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Mon May 13 17:45:25 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 13 May 2024 17:45:25 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> Message-ID: <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? Craig > On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: > > Andreas: > That is simply wonderful! I'll try it out. > Bill > William A. Prothero, PhD > Prof Emeritus, Dept of Earth Science > University of California, Santa Barbara > >> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >> >> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >> >> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >> >> /Andreas >> >> >>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>> >>> That's cool ! I really like those 'slide-out' left buttons. >>> >>> Thank you very much for this. >>> >>> Alex. >>> >>> >>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>> >>>> https://wheninspace.com/WebDeployHelperTest/ >>>> >>>> To back my words! :D >>>> >>>> /Andreas >>>> >>>> >>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>> >>>>> thank you for making this available to the community. >>>>> >>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>>> +1 >>>>>> >>>>>> Ralph DiMola >>>>>> IT Director >>>>>> Evergreen Information Services >>>>>> rdimola at evergreeninfo.net >>>>>> >>>>>> -----Original Message----- >>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>> Behalf Of William Prothero via use-livecode >>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>> To: How to use LiveCode >>>>>> Cc: William Prothero >>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>> >>>>>> Andreas, >>>>>> This sounds really great! It encourages me to start working with web >>>>>> apps.Thanks for your contribution. >>>>>> Best, >>>>>> Bill >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon May 13 18:57:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 May 2024 22:57:41 +0000 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> Message-ID: <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> Indeed. I’ve been thinking about creating a series of video demos of my Forms Generator app to send to the owners of the company I work for, and then I thought, why stop there? Why not send them to LC and see if they want to start up a Made By page. Bob S > On May 13, 2024, at 2:45 PM, Craig Newman via use-livecode wrote: > > These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? > > Craig > >> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >> >> Andreas: >> That is simply wonderful! I'll try it out. >> Bill >> William A. Prothero, PhD >> Prof Emeritus, Dept of Earth Science >> University of California, Santa Barbara >> >>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>> >>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>> >>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>> >>> /Andreas >>> >>> >>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>> >>>> That's cool ! I really like those 'slide-out' left buttons. >>>> >>>> Thank you very much for this. >>>> >>>> Alex. >>>> >>>> >>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>> >>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>> >>>>> To back my words! :D >>>>> >>>>> /Andreas >>>>> >>>>> >>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>> >>>>>> thank you for making this available to the community. >>>>>> >>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>>> +1 >>>>>>> >>>>>>> Ralph DiMola >>>>>>> IT Director >>>>>>> Evergreen Information Services >>>>>>> rdimola at evergreeninfo.net >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>> Behalf Of William Prothero via use-livecode >>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>> To: How to use LiveCode >>>>>>> Cc: William Prothero >>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>> >>>>>>> Andreas, >>>>>>> This sounds really great! It encourages me to start working with web >>>>>>> apps.Thanks for your contribution. >>>>>>> Best, >>>>>>> Bill >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at ucsb.edu Mon May 13 19:32:09 2024 From: prothero at ucsb.edu (William Prothero) Date: Mon, 13 May 2024 16:32:09 -0700 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> Message-ID: <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> Andreas: I just found out that making an elementary starter web page with Livecode and your site test system is going to be less than obvious unless I get more info. So, is there a very simple, starter project posted somewhere, with clear instructions for someone who hasn’t messed with LiveCode web deployment at all? I think that once i get more into it, I’ll be able to create what I want, but I need a start to avoid thrashing. Thanks, Bill William A. Prothero, Ph.D. University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ > On May 13, 2024, at 3:57 PM, Bob Sneidar via use-livecode wrote: > > Indeed. I’ve been thinking about creating a series of video demos of my Forms Generator app to send to the owners of the company I work for, and then I thought, why stop there? Why not send them to LC and see if they want to start up a Made By page. > > Bob S > > >> On May 13, 2024, at 2:45 PM, Craig Newman via use-livecode wrote: >> >> These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? >> >> Craig >> >>> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >>> >>> Andreas: >>> That is simply wonderful! I'll try it out. >>> Bill >>> William A. Prothero, PhD >>> Prof Emeritus, Dept of Earth Science >>> University of California, Santa Barbara >>> >>>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>>> >>>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>>> >>>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>>> >>>> /Andreas >>>> >>>> >>>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>>> >>>>> That's cool ! I really like those 'slide-out' left buttons. >>>>> >>>>> Thank you very much for this. >>>>> >>>>> Alex. >>>>> >>>>> >>>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>>> >>>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>>> >>>>>> To back my words! :D >>>>>> >>>>>> /Andreas >>>>>> >>>>>> >>>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>>> >>>>>>> thank you for making this available to the community. >>>>>>> >>>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>>> +1 >>>>>>>> >>>>>>>> Ralph DiMola >>>>>>>> IT Director >>>>>>>> Evergreen Information Services >>>>>>>> rdimola at evergreeninfo.net >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>>> Behalf Of William Prothero via use-livecode >>>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>>> To: How to use LiveCode >>>>>>>> Cc: William Prothero >>>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>>> >>>>>>>> Andreas, >>>>>>>> This sounds really great! It encourages me to start working with web >>>>>>>> apps.Thanks for your contribution. >>>>>>>> Best, >>>>>>>> Bill >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Tue May 14 14:41:43 2024 From: curry at pair.com (Curry Kenworthy) Date: Tue, 14 May 2024 14:41:43 -0400 Subject: Can you almost hear me now? (AAC app underway) In-Reply-To: <002101da9a50$c9e6ac90$5db405b0$@net> References: <002101da9a50$c9e6ac90$5db405b0$@net> Message-ID: <3526ff56-4aa3-4eb1-8155-a2ba3f2a9141@pair.com> Ralph: > Great! Looking forward to it. Thanks for your encouraging comments - Stage 1 on TTS is paying off already talking to my wife, with more daily discussion and fewer asthma episodes! Game-changer: the freedom to just talk, without a breath penalty. Also helping some to comment/code more with less typing, in LC work. But still needs a LOT more setup! Not ready for other contexts yet. So ... More next time. :) Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From curry at pair.com Tue May 14 14:49:18 2024 From: curry at pair.com (Curry Kenworthy) Date: Tue, 14 May 2024 14:49:18 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <0a9eca92-d935-4470-a95a-4ed2ba35e91a@pair.com> Andreas: > WIS_WebDeployHelper v1.0.2 is now out. Thanks for the resource! > test build in your web browser ... without any need to first upload That's always a good option. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From andreas.bergendal at gmail.com Tue May 14 16:46:31 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Tue, 14 May 2024 22:46:31 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> Message-ID: <905B859F-0655-4038-BB3B-CF19A962D60D@gmail.com> Thanks Craig. This particular project is unlikely to be acknowledged by the mothership though, as it addresses (and thereby highlights) the shortcomings of the current LC 10 dp versions available. But I hope that I will not need to maintain this tool for very long, as all it’s features really should be available in the standalone builder of the first stable release of LC 10 - at least if LC 10’s web deploy capability is intended to be one of its selling points... In the meantime, I’m trying to make this tool a key to unlocking some of LC 10’s web app potential. ’Cause I want to build great web apps now, not later! :D /Andreas > 13 maj 2024 kl. 23:45 skrev Craig Newman via use-livecode : > > These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? > > Craig > >> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >> >> Andreas: >> That is simply wonderful! I'll try it out. >> Bill >> William A. Prothero, PhD >> Prof Emeritus, Dept of Earth Science >> University of California, Santa Barbara >> >>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>> >>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>> >>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>> >>> /Andreas >>> >>> >>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>> >>>> That's cool ! I really like those 'slide-out' left buttons. >>>> >>>> Thank you very much for this. >>>> >>>> Alex. >>>> >>>> >>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>> >>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>> >>>>> To back my words! :D >>>>> >>>>> /Andreas >>>>> >>>>> >>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>> >>>>>> thank you for making this available to the community. >>>>>> >>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>>> +1 >>>>>>> >>>>>>> Ralph DiMola >>>>>>> IT Director >>>>>>> Evergreen Information Services >>>>>>> rdimola at evergreeninfo.net >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>> Behalf Of William Prothero via use-livecode >>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>> To: How to use LiveCode >>>>>>> Cc: William Prothero >>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>> >>>>>>> Andreas, >>>>>>> This sounds really great! It encourages me to start working with web >>>>>>> apps.Thanks for your contribution. >>>>>>> Best, >>>>>>> Bill >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed May 15 08:32:53 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 15 May 2024 08:32:53 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <905B859F-0655-4038-BB3B-CF19A962D60D@gmail.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <905B859F-0655-4038-BB3B-CF19A962D60D@gmail.com> Message-ID: 4d's qodly, which is, imho, even a more promising web dev tool, is also stalled, and has been stalled for almost six months. i can't hide my disappointment with lc's eternal chasing of the next squirrel (script compiler is now 17 months overdue because, ooh! look! web apps! squirrel!). however, i am not at all surprised that they are in a slog, at this point. how many fullstack web dev tools are there? (i'm not being sarcastic. i've looked for fullstack web dev tools and come away wondering why there are so few, and why they all suck) On Tue, May 14, 2024 at 4:47 PM Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Craig. This particular project is unlikely to be acknowledged by > the mothership though, as it addresses (and thereby highlights) the > shortcomings of the current LC 10 dp versions available. But I hope that I > will not need to maintain this tool for very long, as all it’s features > really should be available in the standalone builder of the first stable > release of LC 10 - at least if LC 10’s web deploy capability is intended to > be one of its selling points... > > In the meantime, I’m trying to make this tool a key to unlocking some of > LC 10’s web app potential. > ’Cause I want to build great web apps now, not later! :D > > /Andreas > > > > 13 maj 2024 kl. 23:45 skrev Craig Newman via use-livecode < > use-livecode at lists.runrev.com>: > > > > These high level projects NEED to be touted in the LiveCode website. > Success stories are great salesmen. Is Scotland listening?? > > > > Craig > > > >> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Andreas: > >> That is simply wonderful! I'll try it out. > >> Bill > >> William A. Prothero, PhD > >> Prof Emeritus, Dept of Earth Science > >> University of California, Santa Barbara > >> > >>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is > that it is now possible to simply hit the Test button to launch a test > build in your web browser - including all your added advanced features - > without any need to first upload to a web server. > >>> > >>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest > >>> > >>> /Andreas > >>> > >>> > >>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com>: > >>>> > >>>> That's cool ! I really like those 'slide-out' left buttons. > >>>> > >>>> Thank you very much for this. > >>>> > >>>> Alex. > >>>> > >>>> > >>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: > >>>>> And as a follow-up on this, here is also a demo web app created with > the help of WebDeployHelper 1.0.1: > >>>>> > >>>>> https://wheninspace.com/WebDeployHelperTest/ > >>>>> > >>>>> To back my words! :D > >>>>> > >>>>> /Andreas > >>>>> > >>>>> > >>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode < > use-livecode at lists.runrev.com>: > >>>>>> > >>>>>> thank you for making this available to the community. > >>>>>> > >>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < > >>>>>> use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>>> +1 > >>>>>>> > >>>>>>> Ralph DiMola > >>>>>>> IT Director > >>>>>>> Evergreen Information Services > >>>>>>> rdimola at evergreeninfo.net > >>>>>>> > >>>>>>> -----Original Message----- > >>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] > On > >>>>>>> Behalf Of William Prothero via use-livecode > >>>>>>> Sent: Thursday, April 04, 2024 4:48 PM > >>>>>>> To: How to use LiveCode > >>>>>>> Cc: William Prothero > >>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox > >>>>>>> > >>>>>>> Andreas, > >>>>>>> This sounds really great! It encourages me to start working with > web > >>>>>>> apps.Thanks for your contribution. > >>>>>>> Best, > >>>>>>> Bill > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From curry at pair.com Wed May 15 12:20:08 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 May 2024 12:20:08 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: Andreas: > all its features really should be available in the standalone > builder of the first stable release of LC 10 Indeed. Another context of ... Richard Gaskin (Oct 13, 2023): > SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY. This is a true classic, the #1 best comment last year! Mike: > my disappointment with lc's eternal chasing of the next squirrel ... > ooh! look! web apps! squirrel! I'm glad you brought that up; a real gem - the #2 comment last year. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Wed May 15 12:30:12 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 15 May 2024 16:30:12 +0000 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <268E8C95-7F64-445B-97EA-F4722096E36B@iotecdigital.com> Yes, my top priority would definitely be the compiler, and second would be seamless standalone app building. I would love a true compiled version of my apps, but barring that, being able to build ALL my app for all platforms in one pass, and then being able to build again without having to quit and relaunch would be nice. But I also understand that the Covid Debaucle has left a lot of companies stressed for resources. So I will still renew my subscriptions, but I do not think I will invest anymore in any new technologies until the ones I have already invested in come to fruition. Bob S > On May 15, 2024, at 9:20 AM, Curry Kenworthy via use-livecode wrote: > > Andreas: > > > all it’s features really should be available in the standalone > > builder of the first stable release of LC 10 > > Indeed. Another context of ... > > Richard Gaskin (Oct 13, 2023): > > > SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY. > > This is a true classic, the #1 best comment last year! > > Mike: > > > my disappointment with lc's eternal chasing of the next squirrel ... > > ooh! look! web apps! squirrel! > > I'm glad you brought that up; a real gem - the #2 comment last year. > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed May 15 12:47:25 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 15 May 2024 12:47:25 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <268E8C95-7F64-445B-97EA-F4722096E36B@iotecdigital.com> References: <268E8C95-7F64-445B-97EA-F4722096E36B@iotecdigital.com> Message-ID: seconding on the compiler as the biggest thing. (you owe me a year, lc. i paid for it) my #2 priority would be more effort on mobes (long paragraph deleted - you're welcome). but i could be convinced that #3 could be web, if it wasn't a squirrel, too. (you also owe me a year, here, lc). On Wed, May 15, 2024 at 12:31 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes, my top priority would definitely be the compiler, and second would be > seamless standalone app building. I would love a true compiled version of > my apps, but barring that, being able to build ALL my app for all platforms > in one pass, and then being able to build again without having to quit and > relaunch would be nice. > > But I also understand that the Covid Debaucle has left a lot of companies > stressed for resources. So I will still renew my subscriptions, but I do > not think I will invest anymore in any new technologies until the ones I > have already invested in come to fruition. > > Bob S > > > > On May 15, 2024, at 9:20 AM, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Andreas: > > > > > all it’s features really should be available in the standalone > > > builder of the first stable release of LC 10 > > > > Indeed. Another context of ... > > > > Richard Gaskin (Oct 13, 2023): > > > > > SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY. > > > > This is a true classic, the #1 best comment last year! > > > > Mike: > > > > > my disappointment with lc's eternal chasing of the next squirrel ... > > > ooh! look! web apps! squirrel! > > > > I'm glad you brought that up; a real gem - the #2 comment last year. > > > > Best wishes, > > > > Curry Kenworthy > > > > Radically Innovative Christian LiveCode Development > > "PASSION for Elegant, Efficient Code!" > > http://livecodeconsulting.com/ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From Bernd.Niggemann at uni-wh.de Wed May 15 14:38:18 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 15 May 2024 18:38:18 +0000 Subject: Code Folding in LC Message-ID: A new version of Code Folding has been uploaded to the Forum https://forums.livecode.com/viewtopic.php?f=9&t=38912&p=229971#p229971 It addresses a couple of bugs and has been tested to work from 9.6.9 up to 9.6.12 (RC1) and 10.0.0 (DP8) Kind regards Bernd From andreas.bergendal at gmail.com Wed May 15 16:39:15 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Wed, 15 May 2024 22:39:15 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> Message-ID: <8A6C2C52-C2ED-4E88-AEEA-745C7E61F08B@gmail.com> Bill, Well, for the basics, there is this LiveCode Lesson: https://lessons.livecode.com/m/4071/l/1496056-how-do-i-put-my-first-app-on-the-web-lc-10-and-later It shows the basic/standard way of deploying a LiveCode stack to web. The WebDeployHelper tool mainly hooks into the final steps of that process: - If you click the Test button, a front script intervenes and sets up the html file that replaces the generic one, and then lets the IDE launch the test build - When you build a standalone, instead of selecting ”Build standalone…” from the LC menu, you use the Build & upload tab of the tool But just to get you started, this would be the minimum steps to take: 1a) Create a stack, put some controls on card 1 (whatever you want to test), and save it. 1b) Alternatively, open any existing stack that you want to test as a web app (not a too complex one at this stage). 2) Make sure only Web is ticked in the standalone builder settings. And as with all platform build cases, you need to select the relevant inclusions in the standalone builder settings. 3) Open WebDeployHelper stack and/or click the Refresh icon next to the Active stack menu button. Select your stack in the menu, if it is not already so. 4) Now you can just hit the Test button to see that your stack launches in a browser. If it did, then all is well - go back to WebDeployHelper and start exploring the features that can be modified or added. Rinse and repeat. There is an in-stack help section for additional explanations, and most fields and buttons also have helpful tooltips. I might consider also making a video or something, just to show a walkthrough of how it can be used. But I’ll see if (unpaid) time allows. My day job building bespoke software with LiveCode already takes up most of my screen time, so to speak… :) /Andreas > 14 maj 2024 kl. 01:32 skrev William Prothero via use-livecode : > > Andreas: > I just found out that making an elementary starter web page with Livecode and your site test system is going to be less than obvious unless I get more info. > > So, is there a very simple, starter project posted somewhere, with clear instructions for someone who hasn’t messed with LiveCode web deployment at all? I think that once i get more into it, I’ll be able to create what I want, but I need a start to avoid thrashing. > > Thanks, > Bill > > William A. Prothero, Ph.D. > University of California, Santa Barbara > Dept. of Earth Sciences (Emeritus) > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > >> On May 13, 2024, at 3:57 PM, Bob Sneidar via use-livecode wrote: >> >> Indeed. I’ve been thinking about creating a series of video demos of my Forms Generator app to send to the owners of the company I work for, and then I thought, why stop there? Why not send them to LC and see if they want to start up a Made By page. >> >> Bob S >> >> >>> On May 13, 2024, at 2:45 PM, Craig Newman via use-livecode wrote: >>> >>> These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? >>> >>> Craig >>> >>>> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >>>> >>>> Andreas: >>>> That is simply wonderful! I'll try it out. >>>> Bill >>>> William A. Prothero, PhD >>>> Prof Emeritus, Dept of Earth Science >>>> University of California, Santa Barbara >>>> >>>>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>>>> >>>>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>>>> >>>>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>>>> >>>>> /Andreas >>>>> >>>>> >>>>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>>>> >>>>>> That's cool ! I really like those 'slide-out' left buttons. >>>>>> >>>>>> Thank you very much for this. >>>>>> >>>>>> Alex. >>>>>> >>>>>> >>>>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>>>> >>>>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>>>> >>>>>>> To back my words! :D >>>>>>> >>>>>>> /Andreas >>>>>>> >>>>>>> >>>>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>>>> >>>>>>>> thank you for making this available to the community. >>>>>>>> >>>>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>>> >>>>>>>>> +1 >>>>>>>>> >>>>>>>>> Ralph DiMola >>>>>>>>> IT Director >>>>>>>>> Evergreen Information Services >>>>>>>>> rdimola at evergreeninfo.net >>>>>>>>> >>>>>>>>> -----Original Message----- >>>>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>>>> Behalf Of William Prothero via use-livecode >>>>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>>>> To: How to use LiveCode >>>>>>>>> Cc: William Prothero >>>>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>>>> >>>>>>>>> Andreas, >>>>>>>>> This sounds really great! It encourages me to start working with web >>>>>>>>> apps.Thanks for your contribution. >>>>>>>>> Best, >>>>>>>>> Bill From curry at pair.com Wed May 15 21:18:05 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 May 2024 21:18:05 -0400 Subject: Code Folding in LC In-Reply-To: References: Message-ID: <72bcb673-8b80-4dea-b9ad-5c5482b133e0@pair.com> Bernd: > A new version of Code Folding has been uploaded That's a good effort. Thanks! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From jbv at souslelogo.com Thu May 16 12:51:18 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Thu, 16 May 2024 12:51:18 -0400 Subject: Saving data in standalone Message-ID: Hi list, I am working on an app for a client who will use it as a standalone. Basically users will be able to import data such as images, text and even html from various sources. All these data will self organize in different groups that the user will be able to select, move around and organise in a layout, and finally export as a pdf file. The problem is that all this work will be done in successive sessions, and between each step there will be the need to temporary save the work to retrieve it in the next session. And I'm not sure about the best way to save groups within an LC standalone and retrieve everything in a similar layout in the next session, or even if it's possible. Any idea and suggestion are welcome. Thank you in advance. jbv From paul at researchware.com Thu May 16 12:58:53 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2024 12:58:53 -0400 Subject: Saving data in standalone In-Reply-To: References: Message-ID: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> My suggestion would be to have your Standalone create a new stack with the user's work and save that stack under a customer file extension for your app. You can not actually save data in a standalone. you must save it to some source outside of the standalone - and stack, a text file, a binary file, a remote database, etc. - whatever works for your app. On 5/16/2024 12:51 PM, jbv via use-livecode wrote: > Hi list, > I am working on an app for a client who will use it as a standalone. > Basically users will be able to import data such as images, text and > even html from various sources. All these data will self organize in > different groups that the user will be able to select, move around > and organise in a layout, and finally export as a pdf file. > The problem is that all this work will be done in successive sessions, > and between each step there will be the need to temporary save the > work to retrieve it in the next session. > And I'm not sure about the best way to save groups within an LC > standalone and retrieve everything in a similar layout in the > next session, or even if it's possible. > Any idea and suggestion are welcome. > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu May 16 13:31:50 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2024 13:31:50 -0400 Subject: Saving data in standalone In-Reply-To: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: > save that stack under a customer file extension That should have said "custom file extension" From craig at starfirelighting.com Thu May 16 16:24:54 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 May 2024 16:24:54 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: <9F40968D-002A-4D54-A75C-64567639EAF2@starfirelighting.com> There is much discussion about this on the forum. The contents of the executable, the actual standalone you make from a stack, cannot be saved by any OS. I use what is know as the “Splash Stack” method, alluded to by Paul above. In the Application Builder of the stack you are making the actual standalone from, you can add any number of stack files. These are files that contain any number of stack and substacks. My standalone is never used for anything but navigating to other stacks attached to it. Once navigation is effected, the splash stack hides itself, its entire purpose fulfilled. Takes just little practice. You can make one right now with two stacks in two separate stack files. Have the executable one go to the other one, and you are on your way. Craig > On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: > > On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >> save that stack under a customer file extension > > That should have said "custom file extension" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu May 16 16:26:45 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 May 2024 16:26:45 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: I did not explicitly mention that any and all of the attached stacks are savable. Craig > On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: > > On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >> save that stack under a customer file extension > > That should have said "custom file extension" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Thu May 16 16:43:56 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 16 May 2024 16:43:56 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: Craig, Saving: the stacks within the MacOS package and the Windows Applications folders can be saved—within that location? Can new stacks/files be written to those same folders? Peter > On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode wrote: > > I did not explicitly mention that any and all of the attached stacks are savable. > > Craig > >> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: >> >> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >>> save that stack under a customer file extension >> >> That should have said "custom file extension" >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu May 16 17:07:47 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2024 17:07:47 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: You can save external stacks or created on the fly stacks where ever you have *write* (and read) permission on your OS. Increasingly, whether macOS or Windows, that is not the Applications (macOS) or Program Files/Program Files (x86) (Windows) folders. I find the SAFEST place to save something is using specialFolderPath("documents") and then create a folder structure for your company or app in the user's Documents folder. OSes are becoming more and more "sandboxed" to prevent malware and dumb user mistakes from wrecking apps or the OS itself. On 5/16/2024 4:43 PM, Peter Bogdanoff via use-livecode wrote: > Craig, > > Saving: the stacks within the MacOS package and the Windows Applications folders can be savedwithin that location? > > Can new stacks/files be written to those same folders? > > Peter > >> On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode wrote: >> >> I did not explicitly mention that any and all of the attached stacks are savable. >> >> Craig >> >>> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: >>> >>> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >>>> save that stack under a customer file extension >>> That should have said "custom file extension" >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu May 16 20:04:09 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 16 May 2024 20:04:09 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: this is also how levure operates, so if you build with levure, you can just do this with stacks in the project On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > You can save external stacks or created on the fly stacks where ever you > have *write* (and read) permission on your OS. > > Increasingly, whether macOS or Windows, that is not the Applications > (macOS) or Program Files/Program Files (x86) (Windows) folders. I find > the SAFEST place to save something is using > specialFolderPath("documents") and then create a folder structure for > your company or app in the user's Documents folder. OSes are becoming > more and more "sandboxed" to prevent malware and dumb user mistakes from > wrecking apps or the OS itself. > > > On 5/16/2024 4:43 PM, Peter Bogdanoff via use-livecode wrote: > > Craig, > > > > Saving: the stacks within the MacOS package and the Windows Applications > folders can be saved—within that location? > > > > Can new stacks/files be written to those same folders? > > > > Peter > > > >> On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I did not explicitly mention that any and all of the attached stacks > are savable. > >> > >> Craig > >> > >>> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: > >>>> save that stack under a customer file extension > >>> That should have said "custom file extension" > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Fri May 17 17:44:25 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 May 2024 21:44:25 +0000 Subject: UPDATE: filterArray() Message-ID: I wrote a filterArray() function with a couple dependencies a while ago which uses a memory sqLite database to convert an array to a database, query that database, then return the results as an array. I have a new update to filterArray() which allows for a select clause. I found myself wanting to find the maximum value of a column, so I update the function. For an example lets say I wanted the maximum value for the serviceid key in a numbered array (tRecordsA). I could call it like this: put empty into tConditions put "max(serviceid) as serviceid" into tSelectClause put filterArray(tRecordsA, tConditions, tSelectClause) into tFoundDataA Since I do not need a where clause here, as tRecordsA only contains the data I want, but a where clause could also be defined. Here are the handlers if anyone is interested. If I missed any dependencies ley me know and I will pass those along as well. Bob S function filterArray pArrayDataA, pConditions, pSelectClause put the defaultFolder & "/" & "tempdatabase.db" into tDBName put arrayToSQLite(pArrayDataA, tDBName, "arraydata") into tDBID — uses dependency if pSelectClause is empty then \ put "*" into pSelectClause put "select " & pSelectClause & " from arraydata" into tQueryString if pConditions is not empty then \ put " where" && pConditions after tQueryString try put revQueryDatabase(tDBID, tQueryString) into tCursorID put cursorToArray(tCursorID) into tFilteredDataA — uses dependency return tFilteredDataA catch tError return empty end try end filterArray FUNCTION arrayToSQLite pArrayDataA, pDBFile, pDBName, pDBID, pBinaryColumns put the keys of pArrayDataA into tArrayKeys sort tArrayKeys numeric ascending IF pDBFile is empty THEN put ":memory:" into pDBFile IF pDBName is empty THEN put "arraydata" into pDBName TRY if pDBID is empty then \ put revOpenDatabase("sqlite", pDBFile) into pDBID IF "Error" is in pDBID THEN return empty END IF -- attempt to set the encoding put "PRAGMA encoding = 'UTF-16'" into tSQL revExecuteSQL pDBID, tSQL -- attempt to drop the table put "drop table " & pDBName into tDropSQL revExecuteSQL pDBID, tDropSQL put the result into tResult CATCH tError answer tError IF the environment is "development" THEN exit to top ELSE quit END TRY -- create the table put "create table" && quote & pDBName & quote \ & cr into tCreateCommand put "(" & quote & "recordid" & quote && "NUMERIC PRIMARY KEY UNIQUE, " \ & cr AFTER tCreateCommand put the keys of pArrayDataA [1] into tRecordKeyList filter lines of tRecordKeyList without "recordid" REPEAT for each line tRecordKey in tRecordKeyList if pArrayDataA [1] [tRecordKey] is an array or \ pArrayDataA [1] [tRecordKey] begins with "Salted__" then put "BLOB" into tColumnType else put VARCHAR into tColumnType end if put quote & tRecordKey & quote && tColumnType & "," && cr AFTER tCreateCommand END REPEAT delete char -3 to -1 of tCreateCommand put ")" AFTER tCreateCommand TRY revExecuteSQL pDBID, tCreateCommand put the result into tResult IF tResult is not 0 THEN breakpoint CATCH tError breakpoint END TRY put 1 into tRecordCounter put "recordid" & cr & tRecordKeyList into tColumns repeat with i = 1 to the number of lines of tColumns put ":" & i into item i of tColumnList end repeat put "(" & tColumnList & ")" into tColumnList -- insert data REPEAT for each line tKey in tArrayKeys put 1 into tColumnCounter put pArrayDataA [tKey] into tRecordDataA put tRecordCounter into tQueryDataA [1] REPEAT for each line tRecordKey in tRecordKeyList add 1 to tColumnCounter if tRecordDataA [tRecordKey] is an array then put arrayEncode(tRecordDataA [tRecordKey]) into tValue else put tRecordDataA [tRecordKey] into tValue end if put tValue into tQueryDataA [tColumnCounter] END REPEAT put "insert into" && pDBName && "VALUES" && tColumnList into tInsertSQL TRY revExecuteSQL pDBID, tInsertSQL, "tQueryDataA" put the result into tResult if the result is not a number then breakpoint CATCH tError breakpoint END TRY add 1 to tRecordCounter END REPEAT return pDBID END arrayToSQLite FUNCTION cursorToArray pCursorID put revNumberOfRecords(pCursorID) into tNumberOfRecords if tNumberOfRecords = 0 then \ return empty put revDatabaseColumnCount(pCursorID) into tColumnCount put revDatabaseColumnNames(pCursorID) into tColumnNames REPEAT forever add 1 to tRecordCount REPEAT with i = 1 to tColumnCount put revDatabaseColumnNumbered(pCursorID, i) into tColumnValue put tColumnValue into aCursorArray [tRecordCount] [item i of tColumnNames] END REPEAT revMoveToNextRecord pCursorID if revQueryIsAtEnd(pCursorID) then \ exit repeat END REPEAT return aCursorArray END cursorToArray From ambassador at fourthworld.com Fri May 17 21:55:22 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 18 May 2024 01:55:22 +0000 Subject: UPDATE: filterArray() Message-ID: Thank you, Bob. It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Sat May 18 02:50:29 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 May 2024 06:50:29 +0000 Subject: UPDATE: filterArray() In-Reply-To: References: Message-ID: <1AC3FAE7-AD49-4C5C-8060-BACEB2708367@iotecdigital.com> :-) Sent from my iPhone > On May 17, 2024, at 18:57, Richard Gaskin via use-livecode wrote: > > Thank you, Bob. > > It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: > > go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" > > > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Sun May 19 07:52:51 2024 From: curry at pair.com (Curry Kenworthy) Date: Sun, 19 May 2024 07:52:51 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <76a0f674-6eef-407d-92a3-c05c69d343d2@pair.com> Bob: > to build ALL my app for all platforms in one pass, and then being able > to build again without having to quit and relaunch would be nice. Yes, LC should build standalones in one pass/again without issues... And so should you! That is largely BY CHOICE - Not using my workaround code to close your library/etc stacks, any that were announced/ID'd in subsequent dialogs after 1st or 2nd build. Mike: > #3 could be web, if it wasn't a squirrel, too. Compiler and web are both worthy examples; the important principle is to finish components and evaluate trends calmly, before coding with PASSION. :) I hope everyone has a great weekend! Still gradually setting up AAC for a while, as my first priority... (EVERYTHING I do requires it.) Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Mon May 20 12:53:02 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 May 2024 16:53:02 +0000 Subject: UPDATE: filterArray() In-Reply-To: References: Message-ID: <16A2A34D-895F-4EBB-B490-FC54CD410859@iotecdigital.com> I’m surprised about the time differential. Obviously LC parsing is much faster, I guess because filterArray has the initial overhead of creating and populating the database. I’ve never used it for large datasets. I guess the main advantage for using filterArray() is that using the LC parser, for each use case would require it’s own code. filterArray() is a one-stop-shop approach. For instance, if you need to compare data with another dataset (as in an SQL join) or finding the maximum value in a dataset, or limiting your results. Also, with queries you can do complex sort criteria and complex joins, return calculations as columns, etc. All of these use cases would require a different code set for the LC parser. Yes with SQL the extra code would be writing the SQL statement, but for anyone proficient with SQL, that’s easy enough. It’s conceivable that you could write a pseudo-database system that uses LC arrays instead of sql, but you would have to do auto saves to file on that kind of database to prevent data loss, and that would . LIKE queries are also one of the slowest kinds of queries there are, so any query that does not use an index is going to take a longer time. I suppose I could add indexing but that would create more first time overhead. I made the assertion when I first wrote this, that for single queries, the sql method would not be very performant, because the overhead of creating the database to begin with could be significant, but if subsequent queries were made directly on the database, the filterArray method would begin to catch up, because the LC parser method cannot gain efficiency with iteration. I suppose the real test would be to see whether or not direct queries agains a memory database is faster than the LC parser. I do have a findInArray() function as well, but it’s fairly simple, returning only the keys that match a value in a single column. Bob S > On May 17, 2024, at 6:55 PM, Richard Gaskin via use-livecode wrote: > > Thank you, Bob. > > It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: > > go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" > > > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon May 20 15:36:05 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 20 May 2024 19:36:05 +0000 Subject: UPDATE: filterArray() Message-ID: <477f872c9642d96f6a8029b95b38a9f7c532520a@fourthworld.com> Bob Sneidar wrote: > I’m surprised about the time differential. I was too, but in the end it kinda makes sense. Both LC and SQLite are complex scripting engines, where code has to be parsed and interpreted into executable machine instructions. The one advantage of filtering LC arrays in LC Script is that it's with-the-grain, without needing to be reformatted for the expectations of a foreign system designed with no consideration of LC at all. And never underestimate the internal complexity of RDBMS data structures. B-trees are flexible but computationally expensive. > I guess the main advantage for using filterArray() is that using the > LC parser, for each use case would require it’s own code. filterArray() > is a one-stop-shop approach. For instance, if you need to compare data > with another dataset (as in an SQL join) or finding the maximum value > in a dataset, or limiting your results. Somewhat. If I read your code correctly, it create a single table from the array, limiting the depth of the array and thereby obviating the complexities inherent in operations across multiple tables. For table-equivalent arrays, the query field provided for LC in that example stack lets you explore the possibilities just like the SQL query field there. The syntax is a bit different, e.g.: LC: eeee contains "arbitrary" SQL: eeee like '%arbitrary%' ...but both are readable and about as capable as the range of options each parser provides. One could further generalize this example on the LC side, but it's so easy to custom-code solutions in LC I try remain mindful of the tradeoffs of generalization. LC's value function has continually surprised me over the years with how well it works as a general-purpose expression evaluation engine. > It’s conceivable that you could write a pseudo-database system > that uses LC arrays instead of sql, but you would have to do > auto saves to file on that kind of database to prevent data > loss, and that would. The example I delivered should already be using in-memory SQLite, with the same benefits and risks as LC's arrays. Your arrayToSQLite includes: IF pDBFile is empty THEN put ":memory:" into pDBFile ...and I passed no file specifier to it. Might be fun to add saving to both and see how that works out. > LIKE queries are also one of the slowest kinds of queries there are, > so any query that does not use an index is going to take a longer > time. I suppose I could add indexing but that would create more first > time overhead. Substring searches are a challenge in any scripting engine. It's laudible that not only does LC do them well, but also in the worst-case scenario, excuted in the dynamic context of the value function. > I made the assertion when I first wrote this, that for single queries, > the sql method would not be very performant, because the overhead of > creating the database to begin with could be significant, but if > subsequent queries were made directly on the database, the filterArray > method would begin to catch up, because the LC parser method cannot > gain efficiency with iteration. I suppose the real test would be to > see whether or not direct queries agains a memory database is faster than the LC parser. That's an interesting question, how performance would be affected if the translation from the LC-native form to the SQLite-native form were eliminated, to compare evaluation engines only. Indexing is key to every data store, and I've experimented with hash-batched indices with some success over the years. Tempting, tho I have to be mindful of my time these days, and lately reserve entertainment time for board game design. :) But the question of isolating the effects of translating data between two systems with very different expectations seems central to this exercise: choosing storage structures per app needs, and then using the querying methods available for the chosen solution. When associative arrays are the foundation of an app's operations, filtering them using LC-native syntax seems useful, esp, in those cases where it can deliver two orders of magnitude performance gain in about a dozen lines of code. But of course for apps built around SQLite, there's no need to bother with LC arrays at all (except maybe for display operations like the DataGrid), since SQLite is also a very feature-rich, performant scripting engine. >> On May 17, 2024, at 6:55 PM, Richard Gaskin wrote: >> >> Thank you, Bob. >> >> It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: >> >> go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" >> Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Mon May 20 17:17:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 May 2024 21:17:07 +0000 Subject: UPDATE: filterArray() In-Reply-To: <477f872c9642d96f6a8029b95b38a9f7c532520a@fourthworld.com> References: <477f872c9642d96f6a8029b95b38a9f7c532520a@fourthworld.com> Message-ID: <88582F78-5275-4915-A546-315522BBFDB8@iotecdigital.com> Yes but what you may not see is that if a memory database already exists and you pass the id it will check for it’s existence, so then all it does is replace the table (if it exists) with the name you pass with a new table containing that parsed array. There may be other tables in the memory database, and those are not touched, so theoretically I could pass multiple arrays with different table names, then execute complex queries on those. In this discussion I can see that there are changes I could make to improve it’s efficiency. I should break out the different operations, like creating the table, querying the database and returning an array as separate functions. The main reason I created this function was because I assumed memory databases would be considerably faster than file based ones, or network based over slow network infrastructures, as well as eliminating the need to create separate handlers for each use case. Bob S On May 20, 2024, at 12:36 PM, Richard Gaskin via use-livecode wrote: I guess the main advantage for using filterArray() is that using the LC parser, for each use case would require it’s own code. filterArray() is a one-stop-shop approach. For instance, if you need to compare data with another dataset (as in an SQL join) or finding the maximum value in a dataset, or limiting your results. Somewhat. If I read your code correctly, it create a single table from the array, limiting the depth of the array and thereby obviating the complexities inherent in operations across multiple tables. From tom at makeshyft.com Mon May 20 20:58:33 2024 From: tom at makeshyft.com (Tom Glod) Date: Mon, 20 May 2024 20:58:33 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: I have a plugin that is not complete which can save livecode groups and all of their properties, custom properties and scripts. If you'd like I'll send you some of the code. PM me. Should be super easy to find the code u need, and then inverse it. If you did that it would help me complete the plugin and I could release it. On Thu, May 16, 2024 at 8:05 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > this is also how levure operates, so if you build with levure, you can just > do this with stacks in the project > > On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > You can save external stacks or created on the fly stacks where ever you > > have *write* (and read) permission on your OS. > > > > Increasingly, whether macOS or Windows, that is not the Applications > > (macOS) or Program Files/Program Files (x86) (Windows) folders. I find > > the SAFEST place to save something is using > > specialFolderPath("documents") and then create a folder structure for > > your company or app in the user's Documents folder. OSes are becoming > > more and more "sandboxed" to prevent malware and dumb user mistakes from > > wrecking apps or the OS itself. > > > > > > On 5/16/2024 4:43 PM, Peter Bogdanoff via use-livecode wrote: > > > Craig, > > > > > > Saving: the stacks within the MacOS package and the Windows > Applications > > folders can be saved—within that location? > > > > > > Can new stacks/files be written to those same folders? > > > > > > Peter > > > > > >> On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > >> > > >> I did not explicitly mention that any and all of the attached stacks > > are savable. > > >> > > >> Craig > > >> > > >>> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > >>> > > >>> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: > > >>>> save that stack under a customer file extension > > >>> That should have said "custom file extension" > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Tue May 21 10:48:18 2024 From: klaus at major-k.de (Klaus major-k) Date: Tue, 21 May 2024 16:48:18 +0200 Subject: Strange syntax in new widgets!? Message-ID: Hi firends, this came up in the LC forum: How can I delete a line in a PolyGrid? "deleteline" or something did not work, so I searched the dictionary and found that one needs to set a PROPERTY to do so: ... put 2 into tLine set the pgDeleteRow of widget "PolyGrid" to tLine ... Very intuitive in my opinion. NOT! Am I the only one who find this rather ridiculous? 8-) Come on Livecode, you can do better! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Tue May 21 11:05:30 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 May 2024 15:05:30 +0000 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: <4EC49FC6-7CEB-42D4-BDC7-B3A5A5347AD0@iotecdigital.com> Including datagrids? I have a save and restore method for Datagrids, but I don’t think I back up ALL the properties, just the critical ones. Bob S On May 20, 2024, at 5:58 PM, Tom Glod via use-livecode wrote: I have a plugin that is not complete which can save livecode groups and all of their properties, custom properties and scripts. If you'd like I'll send you some of the code. PM me. Should be super easy to find the code u need, and then inverse it. If you did that it would help me complete the plugin and I could release it. On Thu, May 16, 2024 at 8:05 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: this is also how levure operates, so if you build with levure, you can just do this with stacks in the project On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: You can save external stacks or created on the fly stacks where ever you have *write* (and read) permission on your OS. Increasingly, whether macOS or Windows, that is not the Applications (macOS) or Program Files/Program Files (x86) (Windows) folders. I find the SAFEST place to save something is using specialFolderPath("documents") and then create a folder structure for your company or app in the user's Documents folder. OSes are becoming more and more "sandboxed" to prevent malware and dumb user mistakes from wrecking apps or the OS itself. From bobsneidar at iotecdigital.com Tue May 21 11:09:06 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 May 2024 15:09:06 +0000 Subject: Strange syntax in new widgets!? In-Reply-To: References: Message-ID: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> I find a lot of the widget properties less than useful. Try setting the widths of all the tabs of a segmented control to a specified width based upon the total width of the widget. Bob S On May 21, 2024, at 7:48 AM, Klaus major-k via use-livecode wrote: Hi firends, this came up in the LC forum: How can I delete a line in a PolyGrid? "deleteline" or something did not work, so I searched the dictionary and found that one needs to set a PROPERTY to do so: ... put 2 into tLine set the pgDeleteRow of widget "PolyGrid" to tLine ... Very intuitive in my opinion. NOT! Am I the only one who find this rather ridiculous? 8-) Come on Livecode, you can do better! Best Klaus From klaus at major-k.de Tue May 21 11:27:09 2024 From: klaus at major-k.de (Klaus major-k) Date: Tue, 21 May 2024 17:27:09 +0200 Subject: Strange syntax in new widgets!? In-Reply-To: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> Message-ID: <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> Hi Bob, > Am 21.05.2024 um 17:09 schrieb Bob Sneidar via use-livecode : > > I find a lot of the widget properties less than useful. Try setting the widths of all the tabs of a segmented control to a specified width based upon the total width of the widget. no, I won't! :-D > Bob S > > On May 21, 2024, at 7:48 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > this came up in the LC forum: How can I delete a line in a PolyGrid? > "deleteline" or something did not work, so I searched the dictionary > and found that one needs to set a PROPERTY to do so: > ... > put 2 into tLine > set the pgDeleteRow of widget "PolyGrid" to tLine > ... and to make the confusion complete we need to: ... put 2 into tLine set the deleteItem of widget "PolyList" to tLine ... for PolyLists. > Very intuitive in my opinion. NOT! > Am I the only one who find this rather ridiculous? 8-) > Come on Livecode, you can do better! It appears to me that the new widgets have been created by someone who has no or very little knowledge of LC. We have: ... delete line 2 of fld 1 ... dispatch "DeleteLine" to group "DataGrid" with 2 ... So why not create a more or less similar syntax for new widgets, so we don't have to use the dictionary for similar tasks. I don't get it... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tom at makeshyft.com Tue May 21 23:13:14 2024 From: tom at makeshyft.com (Tom Glod) Date: Tue, 21 May 2024 23:13:14 -0400 Subject: Saving data in standalone In-Reply-To: <4EC49FC6-7CEB-42D4-BDC7-B3A5A5347AD0@iotecdigital.com> References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> <4EC49FC6-7CEB-42D4-BDC7-B3A5A5347AD0@iotecdigital.com> Message-ID: Hey Bob, I just tested it and it captured the controls and properties and custom property sets ....it would take extra work to "restore" a datagrid, because we have to package the template stack...... but i think it will work. Unless there is a property that the datagrid control has that is unique to it and is not captured. I can see the hierarchy of controls ...etc. PM me I can send you the stack if you want to take a look On Tue, May 21, 2024 at 11:06 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Including datagrids? I have a save and restore method for Datagrids, but I > don’t think I back up ALL the properties, just the critical ones. > > Bob S > > > On May 20, 2024, at 5:58 PM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > I have a plugin that is not complete which can save livecode groups and all > of their properties, custom properties and scripts. If you'd like I'll > send you some of the code. PM me. > Should be super easy to find the code u need, and then inverse it. > If you did that it would help me complete the plugin and I could release > it. > > On Thu, May 16, 2024 at 8:05 PM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > this is also how levure operates, so if you build with levure, you can just > do this with stacks in the project > > On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > You can save external stacks or created on the fly stacks where ever you > have *write* (and read) permission on your OS. > > Increasingly, whether macOS or Windows, that is not the Applications > (macOS) or Program Files/Program Files (x86) (Windows) folders. I find > the SAFEST place to save something is using > specialFolderPath("documents") and then create a folder structure for > your company or app in the user's Documents folder. OSes are becoming > more and more "sandboxed" to prevent malware and dumb user mistakes from > wrecking apps or the OS itself. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed May 22 15:01:02 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 May 2024 19:01:02 +0000 Subject: Saving data in standalone Message-ID: <86562f17194974abf30277d50d8a2fc60cb432f8@fourthworld.com> When I've used a group as a document view, sometimes I just copy the group to an invisible stackfile for storage. The engine handles stackfiles efficiently and robustly. If we had viewers it'd save me the copy step. https://quality.livecode.com/show_bug.cgi?id=2786 Richard Gaskin FourthWorld.com Bob Sneidar wrote: > > Including datagrids? I have a save and restore method for > Datagrids, but I don’t think I back up ALL the properties, > just the critical ones. > > Bob S > > >> On May 20, 2024, at 5:58 PM, Tom Glod wrote: >> >> I have a plugin that is not complete which can save livecode >> groups and all of their properties, custom properties and >> scripts. From matthias_livecode_150811 at m-r-d.de Thu May 23 11:29:48 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 23 May 2024 17:29:48 +0200 Subject: somehow OT, but somehow not - no price information anymore on Livecode website Message-ID: Hi, today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. I am not sure what to think about this. Was this announced? Or can the prices be viewed somewhere else? In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. What do you think? Regards, Matthias From bobsneidar at iotecdigital.com Thu May 23 11:54:38 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 May 2024 15:54:38 +0000 Subject: somehow OT, but somehow not - no price information anymore on Livecode website In-Reply-To: References: Message-ID: I agree. I have a long standing issue with companies that want me to give them email, phone and sometimes address in order to get a quote. In the case of your friend, he doesn’t know the company, and does not know he can trust them. How can he tell, he may just end up on a thousand other mailing lists. Bob S > On May 23, 2024, at 8:29 AM, matthias rebbe via use-livecode wrote: > > Hi, > > today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. > But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. > > I am not sure what to think about this. Was this announced? > Or can the prices be viewed somewhere else? > > In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. > > What do you think? > > Regards, > Matthias From heather at livecode.com Thu May 23 12:02:32 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 23 May 2024 17:02:32 +0100 Subject: somehow OT, but somehow not - no price information anymore on Livecode website In-Reply-To: References: Message-ID: <0A016899-27C9-49FC-BD1E-07863585A715@livecode.com> Hello all, This is a temporary change to the website while we transition a few things. Pricing will be restored on the site in due course. Please bear with us. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 23 May 2024, at 16:29, matthias rebbe via use-livecode wrote: > > Hi, > > today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. > But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. > > I am not sure what to think about this. Was this announced? > Or can the prices be viewed somewhere else? > > In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. > > What do you think? > > Regards, > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu May 23 12:09:57 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 23 May 2024 12:09:57 -0400 Subject: somehow OT, but somehow not - no price information anymore on Livecode website In-Reply-To: References: Message-ID: Pricing still seems to be available for Student and Educational plans: For example, at https://livecode.com/education-plans/ under the "Buy a LiveCode Subscription" there is a link for "View Pricing Options" (https://livecode.com/education-plans/#pricingoptions) It is just Pros & Business they are looking to quote for, which is a change for those plans from just showing the pricing. On 5/23/2024 11:29 AM, matthias rebbe via use-livecode wrote: > Hi, > > today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. > But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. > > I am not sure what to think about this. Was this announced? > Or can the prices be viewed somewhere else? > > In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. > > What do you think? > > Regards, > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeff at siphonophore.com Thu May 23 13:04:15 2024 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 23 May 2024 13:04:15 -0400 Subject: somehow OT, but somehow not - no price information Message-ID: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> Yikes, I agree this is really not a good turn. I usually see this stuff on stuff marketed to high end firms where price is not much of a factor. Having been an evangelist for Livecode thru all its evolution all the way back to MetaCard days (over three decades), I’m afraid I will not be pointing people there will glee now. This is just a very bad move in my opinion. Sad to see this turn. Jeff Reynolds > On May 23, 2024, at 12:02 PM, use-livecode-request at lists.runrev.com wrote: > > Re: somehow OT, but somehow not - no price information From irog at mac.com Thu May 23 22:07:20 2024 From: irog at mac.com (Roger Guay) Date: Thu, 23 May 2024 19:07:20 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> Message-ID: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. Thanks, Roger From MikeKerner at roadrunner.com Thu May 23 22:37:16 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 23 May 2024 22:37:16 -0400 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: just spitballing: let's call our containers "tSearchingFor" and "tSearchString" *set* the itemDelimiter to comma & tSearchString & comma *put* the number of items in tSearchingFor - 1 into tNum *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to tNum *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to tNum On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < use-livecode at lists.runrev.com> 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 repeated in > a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > > > Thanks, > > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From terry.judd at unimelb.edu.au Thu May 23 23:47:38 2024 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 24 May 2024 03:47:38 +0000 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: Probably not the shortest approach, but I’d probably do either this… function countItemRepsInList pList, pItem replace comma with cr in pList filter pList with pItem return (the number of lines in pList) end countItemRepsInList or this function countItemRepsInList pList, pItem put 0 into tCount repeat for each item tItem in pList if (tItem = pItem) then add 1 to tCount end repeat return tCount end countItemRepsInList Terry From: use-livecode on behalf of Roger Guay via use-livecode Date: Friday, 24 May 2024 at 12:09 PM To: How to use LiveCode Cc: Roger Guay Subject: Return Total of a Given Repeated Number in a List 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. Thanks, Roger _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 01:08:00 2024 From: irog at mac.com (Roger Guay) Date: Thu, 23 May 2024 22:08:00 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: Very clever, Mike. I never thought to use itemDelimiter this way. I’ll have to play with this. Thanks very much, Roger > On May 23, 2024, at 7:37 PM, Mike Kerner via use-livecode wrote: > > just spitballing: > let's call our containers "tSearchingFor" and "tSearchString" > > *set* the itemDelimiter to comma & tSearchString & comma > > *put* the number of items in tSearchingFor - 1 into tNum > > *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to tNum > > *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to tNum > > On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < > use-livecode at lists.runrev.com> 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 repeated in >> a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >> >> >> Thanks, >> >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andreas.bergendal at gmail.com Fri May 24 02:55:16 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 24 May 2024 08:55:16 +0200 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> Another way to do it is this: function countOccurrences pString repeat for each item tItem in pString add 1 to tFrequencyArray[tItem] end repeat return tFrequencyArray end countOccurrences To get the number of 2’s, just extract tFrequencyArray[2] etc. The advantage is that you get a frequency list (array) of ALL the items in one go. The bonus advantage is that you also get a list of unique values, by getting the keys of tFrequencyArray. So it also serves as a duplicate-clearing function, which is sometimes handy. /Andreas > 24 maj 2024 kl. 07:08 skrev Roger Guay via use-livecode : > > Very clever, Mike. I never thought to use itemDelimiter this way. I’ll have to play with this. > > Thanks very much, > > Roger > >> On May 23, 2024, at 7:37 PM, Mike Kerner via use-livecode wrote: >> >> just spitballing: >> let's call our containers "tSearchingFor" and "tSearchString" >> >> *set* the itemDelimiter to comma & tSearchString & comma >> >> *put* the number of items in tSearchingFor - 1 into tNum >> >> *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to tNum >> >> *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to tNum >> >> On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < >> use-livecode at lists.runrev.com> 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 repeated in >>> a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri May 24 08:35:52 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 24 May 2024 08:35:52 -0400 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> Message-ID: 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 at lists.runrev.com> wrote: > Another way to do it is this: > > function countOccurrences pString > repeat for each item tItem in pString > add 1 to tFrequencyArray[tItem] > end repeat > > return tFrequencyArray > end countOccurrences > > To get the number of 2’s, just extract tFrequencyArray[2] etc. > The advantage is that you get a frequency list (array) of ALL the items in > one go. > > The bonus advantage is that you also get a list of unique values, by > getting the keys of tFrequencyArray. > So it also serves as a duplicate-clearing function, which is sometimes > handy. > > /Andreas > > > > 24 maj 2024 kl. 07:08 skrev Roger Guay via use-livecode < > use-livecode at lists.runrev.com>: > > > > Very clever, Mike. I never thought to use itemDelimiter this way. I’ll > have to play with this. > > > > Thanks very much, > > > > Roger > > > >> On May 23, 2024, at 7:37 PM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> just spitballing: > >> let's call our containers "tSearchingFor" and "tSearchString" > >> > >> *set* the itemDelimiter to comma & tSearchString & comma > >> > >> *put* the number of items in tSearchingFor - 1 into tNum > >> > >> *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to > tNum > >> > >> *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to > tNum > >> > >> On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < > >> use-livecode at lists.runrev.com> 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 > repeated in > >>> a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > >>> > >>> > >>> Thanks, > >>> > >>> Roger > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> -- > >> On the first day, God created the heavens and the Earth > >> On the second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From alex at tweedly.net Fri May 24 10:51:30 2024 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 24 May 2024 15:51:30 +0100 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> Message-ID: <06e5a5e9-8849-432a-9864-b5405577666d@tweedly.net> 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. From bobsneidar at iotecdigital.com Fri May 24 11:23:11 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 15:23:11 +0000 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > > > Thanks, > > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 24 11:26:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 15:26:34 +0000 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> Message-ID: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> 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 > > 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >> >> >> Thanks, >> >> Roger From bobsneidar at iotecdigital.com Fri May 24 11:40:24 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 15:40:24 +0000 Subject: Strange syntax in new widgets!? In-Reply-To: <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> Message-ID: <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> 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. Well, also because I’m too lazy to implement any of the others just yet. Don’t get me wrong, there are some great widgets. But trying to replicate the functionality of datagrids, yeah not so much. Bob S On May 21, 2024, at 8:27 AM, Klaus major-k via use-livecode wrote: It appears to me that the new widgets have been created by someone who has no or very little knowledge of LC. We have: ... delete line 2 of fld 1 ... dispatch "DeleteLine" to group "DataGrid" with 2 ... So why not create a more or less similar syntax for new widgets, so we don't have to use the dictionary for similar tasks. I don't get it... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Fri May 24 12:20:09 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 16:20:09 +0000 Subject: Place Phone Call MacOS Message-ID: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> 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 do that? Bob S From andreas.bergendal at gmail.com Fri May 24 12:28:43 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 24 May 2024 18:28:43 +0200 Subject: Place Phone Call MacOS In-Reply-To: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> References: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> Message-ID: 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 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 do that? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri May 24 12:55:44 2024 From: paul at researchware.com (Paul Dupuis) Date: Fri, 24 May 2024 12:55:44 -0400 Subject: Place Phone Call MacOS In-Reply-To: References: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> Message-ID: <7279442b-fcfd-46b9-8895-175c5fa61453@researchware.com> 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, cant 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 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 do that? >> >> Bob S >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 17:05:37 2024 From: irog at mac.com (Roger Guay) Date: Fri, 24 May 2024 14:05:37 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: 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 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 >> >> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 17:05:37 2024 From: irog at mac.com (Roger Guay) Date: Fri, 24 May 2024 14:05:37 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: 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 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 >> >> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 17:05:37 2024 From: irog at mac.com (Roger Guay) Date: Fri, 24 May 2024 14:05:37 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: 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 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 >> >> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat May 25 10:20:11 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 25 May 2024 10:20:11 -0400 Subject: Groups id # Message-ID: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Hi list, I have a script that creates groups on the fly with the command "group". These groups contain various flds and imgs. Can I always assume that the group with the highest id # is the last one created ? Thanks, jbv From bogdanoff at me.com Sat May 25 10:46:07 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 25 May 2024 10:46:07 -0400 Subject: Groups id # In-Reply-To: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: Last. "The last keyword <> can be used to specify any object <> whose number <> property <> is equal to the number of objects <> of that type. It can also be used to designate the last chunk <> in a chunk expression <>." > On May 25, 2024, at 10:20 AM, jbv via use-livecode wrote: > > Hi list, > > I have a script that creates groups on the fly > with the command "group". These groups contain > various flds and imgs. > Can I always assume that the group with the highest > id # is the last one created ? > Thanks, > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat May 25 10:49:14 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 25 May 2024 16:49:14 +0200 Subject: Groups id # In-Reply-To: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: Hi jbv, > Am 25.05.2024 um 16:20 schrieb jbv via use-livecode : > > Hi list, > > I have a script that creates groups on the fly > with the command "group". These groups contain > various flds and imgs. > Can I always assume that the group with the highest > id # is the last one created ? sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. Use IT right after the groupd command: ... select this_and_that group put IT into the_id_of_just_created_group ... > Thanks, > jbv Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Sat May 25 11:07:39 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 May 2024 11:07:39 -0400 Subject: Strange syntax in new widgets!? In-Reply-To: <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> Message-ID: a couple of notes on bob's comments: * the widgets were written by a third party using lcb. lc purchased the source. unfortunately, the source is closed, so your ability to improve them is limited. (then there's the whole matter of the property editor and property inspector not being documented, which makes fixing the properties panels for the widgets much more interesting) * i've completely replaced the segmented control and the tab panel with a polyList, because it's more flexible, and i can get more functionality out of it. * give the polygrid a try. it is much, much faster than the datagrid, and i have not had any issues with missing functionality (at least for what i'm using it for). On Fri, May 24, 2024 at 11:41 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > 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. > Well, also because I’m too lazy to implement any of the others just yet. > > Don’t get me wrong, there are some great widgets. But trying to replicate > the functionality of datagrids, yeah not so much. > > Bob S > > > On May 21, 2024, at 8:27 AM, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > > It appears to me that the new widgets have been created by someone who has > no > or very little knowledge of LC. > > We have: > ... > delete line 2 of fld 1 > ... > dispatch "DeleteLine" to group "DataGrid" with 2 > ... > > So why not create a more or less similar syntax for new widgets, so we > don't have > to use the dictionary for similar tasks. I don't get it... > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From klaus at major-k.de Sat May 25 11:14:46 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 25 May 2024 17:14:46 +0200 Subject: Strange syntax in new widgets!? In-Reply-To: References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> Message-ID: Hi Mike, > Am 25.05.2024 um 17:07 schrieb Mike Kerner via use-livecode : > > a couple of notes on bob's comments: > * the widgets were written by a third party using lcb. lc purchased the > source. AHA! Well, that explains the "inconsistency" in the syntax. > unfortunately, the source is closed, so your ability to improve > them is limited. (then there's the whole matter of the property editor and > property inspector not being documented, which makes fixing the properties > panels for the widgets much more interesting) > * i've completely replaced the segmented control and the tab panel with a > polyList, because it's more flexible, and i can get more functionality out > of it. > * give the polygrid a try. it is much, much faster than the datagrid, and i > have not had any issues with missing functionality (at least for what i'm > using it for). Don't get me wrong, this is a wonderful widget and I replaced the DataGrid with a PolyList/PolyGrid wherever possible in my projects. > On Fri, May 24, 2024 at 11:41 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> 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. YES! Same here... >> Well, also because I’m too lazy to implement any of the others just yet. >> >> Don’t get me wrong, there are some great widgets. But trying to replicate >> the functionality of datagrids, yeah not so much. >> >> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Sat May 25 11:13:55 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 May 2024 11:13:55 -0400 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: (to alex's question) > * quicken date shortcuts quicken has/had these very nifty ways of handling date inputs, to make entry faster. if you enter a numeral, like 26, it means that date of this month. similarly, month/date e.g. 5/25 is 5/25 of this year. "T" is today "+" to increment the date field one day. if the date field is empty, it means tomorrow "-" "M" is the first day of this month, and "H" is the last "Y"ea"R" "W"ee"K" On Fri, May 24, 2024 at 5:06 PM Roger Guay via use-livecode < use-livecode at lists.runrev.com> wrote: > 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 < > use-livecode at lists.runrev.com> wrote: > > > > 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 < > use-livecode at lists.runrev.com> wrote: > >> > >> 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 < > use-livecode at lists.runrev.com> 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 repeated in > a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > >>> > >>> > >>> Thanks, > >>> > >>> Roger > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Sat May 25 19:52:33 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 25 May 2024 23:52:33 +0000 Subject: Groups id # In-Reply-To: References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: IDs are assigned according to the stack ID which increments by 1 every time an object is created. So yes, the stack ID is like an auto increment column in SQL. It assures that no two objects get the same ID, and the last object created is the highest ID in the stack. Sent from my iPhone > On May 25, 2024, at 07:50, Klaus major-k via use-livecode wrote: > > Hi jbv, > >> Am 25.05.2024 um 16:20 schrieb jbv via use-livecode : >> >> Hi list, >> >> I have a script that creates groups on the fly >> with the command "group". These groups contain >> various flds and imgs. >> Can I always assume that the group with the highest >> id # is the last one created ? > > sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. > Use IT right after the groupd command: > ... > select this_and_that > group > put IT into the_id_of_just_created_group > ... > >> Thanks, >> jbv > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sat May 25 19:54:54 2024 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 26 May 2024 00:54:54 +0100 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: On 25/05/2024 16:13, Mike Kerner via use-livecode wrote: > (to alex's question) >> * quicken date shortcuts > quicken has/had these very nifty ways of handling date inputs, to make > entry faster. > if you enter a numeral, like 26, it means that date of this month. > similarly, month/date e.g. 5/25 is 5/25 of this year. > "T" is today > "+" to increment the date field one day. if the date field is empty, it > means tomorrow > "-" > "M" is the first day of this month, and "H" is the last > "Y"ea"R" > "W"ee"K" > Ohhhh - those are cool :-) I have a project to keep me busy tomorrow  :-) Thanks, Alex. From bobsneidar at iotecdigital.com Sat May 25 20:03:18 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 26 May 2024 00:03:18 +0000 Subject: Groups id # In-Reply-To: References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: <0837D98C-8E6D-47CC-B08F-AF7AE831D610@iotecdigital.com> As I said, the last ID is going to be the stack ID -1. Sent from my iPhone > On May 25, 2024, at 16:55, Bob Sneidar wrote: > > sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. From craig at starfirelighting.com Tue May 28 09:42:13 2024 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 28 May 2024 09:42:13 -0400 Subject: Groups id # In-Reply-To: <0837D98C-8E6D-47CC-B08F-AF7AE831D610@iotecdigital.com> References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> <0837D98C-8E6D-47CC-B08F-AF7AE831D610@iotecdigital.com> Message-ID: There is an anomaly with the “last” keyword. It is not reliable with groups. Craig > On May 25, 2024, at 8:03 PM, Bob Sneidar via use-livecode wrote: > > As I said, the last ID is going to be the stack ID -1. > > Sent from my iPhone > >> On May 25, 2024, at 16:55, Bob Sneidar wrote: >> >> sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu May 30 08:27:52 2024 From: klaus at major-k.de (Klaus major-k) Date: Thu, 30 May 2024 14:27:52 +0200 Subject: error when creating iOS app: failed to create launch screen: /* com.apple.ibtoolerrors */ Message-ID: <33AD4EB5-5AA7-4089-BBFD-2BB847F0AF63@major-k.de> Hi friends, I just wanted to create an iOS app with my new M2 MacMini. LC 9.6.11, Xcode 15.0 Available Device SDKs: 17.0 Available simulators: 17.0 All iOS icons and the launch image are present and have the correct dimensions, however LC tells me: --------------------------------------- There was an error while saving the standalone application failed to create launch screen: /* com.apple.ibtoolerrors */ /Volumes/ 1TB/Livecode Hilfe/Klaus/LeadSheeter X/Leadsheeter-X/Leadsheeter-X.app/LaunchScreen.storyboard: error: iOS 17.0 Platform Not installed. --------------------------------------- Platform not installed? What does that mean? What am I missing? Thanks for any hint. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Thu May 30 09:35:45 2024 From: klaus at major-k.de (Klaus major-k) Date: Thu, 30 May 2024 15:35:45 +0200 Subject: error when creating iOS app: failed to create launch screen: SOLVED In-Reply-To: <33AD4EB5-5AA7-4089-BBFD-2BB847F0AF63@major-k.de> References: <33AD4EB5-5AA7-4089-BBFD-2BB847F0AF63@major-k.de> Message-ID: <55FB811F-681A-4AD1-82B5-45AE95A45A36@major-k.de> Hi all, > Am 30.05.2024 um 14:27 schrieb Klaus major-k via use-livecode : > > Hi friends, > > I just wanted to create an iOS app with my new M2 MacMini. > LC 9.6.11, > Xcode 15.0 > Available Device SDKs: 17.0 > Available simulators: 17.0 > > All iOS icons and the launch image are present and have the > correct dimensions, however LC tells me: > --------------------------------------- > There was an error while saving the standalone application > failed to create launch screen: /* com.apple.ibtoolerrors */ > /Volumes/ 1TB/Livecode Hilfe/Klaus/LeadSheeter > X/Leadsheeter-X/Leadsheeter-X.app/LaunchScreen.storyboard: > error: iOS 17.0 Platform Not installed. > --------------------------------------- > Platform not installed? What does that mean? What am I missing? > Thanks for any hint. obviously I did not open Xcode before... Now I did and had to download and install platform 17.0. Works as exspected now. :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From neville.smythe at optusnet.com.au Thu May 30 21:21:33 2024 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Fri, 31 May 2024 11:21:33 +1000 Subject: Snapshot question Message-ID: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> I have a need for rotated graphic objects, in particular a roundrect graphic. Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame. Which means the image can really only be used against a black background. Ideally the background outside the rounded frame should be transparent, although I suspect that may not be possible with the bitmap image format produced. Is there any setting that can fix this (a mask?), or failing that set the colour of these pixels (I presume the snapshot is actually produced by rendering the object in a hidden buffer with default black background) . The alternative solution of producing a screenshot against a background of the required colour is not practical; it requires displaying the object against an empty visible region of the screen before taking the screenshot and therefore an unacceptable flash for the user. Neville Smythe From Bernd.Niggemann at uni-wh.de Fri May 31 04:59:08 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Fri, 31 May 2024 08:59:08 +0000 Subject: Snapshot question Message-ID: Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame Have you tried as "png"? It should make the black corners transparent. export snapshot from graphic "g1" to image "iDest" as png Kind regards Bernd From jbv at souslelogo.com Fri May 31 05:32:06 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 31 May 2024 05:32:06 -0400 Subject: Hierarchical submenus in option menu buttons Message-ID: <681876e527d882a8adad269d93e918fc@souslelogo.com> Hi list, I am trying to create a hierarchical submenu in an option menu button with LC 9.6. I have found this solution that seems to work only with pulldown buttons : https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu I also found this LC lesson that suggests to use polylists : https://livecode.com/using-polylist-to-create-dropdown-menus/ But that seems way too sophisticated for a simple submenu. Any idea ? Thank you in advance. jbv From craig at starfirelighting.com Fri May 31 09:23:07 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 31 May 2024 09:23:07 -0400 Subject: Hierarchical submenus in option menu buttons In-Reply-To: <681876e527d882a8adad269d93e918fc@souslelogo.com> References: <681876e527d882a8adad269d93e918fc@souslelogo.com> Message-ID: Hi. I believe that only pullDown and popUp menu styles can support submenus. Combo boxes and Option menus styles do not. Craig > On May 31, 2024, at 5:32 AM, jbv via use-livecode wrote: > > Hi list, > > I am trying to create a hierarchical submenu in an option menu button > with LC 9.6. > I have found this solution that seems to work only with pulldown buttons : > https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu > > I also found this LC lesson that suggests to use polylists : > https://livecode.com/using-polylist-to-create-dropdown-menus/ > But that seems way too sophisticated for a simple submenu. > > Any idea ? > Thank you in advance. > > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri May 31 09:32:02 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 31 May 2024 09:32:02 -0400 Subject: Snapshot question In-Reply-To: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> References: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> Message-ID: <7E034A1E-1D1D-43AD-A1C6-D0F1DACAC192@starfirelighting.com> I think that only a “regular” polygon graphic can be rotated by setting its “angle” property.That means that a roundRect or rectangular graphic do not respond at all. LC will not throw an error, and the property sticks, but the arc itself does not change.. I could be wrong about all this. Crig > On May 30, 2024, at 9:21 PM, Neville Smythe via use-livecode wrote: > > I have a need for rotated graphic objects, in particular a roundrect graphic. > > Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame. Which means the image can really only be used against a black background. > > Ideally the background outside the rounded frame should be transparent, although I suspect that may not be possible with the bitmap image format produced. Is there any setting that can fix this (a mask?), or failing that set the colour of these pixels (I presume the snapshot is actually produced by rendering the object in a hidden buffer with default black background) . > > The alternative solution of producing a screenshot against a background of the required colour is not practical; it requires displaying the object against an empty visible region of the screen before taking the screenshot and therefore an unacceptable flash for the user. > > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri May 31 09:39:07 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 31 May 2024 09:39:07 -0400 Subject: Snapshot question In-Reply-To: <7E034A1E-1D1D-43AD-A1C6-D0F1DACAC192@starfirelighting.com> References: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> <7E034A1E-1D1D-43AD-A1C6-D0F1DACAC192@starfirelighting.com> Message-ID: <41EC8D56-11FA-4437-B143-BB3936541068@starfirelighting.com> AHA, now I remember. Try the “revRotatePoly” command. That seems to work with any graphic. Craig > On May 31, 2024, at 9:32 AM, Craig Newman via use-livecode wrote: > > I think that only a “regular” polygon graphic can be rotated by setting its “angle” property.That means that a roundRect or rectangular graphic do not respond at all. LC will not throw an error, and the property sticks, but the arc itself does not change.. > > I could be wrong about all this. > > Crig > >> On May 30, 2024, at 9:21 PM, Neville Smythe via use-livecode wrote: >> >> I have a need for rotated graphic objects, in particular a roundrect graphic. >> >> Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame. Which means the image can really only be used against a black background. >> >> Ideally the background outside the rounded frame should be transparent, although I suspect that may not be possible with the bitmap image format produced. Is there any setting that can fix this (a mask?), or failing that set the colour of these pixels (I presume the snapshot is actually produced by rendering the object in a hidden buffer with default black background) . >> >> The alternative solution of producing a screenshot against a background of the required colour is not practical; it requires displaying the object against an empty visible region of the screen before taking the screenshot and therefore an unacceptable flash for the user. >> >> Neville Smythe >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 31 12:22:24 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 May 2024 16:22:24 +0000 Subject: Hierarchical submenus in option menu buttons In-Reply-To: References: <681876e527d882a8adad269d93e918fc@souslelogo.com> Message-ID: <09860FAC-5046-4E6D-8D63-2F5F3A19EFB6@iotecdigital.com> You are correct. Essentially, any menu that offers a list of strings to display on the menu button itself cannot use submenus. It makes sense really. I’ve never seen an option menu in any other application that allows a submenu choice. Bob S > On May 31, 2024, at 6:23 AM, Craig Newman via use-livecode wrote: > > Hi. > > I believe that only pullDown and popUp menu styles can support submenus. Combo boxes and Option menus styles do not. > > Craig > >> On May 31, 2024, at 5:32 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> I am trying to create a hierarchical submenu in an option menu button >> with LC 9.6. >> I have found this solution that seems to work only with pulldown buttons : >> https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu >> >> I also found this LC lesson that suggests to use polylists : >> https://livecode.com/using-polylist-to-create-dropdown-menus/ >> But that seems way too sophisticated for a simple submenu. >> >> Any idea ? >> Thank you in advance. >> >> jbv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Fri May 31 21:30:25 2024 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 1 Jun 2024 11:30:25 +1000 Subject: Snapshot question In-Reply-To: References: Message-ID: <800B6231-EC7E-45C7-93D8-67F28A8664D4@optusnet.com.au> Many thanks Craig and Bernd for your suggestions Craig: Unfortunately the docs say revRotatePoly only works with lines, curves and polygons Bernd: Oh! Yes, exporting as png does work to give transparent corner bits! Obvious now! I think I had briefly considered this and rejected it because at the time I was conflating the problem with an issue I am going to have later in my project. The roundrect graphics are going to be used as niches for a collection of images: the images should be scaled and rotated to fit the graphic object (or now its png alter-ego). Now while referenced images such as png’s can be rotated (more precisely, have their angle set) they lose their scaling, reverting to their native size; and rotated images cannot be scaled (why?? Rather a strange restriction. I think the graphical engine for LC is showing its age rather badly). Which somehow led me to think I had to use the bitmap form for snapshots. But if I place and scale the original image, then export that as a png, the exported image should have the required size and so can then be rotated without changing its size. I hope. Neville From panos.merakos at livecode.com Wed May 1 10:43:56 2024 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 1 May 2024 17:43:56 +0300 Subject: [[ ANN ]] Release 9.6.12 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.12 RC-1. LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, including support for adding a privacy manifest in your iOS app, which is a new requirement for AppStore submissions as of today. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From panos.merakos at livecode.com Wed May 1 10:48:48 2024 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 1 May 2024 17:48:48 +0300 Subject: [[ ANN ]] Release 10.0.0 DP-8 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 DP-8. LiveCode 10.0.0 DP-8 comes with 5 bugfixes since the previous DP release, and also includes the bug fixes of LiveCode 9.6.12 RC-1, including support for adding a privacy manifest in your iOS app, which is a new requirement for AppStore submissions as of today. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From bobsneidar at iotecdigital.com Wed May 1 12:39:38 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 May 2024 16:39:38 +0000 Subject: [[ ANN ]] Release 9.6.12 RC-1 In-Reply-To: References: Message-ID: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> License server is crashed. Livecode.com is down too it seems. Bob S > On May 1, 2024, at 7:43 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.12 RC-1. > > LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, > including support for adding a privacy manifest in your iOS app, which is a > new requirement for AppStore submissions as of today. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tj_frame at outlook.com Wed May 1 12:48:42 2024 From: tj_frame at outlook.com (TJ Frame) Date: Wed, 1 May 2024 16:48:42 +0000 Subject: [[ ANN ]] Release 9.6.12 RC-1 In-Reply-To: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> References: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> Message-ID: I'm currently downloading the update at an impressive 16kbs ________________________________ From: use-livecode on behalf of Bob Sneidar via use-livecode Sent: Wednesday, May 1, 2024 11:39 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: [[ ANN ]] Release 9.6.12 RC-1 License server is crashed. Livecode.com is down too it seems. Bob S > On May 1, 2024, at 7:43 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.12 RC-1. > > LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, > including support for adding a privacy manifest in your iOS app, which is a > new requirement for AppStore submissions as of today. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed May 1 12:56:51 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 May 2024 16:56:51 +0000 Subject: [[ ANN ]] Release 9.6.12 RC-1 In-Reply-To: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> References: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> Message-ID: <51203F90-B8D6-40C9-9837-BACB7883C3C8@iotecdigital.com> All better now. Bob S > On May 1, 2024, at 9:39 AM, Bob Sneidar wrote: > > License server is crashed. Livecode.com is down too it seems. > > Bob S > > >> On May 1, 2024, at 7:43 AM, panagiotis merakos via use-livecode wrote: >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.12 RC-1. >> >> LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, >> including support for adding a privacy manifest in your iOS app, which is a >> new requirement for AppStore submissions as of today. >> >> You can find more details on the bug fixes and improvements of this new >> release here: >> >> https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> The LiveCode Team >> >> >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Thu May 2 18:39:37 2024 From: tom at makeshyft.com (Tom Glod) Date: Thu, 2 May 2024 18:39:37 -0400 Subject: Game of Life as LiveCode web deployment In-Reply-To: References: Message-ID: Hey Andreas, This is very cool, its a good demo for the web engine. I still don't plan on deploying to the web, but its nice to see that its getting better. Thanks, Tom On Tue, Apr 30, 2024 at 5:27 AM Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > So, in my series of ”LiveCode projects that can be deployed straight to > web with almost no modification”, here is the LC implementation of Game of > Life that I created during the pandemic, with great help from Thierry D. > > https://wheninspace.com/gameoflife/ > > The only adaptation I have made is changing the save function for custom > seed patterns from local text file to browser local storage. > > I also threw in a new feature for importing RLE code (a common GoL seed > pattern format). > > It doesn’t have responsive design, so a large screen is recommended. > It does work on mobile though (at least iOS), albeit being a bit slow (and > you'll obviously need to scroll around to see things). > > Depending on your processor capacity, the web browser may choke and stall > on the fast progression rate, so you may then need to enter a longer > millisec delay value in the appropriate field and try again. > (As reference: On an iPad 6th gen a 600 millisec delay is needed, while on > a Mac Studio M1 Max just 40 millisecs is fine.) > > Have fun! :D > > /Andreas > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Thu May 2 19:56:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 May 2024 23:56:34 +0000 Subject: Supress Standalone Builder Warnings Message-ID: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> Hi all. I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? BTW the standalone building IS much faster with 9.6.12 (rc1) Bob S From jacque at hyperactivesw.com Thu May 2 20:40:59 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 May 2024 19:40:59 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> Message-ID: <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It's this: The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: > Hi all. > > I have about had it with the Standalone asking me if I want to save, purge > or cancel for stacks that are already open. I ONLY ever have one version of > any stack that is open, unless the Standalone Builder is leaving stack IN > the Standalone in memory, which would be breathtakingly bad programming, > and I do not think they are doing that. > > What I would like to do is edit the library that is popping up that dialog, > and setting it to where it always cancels (doesnt change anything). I know > I will have to update the library each time a new release came out but its > worth it just to avoid the hassle of quitting and relaunching every time a > different standalone need to be built. > > I tried editing the script of revSaveAsStandalone.livecode in the MacOS > bundle, but the word purge does not occur in the library. Any idea what > library is actually popping up that dialog? > > BTW the standalone building IS much faster with 9.6.12 (rc1) > > Bob S > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Thu May 2 21:20:04 2024 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 2 May 2024 18:20:04 -0700 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5FAB4468-7657-4BE4-AE55-960862EEDD5F@gmail.com> I build my complex apps using Trevor’s Levure Framework and never have an issue. If you don’t want to go that route, maybe there’s something in the framework you could borrow? --- Marty Knapp > On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: > > It's this: > > > The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: > >> Hi all. >> >> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >> >> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >> >> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >> >> BTW the standalone building IS much faster with 9.6.12 (rc1) >> >> Bob S From bobsneidar at iotecdigital.com Fri May 3 11:26:53 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 15:26:53 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque. I did attempt to deploy this solution a while back, but for whatever reason it failed to work, but I’m sure I missed something. I’m curious, should this also be applied to (pre) openCard / closeCard handlers as well? Thanks this is the simplest explanation I have seen. Bob S > On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: > > It's this: > > > The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: > >> Hi all. >> >> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >> >> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >> >> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >> >> BTW the standalone building IS much faster with 9.6.12 (rc1) >> >> Bob S >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 11:31:33 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 15:31:33 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <5FAB4468-7657-4BE4-AE55-960862EEDD5F@gmail.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5FAB4468-7657-4BE4-AE55-960862EEDD5F@gmail.com> Message-ID: <1C89AB61-A6C0-43DE-89B2-D6625E60DCCB@iotecdigital.com> Hi Marty. I really do want to convert to Levure, but I had a lot of refactoring to do to completely cut over to Andre’s Publish and Subscribe framework before I do that, and I am waiting until that is completed. I am just at the point now, so maybe that will be my next project. Bob S > On May 2, 2024, at 6:20 PM, Marty Knapp via use-livecode wrote: > > I build my complex apps using Trevor’s Levure Framework and never have an issue. If you don’t want to go that route, maybe there’s something in the framework you could borrow? > --- > Marty Knapp > >> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: >> >> It's this: >> >> >> The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: >> >>> Hi all. >>> >>> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >>> >>> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >>> >>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >>> >>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>> >>> Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri May 3 11:38:43 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 11:38:43 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: References: Message-ID: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> Bob: > I have about had it with the Standalone asking me if I want to > save, purge or cancel for stacks that are already open. Simplest way In card 1 of main stack to build: on closestack --- curryk 2020 no-purge LC build: if the environment is "development" then lock messages --- and only if add'l main stack issues: try # delete stack "XYZ" end try end if end closestack Jacqueline: > The engine used to lock messages when building a standalone > but that was changed 4 years ago. > Personally I think it causes more problems than it solves. Indeed; WAY more. Richard: > In MC building a standalone was not a disruptive process. > It shouldn't be in LC either, and certainly shouldn't > require modifying code just to build. Amen! Well said. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Fri May 3 12:26:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:26:41 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Unfortunately that is not working. I put the function that checks in the script of the mainStack, and that script gets set as a backScript on preOpenstack so that all the handlers in that stack are available in a Windows standalone (when the Windows builder breaks out all the sub stacks, the script of the mainStack is no longer in the message path). I then used the Find function to find all the (pre) openStack / closeStack handlers and add the statement at the beginning. However when I attempt to build for MacOS and Windows, or if I do a second build in the same Livecode session, I get the dreaded dialogs over, and over, and over…………. Again. Like 100 times. So my initial question is, what library actually pops up that dialog so I can force the cancel option every time, or is that something built into the engine? Bob S > On May 3, 2024, at 8:26 AM, Bob Sneidar wrote: > > Hi Jacque. > > I did attempt to deploy this solution a while back, but for whatever reason it failed to work, but I’m sure I missed something. I’m curious, should this also be applied to (pre) openCard / closeCard handlers as well? > > Thanks this is the simplest explanation I have seen. > > Bob S > > >> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: >> >> It's this: >> >> >> The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: >> >>> Hi all. >>> >>> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >>> >>> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >>> >>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >>> >>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>> >>> Bob S >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri May 3 12:29:46 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 11:29:46 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <18f3f4a5090.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think the pre* handlers would need it too but try without and see how it goes. It depends on where they are in the message hierarchy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 10:29:13 AM Bob Sneidar via use-livecode wrote: > Hi Jacque. > > I did attempt to deploy this solution a while back, but for whatever reason > it failed to work, but Im sure I missed something. Im curious, should > this also be applied to (pre) openCard / closeCard handlers as well? > > Thanks this is the simplest explanation I have seen. > > Bob S > > >> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode >> wrote: >> >> It's this: >> >> >> The engine used to lock messages when building a standalone but that was >> changed 4 years ago. Personally I think it causes more problems than it >> solves, but the solution is to add (multiple) handlers to your stack to >> avoid the dialog. Most of my stacks work okay without the additions, but if >> you have certain handlers in the message hierarchy you get the dialog. The >> code you need to add is in the link above. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode >> wrote: >> >>> Hi all. >>> >>> I have about had it with the Standalone asking me if I want to save, purge >>> or cancel for stacks that are already open. I ONLY ever have one version of >>> any stack that is open, unless the Standalone Builder is leaving stack IN >>> the Standalone in memory, which would be breathtakingly bad programming, >>> and I do not think they are doing that. >>> >>> What I would like to do is edit the library that is popping up that dialog, >>> and setting it to where it always cancels (doesnt change anything). I know >>> I will have to update the library each time a new release came out but its >>> worth it just to avoid the hassle of quitting and relaunching every time a >>> different standalone need to be built. >>> >>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS >>> bundle, but the word purge does not occur in the library. Any idea what >>> library is actually popping up that dialog? >>> >>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>> >>> Bob S >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 12:35:43 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:35:43 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3f4a5090.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <18f3f4a5090.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I did the pre’s as well. What about “before”? Bob S > On May 3, 2024, at 9:29 AM, J. Landman Gay via use-livecode wrote: > > I think the pre* handlers would need it too but try without and see how it goes. It depends on where they are in the message hierarchy. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 3, 2024 10:29:13 AM Bob Sneidar via use-livecode wrote: > >> Hi Jacque. >> >> I did attempt to deploy this solution a while back, but for whatever reason it failed to work, but I’m sure I missed something. I’m curious, should this also be applied to (pre) openCard / closeCard handlers as well? >> >> Thanks this is the simplest explanation I have seen. >> >> Bob S >> >> >>> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: >>> >>> It's this: >>> >>> >>> The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: >>> >>>> Hi all. >>>> >>>> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >>>> >>>> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >>>> >>>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >>>> >>>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>>> >>>> Bob S >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 12:39:35 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:39:35 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> Message-ID: <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> Hi Curry. I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? Bob S On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: Simplest way – In card 1 of main stack to build: on closestack --- curryk 2020 no-purge LC build: if the environment is "development" then lock messages --- and only if add'l main stack issues: try # delete stack "XYZ" end try end if end closestack From bobsneidar at iotecdigital.com Fri May 3 12:44:10 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:44:10 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> Message-ID: <1516ADAC-AE82-4AE6-B2B4-E993F875268C@iotecdigital.com> Also, isn’t the problem that when opening a stack Livecode detects the stack being opened has the same name as one already in memory? Bob S > On May 3, 2024, at 9:39 AM, Bob Sneidar via use-livecode wrote: > > Hi Curry. > > I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? > > Bob S > > > On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: > > Simplest way – In card 1 of main stack to build: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is "development" then > lock messages > --- and only if add'l main stack issues: > try > # delete stack "XYZ" > end try > end if > end closestack > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 13:22:57 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 17:22:57 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <1516ADAC-AE82-4AE6-B2B4-E993F875268C@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <1516ADAC-AE82-4AE6-B2B4-E993F875268C@iotecdigital.com> Message-ID: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> OK so in the process of all this, my original stack Forms Generator 8 has been OVERWRITTEN with the version the Standalone Builder created. So… anybody on this list do NOT follow the instructions in this thread, unless you make backups of all your stacks first, which thankfully I have done. Bob S > On May 3, 2024, at 9:44 AM, Bob Sneidar via use-livecode wrote: > > Also, isn’t the problem that when opening a stack Livecode detects the stack being opened has the same name as one already in memory? > > Bob S > > >> On May 3, 2024, at 9:39 AM, Bob Sneidar via use-livecode wrote: >> >> Hi Curry. >> >> I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? >> >> Bob S >> >> >> On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: >> >> Simplest way – In card 1 of main stack to build: >> >> on closestack >> --- curryk 2020 no-purge LC build: >> if the environment is "development" then >> lock messages >> --- and only if add'l main stack issues: >> try >> # delete stack "XYZ" >> end try >> end if >> end closestack >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri May 3 13:40:24 2024 From: paul at researchware.com (Paul Dupuis) Date: Fri, 3 May 2024 13:40:24 -0400 Subject: Livecode startup messages... Message-ID: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." This dialog may appear on earlier versions - I forget if I had seen it previously. Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". From bobsneidar at iotecdigital.com Fri May 3 13:43:53 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 17:43:53 +0000 Subject: Livecode startup messages... In-Reply-To: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> Message-ID: <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> I think this has come up before, but I forget the resolution. Did you search the forums? Bob S > On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: > > When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." > > This dialog may appear on earlier versions - I forget if I had seen it previously. > > Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri May 3 14:10:50 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 14:10:50 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> References: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> Message-ID: Bob: > put this in the closeStack of the splash stack or the main stack? As it says - the 'stack to build' - saving standalone from. > Also, isnt the problem that when opening a stack Livecode detects > the stack being opened has the same name as one already in memory? As Jacqueline said: > The engine used to lock messages when building a standalone > but that was changed 4 years ago. Bob: > make backups of all your stacks first Of course, and don't mix/match methods, or ignore your project setup - Code in use 4 years, no issues; restores LC's own original SB technique! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From paul at researchware.com Fri May 3 14:16:07 2024 From: paul at researchware.com (Paul Dupuis) Date: Fri, 3 May 2024 14:16:07 -0400 Subject: Livecode startup messages... In-Reply-To: <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> Message-ID: <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> I had not searched the forums, but I just did for "Waiting for printer" and "printer connections" and neither phrase turned up anything related to the dialog that appears on startup (unfortunately). Maybe under another search term, but the general term of "printer" returns 38 screens of forum messages! Good suggestion though. Thank you. On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: > I think this has come up before, but I forget the resolution. Did you search the forums? > > Bob S > > >> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: >> >> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." >> >> This dialog may appear on earlier versions - I forget if I had seen it previously. >> >> Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 14:33:03 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 18:33:03 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> Message-ID: Okay, well this is better. When building for MacOS and Windows simultaneously, I only get the dialog twice, whether or not I delete the main stack or no. But if I leave Livecode running and then try to open the main stack, I get all the dialogs. I think the problem is that the Livecode Standalone builder is leaving files open from the standalone that ought not be left open. The Standalone Builder should build a list of all the file paths of all open stacks (that are not native to Livecode itself) prior to the build, then close them all, then build the standalone, then close. any stacks opened in that process, then restore the old environment by re-opening the stacks that were open prior to the build. That is the only way I can see to make the process as clean as possible. The end goal here has to be to leave the environment in the exact state that it was prior to building. I doubt that will ever get implemented, but that has to be how it works. I think I can develop a workaround myself, and will probably do that and share it with everyone. Bob S > On May 3, 2024, at 11:10 AM, Curry Kenworthy via use-livecode wrote: > > Bob: > > > put this in the closeStack of the splash stack or the main stack? > > As it says - the 'stack to build' - saving standalone from. > > > Also, isn’t the problem that when opening a stack Livecode detects > > the stack being opened has the same name as one already in memory? > > As Jacqueline said: > > > The engine used to lock messages when building a standalone > > but that was changed 4 years ago. > > Bob: > > > make backups of all your stacks first > > Of course, and don't mix/match methods, or ignore your project setup - > > Code in use 4 years, no issues; restores LC's own original SB technique! > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Fri May 3 14:48:39 2024 From: david.bovill at gmail.com (David Bovill) Date: Fri, 3 May 2024 19:48:39 +0100 Subject: Livecode Login stuck pinging Facebook? In-Reply-To: <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> Message-ID: I can't login to my account and register the new dp8 - or login via the web site. Something Livecode server end? From curry at pair.com Fri May 3 14:53:59 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 14:53:59 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: References: Message-ID: <4e2d9f77-1cf1-4f1f-9294-43f581862f1f@pair.com> Bob: > Okay, well this is better. I only get the dialog twice, > whether or not I delete the main stack or no. > Standalone builder is leaving files open from the standalone > that ought not be left open. Yes, thats what this last part does - Comments edited for clarity! --- and only if add'l main stack(s) with issues: try # delete stack "ABC" # delete stack "XYZ" --- etc end try Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From jacque at hyperactivesw.com Fri May 3 15:03:42 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 14:03:42 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> Message-ID: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think the problem is in the splash stack, which is where the blocking handlers should go. When LC builds a standalone, it clones the one in the IDE and creates the standalone from that. Then it reopens the original which now triggers all the handlers in the original. You don't really need to worry about the other stacks, just the one that triggers the opening of the working stack(s). When the SB finishes, it will reopen the splash and the blocks will prevent any other stacks from loading into memory. That may mean you need to use the message box to trigger the handler that opens the others right after the SB finishes. The problem may be that LC doesn't close its own copy properly before reopening the original. I'd submit a bug report and include your stack(s) so they can take a look. Ideally there would be an option or property that would let us decide whether messages should be locked or not. It would be nice if the engine could store variable values, create the standalone with messages locked, and then restore the values after the build. I'm not sure Curry's suggestion will work, since the SB manages lockmessages on its own. I've tried scripting a lock messages and it was ignored. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 11:41:24 AM Bob Sneidar via use-livecode wrote: > Hi Curry. > > I use a Splash Stack which then opens what I call the mainStack. Should I > put this in the closeStack of the splash stack or the main stack? > > Bob S > > > On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode > wrote: > > Simplest way In card 1 of main stack to build: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is "development" then > lock messages > --- and only if add'l main stack issues: > try > # delete stack "XYZ" > end try > end if > end closestack > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri May 3 15:19:26 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 14:19:26 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> Message-ID: <18f3fe5a630.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> In that case, I'll have to try it next time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 1:13:03 PM Curry Kenworthy via use-livecode wrote: > Code in use 4 years, no issues; restores LC's own original SB technique! From bobsneidar at iotecdigital.com Fri May 3 16:13:06 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 20:13:06 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Well I gave that a try, only using your method in the splash stack. I get the same results as Curry, I get two dialogs complaining there are open stacks on the second platform build, then when I try to open the Main Stack without quitting and relaunching Livecode, I get the dialog for every stack that I start using in the main stack. As I said, I think the trick has to be to find a way to save the state of the environment before building for a platform, close all non-native stacks, do the build, again close all non-native stacks, then restore the stacks from the saved environment. I am working on that now and it should be fairly trivial. Bob S > On May 3, 2024, at 12:03 PM, J. Landman Gay via use-livecode wrote: > > I think the problem is in the splash stack, which is where the blocking handlers should go. When LC builds a standalone, it clones the one in the IDE and creates the standalone from that. Then it reopens the original which now triggers all the handlers in the original. You don't really need to worry about the other stacks, just the one that triggers the opening of the working stack(s). When the SB finishes, it will reopen the splash and the blocks will prevent any other stacks from loading into memory. That may mean you need to use the message box to trigger the handler that opens the others right after the SB finishes. > > The problem may be that LC doesn't close its own copy properly before reopening the original. I'd submit a bug report and include your stack(s) so they can take a look. Ideally there would be an option or property that would let us decide whether messages should be locked or not. It would be nice if the engine could store variable values, create the standalone with messages locked, and then restore the values after the build. > > I'm not sure Curry's suggestion will work, since the SB manages lockmessages on its own. I've tried scripting a lock messages and it was ignored. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 3, 2024 11:41:24 AM Bob Sneidar via use-livecode wrote: > >> Hi Curry. >> >> I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? >> >> Bob S >> >> >> On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: >> >> Simplest way – In card 1 of main stack to build: >> >> on closestack >> --- curryk 2020 no-purge LC build: >> if the environment is "development" then >> lock messages >> --- and only if add'l main stack issues: >> try >> # delete stack "XYZ" >> end try >> end if >> end closestack >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Fri May 3 16:30:34 2024 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 3 May 2024 16:30:34 -0400 Subject: Livecode Login stuck pinging Facebook? In-Reply-To: References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> Message-ID: I'm completely locked out -- my Mac happened to open dp8, took me to the registration saying I wasn't recognized, and now all versions of LC take me to the registration page. I can't login at the web site either, and trying to reset my password doesn't email me. very sad face gc On Fri, May 3, 2024 at 2:50 PM David Bovill via use-livecode < use-livecode at lists.runrev.com> wrote: > I can't login to my account and register the new dp8 - or login via the web > site. Something Livecode server end? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curry at pair.com Fri May 3 16:52:54 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 16:52:54 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Jacqueline: > In that case, I'll have to try it next time. Yes, not merely a suggestion; already works with SB here. :) > I get the same results as Curry, > I get two dialogs complaining there are open stacks Not as Curry; that's due to a partial implementation. See follow up. But you are working on same thing - Have fun! Easy code, already solved, done. Just hard to type a long discussion - Can't wait to get AAC app set up better, and do this more often! Ultimately, though ... Richard: > In MC building a standalone was not a disruptive process. > It shouldn't be in LC either, and certainly shouldn't > require modifying code just to build. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Fri May 3 16:58:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 20:58:07 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> Okay I think I traced the issue down to the fact that I “start using” a LOT of stacks, 64 to be exact, and I think that includes all the behaviors as well as the libraries. When I quit (or Livecode deletes) the mainStack, it does NOT delete all the stacksInUse. I think my solution will be to close all the Stack Files of the main stack upon closing the Main Stack. Bob S From matthias_livecode_150811 at m-r-d.de Fri May 3 17:33:09 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 3 May 2024 23:33:09 +0200 Subject: Livecode startup messages... In-Reply-To: <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> Message-ID: <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> There was a problem in the past where standalones were LC IDE, LC Instaler and standalones were crashing on startup. >> This is what Panos wrote about it: We recently fixed a bug (affecting mainly Windows 11) where the LC installer, the LC IDE and Windows standalones were crashing on startup. It turned out this was caused if some generic printer drivers were installed in the device, and installing the official printer drivers from the vendor's website prevented the crash. We had reports for Brother printers, Epson and HP if I remember correctly. The fix we added did fix the crash, but in some cases caused a delay on startup, if the device still had the "generic" printer driver installed. << Maybe there is a regression in some way that LC now does not crash but shows the messages. Could you try the following? 1. Open Windows Task Manager 2. Search for a process named "Spooler Subsystem app" or just "Print Spooler" 3. Force quit this process If this solves it, then it seems to be a regression in the new LC dp builds. Regards, Matthias > Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode : > > I had not searched the forums, but I just did for "Waiting for printer" and "printer connections" and neither phrase turned up anything related to the dialog that appears on startup (unfortunately). Maybe under another search term, but the general term of "printer" returns 38 screens of forum messages! Good suggestion though. Thank you. > > > On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >> I think this has come up before, but I forget the resolution. Did you search the forums? >> >> Bob S >> >> >>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: >>> >>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." >>> >>> This dialog may appear on earlier versions - I forget if I had seen it previously. >>> >>> Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 18:12:49 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 22:12:49 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> Message-ID: I think I have solved (but not resolved) the mystery. My main stack has a lot of behaviors, which of course are enumerated in the stackFiles. When the standalone is created, the builder closes the copy of the main stack but it apparently leaves all the COPIES of the behavior stacks in memory. When I open the original Mainstack, duplicate stacks are still open. There seems to be no way to delete (close) the copies, because there is no variable it seems that contains the names of all the behavior stacks left in memory by the standalone builder. They do not appear in the openStacks or the stacksInUse. They are not the same stacks as the stackFiles of the original mainstack. What really needs to happen, and I have said this before, the standalone builder needs to keep track of all the files it puts in memory, and then close them each time a bild is made for each platform. This is a bug and I will report it as such. Bob S > On May 3, 2024, at 1:58 PM, Bob Sneidar via use-livecode wrote: > > Okay I think I traced the issue down to the fact that I “start using” a LOT of stacks, 64 to be exact, and I think that includes all the behaviors as well as the libraries. When I quit (or Livecode deletes) the mainStack, it does NOT delete all the stacksInUse. > > I think my solution will be to close all the Stack Files of the main stack upon closing the Main Stack. > > Bob S From bobsneidar at iotecdigital.com Fri May 3 18:19:40 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 22:19:40 +0000 Subject: Livecode startup messages... In-Reply-To: <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> Message-ID: <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Interesting. As I’ve mentioned I install and provide IT support for copiers and printers. Ever since Windows 8 (I believe) Microsoft has been providing built in drivers for these devices, and they use what is called a WSD (Windows Service Daemon) port instead of a typical TCP/IP port. If you go to install a printer and you see a list of icons representing the discovered printers on the network, NEVER EVER USE THEM! Manufacturers will not support them, and they cause all kinds of issues. ALWAYS select “The device I want isn’t listed” and use the standard TCP/IP method of installing a printer, or better yet the manufacturer probably supplies an executable either downloaded or on a CD ROM. Use that. Of course, that does not help LC devs who are deploying apps to end users who cannot be told what to do. Bob S > On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode wrote: > > There was a problem in the past where standalones were LC IDE, LC Instaler and standalones were crashing on startup. >>> > This is what Panos wrote about it: > We recently fixed a bug (affecting mainly Windows 11) where the LC > installer, the LC IDE and Windows standalones were crashing on startup. It > turned out this was caused if some generic printer drivers were installed > in the device, and installing the official printer drivers from the > vendor's website prevented the crash. We had reports for Brother printers, > Epson and HP if I remember correctly. > > The fix we added did fix the crash, but in some cases caused a delay on > startup, if the device still had the "generic" printer driver installed. > << > > > Maybe there is a regression in some way that LC now does not crash but shows the messages. > > Could you try the following? > > 1. Open Windows Task Manager > 2. Search for a process named "Spooler Subsystem app" or just "Print > Spooler" > 3. Force quit this process > > If this solves it, then it seems to be a regression in the new LC dp builds. > > Regards, > > Matthias > > > > >> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode : >> >> I had not searched the forums, but I just did for "Waiting for printer" and "printer connections" and neither phrase turned up anything related to the dialog that appears on startup (unfortunately). Maybe under another search term, but the general term of "printer" returns 38 screens of forum messages! Good suggestion though. Thank you. >> >> >> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >>> I think this has come up before, but I forget the resolution. Did you search the forums? >>> >>> Bob S >>> >>> >>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: >>>> >>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." >>>> >>>> This dialog may appear on earlier versions - I forget if I had seen it previously. >>>> >>>> Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri May 3 20:13:55 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 19:13:55 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> Message-ID: <18f40f341b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I get it now. The way I work around this is to close all stacks and remove from memory (or just relaunch LC,) turn off messages in the toolbar, and open the splash stack. That prevents the other stacks from opening. Build the standalone and you shouldn't have any trouble, except for remembering to do the dance. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 5:14:49 PM Bob Sneidar via use-livecode wrote: > I think I have solved (but not resolved) the mystery. My main stack has a > lot of behaviors, which of course are enumerated in the stackFiles. > > When the standalone is created, the builder closes the copy of the main > stack but it apparently leaves all the COPIES of the behavior stacks in > memory. When I open the original Mainstack, duplicate stacks are still > open. There seems to be no way to delete (close) the copies, because there > is no variable it seems that contains the names of all the behavior stacks > left in memory by the standalone builder. They do not appear in the > openStacks or the stacksInUse. They are not the same stacks as the > stackFiles of the original mainstack. > > What really needs to happen, and I have said this before, the standalone > builder needs to keep track of all the files it puts in memory, and then > close them each time a bild is made for each platform. > > This is a bug and I will report it as such. > > Bob S > > >> On May 3, 2024, at 1:58 PM, Bob Sneidar via use-livecode >> wrote: >> >> Okay I think I traced the issue down to the fact that I start using a LOT >> of stacks, 64 to be exact, and I think that includes all the behaviors as >> well as the libraries. When I quit (or Livecode deletes) the mainStack, it >> does NOT delete all the stacksInUse. >> >> I think my solution will be to close all the Stack Files of the main stack >> upon closing the Main Stack. >> >> Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 20:44:39 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 4 May 2024 00:44:39 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f40f341b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> <18f40f341b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> Yeah I do that now. Maybe I’m just majoring in the minors, but it ought to just work out of the box, and it irks me that it doesn’t. The Dev team ought to have one dev dedicated to quashing these niggling bugs. Sent from my iPhone > On May 3, 2024, at 17:15, J. Landman Gay via use-livecode wrote: > > I get it now. The way I work around this is to close all stacks and remove from memory (or just relaunch LC,) turn off messages in the toolbar, and open the splash stack. That prevents the other stacks from opening. Build the standalone and you shouldn't have any trouble, except for remembering to do the dance From curry at pair.com Sat May 4 05:10:19 2024 From: curry at pair.com (Curry Kenworthy) Date: Sat, 4 May 2024 05:10:19 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> References: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> Message-ID: Thus, I'm pleased to have created the only (?) complete lower-code workaround for smooth standalone building, without needing to do the dance to avoid LC purge dialogs, nor tweak many handlers. ;) So here is the authentic tried-and-true workaround code again, with Comments Edited for stronger clarity versus hasty/casual reading! Solved AND resolved, these 4 years But of course, needing ANY workaround for LC standalone building is just plain wrong! That is awkward and a little creepy; it should indeed work right out of the box without modifying code just to build as someone already said it well. I hope EVERYONE will encourage LC to fix this SB issue. Meanwhile... Simplest way In card 1 of main stack to build from: on closestack --- curryk 2020 no-purge LC build: if the environment is "development" then lock messages --- and only if add'l loaded MAIN stacks with issues: try # delete stack "ABC" # delete stack "XYZ" --- etc end try end if end closestack Of course, for a build workaround (or any LC work!) backup your stacks first, and don't mix/match methods without caution or ignore project setup. Read carefully to understand code and comments, and see delete stack in LC reference. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Sun May 5 20:37:27 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 May 2024 00:37:27 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> Message-ID: Yes but as I mentioned, that did not work for me. I still got the two messages after the first build, then messages for ALL my subsequent stack files for build attempts afterwards. I’ll try again tomorrow. Sent from my iPhone > On May 4, 2024, at 02:12, Curry Kenworthy via use-livecode wrote: > > Thus, I'm pleased to have created the only (?) complete lower-code workaround for smooth standalone building, without needing to do ‘the dance’ to avoid LC purge dialogs, nor tweak many handlers. ;) > > So here is the authentic tried-and-true workaround code again, with Comments Edited for stronger clarity versus hasty/casual reading! > > Solved AND resolved, these 4 years – > > But of course, needing ANY workaround for LC standalone building is just plain wrong! > > That is awkward and a little creepy; it should indeed work right out of the box without ‘modifying code just to build’ as someone already said it well. I hope EVERYONE will encourage LC to fix this SB issue. > > Meanwhile... Simplest way – In card 1 of main stack to build from: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is "development" then > lock messages > --- and only if add'l loaded MAIN stacks with issues: > try > # delete stack "ABC" > # delete stack "XYZ" --- etc > end try > end if > end closestack > > Of course, for a build workaround (or any LC work!) backup your stacks first, and don't mix/match methods without caution or ignore project setup. Read carefully to understand code and comments, and see ‘delete stack’ in LC reference. > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Mon May 6 07:48:22 2024 From: curry at pair.com (Curry Kenworthy) Date: Mon, 6 May 2024 07:48:22 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: References: Message-ID: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> Bob: > Yes but as I mentioned, that did not work for me. You used something DIFFERENT (a partial implementation) so different results - Thats fine; its just not this particular workaround! I think you misread a code comment, now edited for clarity.... > I still got the two messages after the first build, > then messages for ALL my subsequent stack files Thats what the last part does: close (delete) any ADDITIONAL problematic main stacks in memory - (NOT the build stack again!) - to avoid subsequent dialogs. Then ... smooth building, here, ever since. Your auto detection effort would be very useful, but just manually identify the SPECIFIC problem stacks, per the dialogs and delete the MAIN stacks thereof in the code. If more than a couple main stacks to delete, I would use repeat with a test or try. Likewise, the isBuildingStandalone() function from Panos could provide a more specific closestack trigger if needed for splash stack, but I havent tried it in this workaround. Whether behaviors or other issues could ever require an extra step, obviously we CAN enjoy the same build experience as pre-2020 SB, by simply using the same techniques! Just as I have. > [Standalone Builder] ought to just work out of the box YES! Reported (again) to LC yet? It is a bug/defect, but that was denied at the time. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Mon May 6 11:39:47 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 May 2024 15:39:47 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> References: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> Message-ID: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> Hi Curry. Thanks for your help and Jacque as well. I did as you say, in card 1 of the splash stack (which is the stack I build from because I do not have the need to modify it runtime) I have this code in the card script: on closestack --- curryk 2020 no-purge LC build: if the environment is “development" then lock messages --- and only if add'l loaded MAIN stacks with issues: try save stack "Forms Generator" delete stack "Forms Generator" # delete stack "XYZ" --- etc end try end if end closestack The result is the first time I build everything goes smoothly (as it always has.) The SECOND time I build I get an alert dialog for every stack that is a behavior of something in the Main Stack or that I started using (library I guess). The standalone Builder opens COPIES of these stacks to add to the standalone, then LEAVES THEM OPEN IN MEMORY. THAT is the heart of the matter. The SB ought not to do that! (I’m talking to you LC devs.) I suppose I could enumerate all of those and then just have code that statically closes each stack. That is probably what I will do. Deleting the main stack does not delete the COPIES of those library or behavior stacks. In summary the problem is not what is open when I go to build. The problem is what is open after I build. Anyway, my thanks again for everyone who offered a suggestion on how to resolve this. Sometime the brute force workaround is the only workaround. Bob S > On May 6, 2024, at 4:48 AM, Curry Kenworthy via use-livecode wrote: > > > Bob: > > > Yes but as I mentioned, that did not work for me. > > You used something DIFFERENT (a partial implementation) so different results - > > That’s fine; it’s just not this particular workaround! 😊 > > I think you misread a code comment, now edited for clarity.... > > > I still got the two messages after the first build, > > then messages for ALL my subsequent stack files > > That’s what the last part does: close (‘delete’) any ADDITIONAL problematic main stacks in memory - > > (NOT the build stack again!) - to avoid subsequent dialogs. > > Then ... smooth building, here, ever since. > > Your auto detection effort would be very useful, but just manually identify the SPECIFIC problem stacks, per the dialogs – and ‘delete’ the MAIN stacks thereof in the code. > > If more than a couple main stacks to delete, I would use repeat with a test or try. Likewise, the isBuildingStandalone() function from Panos could provide a more specific closestack trigger if needed for splash stack, but I haven’t tried it in this workaround. > > Whether behaviors or other issues could ever require an extra step, obviously we CAN enjoy the same build experience as pre-2020 SB, by simply using the same techniques! Just as I have. > > > [Standalone Builder] ought to just work out of the box > > YES! Reported (again) to LC yet? > > It is a bug/defect, but that was denied at the time. > > Best wishes, > > Curry Kenworthy > From klaus at major-k.de Mon May 6 12:15:15 2024 From: klaus at major-k.de (Klaus major-k) Date: Mon, 6 May 2024 18:15:15 +0200 Subject: Supress Standalone Builder Warnings In-Reply-To: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> References: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> Message-ID: <71092D57-D221-4C06-BC9D-1FDE67EFF841@major-k.de> Hi all, as I already wrote in this thread in the LC forum: -> Maybe the mothership could add another "messageless" application which will create the standalone(s)? See here: > Am 06.05.2024 um 17:39 schrieb Bob Sneidar via use-livecode : > > Hi Curry. Thanks for your help and Jacque as well. > > I did as you say, in card 1 of the splash stack (which is the stack I build from because I do not have the need to modify it runtime) I have this code in the card script: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is “development" then > lock messages > --- and only if add'l loaded MAIN stacks with issues: > try > save stack "Forms Generator" > delete stack "Forms Generator" > # delete stack "XYZ" --- etc > end try > end if > end closestack > > The result is the first time I build everything goes smoothly (as it always has.) The SECOND time I build I get an alert dialog for every stack that is a behavior of something in the Main Stack or that I started using (library I guess). > > The standalone Builder opens COPIES of these stacks to add to the standalone, then LEAVES THEM OPEN IN MEMORY. THAT is the heart of the matter. The SB ought not to do that! (I’m talking to you LC devs.) > > I suppose I could enumerate all of those and then just have code that statically closes each stack. That is probably what I will do. > Deleting the main stack does not delete the COPIES of those library or behavior stacks. > In summary the problem is not what is open when I go to build. The problem is what is open after I build. > Anyway, my thanks again for everyone who offered a suggestion on how to resolve this. Sometime the brute force workaround is the only workaround. > > Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From curry at pair.com Wed May 8 11:56:28 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 8 May 2024 11:56:28 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> References: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> Message-ID: <57636eae-b0f0-4005-90ba-dc6e6b026db4@pair.com> Bob: > Thanks for your help and Jacque as well. Very welcome, good topic! But STILL a different/partial implementation Main stacks triggers wrong connotation for you. Not the build stack .... or the project stack ... but, in your case: > library or behavior stacks Yes, THOSE! Whatever stacks are identified via subsequent dialogs. > I could enumerate all of those and then just have code that > statically closes each stack. Yep, thats the delete part. Only the ones announced in dialogs. If more than a couple, use a repeat to test or try each separately. (MAIN stacks, not substacks, for safety with LC delete stack!) > The SB ought not to do that! Very true. Reported (again) to LC yet? Already resolved for my project though, so I will focus on other LC issues here, after a break for more AAC setup! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From MikeKerner at roadrunner.com Wed May 8 13:20:11 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 8 May 2024 13:20:11 -0400 Subject: Livecode startup messages... In-Reply-To: <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Message-ID: this is not just a lc issue we use 4d, extensively, and every time a 4d client starts on windows, the same message appears On Fri, May 3, 2024 at 6:20 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Interesting. As I’ve mentioned I install and provide IT support for > copiers and printers. Ever since Windows 8 (I believe) Microsoft has been > providing built in drivers for these devices, and they use what is called a > WSD (Windows Service Daemon) port instead of a typical TCP/IP port. > > If you go to install a printer and you see a list of icons representing > the discovered printers on the network, NEVER EVER USE THEM! Manufacturers > will not support them, and they cause all kinds of issues. ALWAYS select > “The device I want isn’t listed” and use the standard TCP/IP method of > installing a printer, or better yet the manufacturer probably supplies an > executable either downloaded or on a CD ROM. Use that. > > Of course, that does not help LC devs who are deploying apps to end users > who cannot be told what to do. > > Bob S > > > > On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > There was a problem in the past where standalones were LC IDE, LC > Instaler and standalones were crashing on startup. > >>> > > This is what Panos wrote about it: > > We recently fixed a bug (affecting mainly Windows 11) where the LC > > installer, the LC IDE and Windows standalones were crashing on startup. > It > > turned out this was caused if some generic printer drivers were installed > > in the device, and installing the official printer drivers from the > > vendor's website prevented the crash. We had reports for Brother > printers, > > Epson and HP if I remember correctly. > > > > The fix we added did fix the crash, but in some cases caused a delay on > > startup, if the device still had the "generic" printer driver installed. > > << > > > > > > Maybe there is a regression in some way that LC now does not crash but > shows the messages. > > > > Could you try the following? > > > > 1. Open Windows Task Manager > > 2. Search for a process named "Spooler Subsystem app" or just "Print > > Spooler" > > 3. Force quit this process > > > > If this solves it, then it seems to be a regression in the new LC dp > builds. > > > > Regards, > > > > Matthias > > > > > > > > > >> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> I had not searched the forums, but I just did for "Waiting for printer" > and "printer connections" and neither phrase turned up anything related to > the dialog that appears on startup (unfortunately). Maybe under another > search term, but the general term of "printer" returns 38 screens of forum > messages! Good suggestion though. Thank you. > >> > >> > >> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: > >>> I think this has come up before, but I forget the resolution. Did you > search the forums? > >>> > >>> Bob S > >>> > >>> > >>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) > Standalones build with either of those versions starts up, on Windows 11, > there is a dialog that appear stating "Waiting for printer connections..." > >>>> > >>>> This dialog may appear on earlier versions - I forget if I had seen > it previously. > >>>> > >>>> Is there some setting to prevent or hide this dialog? In my > standalone app, I have customers asking what is it and find it "annoying". > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From paul at researchware.com Wed May 8 16:01:52 2024 From: paul at researchware.com (Paul Dupuis) Date: Wed, 8 May 2024 16:01:52 -0400 Subject: Livecode startup messages... In-Reply-To: References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Message-ID: Yes, I figured that out earlier this week and just hadn't had time to post. It is some sort of Windows 11 issue and not on all Windows 11 systems. Still don't know what it is. The 3 printers on our office network are all HPs and I think all my drivers are up to date. I also have a couple of different PDF printer drivers installed (Microsoft's, Foxit's and one other) On 5/8/2024 1:20 PM, Mike Kerner via use-livecode wrote: > this is not just a lc issue > we use 4d, extensively, and every time a 4d client starts on windows, the > same message appears > > On Fri, May 3, 2024 at 6:20PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Interesting. As Ive mentioned I install and provide IT support for >> copiers and printers. Ever since Windows 8 (I believe) Microsoft has been >> providing built in drivers for these devices, and they use what is called a >> WSD (Windows Service Daemon) port instead of a typical TCP/IP port. >> >> If you go to install a printer and you see a list of icons representing >> the discovered printers on the network, NEVER EVER USE THEM! Manufacturers >> will not support them, and they cause all kinds of issues. ALWAYS select >> The device I want isnt listed and use the standard TCP/IP method of >> installing a printer, or better yet the manufacturer probably supplies an >> executable either downloaded or on a CD ROM. Use that. >> >> Of course, that does not help LC devs who are deploying apps to end users >> who cannot be told what to do. >> >> Bob S >> >> >>> On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> There was a problem in the past where standalones were LC IDE, LC >> Instaler and standalones were crashing on startup. >>> This is what Panos wrote about it: >>> We recently fixed a bug (affecting mainly Windows 11) where the LC >>> installer, the LC IDE and Windows standalones were crashing on startup. >> It >>> turned out this was caused if some generic printer drivers were installed >>> in the device, and installing the official printer drivers from the >>> vendor's website prevented the crash. We had reports for Brother >> printers, >>> Epson and HP if I remember correctly. >>> >>> The fix we added did fix the crash, but in some cases caused a delay on >>> startup, if the device still had the "generic" printer driver installed. >>> << >>> >>> >>> Maybe there is a regression in some way that LC now does not crash but >> shows the messages. >>> Could you try the following? >>> >>> 1. Open Windows Task Manager >>> 2. Search for a process named "Spooler Subsystem app" or just "Print >>> Spooler" >>> 3. Force quit this process >>> >>> If this solves it, then it seems to be a regression in the new LC dp >> builds. >>> Regards, >>> >>> Matthias >>> >>> >>> >>> >>>> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com>: >>>> I had not searched the forums, but I just did for "Waiting for printer" >> and "printer connections" and neither phrase turned up anything related to >> the dialog that appears on startup (unfortunately). Maybe under another >> search term, but the general term of "printer" returns 38 screens of forum >> messages! Good suggestion though. Thank you. >>>> >>>> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >>>>> I think this has come up before, but I forget the resolution. Did you >> search the forums? >>>>> Bob S >>>>> >>>>> >>>>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) >> Standalones build with either of those versions starts up, on Windows 11, >> there is a dialog that appear stating "Waiting for printer connections..." >>>>>> This dialog may appear on earlier versions - I forget if I had seen >> it previously. >>>>>> Is there some setting to prevent or hide this dialog? In my >> standalone app, I have customers asking what is it and find it "annoying". >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From matthias_livecode_150811 at m-r-d.de Wed May 8 16:52:49 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 8 May 2024 22:52:49 +0200 Subject: Livecode startup messages... In-Reply-To: References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Message-ID: <1C7AF996-FA3B-4922-8C90-549176FC7D06@m-r-d.de> Did you try the this "workaround"? 1. Open Windows Task Manager 2. Search for a process named "Spooler Subsystem app" or just "Print Spooler" 3. Force quit this process If this solves the problem, then maybe 9.6.11 still contains a bug that already was fixed in earlier versions. Regards, Matthias > Am 08.05.2024 um 22:01 schrieb Paul Dupuis via use-livecode : > > Yes, > > I figured that out earlier this week and just hadn't had time to post. It is some sort of Windows 11 issue and not on all Windows 11 systems. Still don't know what it is. The 3 printers on our office network are all HPs and I think all my drivers are up to date. I also have a couple of different PDF printer drivers installed (Microsoft's, Foxit's and one other) > > > On 5/8/2024 1:20 PM, Mike Kerner via use-livecode wrote: >> this is not just a lc issue >> we use 4d, extensively, and every time a 4d client starts on windows, the >> same message appears >> >> On Fri, May 3, 2024 at 6:20 PM Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Interesting. As I’ve mentioned I install and provide IT support for >>> copiers and printers. Ever since Windows 8 (I believe) Microsoft has been >>> providing built in drivers for these devices, and they use what is called a >>> WSD (Windows Service Daemon) port instead of a typical TCP/IP port. >>> >>> If you go to install a printer and you see a list of icons representing >>> the discovered printers on the network, NEVER EVER USE THEM! Manufacturers >>> will not support them, and they cause all kinds of issues. ALWAYS select >>> “The device I want isn’t listed” and use the standard TCP/IP method of >>> installing a printer, or better yet the manufacturer probably supplies an >>> executable either downloaded or on a CD ROM. Use that. >>> >>> Of course, that does not help LC devs who are deploying apps to end users >>> who cannot be told what to do. >>> >>> Bob S >>> >>> >>>> On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> There was a problem in the past where standalones were LC IDE, LC >>> Instaler and standalones were crashing on startup. >>>> This is what Panos wrote about it: >>>> We recently fixed a bug (affecting mainly Windows 11) where the LC >>>> installer, the LC IDE and Windows standalones were crashing on startup. >>> It >>>> turned out this was caused if some generic printer drivers were installed >>>> in the device, and installing the official printer drivers from the >>>> vendor's website prevented the crash. We had reports for Brother >>> printers, >>>> Epson and HP if I remember correctly. >>>> >>>> The fix we added did fix the crash, but in some cases caused a delay on >>>> startup, if the device still had the "generic" printer driver installed. >>>> << >>>> >>>> >>>> Maybe there is a regression in some way that LC now does not crash but >>> shows the messages. >>>> Could you try the following? >>>> >>>> 1. Open Windows Task Manager >>>> 2. Search for a process named "Spooler Subsystem app" or just "Print >>>> Spooler" >>>> 3. Force quit this process >>>> >>>> If this solves it, then it seems to be a regression in the new LC dp >>> builds. >>>> Regards, >>>> >>>> Matthias >>>> >>>> >>>> >>>> >>>>> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode < >>> use-livecode at lists.runrev.com>: >>>>> I had not searched the forums, but I just did for "Waiting for printer" >>> and "printer connections" and neither phrase turned up anything related to >>> the dialog that appears on startup (unfortunately). Maybe under another >>> search term, but the general term of "printer" returns 38 screens of forum >>> messages! Good suggestion though. Thank you. >>>>> >>>>> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >>>>>> I think this has come up before, but I forget the resolution. Did you >>> search the forums? >>>>>> Bob S >>>>>> >>>>>> >>>>>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>>>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) >>> Standalones build with either of those versions starts up, on Windows 11, >>> there is a dialog that appear stating "Waiting for printer connections..." >>>>>>> This dialog may appear on earlier versions - I forget if I had seen >>> it previously. >>>>>>> Is there some setting to prevent or hide this dialog? In my >>> standalone app, I have customers asking what is it and find it "annoying". >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andreas.bergendal at gmail.com Mon May 13 15:49:06 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Mon, 13 May 2024 21:49:06 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: <8C5852B6-9AEA-4315-8B67-5EA0FCF67313@gmail.com> <19E5C70A-06DB-4317-BF12-623ACDF61B00@ucsb.edu> <003301da86d3$4008f040$c01ad0c0$@net> Message-ID: WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest /Andreas > 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : > > That's cool ! I really like those 'slide-out' left buttons. > > Thank you very much for this. > > Alex. > > > On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >> >> https://wheninspace.com/WebDeployHelperTest/ >> >> To back my words! :D >> >> /Andreas >> >> >>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>> >>> thank you for making this available to the community. >>> >>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> +1 >>>> >>>> Ralph DiMola >>>> IT Director >>>> Evergreen Information Services >>>> rdimola at evergreeninfo.net >>>> >>>> -----Original Message----- >>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>> Behalf Of William Prothero via use-livecode >>>> Sent: Thursday, April 04, 2024 4:48 PM >>>> To: How to use LiveCode >>>> Cc: William Prothero >>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>> >>>> Andreas, >>>> This sounds really great! It encourages me to start working with web >>>> apps.Thanks for your contribution. >>>> Best, >>>> Bill From prothero at ucsb.edu Mon May 13 16:09:18 2024 From: prothero at ucsb.edu (William Prothero) Date: Mon, 13 May 2024 13:09:18 -0700 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> Andreas: That is simply wonderful! I'll try it out. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: > > WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. > > https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest > > /Andreas > > >> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >> >> That's cool ! I really like those 'slide-out' left buttons. >> >> Thank you very much for this. >> >> Alex. >> >> >>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>> >>> https://wheninspace.com/WebDeployHelperTest/ >>> >>> To back my words! :D >>> >>> /Andreas >>> >>> >>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>> >>>> thank you for making this available to the community. >>>> >>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> +1 >>>>> >>>>> Ralph DiMola >>>>> IT Director >>>>> Evergreen Information Services >>>>> rdimola at evergreeninfo.net >>>>> >>>>> -----Original Message----- >>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>> Behalf Of William Prothero via use-livecode >>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>> To: How to use LiveCode >>>>> Cc: William Prothero >>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>> >>>>> Andreas, >>>>> This sounds really great! It encourages me to start working with web >>>>> apps.Thanks for your contribution. >>>>> Best, >>>>> Bill > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Mon May 13 17:45:25 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 13 May 2024 17:45:25 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> Message-ID: <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? Craig > On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: > > Andreas: > That is simply wonderful! I'll try it out. > Bill > William A. Prothero, PhD > Prof Emeritus, Dept of Earth Science > University of California, Santa Barbara > >> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >> >> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >> >> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >> >> /Andreas >> >> >>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>> >>> That's cool ! I really like those 'slide-out' left buttons. >>> >>> Thank you very much for this. >>> >>> Alex. >>> >>> >>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>> >>>> https://wheninspace.com/WebDeployHelperTest/ >>>> >>>> To back my words! :D >>>> >>>> /Andreas >>>> >>>> >>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>> >>>>> thank you for making this available to the community. >>>>> >>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>>> +1 >>>>>> >>>>>> Ralph DiMola >>>>>> IT Director >>>>>> Evergreen Information Services >>>>>> rdimola at evergreeninfo.net >>>>>> >>>>>> -----Original Message----- >>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>> Behalf Of William Prothero via use-livecode >>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>> To: How to use LiveCode >>>>>> Cc: William Prothero >>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>> >>>>>> Andreas, >>>>>> This sounds really great! It encourages me to start working with web >>>>>> apps.Thanks for your contribution. >>>>>> Best, >>>>>> Bill >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon May 13 18:57:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 May 2024 22:57:41 +0000 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> Message-ID: <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> Indeed. I’ve been thinking about creating a series of video demos of my Forms Generator app to send to the owners of the company I work for, and then I thought, why stop there? Why not send them to LC and see if they want to start up a Made By page. Bob S > On May 13, 2024, at 2:45 PM, Craig Newman via use-livecode wrote: > > These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? > > Craig > >> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >> >> Andreas: >> That is simply wonderful! I'll try it out. >> Bill >> William A. Prothero, PhD >> Prof Emeritus, Dept of Earth Science >> University of California, Santa Barbara >> >>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>> >>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>> >>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>> >>> /Andreas >>> >>> >>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>> >>>> That's cool ! I really like those 'slide-out' left buttons. >>>> >>>> Thank you very much for this. >>>> >>>> Alex. >>>> >>>> >>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>> >>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>> >>>>> To back my words! :D >>>>> >>>>> /Andreas >>>>> >>>>> >>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>> >>>>>> thank you for making this available to the community. >>>>>> >>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>>> +1 >>>>>>> >>>>>>> Ralph DiMola >>>>>>> IT Director >>>>>>> Evergreen Information Services >>>>>>> rdimola at evergreeninfo.net >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>> Behalf Of William Prothero via use-livecode >>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>> To: How to use LiveCode >>>>>>> Cc: William Prothero >>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>> >>>>>>> Andreas, >>>>>>> This sounds really great! It encourages me to start working with web >>>>>>> apps.Thanks for your contribution. >>>>>>> Best, >>>>>>> Bill >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at ucsb.edu Mon May 13 19:32:09 2024 From: prothero at ucsb.edu (William Prothero) Date: Mon, 13 May 2024 16:32:09 -0700 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> Message-ID: <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> Andreas: I just found out that making an elementary starter web page with Livecode and your site test system is going to be less than obvious unless I get more info. So, is there a very simple, starter project posted somewhere, with clear instructions for someone who hasn’t messed with LiveCode web deployment at all? I think that once i get more into it, I’ll be able to create what I want, but I need a start to avoid thrashing. Thanks, Bill William A. Prothero, Ph.D. University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ > On May 13, 2024, at 3:57 PM, Bob Sneidar via use-livecode wrote: > > Indeed. I’ve been thinking about creating a series of video demos of my Forms Generator app to send to the owners of the company I work for, and then I thought, why stop there? Why not send them to LC and see if they want to start up a Made By page. > > Bob S > > >> On May 13, 2024, at 2:45 PM, Craig Newman via use-livecode wrote: >> >> These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? >> >> Craig >> >>> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >>> >>> Andreas: >>> That is simply wonderful! I'll try it out. >>> Bill >>> William A. Prothero, PhD >>> Prof Emeritus, Dept of Earth Science >>> University of California, Santa Barbara >>> >>>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>>> >>>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>>> >>>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>>> >>>> /Andreas >>>> >>>> >>>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>>> >>>>> That's cool ! I really like those 'slide-out' left buttons. >>>>> >>>>> Thank you very much for this. >>>>> >>>>> Alex. >>>>> >>>>> >>>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>>> >>>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>>> >>>>>> To back my words! :D >>>>>> >>>>>> /Andreas >>>>>> >>>>>> >>>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>>> >>>>>>> thank you for making this available to the community. >>>>>>> >>>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>>> +1 >>>>>>>> >>>>>>>> Ralph DiMola >>>>>>>> IT Director >>>>>>>> Evergreen Information Services >>>>>>>> rdimola at evergreeninfo.net >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>>> Behalf Of William Prothero via use-livecode >>>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>>> To: How to use LiveCode >>>>>>>> Cc: William Prothero >>>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>>> >>>>>>>> Andreas, >>>>>>>> This sounds really great! It encourages me to start working with web >>>>>>>> apps.Thanks for your contribution. >>>>>>>> Best, >>>>>>>> Bill >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Tue May 14 14:41:43 2024 From: curry at pair.com (Curry Kenworthy) Date: Tue, 14 May 2024 14:41:43 -0400 Subject: Can you almost hear me now? (AAC app underway) In-Reply-To: <002101da9a50$c9e6ac90$5db405b0$@net> References: <002101da9a50$c9e6ac90$5db405b0$@net> Message-ID: <3526ff56-4aa3-4eb1-8155-a2ba3f2a9141@pair.com> Ralph: > Great! Looking forward to it. Thanks for your encouraging comments - Stage 1 on TTS is paying off already talking to my wife, with more daily discussion and fewer asthma episodes! Game-changer: the freedom to just talk, without a breath penalty. Also helping some to comment/code more with less typing, in LC work. But still needs a LOT more setup! Not ready for other contexts yet. So ... More next time. :) Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From curry at pair.com Tue May 14 14:49:18 2024 From: curry at pair.com (Curry Kenworthy) Date: Tue, 14 May 2024 14:49:18 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <0a9eca92-d935-4470-a95a-4ed2ba35e91a@pair.com> Andreas: > WIS_WebDeployHelper v1.0.2 is now out. Thanks for the resource! > test build in your web browser ... without any need to first upload That's always a good option. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From andreas.bergendal at gmail.com Tue May 14 16:46:31 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Tue, 14 May 2024 22:46:31 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> Message-ID: <905B859F-0655-4038-BB3B-CF19A962D60D@gmail.com> Thanks Craig. This particular project is unlikely to be acknowledged by the mothership though, as it addresses (and thereby highlights) the shortcomings of the current LC 10 dp versions available. But I hope that I will not need to maintain this tool for very long, as all it’s features really should be available in the standalone builder of the first stable release of LC 10 - at least if LC 10’s web deploy capability is intended to be one of its selling points... In the meantime, I’m trying to make this tool a key to unlocking some of LC 10’s web app potential. ’Cause I want to build great web apps now, not later! :D /Andreas > 13 maj 2024 kl. 23:45 skrev Craig Newman via use-livecode : > > These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? > > Craig > >> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >> >> Andreas: >> That is simply wonderful! I'll try it out. >> Bill >> William A. Prothero, PhD >> Prof Emeritus, Dept of Earth Science >> University of California, Santa Barbara >> >>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>> >>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>> >>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>> >>> /Andreas >>> >>> >>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>> >>>> That's cool ! I really like those 'slide-out' left buttons. >>>> >>>> Thank you very much for this. >>>> >>>> Alex. >>>> >>>> >>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>> >>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>> >>>>> To back my words! :D >>>>> >>>>> /Andreas >>>>> >>>>> >>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>> >>>>>> thank you for making this available to the community. >>>>>> >>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>>> +1 >>>>>>> >>>>>>> Ralph DiMola >>>>>>> IT Director >>>>>>> Evergreen Information Services >>>>>>> rdimola at evergreeninfo.net >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>> Behalf Of William Prothero via use-livecode >>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>> To: How to use LiveCode >>>>>>> Cc: William Prothero >>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>> >>>>>>> Andreas, >>>>>>> This sounds really great! It encourages me to start working with web >>>>>>> apps.Thanks for your contribution. >>>>>>> Best, >>>>>>> Bill >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed May 15 08:32:53 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 15 May 2024 08:32:53 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <905B859F-0655-4038-BB3B-CF19A962D60D@gmail.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <905B859F-0655-4038-BB3B-CF19A962D60D@gmail.com> Message-ID: 4d's qodly, which is, imho, even a more promising web dev tool, is also stalled, and has been stalled for almost six months. i can't hide my disappointment with lc's eternal chasing of the next squirrel (script compiler is now 17 months overdue because, ooh! look! web apps! squirrel!). however, i am not at all surprised that they are in a slog, at this point. how many fullstack web dev tools are there? (i'm not being sarcastic. i've looked for fullstack web dev tools and come away wondering why there are so few, and why they all suck) On Tue, May 14, 2024 at 4:47 PM Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Craig. This particular project is unlikely to be acknowledged by > the mothership though, as it addresses (and thereby highlights) the > shortcomings of the current LC 10 dp versions available. But I hope that I > will not need to maintain this tool for very long, as all it’s features > really should be available in the standalone builder of the first stable > release of LC 10 - at least if LC 10’s web deploy capability is intended to > be one of its selling points... > > In the meantime, I’m trying to make this tool a key to unlocking some of > LC 10’s web app potential. > ’Cause I want to build great web apps now, not later! :D > > /Andreas > > > > 13 maj 2024 kl. 23:45 skrev Craig Newman via use-livecode < > use-livecode at lists.runrev.com>: > > > > These high level projects NEED to be touted in the LiveCode website. > Success stories are great salesmen. Is Scotland listening?? > > > > Craig > > > >> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Andreas: > >> That is simply wonderful! I'll try it out. > >> Bill > >> William A. Prothero, PhD > >> Prof Emeritus, Dept of Earth Science > >> University of California, Santa Barbara > >> > >>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is > that it is now possible to simply hit the Test button to launch a test > build in your web browser - including all your added advanced features - > without any need to first upload to a web server. > >>> > >>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest > >>> > >>> /Andreas > >>> > >>> > >>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com>: > >>>> > >>>> That's cool ! I really like those 'slide-out' left buttons. > >>>> > >>>> Thank you very much for this. > >>>> > >>>> Alex. > >>>> > >>>> > >>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: > >>>>> And as a follow-up on this, here is also a demo web app created with > the help of WebDeployHelper 1.0.1: > >>>>> > >>>>> https://wheninspace.com/WebDeployHelperTest/ > >>>>> > >>>>> To back my words! :D > >>>>> > >>>>> /Andreas > >>>>> > >>>>> > >>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode < > use-livecode at lists.runrev.com>: > >>>>>> > >>>>>> thank you for making this available to the community. > >>>>>> > >>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < > >>>>>> use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>>> +1 > >>>>>>> > >>>>>>> Ralph DiMola > >>>>>>> IT Director > >>>>>>> Evergreen Information Services > >>>>>>> rdimola at evergreeninfo.net > >>>>>>> > >>>>>>> -----Original Message----- > >>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] > On > >>>>>>> Behalf Of William Prothero via use-livecode > >>>>>>> Sent: Thursday, April 04, 2024 4:48 PM > >>>>>>> To: How to use LiveCode > >>>>>>> Cc: William Prothero > >>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox > >>>>>>> > >>>>>>> Andreas, > >>>>>>> This sounds really great! It encourages me to start working with > web > >>>>>>> apps.Thanks for your contribution. > >>>>>>> Best, > >>>>>>> Bill > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From curry at pair.com Wed May 15 12:20:08 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 May 2024 12:20:08 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: Andreas: > all its features really should be available in the standalone > builder of the first stable release of LC 10 Indeed. Another context of ... Richard Gaskin (Oct 13, 2023): > SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY. This is a true classic, the #1 best comment last year! Mike: > my disappointment with lc's eternal chasing of the next squirrel ... > ooh! look! web apps! squirrel! I'm glad you brought that up; a real gem - the #2 comment last year. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Wed May 15 12:30:12 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 15 May 2024 16:30:12 +0000 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <268E8C95-7F64-445B-97EA-F4722096E36B@iotecdigital.com> Yes, my top priority would definitely be the compiler, and second would be seamless standalone app building. I would love a true compiled version of my apps, but barring that, being able to build ALL my app for all platforms in one pass, and then being able to build again without having to quit and relaunch would be nice. But I also understand that the Covid Debaucle has left a lot of companies stressed for resources. So I will still renew my subscriptions, but I do not think I will invest anymore in any new technologies until the ones I have already invested in come to fruition. Bob S > On May 15, 2024, at 9:20 AM, Curry Kenworthy via use-livecode wrote: > > Andreas: > > > all it’s features really should be available in the standalone > > builder of the first stable release of LC 10 > > Indeed. Another context of ... > > Richard Gaskin (Oct 13, 2023): > > > SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY. > > This is a true classic, the #1 best comment last year! > > Mike: > > > my disappointment with lc's eternal chasing of the next squirrel ... > > ooh! look! web apps! squirrel! > > I'm glad you brought that up; a real gem - the #2 comment last year. > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed May 15 12:47:25 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 15 May 2024 12:47:25 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <268E8C95-7F64-445B-97EA-F4722096E36B@iotecdigital.com> References: <268E8C95-7F64-445B-97EA-F4722096E36B@iotecdigital.com> Message-ID: seconding on the compiler as the biggest thing. (you owe me a year, lc. i paid for it) my #2 priority would be more effort on mobes (long paragraph deleted - you're welcome). but i could be convinced that #3 could be web, if it wasn't a squirrel, too. (you also owe me a year, here, lc). On Wed, May 15, 2024 at 12:31 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes, my top priority would definitely be the compiler, and second would be > seamless standalone app building. I would love a true compiled version of > my apps, but barring that, being able to build ALL my app for all platforms > in one pass, and then being able to build again without having to quit and > relaunch would be nice. > > But I also understand that the Covid Debaucle has left a lot of companies > stressed for resources. So I will still renew my subscriptions, but I do > not think I will invest anymore in any new technologies until the ones I > have already invested in come to fruition. > > Bob S > > > > On May 15, 2024, at 9:20 AM, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Andreas: > > > > > all it’s features really should be available in the standalone > > > builder of the first stable release of LC 10 > > > > Indeed. Another context of ... > > > > Richard Gaskin (Oct 13, 2023): > > > > > SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY. > > > > This is a true classic, the #1 best comment last year! > > > > Mike: > > > > > my disappointment with lc's eternal chasing of the next squirrel ... > > > ooh! look! web apps! squirrel! > > > > I'm glad you brought that up; a real gem - the #2 comment last year. > > > > Best wishes, > > > > Curry Kenworthy > > > > Radically Innovative Christian LiveCode Development > > "PASSION for Elegant, Efficient Code!" > > http://livecodeconsulting.com/ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From Bernd.Niggemann at uni-wh.de Wed May 15 14:38:18 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 15 May 2024 18:38:18 +0000 Subject: Code Folding in LC Message-ID: A new version of Code Folding has been uploaded to the Forum https://forums.livecode.com/viewtopic.php?f=9&t=38912&p=229971#p229971 It addresses a couple of bugs and has been tested to work from 9.6.9 up to 9.6.12 (RC1) and 10.0.0 (DP8) Kind regards Bernd From andreas.bergendal at gmail.com Wed May 15 16:39:15 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Wed, 15 May 2024 22:39:15 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> Message-ID: <8A6C2C52-C2ED-4E88-AEEA-745C7E61F08B@gmail.com> Bill, Well, for the basics, there is this LiveCode Lesson: https://lessons.livecode.com/m/4071/l/1496056-how-do-i-put-my-first-app-on-the-web-lc-10-and-later It shows the basic/standard way of deploying a LiveCode stack to web. The WebDeployHelper tool mainly hooks into the final steps of that process: - If you click the Test button, a front script intervenes and sets up the html file that replaces the generic one, and then lets the IDE launch the test build - When you build a standalone, instead of selecting ”Build standalone…” from the LC menu, you use the Build & upload tab of the tool But just to get you started, this would be the minimum steps to take: 1a) Create a stack, put some controls on card 1 (whatever you want to test), and save it. 1b) Alternatively, open any existing stack that you want to test as a web app (not a too complex one at this stage). 2) Make sure only Web is ticked in the standalone builder settings. And as with all platform build cases, you need to select the relevant inclusions in the standalone builder settings. 3) Open WebDeployHelper stack and/or click the Refresh icon next to the Active stack menu button. Select your stack in the menu, if it is not already so. 4) Now you can just hit the Test button to see that your stack launches in a browser. If it did, then all is well - go back to WebDeployHelper and start exploring the features that can be modified or added. Rinse and repeat. There is an in-stack help section for additional explanations, and most fields and buttons also have helpful tooltips. I might consider also making a video or something, just to show a walkthrough of how it can be used. But I’ll see if (unpaid) time allows. My day job building bespoke software with LiveCode already takes up most of my screen time, so to speak… :) /Andreas > 14 maj 2024 kl. 01:32 skrev William Prothero via use-livecode : > > Andreas: > I just found out that making an elementary starter web page with Livecode and your site test system is going to be less than obvious unless I get more info. > > So, is there a very simple, starter project posted somewhere, with clear instructions for someone who hasn’t messed with LiveCode web deployment at all? I think that once i get more into it, I’ll be able to create what I want, but I need a start to avoid thrashing. > > Thanks, > Bill > > William A. Prothero, Ph.D. > University of California, Santa Barbara > Dept. of Earth Sciences (Emeritus) > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > >> On May 13, 2024, at 3:57 PM, Bob Sneidar via use-livecode wrote: >> >> Indeed. I’ve been thinking about creating a series of video demos of my Forms Generator app to send to the owners of the company I work for, and then I thought, why stop there? Why not send them to LC and see if they want to start up a Made By page. >> >> Bob S >> >> >>> On May 13, 2024, at 2:45 PM, Craig Newman via use-livecode wrote: >>> >>> These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? >>> >>> Craig >>> >>>> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >>>> >>>> Andreas: >>>> That is simply wonderful! I'll try it out. >>>> Bill >>>> William A. Prothero, PhD >>>> Prof Emeritus, Dept of Earth Science >>>> University of California, Santa Barbara >>>> >>>>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>>>> >>>>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>>>> >>>>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>>>> >>>>> /Andreas >>>>> >>>>> >>>>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>>>> >>>>>> That's cool ! I really like those 'slide-out' left buttons. >>>>>> >>>>>> Thank you very much for this. >>>>>> >>>>>> Alex. >>>>>> >>>>>> >>>>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>>>> >>>>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>>>> >>>>>>> To back my words! :D >>>>>>> >>>>>>> /Andreas >>>>>>> >>>>>>> >>>>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>>>> >>>>>>>> thank you for making this available to the community. >>>>>>>> >>>>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>>> >>>>>>>>> +1 >>>>>>>>> >>>>>>>>> Ralph DiMola >>>>>>>>> IT Director >>>>>>>>> Evergreen Information Services >>>>>>>>> rdimola at evergreeninfo.net >>>>>>>>> >>>>>>>>> -----Original Message----- >>>>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>>>> Behalf Of William Prothero via use-livecode >>>>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>>>> To: How to use LiveCode >>>>>>>>> Cc: William Prothero >>>>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>>>> >>>>>>>>> Andreas, >>>>>>>>> This sounds really great! It encourages me to start working with web >>>>>>>>> apps.Thanks for your contribution. >>>>>>>>> Best, >>>>>>>>> Bill From curry at pair.com Wed May 15 21:18:05 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 May 2024 21:18:05 -0400 Subject: Code Folding in LC In-Reply-To: References: Message-ID: <72bcb673-8b80-4dea-b9ad-5c5482b133e0@pair.com> Bernd: > A new version of Code Folding has been uploaded That's a good effort. Thanks! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From jbv at souslelogo.com Thu May 16 12:51:18 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Thu, 16 May 2024 12:51:18 -0400 Subject: Saving data in standalone Message-ID: Hi list, I am working on an app for a client who will use it as a standalone. Basically users will be able to import data such as images, text and even html from various sources. All these data will self organize in different groups that the user will be able to select, move around and organise in a layout, and finally export as a pdf file. The problem is that all this work will be done in successive sessions, and between each step there will be the need to temporary save the work to retrieve it in the next session. And I'm not sure about the best way to save groups within an LC standalone and retrieve everything in a similar layout in the next session, or even if it's possible. Any idea and suggestion are welcome. Thank you in advance. jbv From paul at researchware.com Thu May 16 12:58:53 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2024 12:58:53 -0400 Subject: Saving data in standalone In-Reply-To: References: Message-ID: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> My suggestion would be to have your Standalone create a new stack with the user's work and save that stack under a customer file extension for your app. You can not actually save data in a standalone. you must save it to some source outside of the standalone - and stack, a text file, a binary file, a remote database, etc. - whatever works for your app. On 5/16/2024 12:51 PM, jbv via use-livecode wrote: > Hi list, > I am working on an app for a client who will use it as a standalone. > Basically users will be able to import data such as images, text and > even html from various sources. All these data will self organize in > different groups that the user will be able to select, move around > and organise in a layout, and finally export as a pdf file. > The problem is that all this work will be done in successive sessions, > and between each step there will be the need to temporary save the > work to retrieve it in the next session. > And I'm not sure about the best way to save groups within an LC > standalone and retrieve everything in a similar layout in the > next session, or even if it's possible. > Any idea and suggestion are welcome. > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu May 16 13:31:50 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2024 13:31:50 -0400 Subject: Saving data in standalone In-Reply-To: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: > save that stack under a customer file extension That should have said "custom file extension" From craig at starfirelighting.com Thu May 16 16:24:54 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 May 2024 16:24:54 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: <9F40968D-002A-4D54-A75C-64567639EAF2@starfirelighting.com> There is much discussion about this on the forum. The contents of the executable, the actual standalone you make from a stack, cannot be saved by any OS. I use what is know as the “Splash Stack” method, alluded to by Paul above. In the Application Builder of the stack you are making the actual standalone from, you can add any number of stack files. These are files that contain any number of stack and substacks. My standalone is never used for anything but navigating to other stacks attached to it. Once navigation is effected, the splash stack hides itself, its entire purpose fulfilled. Takes just little practice. You can make one right now with two stacks in two separate stack files. Have the executable one go to the other one, and you are on your way. Craig > On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: > > On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >> save that stack under a customer file extension > > That should have said "custom file extension" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu May 16 16:26:45 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 May 2024 16:26:45 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: I did not explicitly mention that any and all of the attached stacks are savable. Craig > On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: > > On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >> save that stack under a customer file extension > > That should have said "custom file extension" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Thu May 16 16:43:56 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 16 May 2024 16:43:56 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: Craig, Saving: the stacks within the MacOS package and the Windows Applications folders can be saved—within that location? Can new stacks/files be written to those same folders? Peter > On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode wrote: > > I did not explicitly mention that any and all of the attached stacks are savable. > > Craig > >> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: >> >> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >>> save that stack under a customer file extension >> >> That should have said "custom file extension" >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu May 16 17:07:47 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2024 17:07:47 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: You can save external stacks or created on the fly stacks where ever you have *write* (and read) permission on your OS. Increasingly, whether macOS or Windows, that is not the Applications (macOS) or Program Files/Program Files (x86) (Windows) folders. I find the SAFEST place to save something is using specialFolderPath("documents") and then create a folder structure for your company or app in the user's Documents folder. OSes are becoming more and more "sandboxed" to prevent malware and dumb user mistakes from wrecking apps or the OS itself. On 5/16/2024 4:43 PM, Peter Bogdanoff via use-livecode wrote: > Craig, > > Saving: the stacks within the MacOS package and the Windows Applications folders can be savedwithin that location? > > Can new stacks/files be written to those same folders? > > Peter > >> On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode wrote: >> >> I did not explicitly mention that any and all of the attached stacks are savable. >> >> Craig >> >>> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: >>> >>> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >>>> save that stack under a customer file extension >>> That should have said "custom file extension" >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu May 16 20:04:09 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 16 May 2024 20:04:09 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: this is also how levure operates, so if you build with levure, you can just do this with stacks in the project On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > You can save external stacks or created on the fly stacks where ever you > have *write* (and read) permission on your OS. > > Increasingly, whether macOS or Windows, that is not the Applications > (macOS) or Program Files/Program Files (x86) (Windows) folders. I find > the SAFEST place to save something is using > specialFolderPath("documents") and then create a folder structure for > your company or app in the user's Documents folder. OSes are becoming > more and more "sandboxed" to prevent malware and dumb user mistakes from > wrecking apps or the OS itself. > > > On 5/16/2024 4:43 PM, Peter Bogdanoff via use-livecode wrote: > > Craig, > > > > Saving: the stacks within the MacOS package and the Windows Applications > folders can be saved—within that location? > > > > Can new stacks/files be written to those same folders? > > > > Peter > > > >> On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I did not explicitly mention that any and all of the attached stacks > are savable. > >> > >> Craig > >> > >>> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: > >>>> save that stack under a customer file extension > >>> That should have said "custom file extension" > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Fri May 17 17:44:25 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 May 2024 21:44:25 +0000 Subject: UPDATE: filterArray() Message-ID: I wrote a filterArray() function with a couple dependencies a while ago which uses a memory sqLite database to convert an array to a database, query that database, then return the results as an array. I have a new update to filterArray() which allows for a select clause. I found myself wanting to find the maximum value of a column, so I update the function. For an example lets say I wanted the maximum value for the serviceid key in a numbered array (tRecordsA). I could call it like this: put empty into tConditions put "max(serviceid) as serviceid" into tSelectClause put filterArray(tRecordsA, tConditions, tSelectClause) into tFoundDataA Since I do not need a where clause here, as tRecordsA only contains the data I want, but a where clause could also be defined. Here are the handlers if anyone is interested. If I missed any dependencies ley me know and I will pass those along as well. Bob S function filterArray pArrayDataA, pConditions, pSelectClause put the defaultFolder & "/" & "tempdatabase.db" into tDBName put arrayToSQLite(pArrayDataA, tDBName, "arraydata") into tDBID — uses dependency if pSelectClause is empty then \ put "*" into pSelectClause put "select " & pSelectClause & " from arraydata" into tQueryString if pConditions is not empty then \ put " where" && pConditions after tQueryString try put revQueryDatabase(tDBID, tQueryString) into tCursorID put cursorToArray(tCursorID) into tFilteredDataA — uses dependency return tFilteredDataA catch tError return empty end try end filterArray FUNCTION arrayToSQLite pArrayDataA, pDBFile, pDBName, pDBID, pBinaryColumns put the keys of pArrayDataA into tArrayKeys sort tArrayKeys numeric ascending IF pDBFile is empty THEN put ":memory:" into pDBFile IF pDBName is empty THEN put "arraydata" into pDBName TRY if pDBID is empty then \ put revOpenDatabase("sqlite", pDBFile) into pDBID IF "Error" is in pDBID THEN return empty END IF -- attempt to set the encoding put "PRAGMA encoding = 'UTF-16'" into tSQL revExecuteSQL pDBID, tSQL -- attempt to drop the table put "drop table " & pDBName into tDropSQL revExecuteSQL pDBID, tDropSQL put the result into tResult CATCH tError answer tError IF the environment is "development" THEN exit to top ELSE quit END TRY -- create the table put "create table" && quote & pDBName & quote \ & cr into tCreateCommand put "(" & quote & "recordid" & quote && "NUMERIC PRIMARY KEY UNIQUE, " \ & cr AFTER tCreateCommand put the keys of pArrayDataA [1] into tRecordKeyList filter lines of tRecordKeyList without "recordid" REPEAT for each line tRecordKey in tRecordKeyList if pArrayDataA [1] [tRecordKey] is an array or \ pArrayDataA [1] [tRecordKey] begins with "Salted__" then put "BLOB" into tColumnType else put VARCHAR into tColumnType end if put quote & tRecordKey & quote && tColumnType & "," && cr AFTER tCreateCommand END REPEAT delete char -3 to -1 of tCreateCommand put ")" AFTER tCreateCommand TRY revExecuteSQL pDBID, tCreateCommand put the result into tResult IF tResult is not 0 THEN breakpoint CATCH tError breakpoint END TRY put 1 into tRecordCounter put "recordid" & cr & tRecordKeyList into tColumns repeat with i = 1 to the number of lines of tColumns put ":" & i into item i of tColumnList end repeat put "(" & tColumnList & ")" into tColumnList -- insert data REPEAT for each line tKey in tArrayKeys put 1 into tColumnCounter put pArrayDataA [tKey] into tRecordDataA put tRecordCounter into tQueryDataA [1] REPEAT for each line tRecordKey in tRecordKeyList add 1 to tColumnCounter if tRecordDataA [tRecordKey] is an array then put arrayEncode(tRecordDataA [tRecordKey]) into tValue else put tRecordDataA [tRecordKey] into tValue end if put tValue into tQueryDataA [tColumnCounter] END REPEAT put "insert into" && pDBName && "VALUES" && tColumnList into tInsertSQL TRY revExecuteSQL pDBID, tInsertSQL, "tQueryDataA" put the result into tResult if the result is not a number then breakpoint CATCH tError breakpoint END TRY add 1 to tRecordCounter END REPEAT return pDBID END arrayToSQLite FUNCTION cursorToArray pCursorID put revNumberOfRecords(pCursorID) into tNumberOfRecords if tNumberOfRecords = 0 then \ return empty put revDatabaseColumnCount(pCursorID) into tColumnCount put revDatabaseColumnNames(pCursorID) into tColumnNames REPEAT forever add 1 to tRecordCount REPEAT with i = 1 to tColumnCount put revDatabaseColumnNumbered(pCursorID, i) into tColumnValue put tColumnValue into aCursorArray [tRecordCount] [item i of tColumnNames] END REPEAT revMoveToNextRecord pCursorID if revQueryIsAtEnd(pCursorID) then \ exit repeat END REPEAT return aCursorArray END cursorToArray From ambassador at fourthworld.com Fri May 17 21:55:22 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 18 May 2024 01:55:22 +0000 Subject: UPDATE: filterArray() Message-ID: Thank you, Bob. It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Sat May 18 02:50:29 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 May 2024 06:50:29 +0000 Subject: UPDATE: filterArray() In-Reply-To: References: Message-ID: <1AC3FAE7-AD49-4C5C-8060-BACEB2708367@iotecdigital.com> :-) Sent from my iPhone > On May 17, 2024, at 18:57, Richard Gaskin via use-livecode wrote: > > Thank you, Bob. > > It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: > > go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" > > > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Sun May 19 07:52:51 2024 From: curry at pair.com (Curry Kenworthy) Date: Sun, 19 May 2024 07:52:51 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <76a0f674-6eef-407d-92a3-c05c69d343d2@pair.com> Bob: > to build ALL my app for all platforms in one pass, and then being able > to build again without having to quit and relaunch would be nice. Yes, LC should build standalones in one pass/again without issues... And so should you! That is largely BY CHOICE - Not using my workaround code to close your library/etc stacks, any that were announced/ID'd in subsequent dialogs after 1st or 2nd build. Mike: > #3 could be web, if it wasn't a squirrel, too. Compiler and web are both worthy examples; the important principle is to finish components and evaluate trends calmly, before coding with PASSION. :) I hope everyone has a great weekend! Still gradually setting up AAC for a while, as my first priority... (EVERYTHING I do requires it.) Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Mon May 20 12:53:02 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 May 2024 16:53:02 +0000 Subject: UPDATE: filterArray() In-Reply-To: References: Message-ID: <16A2A34D-895F-4EBB-B490-FC54CD410859@iotecdigital.com> I’m surprised about the time differential. Obviously LC parsing is much faster, I guess because filterArray has the initial overhead of creating and populating the database. I’ve never used it for large datasets. I guess the main advantage for using filterArray() is that using the LC parser, for each use case would require it’s own code. filterArray() is a one-stop-shop approach. For instance, if you need to compare data with another dataset (as in an SQL join) or finding the maximum value in a dataset, or limiting your results. Also, with queries you can do complex sort criteria and complex joins, return calculations as columns, etc. All of these use cases would require a different code set for the LC parser. Yes with SQL the extra code would be writing the SQL statement, but for anyone proficient with SQL, that’s easy enough. It’s conceivable that you could write a pseudo-database system that uses LC arrays instead of sql, but you would have to do auto saves to file on that kind of database to prevent data loss, and that would . LIKE queries are also one of the slowest kinds of queries there are, so any query that does not use an index is going to take a longer time. I suppose I could add indexing but that would create more first time overhead. I made the assertion when I first wrote this, that for single queries, the sql method would not be very performant, because the overhead of creating the database to begin with could be significant, but if subsequent queries were made directly on the database, the filterArray method would begin to catch up, because the LC parser method cannot gain efficiency with iteration. I suppose the real test would be to see whether or not direct queries agains a memory database is faster than the LC parser. I do have a findInArray() function as well, but it’s fairly simple, returning only the keys that match a value in a single column. Bob S > On May 17, 2024, at 6:55 PM, Richard Gaskin via use-livecode wrote: > > Thank you, Bob. > > It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: > > go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" > > > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon May 20 15:36:05 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 20 May 2024 19:36:05 +0000 Subject: UPDATE: filterArray() Message-ID: <477f872c9642d96f6a8029b95b38a9f7c532520a@fourthworld.com> Bob Sneidar wrote: > I’m surprised about the time differential. I was too, but in the end it kinda makes sense. Both LC and SQLite are complex scripting engines, where code has to be parsed and interpreted into executable machine instructions. The one advantage of filtering LC arrays in LC Script is that it's with-the-grain, without needing to be reformatted for the expectations of a foreign system designed with no consideration of LC at all. And never underestimate the internal complexity of RDBMS data structures. B-trees are flexible but computationally expensive. > I guess the main advantage for using filterArray() is that using the > LC parser, for each use case would require it’s own code. filterArray() > is a one-stop-shop approach. For instance, if you need to compare data > with another dataset (as in an SQL join) or finding the maximum value > in a dataset, or limiting your results. Somewhat. If I read your code correctly, it create a single table from the array, limiting the depth of the array and thereby obviating the complexities inherent in operations across multiple tables. For table-equivalent arrays, the query field provided for LC in that example stack lets you explore the possibilities just like the SQL query field there. The syntax is a bit different, e.g.: LC: eeee contains "arbitrary" SQL: eeee like '%arbitrary%' ...but both are readable and about as capable as the range of options each parser provides. One could further generalize this example on the LC side, but it's so easy to custom-code solutions in LC I try remain mindful of the tradeoffs of generalization. LC's value function has continually surprised me over the years with how well it works as a general-purpose expression evaluation engine. > It’s conceivable that you could write a pseudo-database system > that uses LC arrays instead of sql, but you would have to do > auto saves to file on that kind of database to prevent data > loss, and that would. The example I delivered should already be using in-memory SQLite, with the same benefits and risks as LC's arrays. Your arrayToSQLite includes: IF pDBFile is empty THEN put ":memory:" into pDBFile ...and I passed no file specifier to it. Might be fun to add saving to both and see how that works out. > LIKE queries are also one of the slowest kinds of queries there are, > so any query that does not use an index is going to take a longer > time. I suppose I could add indexing but that would create more first > time overhead. Substring searches are a challenge in any scripting engine. It's laudible that not only does LC do them well, but also in the worst-case scenario, excuted in the dynamic context of the value function. > I made the assertion when I first wrote this, that for single queries, > the sql method would not be very performant, because the overhead of > creating the database to begin with could be significant, but if > subsequent queries were made directly on the database, the filterArray > method would begin to catch up, because the LC parser method cannot > gain efficiency with iteration. I suppose the real test would be to > see whether or not direct queries agains a memory database is faster than the LC parser. That's an interesting question, how performance would be affected if the translation from the LC-native form to the SQLite-native form were eliminated, to compare evaluation engines only. Indexing is key to every data store, and I've experimented with hash-batched indices with some success over the years. Tempting, tho I have to be mindful of my time these days, and lately reserve entertainment time for board game design. :) But the question of isolating the effects of translating data between two systems with very different expectations seems central to this exercise: choosing storage structures per app needs, and then using the querying methods available for the chosen solution. When associative arrays are the foundation of an app's operations, filtering them using LC-native syntax seems useful, esp, in those cases where it can deliver two orders of magnitude performance gain in about a dozen lines of code. But of course for apps built around SQLite, there's no need to bother with LC arrays at all (except maybe for display operations like the DataGrid), since SQLite is also a very feature-rich, performant scripting engine. >> On May 17, 2024, at 6:55 PM, Richard Gaskin wrote: >> >> Thank you, Bob. >> >> It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: >> >> go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" >> Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Mon May 20 17:17:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 May 2024 21:17:07 +0000 Subject: UPDATE: filterArray() In-Reply-To: <477f872c9642d96f6a8029b95b38a9f7c532520a@fourthworld.com> References: <477f872c9642d96f6a8029b95b38a9f7c532520a@fourthworld.com> Message-ID: <88582F78-5275-4915-A546-315522BBFDB8@iotecdigital.com> Yes but what you may not see is that if a memory database already exists and you pass the id it will check for it’s existence, so then all it does is replace the table (if it exists) with the name you pass with a new table containing that parsed array. There may be other tables in the memory database, and those are not touched, so theoretically I could pass multiple arrays with different table names, then execute complex queries on those. In this discussion I can see that there are changes I could make to improve it’s efficiency. I should break out the different operations, like creating the table, querying the database and returning an array as separate functions. The main reason I created this function was because I assumed memory databases would be considerably faster than file based ones, or network based over slow network infrastructures, as well as eliminating the need to create separate handlers for each use case. Bob S On May 20, 2024, at 12:36 PM, Richard Gaskin via use-livecode wrote: I guess the main advantage for using filterArray() is that using the LC parser, for each use case would require it’s own code. filterArray() is a one-stop-shop approach. For instance, if you need to compare data with another dataset (as in an SQL join) or finding the maximum value in a dataset, or limiting your results. Somewhat. If I read your code correctly, it create a single table from the array, limiting the depth of the array and thereby obviating the complexities inherent in operations across multiple tables. From tom at makeshyft.com Mon May 20 20:58:33 2024 From: tom at makeshyft.com (Tom Glod) Date: Mon, 20 May 2024 20:58:33 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: I have a plugin that is not complete which can save livecode groups and all of their properties, custom properties and scripts. If you'd like I'll send you some of the code. PM me. Should be super easy to find the code u need, and then inverse it. If you did that it would help me complete the plugin and I could release it. On Thu, May 16, 2024 at 8:05 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > this is also how levure operates, so if you build with levure, you can just > do this with stacks in the project > > On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > You can save external stacks or created on the fly stacks where ever you > > have *write* (and read) permission on your OS. > > > > Increasingly, whether macOS or Windows, that is not the Applications > > (macOS) or Program Files/Program Files (x86) (Windows) folders. I find > > the SAFEST place to save something is using > > specialFolderPath("documents") and then create a folder structure for > > your company or app in the user's Documents folder. OSes are becoming > > more and more "sandboxed" to prevent malware and dumb user mistakes from > > wrecking apps or the OS itself. > > > > > > On 5/16/2024 4:43 PM, Peter Bogdanoff via use-livecode wrote: > > > Craig, > > > > > > Saving: the stacks within the MacOS package and the Windows > Applications > > folders can be saved—within that location? > > > > > > Can new stacks/files be written to those same folders? > > > > > > Peter > > > > > >> On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > >> > > >> I did not explicitly mention that any and all of the attached stacks > > are savable. > > >> > > >> Craig > > >> > > >>> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > >>> > > >>> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: > > >>>> save that stack under a customer file extension > > >>> That should have said "custom file extension" > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Tue May 21 10:48:18 2024 From: klaus at major-k.de (Klaus major-k) Date: Tue, 21 May 2024 16:48:18 +0200 Subject: Strange syntax in new widgets!? Message-ID: Hi firends, this came up in the LC forum: How can I delete a line in a PolyGrid? "deleteline" or something did not work, so I searched the dictionary and found that one needs to set a PROPERTY to do so: ... put 2 into tLine set the pgDeleteRow of widget "PolyGrid" to tLine ... Very intuitive in my opinion. NOT! Am I the only one who find this rather ridiculous? 8-) Come on Livecode, you can do better! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Tue May 21 11:05:30 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 May 2024 15:05:30 +0000 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: <4EC49FC6-7CEB-42D4-BDC7-B3A5A5347AD0@iotecdigital.com> Including datagrids? I have a save and restore method for Datagrids, but I don’t think I back up ALL the properties, just the critical ones. Bob S On May 20, 2024, at 5:58 PM, Tom Glod via use-livecode wrote: I have a plugin that is not complete which can save livecode groups and all of their properties, custom properties and scripts. If you'd like I'll send you some of the code. PM me. Should be super easy to find the code u need, and then inverse it. If you did that it would help me complete the plugin and I could release it. On Thu, May 16, 2024 at 8:05 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: this is also how levure operates, so if you build with levure, you can just do this with stacks in the project On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: You can save external stacks or created on the fly stacks where ever you have *write* (and read) permission on your OS. Increasingly, whether macOS or Windows, that is not the Applications (macOS) or Program Files/Program Files (x86) (Windows) folders. I find the SAFEST place to save something is using specialFolderPath("documents") and then create a folder structure for your company or app in the user's Documents folder. OSes are becoming more and more "sandboxed" to prevent malware and dumb user mistakes from wrecking apps or the OS itself. From bobsneidar at iotecdigital.com Tue May 21 11:09:06 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 May 2024 15:09:06 +0000 Subject: Strange syntax in new widgets!? In-Reply-To: References: Message-ID: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> I find a lot of the widget properties less than useful. Try setting the widths of all the tabs of a segmented control to a specified width based upon the total width of the widget. Bob S On May 21, 2024, at 7:48 AM, Klaus major-k via use-livecode wrote: Hi firends, this came up in the LC forum: How can I delete a line in a PolyGrid? "deleteline" or something did not work, so I searched the dictionary and found that one needs to set a PROPERTY to do so: ... put 2 into tLine set the pgDeleteRow of widget "PolyGrid" to tLine ... Very intuitive in my opinion. NOT! Am I the only one who find this rather ridiculous? 8-) Come on Livecode, you can do better! Best Klaus From klaus at major-k.de Tue May 21 11:27:09 2024 From: klaus at major-k.de (Klaus major-k) Date: Tue, 21 May 2024 17:27:09 +0200 Subject: Strange syntax in new widgets!? In-Reply-To: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> Message-ID: <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> Hi Bob, > Am 21.05.2024 um 17:09 schrieb Bob Sneidar via use-livecode : > > I find a lot of the widget properties less than useful. Try setting the widths of all the tabs of a segmented control to a specified width based upon the total width of the widget. no, I won't! :-D > Bob S > > On May 21, 2024, at 7:48 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > this came up in the LC forum: How can I delete a line in a PolyGrid? > "deleteline" or something did not work, so I searched the dictionary > and found that one needs to set a PROPERTY to do so: > ... > put 2 into tLine > set the pgDeleteRow of widget "PolyGrid" to tLine > ... and to make the confusion complete we need to: ... put 2 into tLine set the deleteItem of widget "PolyList" to tLine ... for PolyLists. > Very intuitive in my opinion. NOT! > Am I the only one who find this rather ridiculous? 8-) > Come on Livecode, you can do better! It appears to me that the new widgets have been created by someone who has no or very little knowledge of LC. We have: ... delete line 2 of fld 1 ... dispatch "DeleteLine" to group "DataGrid" with 2 ... So why not create a more or less similar syntax for new widgets, so we don't have to use the dictionary for similar tasks. I don't get it... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tom at makeshyft.com Tue May 21 23:13:14 2024 From: tom at makeshyft.com (Tom Glod) Date: Tue, 21 May 2024 23:13:14 -0400 Subject: Saving data in standalone In-Reply-To: <4EC49FC6-7CEB-42D4-BDC7-B3A5A5347AD0@iotecdigital.com> References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> <4EC49FC6-7CEB-42D4-BDC7-B3A5A5347AD0@iotecdigital.com> Message-ID: Hey Bob, I just tested it and it captured the controls and properties and custom property sets ....it would take extra work to "restore" a datagrid, because we have to package the template stack...... but i think it will work. Unless there is a property that the datagrid control has that is unique to it and is not captured. I can see the hierarchy of controls ...etc. PM me I can send you the stack if you want to take a look On Tue, May 21, 2024 at 11:06 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Including datagrids? I have a save and restore method for Datagrids, but I > don’t think I back up ALL the properties, just the critical ones. > > Bob S > > > On May 20, 2024, at 5:58 PM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > I have a plugin that is not complete which can save livecode groups and all > of their properties, custom properties and scripts. If you'd like I'll > send you some of the code. PM me. > Should be super easy to find the code u need, and then inverse it. > If you did that it would help me complete the plugin and I could release > it. > > On Thu, May 16, 2024 at 8:05 PM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > this is also how levure operates, so if you build with levure, you can just > do this with stacks in the project > > On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > You can save external stacks or created on the fly stacks where ever you > have *write* (and read) permission on your OS. > > Increasingly, whether macOS or Windows, that is not the Applications > (macOS) or Program Files/Program Files (x86) (Windows) folders. I find > the SAFEST place to save something is using > specialFolderPath("documents") and then create a folder structure for > your company or app in the user's Documents folder. OSes are becoming > more and more "sandboxed" to prevent malware and dumb user mistakes from > wrecking apps or the OS itself. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed May 22 15:01:02 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 May 2024 19:01:02 +0000 Subject: Saving data in standalone Message-ID: <86562f17194974abf30277d50d8a2fc60cb432f8@fourthworld.com> When I've used a group as a document view, sometimes I just copy the group to an invisible stackfile for storage. The engine handles stackfiles efficiently and robustly. If we had viewers it'd save me the copy step. https://quality.livecode.com/show_bug.cgi?id=2786 Richard Gaskin FourthWorld.com Bob Sneidar wrote: > > Including datagrids? I have a save and restore method for > Datagrids, but I don’t think I back up ALL the properties, > just the critical ones. > > Bob S > > >> On May 20, 2024, at 5:58 PM, Tom Glod wrote: >> >> I have a plugin that is not complete which can save livecode >> groups and all of their properties, custom properties and >> scripts. From matthias_livecode_150811 at m-r-d.de Thu May 23 11:29:48 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 23 May 2024 17:29:48 +0200 Subject: somehow OT, but somehow not - no price information anymore on Livecode website Message-ID: Hi, today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. I am not sure what to think about this. Was this announced? Or can the prices be viewed somewhere else? In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. What do you think? Regards, Matthias From bobsneidar at iotecdigital.com Thu May 23 11:54:38 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 May 2024 15:54:38 +0000 Subject: somehow OT, but somehow not - no price information anymore on Livecode website In-Reply-To: References: Message-ID: I agree. I have a long standing issue with companies that want me to give them email, phone and sometimes address in order to get a quote. In the case of your friend, he doesn’t know the company, and does not know he can trust them. How can he tell, he may just end up on a thousand other mailing lists. Bob S > On May 23, 2024, at 8:29 AM, matthias rebbe via use-livecode wrote: > > Hi, > > today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. > But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. > > I am not sure what to think about this. Was this announced? > Or can the prices be viewed somewhere else? > > In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. > > What do you think? > > Regards, > Matthias From heather at livecode.com Thu May 23 12:02:32 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 23 May 2024 17:02:32 +0100 Subject: somehow OT, but somehow not - no price information anymore on Livecode website In-Reply-To: References: Message-ID: <0A016899-27C9-49FC-BD1E-07863585A715@livecode.com> Hello all, This is a temporary change to the website while we transition a few things. Pricing will be restored on the site in due course. Please bear with us. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 23 May 2024, at 16:29, matthias rebbe via use-livecode wrote: > > Hi, > > today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. > But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. > > I am not sure what to think about this. Was this announced? > Or can the prices be viewed somewhere else? > > In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. > > What do you think? > > Regards, > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu May 23 12:09:57 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 23 May 2024 12:09:57 -0400 Subject: somehow OT, but somehow not - no price information anymore on Livecode website In-Reply-To: References: Message-ID: Pricing still seems to be available for Student and Educational plans: For example, at https://livecode.com/education-plans/ under the "Buy a LiveCode Subscription" there is a link for "View Pricing Options" (https://livecode.com/education-plans/#pricingoptions) It is just Pros & Business they are looking to quote for, which is a change for those plans from just showing the pricing. On 5/23/2024 11:29 AM, matthias rebbe via use-livecode wrote: > Hi, > > today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. > But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. > > I am not sure what to think about this. Was this announced? > Or can the prices be viewed somewhere else? > > In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. > > What do you think? > > Regards, > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeff at siphonophore.com Thu May 23 13:04:15 2024 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 23 May 2024 13:04:15 -0400 Subject: somehow OT, but somehow not - no price information Message-ID: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> Yikes, I agree this is really not a good turn. I usually see this stuff on stuff marketed to high end firms where price is not much of a factor. Having been an evangelist for Livecode thru all its evolution all the way back to MetaCard days (over three decades), I’m afraid I will not be pointing people there will glee now. This is just a very bad move in my opinion. Sad to see this turn. Jeff Reynolds > On May 23, 2024, at 12:02 PM, use-livecode-request at lists.runrev.com wrote: > > Re: somehow OT, but somehow not - no price information From irog at mac.com Thu May 23 22:07:20 2024 From: irog at mac.com (Roger Guay) Date: Thu, 23 May 2024 19:07:20 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> Message-ID: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. Thanks, Roger From MikeKerner at roadrunner.com Thu May 23 22:37:16 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 23 May 2024 22:37:16 -0400 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: just spitballing: let's call our containers "tSearchingFor" and "tSearchString" *set* the itemDelimiter to comma & tSearchString & comma *put* the number of items in tSearchingFor - 1 into tNum *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to tNum *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to tNum On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < use-livecode at lists.runrev.com> 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 repeated in > a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > > > Thanks, > > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From terry.judd at unimelb.edu.au Thu May 23 23:47:38 2024 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 24 May 2024 03:47:38 +0000 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: Probably not the shortest approach, but I’d probably do either this… function countItemRepsInList pList, pItem replace comma with cr in pList filter pList with pItem return (the number of lines in pList) end countItemRepsInList or this function countItemRepsInList pList, pItem put 0 into tCount repeat for each item tItem in pList if (tItem = pItem) then add 1 to tCount end repeat return tCount end countItemRepsInList Terry From: use-livecode on behalf of Roger Guay via use-livecode Date: Friday, 24 May 2024 at 12:09 PM To: How to use LiveCode Cc: Roger Guay Subject: Return Total of a Given Repeated Number in a List 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. Thanks, Roger _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 01:08:00 2024 From: irog at mac.com (Roger Guay) Date: Thu, 23 May 2024 22:08:00 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: Very clever, Mike. I never thought to use itemDelimiter this way. I’ll have to play with this. Thanks very much, Roger > On May 23, 2024, at 7:37 PM, Mike Kerner via use-livecode wrote: > > just spitballing: > let's call our containers "tSearchingFor" and "tSearchString" > > *set* the itemDelimiter to comma & tSearchString & comma > > *put* the number of items in tSearchingFor - 1 into tNum > > *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to tNum > > *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to tNum > > On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < > use-livecode at lists.runrev.com> 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 repeated in >> a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >> >> >> Thanks, >> >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andreas.bergendal at gmail.com Fri May 24 02:55:16 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 24 May 2024 08:55:16 +0200 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> Another way to do it is this: function countOccurrences pString repeat for each item tItem in pString add 1 to tFrequencyArray[tItem] end repeat return tFrequencyArray end countOccurrences To get the number of 2’s, just extract tFrequencyArray[2] etc. The advantage is that you get a frequency list (array) of ALL the items in one go. The bonus advantage is that you also get a list of unique values, by getting the keys of tFrequencyArray. So it also serves as a duplicate-clearing function, which is sometimes handy. /Andreas > 24 maj 2024 kl. 07:08 skrev Roger Guay via use-livecode : > > Very clever, Mike. I never thought to use itemDelimiter this way. I’ll have to play with this. > > Thanks very much, > > Roger > >> On May 23, 2024, at 7:37 PM, Mike Kerner via use-livecode wrote: >> >> just spitballing: >> let's call our containers "tSearchingFor" and "tSearchString" >> >> *set* the itemDelimiter to comma & tSearchString & comma >> >> *put* the number of items in tSearchingFor - 1 into tNum >> >> *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to tNum >> >> *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to tNum >> >> On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < >> use-livecode at lists.runrev.com> 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 repeated in >>> a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri May 24 08:35:52 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 24 May 2024 08:35:52 -0400 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> Message-ID: 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 at lists.runrev.com> wrote: > Another way to do it is this: > > function countOccurrences pString > repeat for each item tItem in pString > add 1 to tFrequencyArray[tItem] > end repeat > > return tFrequencyArray > end countOccurrences > > To get the number of 2’s, just extract tFrequencyArray[2] etc. > The advantage is that you get a frequency list (array) of ALL the items in > one go. > > The bonus advantage is that you also get a list of unique values, by > getting the keys of tFrequencyArray. > So it also serves as a duplicate-clearing function, which is sometimes > handy. > > /Andreas > > > > 24 maj 2024 kl. 07:08 skrev Roger Guay via use-livecode < > use-livecode at lists.runrev.com>: > > > > Very clever, Mike. I never thought to use itemDelimiter this way. I’ll > have to play with this. > > > > Thanks very much, > > > > Roger > > > >> On May 23, 2024, at 7:37 PM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> just spitballing: > >> let's call our containers "tSearchingFor" and "tSearchString" > >> > >> *set* the itemDelimiter to comma & tSearchString & comma > >> > >> *put* the number of items in tSearchingFor - 1 into tNum > >> > >> *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to > tNum > >> > >> *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to > tNum > >> > >> On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < > >> use-livecode at lists.runrev.com> 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 > repeated in > >>> a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > >>> > >>> > >>> Thanks, > >>> > >>> Roger > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> -- > >> On the first day, God created the heavens and the Earth > >> On the second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From alex at tweedly.net Fri May 24 10:51:30 2024 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 24 May 2024 15:51:30 +0100 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> Message-ID: <06e5a5e9-8849-432a-9864-b5405577666d@tweedly.net> 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. From bobsneidar at iotecdigital.com Fri May 24 11:23:11 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 15:23:11 +0000 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > > > Thanks, > > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 24 11:26:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 15:26:34 +0000 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> Message-ID: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> 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 > > 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >> >> >> Thanks, >> >> Roger From bobsneidar at iotecdigital.com Fri May 24 11:40:24 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 15:40:24 +0000 Subject: Strange syntax in new widgets!? In-Reply-To: <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> Message-ID: <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> 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. Well, also because I’m too lazy to implement any of the others just yet. Don’t get me wrong, there are some great widgets. But trying to replicate the functionality of datagrids, yeah not so much. Bob S On May 21, 2024, at 8:27 AM, Klaus major-k via use-livecode wrote: It appears to me that the new widgets have been created by someone who has no or very little knowledge of LC. We have: ... delete line 2 of fld 1 ... dispatch "DeleteLine" to group "DataGrid" with 2 ... So why not create a more or less similar syntax for new widgets, so we don't have to use the dictionary for similar tasks. I don't get it... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Fri May 24 12:20:09 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 16:20:09 +0000 Subject: Place Phone Call MacOS Message-ID: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> 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 do that? Bob S From andreas.bergendal at gmail.com Fri May 24 12:28:43 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 24 May 2024 18:28:43 +0200 Subject: Place Phone Call MacOS In-Reply-To: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> References: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> Message-ID: 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 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 do that? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri May 24 12:55:44 2024 From: paul at researchware.com (Paul Dupuis) Date: Fri, 24 May 2024 12:55:44 -0400 Subject: Place Phone Call MacOS In-Reply-To: References: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> Message-ID: <7279442b-fcfd-46b9-8895-175c5fa61453@researchware.com> 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, cant 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 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 do that? >> >> Bob S >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 17:05:37 2024 From: irog at mac.com (Roger Guay) Date: Fri, 24 May 2024 14:05:37 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: 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 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 >> >> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 17:05:37 2024 From: irog at mac.com (Roger Guay) Date: Fri, 24 May 2024 14:05:37 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: 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 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 >> >> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 17:05:37 2024 From: irog at mac.com (Roger Guay) Date: Fri, 24 May 2024 14:05:37 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: 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 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 >> >> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat May 25 10:20:11 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 25 May 2024 10:20:11 -0400 Subject: Groups id # Message-ID: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Hi list, I have a script that creates groups on the fly with the command "group". These groups contain various flds and imgs. Can I always assume that the group with the highest id # is the last one created ? Thanks, jbv From bogdanoff at me.com Sat May 25 10:46:07 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 25 May 2024 10:46:07 -0400 Subject: Groups id # In-Reply-To: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: Last. "The last keyword <> can be used to specify any object <> whose number <> property <> is equal to the number of objects <> of that type. It can also be used to designate the last chunk <> in a chunk expression <>." > On May 25, 2024, at 10:20 AM, jbv via use-livecode wrote: > > Hi list, > > I have a script that creates groups on the fly > with the command "group". These groups contain > various flds and imgs. > Can I always assume that the group with the highest > id # is the last one created ? > Thanks, > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat May 25 10:49:14 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 25 May 2024 16:49:14 +0200 Subject: Groups id # In-Reply-To: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: Hi jbv, > Am 25.05.2024 um 16:20 schrieb jbv via use-livecode : > > Hi list, > > I have a script that creates groups on the fly > with the command "group". These groups contain > various flds and imgs. > Can I always assume that the group with the highest > id # is the last one created ? sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. Use IT right after the groupd command: ... select this_and_that group put IT into the_id_of_just_created_group ... > Thanks, > jbv Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Sat May 25 11:07:39 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 May 2024 11:07:39 -0400 Subject: Strange syntax in new widgets!? In-Reply-To: <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> Message-ID: a couple of notes on bob's comments: * the widgets were written by a third party using lcb. lc purchased the source. unfortunately, the source is closed, so your ability to improve them is limited. (then there's the whole matter of the property editor and property inspector not being documented, which makes fixing the properties panels for the widgets much more interesting) * i've completely replaced the segmented control and the tab panel with a polyList, because it's more flexible, and i can get more functionality out of it. * give the polygrid a try. it is much, much faster than the datagrid, and i have not had any issues with missing functionality (at least for what i'm using it for). On Fri, May 24, 2024 at 11:41 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > 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. > Well, also because I’m too lazy to implement any of the others just yet. > > Don’t get me wrong, there are some great widgets. But trying to replicate > the functionality of datagrids, yeah not so much. > > Bob S > > > On May 21, 2024, at 8:27 AM, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > > It appears to me that the new widgets have been created by someone who has > no > or very little knowledge of LC. > > We have: > ... > delete line 2 of fld 1 > ... > dispatch "DeleteLine" to group "DataGrid" with 2 > ... > > So why not create a more or less similar syntax for new widgets, so we > don't have > to use the dictionary for similar tasks. I don't get it... > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From klaus at major-k.de Sat May 25 11:14:46 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 25 May 2024 17:14:46 +0200 Subject: Strange syntax in new widgets!? In-Reply-To: References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> Message-ID: Hi Mike, > Am 25.05.2024 um 17:07 schrieb Mike Kerner via use-livecode : > > a couple of notes on bob's comments: > * the widgets were written by a third party using lcb. lc purchased the > source. AHA! Well, that explains the "inconsistency" in the syntax. > unfortunately, the source is closed, so your ability to improve > them is limited. (then there's the whole matter of the property editor and > property inspector not being documented, which makes fixing the properties > panels for the widgets much more interesting) > * i've completely replaced the segmented control and the tab panel with a > polyList, because it's more flexible, and i can get more functionality out > of it. > * give the polygrid a try. it is much, much faster than the datagrid, and i > have not had any issues with missing functionality (at least for what i'm > using it for). Don't get me wrong, this is a wonderful widget and I replaced the DataGrid with a PolyList/PolyGrid wherever possible in my projects. > On Fri, May 24, 2024 at 11:41 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> 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. YES! Same here... >> Well, also because I’m too lazy to implement any of the others just yet. >> >> Don’t get me wrong, there are some great widgets. But trying to replicate >> the functionality of datagrids, yeah not so much. >> >> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Sat May 25 11:13:55 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 May 2024 11:13:55 -0400 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: (to alex's question) > * quicken date shortcuts quicken has/had these very nifty ways of handling date inputs, to make entry faster. if you enter a numeral, like 26, it means that date of this month. similarly, month/date e.g. 5/25 is 5/25 of this year. "T" is today "+" to increment the date field one day. if the date field is empty, it means tomorrow "-" "M" is the first day of this month, and "H" is the last "Y"ea"R" "W"ee"K" On Fri, May 24, 2024 at 5:06 PM Roger Guay via use-livecode < use-livecode at lists.runrev.com> wrote: > 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 < > use-livecode at lists.runrev.com> wrote: > > > > 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 < > use-livecode at lists.runrev.com> wrote: > >> > >> 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 < > use-livecode at lists.runrev.com> 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 repeated in > a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > >>> > >>> > >>> Thanks, > >>> > >>> Roger > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Sat May 25 19:52:33 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 25 May 2024 23:52:33 +0000 Subject: Groups id # In-Reply-To: References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: IDs are assigned according to the stack ID which increments by 1 every time an object is created. So yes, the stack ID is like an auto increment column in SQL. It assures that no two objects get the same ID, and the last object created is the highest ID in the stack. Sent from my iPhone > On May 25, 2024, at 07:50, Klaus major-k via use-livecode wrote: > > Hi jbv, > >> Am 25.05.2024 um 16:20 schrieb jbv via use-livecode : >> >> Hi list, >> >> I have a script that creates groups on the fly >> with the command "group". These groups contain >> various flds and imgs. >> Can I always assume that the group with the highest >> id # is the last one created ? > > sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. > Use IT right after the groupd command: > ... > select this_and_that > group > put IT into the_id_of_just_created_group > ... > >> Thanks, >> jbv > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sat May 25 19:54:54 2024 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 26 May 2024 00:54:54 +0100 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: On 25/05/2024 16:13, Mike Kerner via use-livecode wrote: > (to alex's question) >> * quicken date shortcuts > quicken has/had these very nifty ways of handling date inputs, to make > entry faster. > if you enter a numeral, like 26, it means that date of this month. > similarly, month/date e.g. 5/25 is 5/25 of this year. > "T" is today > "+" to increment the date field one day. if the date field is empty, it > means tomorrow > "-" > "M" is the first day of this month, and "H" is the last > "Y"ea"R" > "W"ee"K" > Ohhhh - those are cool :-) I have a project to keep me busy tomorrow  :-) Thanks, Alex. From bobsneidar at iotecdigital.com Sat May 25 20:03:18 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 26 May 2024 00:03:18 +0000 Subject: Groups id # In-Reply-To: References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: <0837D98C-8E6D-47CC-B08F-AF7AE831D610@iotecdigital.com> As I said, the last ID is going to be the stack ID -1. Sent from my iPhone > On May 25, 2024, at 16:55, Bob Sneidar wrote: > > sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. From craig at starfirelighting.com Tue May 28 09:42:13 2024 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 28 May 2024 09:42:13 -0400 Subject: Groups id # In-Reply-To: <0837D98C-8E6D-47CC-B08F-AF7AE831D610@iotecdigital.com> References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> <0837D98C-8E6D-47CC-B08F-AF7AE831D610@iotecdigital.com> Message-ID: There is an anomaly with the “last” keyword. It is not reliable with groups. Craig > On May 25, 2024, at 8:03 PM, Bob Sneidar via use-livecode wrote: > > As I said, the last ID is going to be the stack ID -1. > > Sent from my iPhone > >> On May 25, 2024, at 16:55, Bob Sneidar wrote: >> >> sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu May 30 08:27:52 2024 From: klaus at major-k.de (Klaus major-k) Date: Thu, 30 May 2024 14:27:52 +0200 Subject: error when creating iOS app: failed to create launch screen: /* com.apple.ibtoolerrors */ Message-ID: <33AD4EB5-5AA7-4089-BBFD-2BB847F0AF63@major-k.de> Hi friends, I just wanted to create an iOS app with my new M2 MacMini. LC 9.6.11, Xcode 15.0 Available Device SDKs: 17.0 Available simulators: 17.0 All iOS icons and the launch image are present and have the correct dimensions, however LC tells me: --------------------------------------- There was an error while saving the standalone application failed to create launch screen: /* com.apple.ibtoolerrors */ /Volumes/ 1TB/Livecode Hilfe/Klaus/LeadSheeter X/Leadsheeter-X/Leadsheeter-X.app/LaunchScreen.storyboard: error: iOS 17.0 Platform Not installed. --------------------------------------- Platform not installed? What does that mean? What am I missing? Thanks for any hint. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Thu May 30 09:35:45 2024 From: klaus at major-k.de (Klaus major-k) Date: Thu, 30 May 2024 15:35:45 +0200 Subject: error when creating iOS app: failed to create launch screen: SOLVED In-Reply-To: <33AD4EB5-5AA7-4089-BBFD-2BB847F0AF63@major-k.de> References: <33AD4EB5-5AA7-4089-BBFD-2BB847F0AF63@major-k.de> Message-ID: <55FB811F-681A-4AD1-82B5-45AE95A45A36@major-k.de> Hi all, > Am 30.05.2024 um 14:27 schrieb Klaus major-k via use-livecode : > > Hi friends, > > I just wanted to create an iOS app with my new M2 MacMini. > LC 9.6.11, > Xcode 15.0 > Available Device SDKs: 17.0 > Available simulators: 17.0 > > All iOS icons and the launch image are present and have the > correct dimensions, however LC tells me: > --------------------------------------- > There was an error while saving the standalone application > failed to create launch screen: /* com.apple.ibtoolerrors */ > /Volumes/ 1TB/Livecode Hilfe/Klaus/LeadSheeter > X/Leadsheeter-X/Leadsheeter-X.app/LaunchScreen.storyboard: > error: iOS 17.0 Platform Not installed. > --------------------------------------- > Platform not installed? What does that mean? What am I missing? > Thanks for any hint. obviously I did not open Xcode before... Now I did and had to download and install platform 17.0. Works as exspected now. :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From neville.smythe at optusnet.com.au Thu May 30 21:21:33 2024 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Fri, 31 May 2024 11:21:33 +1000 Subject: Snapshot question Message-ID: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> I have a need for rotated graphic objects, in particular a roundrect graphic. Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame. Which means the image can really only be used against a black background. Ideally the background outside the rounded frame should be transparent, although I suspect that may not be possible with the bitmap image format produced. Is there any setting that can fix this (a mask?), or failing that set the colour of these pixels (I presume the snapshot is actually produced by rendering the object in a hidden buffer with default black background) . The alternative solution of producing a screenshot against a background of the required colour is not practical; it requires displaying the object against an empty visible region of the screen before taking the screenshot and therefore an unacceptable flash for the user. Neville Smythe From Bernd.Niggemann at uni-wh.de Fri May 31 04:59:08 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Fri, 31 May 2024 08:59:08 +0000 Subject: Snapshot question Message-ID: Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame Have you tried as "png"? It should make the black corners transparent. export snapshot from graphic "g1" to image "iDest" as png Kind regards Bernd From jbv at souslelogo.com Fri May 31 05:32:06 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 31 May 2024 05:32:06 -0400 Subject: Hierarchical submenus in option menu buttons Message-ID: <681876e527d882a8adad269d93e918fc@souslelogo.com> Hi list, I am trying to create a hierarchical submenu in an option menu button with LC 9.6. I have found this solution that seems to work only with pulldown buttons : https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu I also found this LC lesson that suggests to use polylists : https://livecode.com/using-polylist-to-create-dropdown-menus/ But that seems way too sophisticated for a simple submenu. Any idea ? Thank you in advance. jbv From craig at starfirelighting.com Fri May 31 09:23:07 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 31 May 2024 09:23:07 -0400 Subject: Hierarchical submenus in option menu buttons In-Reply-To: <681876e527d882a8adad269d93e918fc@souslelogo.com> References: <681876e527d882a8adad269d93e918fc@souslelogo.com> Message-ID: Hi. I believe that only pullDown and popUp menu styles can support submenus. Combo boxes and Option menus styles do not. Craig > On May 31, 2024, at 5:32 AM, jbv via use-livecode wrote: > > Hi list, > > I am trying to create a hierarchical submenu in an option menu button > with LC 9.6. > I have found this solution that seems to work only with pulldown buttons : > https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu > > I also found this LC lesson that suggests to use polylists : > https://livecode.com/using-polylist-to-create-dropdown-menus/ > But that seems way too sophisticated for a simple submenu. > > Any idea ? > Thank you in advance. > > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri May 31 09:32:02 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 31 May 2024 09:32:02 -0400 Subject: Snapshot question In-Reply-To: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> References: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> Message-ID: <7E034A1E-1D1D-43AD-A1C6-D0F1DACAC192@starfirelighting.com> I think that only a “regular” polygon graphic can be rotated by setting its “angle” property.That means that a roundRect or rectangular graphic do not respond at all. LC will not throw an error, and the property sticks, but the arc itself does not change.. I could be wrong about all this. Crig > On May 30, 2024, at 9:21 PM, Neville Smythe via use-livecode wrote: > > I have a need for rotated graphic objects, in particular a roundrect graphic. > > Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame. Which means the image can really only be used against a black background. > > Ideally the background outside the rounded frame should be transparent, although I suspect that may not be possible with the bitmap image format produced. Is there any setting that can fix this (a mask?), or failing that set the colour of these pixels (I presume the snapshot is actually produced by rendering the object in a hidden buffer with default black background) . > > The alternative solution of producing a screenshot against a background of the required colour is not practical; it requires displaying the object against an empty visible region of the screen before taking the screenshot and therefore an unacceptable flash for the user. > > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri May 31 09:39:07 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 31 May 2024 09:39:07 -0400 Subject: Snapshot question In-Reply-To: <7E034A1E-1D1D-43AD-A1C6-D0F1DACAC192@starfirelighting.com> References: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> <7E034A1E-1D1D-43AD-A1C6-D0F1DACAC192@starfirelighting.com> Message-ID: <41EC8D56-11FA-4437-B143-BB3936541068@starfirelighting.com> AHA, now I remember. Try the “revRotatePoly” command. That seems to work with any graphic. Craig > On May 31, 2024, at 9:32 AM, Craig Newman via use-livecode wrote: > > I think that only a “regular” polygon graphic can be rotated by setting its “angle” property.That means that a roundRect or rectangular graphic do not respond at all. LC will not throw an error, and the property sticks, but the arc itself does not change.. > > I could be wrong about all this. > > Crig > >> On May 30, 2024, at 9:21 PM, Neville Smythe via use-livecode wrote: >> >> I have a need for rotated graphic objects, in particular a roundrect graphic. >> >> Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame. Which means the image can really only be used against a black background. >> >> Ideally the background outside the rounded frame should be transparent, although I suspect that may not be possible with the bitmap image format produced. Is there any setting that can fix this (a mask?), or failing that set the colour of these pixels (I presume the snapshot is actually produced by rendering the object in a hidden buffer with default black background) . >> >> The alternative solution of producing a screenshot against a background of the required colour is not practical; it requires displaying the object against an empty visible region of the screen before taking the screenshot and therefore an unacceptable flash for the user. >> >> Neville Smythe >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 31 12:22:24 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 May 2024 16:22:24 +0000 Subject: Hierarchical submenus in option menu buttons In-Reply-To: References: <681876e527d882a8adad269d93e918fc@souslelogo.com> Message-ID: <09860FAC-5046-4E6D-8D63-2F5F3A19EFB6@iotecdigital.com> You are correct. Essentially, any menu that offers a list of strings to display on the menu button itself cannot use submenus. It makes sense really. I’ve never seen an option menu in any other application that allows a submenu choice. Bob S > On May 31, 2024, at 6:23 AM, Craig Newman via use-livecode wrote: > > Hi. > > I believe that only pullDown and popUp menu styles can support submenus. Combo boxes and Option menus styles do not. > > Craig > >> On May 31, 2024, at 5:32 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> I am trying to create a hierarchical submenu in an option menu button >> with LC 9.6. >> I have found this solution that seems to work only with pulldown buttons : >> https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu >> >> I also found this LC lesson that suggests to use polylists : >> https://livecode.com/using-polylist-to-create-dropdown-menus/ >> But that seems way too sophisticated for a simple submenu. >> >> Any idea ? >> Thank you in advance. >> >> jbv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Fri May 31 21:30:25 2024 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 1 Jun 2024 11:30:25 +1000 Subject: Snapshot question In-Reply-To: References: Message-ID: <800B6231-EC7E-45C7-93D8-67F28A8664D4@optusnet.com.au> Many thanks Craig and Bernd for your suggestions Craig: Unfortunately the docs say revRotatePoly only works with lines, curves and polygons Bernd: Oh! Yes, exporting as png does work to give transparent corner bits! Obvious now! I think I had briefly considered this and rejected it because at the time I was conflating the problem with an issue I am going to have later in my project. The roundrect graphics are going to be used as niches for a collection of images: the images should be scaled and rotated to fit the graphic object (or now its png alter-ego). Now while referenced images such as png’s can be rotated (more precisely, have their angle set) they lose their scaling, reverting to their native size; and rotated images cannot be scaled (why?? Rather a strange restriction. I think the graphical engine for LC is showing its age rather badly). Which somehow led me to think I had to use the bitmap form for snapshots. But if I place and scale the original image, then export that as a png, the exported image should have the required size and so can then be rotated without changing its size. I hope. Neville From panos.merakos at livecode.com Wed May 1 10:43:56 2024 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 1 May 2024 17:43:56 +0300 Subject: [[ ANN ]] Release 9.6.12 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.12 RC-1. LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, including support for adding a privacy manifest in your iOS app, which is a new requirement for AppStore submissions as of today. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From panos.merakos at livecode.com Wed May 1 10:48:48 2024 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 1 May 2024 17:48:48 +0300 Subject: [[ ANN ]] Release 10.0.0 DP-8 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 DP-8. LiveCode 10.0.0 DP-8 comes with 5 bugfixes since the previous DP release, and also includes the bug fixes of LiveCode 9.6.12 RC-1, including support for adding a privacy manifest in your iOS app, which is a new requirement for AppStore submissions as of today. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From bobsneidar at iotecdigital.com Wed May 1 12:39:38 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 May 2024 16:39:38 +0000 Subject: [[ ANN ]] Release 9.6.12 RC-1 In-Reply-To: References: Message-ID: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> License server is crashed. Livecode.com is down too it seems. Bob S > On May 1, 2024, at 7:43 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.12 RC-1. > > LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, > including support for adding a privacy manifest in your iOS app, which is a > new requirement for AppStore submissions as of today. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tj_frame at outlook.com Wed May 1 12:48:42 2024 From: tj_frame at outlook.com (TJ Frame) Date: Wed, 1 May 2024 16:48:42 +0000 Subject: [[ ANN ]] Release 9.6.12 RC-1 In-Reply-To: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> References: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> Message-ID: I'm currently downloading the update at an impressive 16kbs ________________________________ From: use-livecode on behalf of Bob Sneidar via use-livecode Sent: Wednesday, May 1, 2024 11:39 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: [[ ANN ]] Release 9.6.12 RC-1 License server is crashed. Livecode.com is down too it seems. Bob S > On May 1, 2024, at 7:43 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.12 RC-1. > > LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, > including support for adding a privacy manifest in your iOS app, which is a > new requirement for AppStore submissions as of today. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed May 1 12:56:51 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 May 2024 16:56:51 +0000 Subject: [[ ANN ]] Release 9.6.12 RC-1 In-Reply-To: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> References: <476C0379-17C7-490A-B01A-F918CB9AA999@iotecdigital.com> Message-ID: <51203F90-B8D6-40C9-9837-BACB7883C3C8@iotecdigital.com> All better now. Bob S > On May 1, 2024, at 9:39 AM, Bob Sneidar wrote: > > License server is crashed. Livecode.com is down too it seems. > > Bob S > > >> On May 1, 2024, at 7:43 AM, panagiotis merakos via use-livecode wrote: >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.12 RC-1. >> >> LiveCode 9.6.12 RC-1 comes with 19 bugfixes and performance improvements, >> including support for adding a privacy manifest in your iOS app, which is a >> new requirement for AppStore submissions as of today. >> >> You can find more details on the bug fixes and improvements of this new >> release here: >> >> https://livecode.com/release-9-6-12-rc-1-ios-privacy-manifests-and-more/ >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> The LiveCode Team >> >> >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Thu May 2 18:39:37 2024 From: tom at makeshyft.com (Tom Glod) Date: Thu, 2 May 2024 18:39:37 -0400 Subject: Game of Life as LiveCode web deployment In-Reply-To: References: Message-ID: Hey Andreas, This is very cool, its a good demo for the web engine. I still don't plan on deploying to the web, but its nice to see that its getting better. Thanks, Tom On Tue, Apr 30, 2024 at 5:27 AM Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > So, in my series of ”LiveCode projects that can be deployed straight to > web with almost no modification”, here is the LC implementation of Game of > Life that I created during the pandemic, with great help from Thierry D. > > https://wheninspace.com/gameoflife/ > > The only adaptation I have made is changing the save function for custom > seed patterns from local text file to browser local storage. > > I also threw in a new feature for importing RLE code (a common GoL seed > pattern format). > > It doesn’t have responsive design, so a large screen is recommended. > It does work on mobile though (at least iOS), albeit being a bit slow (and > you'll obviously need to scroll around to see things). > > Depending on your processor capacity, the web browser may choke and stall > on the fast progression rate, so you may then need to enter a longer > millisec delay value in the appropriate field and try again. > (As reference: On an iPad 6th gen a 600 millisec delay is needed, while on > a Mac Studio M1 Max just 40 millisecs is fine.) > > Have fun! :D > > /Andreas > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Thu May 2 19:56:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 May 2024 23:56:34 +0000 Subject: Supress Standalone Builder Warnings Message-ID: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> Hi all. I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? BTW the standalone building IS much faster with 9.6.12 (rc1) Bob S From jacque at hyperactivesw.com Thu May 2 20:40:59 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 May 2024 19:40:59 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> Message-ID: <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It's this: The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: > Hi all. > > I have about had it with the Standalone asking me if I want to save, purge > or cancel for stacks that are already open. I ONLY ever have one version of > any stack that is open, unless the Standalone Builder is leaving stack IN > the Standalone in memory, which would be breathtakingly bad programming, > and I do not think they are doing that. > > What I would like to do is edit the library that is popping up that dialog, > and setting it to where it always cancels (doesnt change anything). I know > I will have to update the library each time a new release came out but its > worth it just to avoid the hassle of quitting and relaunching every time a > different standalone need to be built. > > I tried editing the script of revSaveAsStandalone.livecode in the MacOS > bundle, but the word purge does not occur in the library. Any idea what > library is actually popping up that dialog? > > BTW the standalone building IS much faster with 9.6.12 (rc1) > > Bob S > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Thu May 2 21:20:04 2024 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 2 May 2024 18:20:04 -0700 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5FAB4468-7657-4BE4-AE55-960862EEDD5F@gmail.com> I build my complex apps using Trevor’s Levure Framework and never have an issue. If you don’t want to go that route, maybe there’s something in the framework you could borrow? --- Marty Knapp > On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: > > It's this: > > > The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: > >> Hi all. >> >> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >> >> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >> >> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >> >> BTW the standalone building IS much faster with 9.6.12 (rc1) >> >> Bob S From bobsneidar at iotecdigital.com Fri May 3 11:26:53 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 15:26:53 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque. I did attempt to deploy this solution a while back, but for whatever reason it failed to work, but I’m sure I missed something. I’m curious, should this also be applied to (pre) openCard / closeCard handlers as well? Thanks this is the simplest explanation I have seen. Bob S > On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: > > It's this: > > > The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: > >> Hi all. >> >> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >> >> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >> >> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >> >> BTW the standalone building IS much faster with 9.6.12 (rc1) >> >> Bob S >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 11:31:33 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 15:31:33 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <5FAB4468-7657-4BE4-AE55-960862EEDD5F@gmail.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5FAB4468-7657-4BE4-AE55-960862EEDD5F@gmail.com> Message-ID: <1C89AB61-A6C0-43DE-89B2-D6625E60DCCB@iotecdigital.com> Hi Marty. I really do want to convert to Levure, but I had a lot of refactoring to do to completely cut over to Andre’s Publish and Subscribe framework before I do that, and I am waiting until that is completed. I am just at the point now, so maybe that will be my next project. Bob S > On May 2, 2024, at 6:20 PM, Marty Knapp via use-livecode wrote: > > I build my complex apps using Trevor’s Levure Framework and never have an issue. If you don’t want to go that route, maybe there’s something in the framework you could borrow? > --- > Marty Knapp > >> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: >> >> It's this: >> >> >> The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: >> >>> Hi all. >>> >>> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >>> >>> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >>> >>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >>> >>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>> >>> Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri May 3 11:38:43 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 11:38:43 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: References: Message-ID: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> Bob: > I have about had it with the Standalone asking me if I want to > save, purge or cancel for stacks that are already open. Simplest way In card 1 of main stack to build: on closestack --- curryk 2020 no-purge LC build: if the environment is "development" then lock messages --- and only if add'l main stack issues: try # delete stack "XYZ" end try end if end closestack Jacqueline: > The engine used to lock messages when building a standalone > but that was changed 4 years ago. > Personally I think it causes more problems than it solves. Indeed; WAY more. Richard: > In MC building a standalone was not a disruptive process. > It shouldn't be in LC either, and certainly shouldn't > require modifying code just to build. Amen! Well said. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Fri May 3 12:26:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:26:41 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Unfortunately that is not working. I put the function that checks in the script of the mainStack, and that script gets set as a backScript on preOpenstack so that all the handlers in that stack are available in a Windows standalone (when the Windows builder breaks out all the sub stacks, the script of the mainStack is no longer in the message path). I then used the Find function to find all the (pre) openStack / closeStack handlers and add the statement at the beginning. However when I attempt to build for MacOS and Windows, or if I do a second build in the same Livecode session, I get the dreaded dialogs over, and over, and over…………. Again. Like 100 times. So my initial question is, what library actually pops up that dialog so I can force the cancel option every time, or is that something built into the engine? Bob S > On May 3, 2024, at 8:26 AM, Bob Sneidar wrote: > > Hi Jacque. > > I did attempt to deploy this solution a while back, but for whatever reason it failed to work, but I’m sure I missed something. I’m curious, should this also be applied to (pre) openCard / closeCard handlers as well? > > Thanks this is the simplest explanation I have seen. > > Bob S > > >> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: >> >> It's this: >> >> >> The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: >> >>> Hi all. >>> >>> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >>> >>> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >>> >>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >>> >>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>> >>> Bob S >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri May 3 12:29:46 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 11:29:46 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <18f3f4a5090.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think the pre* handlers would need it too but try without and see how it goes. It depends on where they are in the message hierarchy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 10:29:13 AM Bob Sneidar via use-livecode wrote: > Hi Jacque. > > I did attempt to deploy this solution a while back, but for whatever reason > it failed to work, but Im sure I missed something. Im curious, should > this also be applied to (pre) openCard / closeCard handlers as well? > > Thanks this is the simplest explanation I have seen. > > Bob S > > >> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode >> wrote: >> >> It's this: >> >> >> The engine used to lock messages when building a standalone but that was >> changed 4 years ago. Personally I think it causes more problems than it >> solves, but the solution is to add (multiple) handlers to your stack to >> avoid the dialog. Most of my stacks work okay without the additions, but if >> you have certain handlers in the message hierarchy you get the dialog. The >> code you need to add is in the link above. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode >> wrote: >> >>> Hi all. >>> >>> I have about had it with the Standalone asking me if I want to save, purge >>> or cancel for stacks that are already open. I ONLY ever have one version of >>> any stack that is open, unless the Standalone Builder is leaving stack IN >>> the Standalone in memory, which would be breathtakingly bad programming, >>> and I do not think they are doing that. >>> >>> What I would like to do is edit the library that is popping up that dialog, >>> and setting it to where it always cancels (doesnt change anything). I know >>> I will have to update the library each time a new release came out but its >>> worth it just to avoid the hassle of quitting and relaunching every time a >>> different standalone need to be built. >>> >>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS >>> bundle, but the word purge does not occur in the library. Any idea what >>> library is actually popping up that dialog? >>> >>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>> >>> Bob S >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 12:35:43 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:35:43 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3f4a5090.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6F13C49E-4256-43AC-B7C1-66D7D16FF3C2@iotecdigital.com> <18f3be5a990.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <18f3f4a5090.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I did the pre’s as well. What about “before”? Bob S > On May 3, 2024, at 9:29 AM, J. Landman Gay via use-livecode wrote: > > I think the pre* handlers would need it too but try without and see how it goes. It depends on where they are in the message hierarchy. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 3, 2024 10:29:13 AM Bob Sneidar via use-livecode wrote: > >> Hi Jacque. >> >> I did attempt to deploy this solution a while back, but for whatever reason it failed to work, but I’m sure I missed something. I’m curious, should this also be applied to (pre) openCard / closeCard handlers as well? >> >> Thanks this is the simplest explanation I have seen. >> >> Bob S >> >> >>> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode wrote: >>> >>> It's this: >>> >>> >>> The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above. >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode wrote: >>> >>>> Hi all. >>>> >>>> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that. >>>> >>>> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built. >>>> >>>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog? >>>> >>>> BTW the standalone building IS much faster with 9.6.12 (rc1) >>>> >>>> Bob S >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 12:39:35 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:39:35 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> Message-ID: <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> Hi Curry. I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? Bob S On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: Simplest way – In card 1 of main stack to build: on closestack --- curryk 2020 no-purge LC build: if the environment is "development" then lock messages --- and only if add'l main stack issues: try # delete stack "XYZ" end try end if end closestack From bobsneidar at iotecdigital.com Fri May 3 12:44:10 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 16:44:10 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> Message-ID: <1516ADAC-AE82-4AE6-B2B4-E993F875268C@iotecdigital.com> Also, isn’t the problem that when opening a stack Livecode detects the stack being opened has the same name as one already in memory? Bob S > On May 3, 2024, at 9:39 AM, Bob Sneidar via use-livecode wrote: > > Hi Curry. > > I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? > > Bob S > > > On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: > > Simplest way – In card 1 of main stack to build: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is "development" then > lock messages > --- and only if add'l main stack issues: > try > # delete stack "XYZ" > end try > end if > end closestack > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 13:22:57 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 17:22:57 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <1516ADAC-AE82-4AE6-B2B4-E993F875268C@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <1516ADAC-AE82-4AE6-B2B4-E993F875268C@iotecdigital.com> Message-ID: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> OK so in the process of all this, my original stack Forms Generator 8 has been OVERWRITTEN with the version the Standalone Builder created. So… anybody on this list do NOT follow the instructions in this thread, unless you make backups of all your stacks first, which thankfully I have done. Bob S > On May 3, 2024, at 9:44 AM, Bob Sneidar via use-livecode wrote: > > Also, isn’t the problem that when opening a stack Livecode detects the stack being opened has the same name as one already in memory? > > Bob S > > >> On May 3, 2024, at 9:39 AM, Bob Sneidar via use-livecode wrote: >> >> Hi Curry. >> >> I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? >> >> Bob S >> >> >> On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: >> >> Simplest way – In card 1 of main stack to build: >> >> on closestack >> --- curryk 2020 no-purge LC build: >> if the environment is "development" then >> lock messages >> --- and only if add'l main stack issues: >> try >> # delete stack "XYZ" >> end try >> end if >> end closestack >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri May 3 13:40:24 2024 From: paul at researchware.com (Paul Dupuis) Date: Fri, 3 May 2024 13:40:24 -0400 Subject: Livecode startup messages... Message-ID: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." This dialog may appear on earlier versions - I forget if I had seen it previously. Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". From bobsneidar at iotecdigital.com Fri May 3 13:43:53 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 17:43:53 +0000 Subject: Livecode startup messages... In-Reply-To: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> Message-ID: <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> I think this has come up before, but I forget the resolution. Did you search the forums? Bob S > On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: > > When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." > > This dialog may appear on earlier versions - I forget if I had seen it previously. > > Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri May 3 14:10:50 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 14:10:50 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> References: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> Message-ID: Bob: > put this in the closeStack of the splash stack or the main stack? As it says - the 'stack to build' - saving standalone from. > Also, isnt the problem that when opening a stack Livecode detects > the stack being opened has the same name as one already in memory? As Jacqueline said: > The engine used to lock messages when building a standalone > but that was changed 4 years ago. Bob: > make backups of all your stacks first Of course, and don't mix/match methods, or ignore your project setup - Code in use 4 years, no issues; restores LC's own original SB technique! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From paul at researchware.com Fri May 3 14:16:07 2024 From: paul at researchware.com (Paul Dupuis) Date: Fri, 3 May 2024 14:16:07 -0400 Subject: Livecode startup messages... In-Reply-To: <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> Message-ID: <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> I had not searched the forums, but I just did for "Waiting for printer" and "printer connections" and neither phrase turned up anything related to the dialog that appears on startup (unfortunately). Maybe under another search term, but the general term of "printer" returns 38 screens of forum messages! Good suggestion though. Thank you. On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: > I think this has come up before, but I forget the resolution. Did you search the forums? > > Bob S > > >> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: >> >> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." >> >> This dialog may appear on earlier versions - I forget if I had seen it previously. >> >> Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 14:33:03 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 18:33:03 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> Message-ID: Okay, well this is better. When building for MacOS and Windows simultaneously, I only get the dialog twice, whether or not I delete the main stack or no. But if I leave Livecode running and then try to open the main stack, I get all the dialogs. I think the problem is that the Livecode Standalone builder is leaving files open from the standalone that ought not be left open. The Standalone Builder should build a list of all the file paths of all open stacks (that are not native to Livecode itself) prior to the build, then close them all, then build the standalone, then close. any stacks opened in that process, then restore the old environment by re-opening the stacks that were open prior to the build. That is the only way I can see to make the process as clean as possible. The end goal here has to be to leave the environment in the exact state that it was prior to building. I doubt that will ever get implemented, but that has to be how it works. I think I can develop a workaround myself, and will probably do that and share it with everyone. Bob S > On May 3, 2024, at 11:10 AM, Curry Kenworthy via use-livecode wrote: > > Bob: > > > put this in the closeStack of the splash stack or the main stack? > > As it says - the 'stack to build' - saving standalone from. > > > Also, isn’t the problem that when opening a stack Livecode detects > > the stack being opened has the same name as one already in memory? > > As Jacqueline said: > > > The engine used to lock messages when building a standalone > > but that was changed 4 years ago. > > Bob: > > > make backups of all your stacks first > > Of course, and don't mix/match methods, or ignore your project setup - > > Code in use 4 years, no issues; restores LC's own original SB technique! > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Fri May 3 14:48:39 2024 From: david.bovill at gmail.com (David Bovill) Date: Fri, 3 May 2024 19:48:39 +0100 Subject: Livecode Login stuck pinging Facebook? In-Reply-To: <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> Message-ID: I can't login to my account and register the new dp8 - or login via the web site. Something Livecode server end? From curry at pair.com Fri May 3 14:53:59 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 14:53:59 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: References: Message-ID: <4e2d9f77-1cf1-4f1f-9294-43f581862f1f@pair.com> Bob: > Okay, well this is better. I only get the dialog twice, > whether or not I delete the main stack or no. > Standalone builder is leaving files open from the standalone > that ought not be left open. Yes, thats what this last part does - Comments edited for clarity! --- and only if add'l main stack(s) with issues: try # delete stack "ABC" # delete stack "XYZ" --- etc end try Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From jacque at hyperactivesw.com Fri May 3 15:03:42 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 14:03:42 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> Message-ID: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think the problem is in the splash stack, which is where the blocking handlers should go. When LC builds a standalone, it clones the one in the IDE and creates the standalone from that. Then it reopens the original which now triggers all the handlers in the original. You don't really need to worry about the other stacks, just the one that triggers the opening of the working stack(s). When the SB finishes, it will reopen the splash and the blocks will prevent any other stacks from loading into memory. That may mean you need to use the message box to trigger the handler that opens the others right after the SB finishes. The problem may be that LC doesn't close its own copy properly before reopening the original. I'd submit a bug report and include your stack(s) so they can take a look. Ideally there would be an option or property that would let us decide whether messages should be locked or not. It would be nice if the engine could store variable values, create the standalone with messages locked, and then restore the values after the build. I'm not sure Curry's suggestion will work, since the SB manages lockmessages on its own. I've tried scripting a lock messages and it was ignored. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 11:41:24 AM Bob Sneidar via use-livecode wrote: > Hi Curry. > > I use a Splash Stack which then opens what I call the mainStack. Should I > put this in the closeStack of the splash stack or the main stack? > > Bob S > > > On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode > wrote: > > Simplest way In card 1 of main stack to build: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is "development" then > lock messages > --- and only if add'l main stack issues: > try > # delete stack "XYZ" > end try > end if > end closestack > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri May 3 15:19:26 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 14:19:26 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1107CBA6-3E64-4D4A-9AFD-C8EEF6E2E4CB@iotecdigital.com> Message-ID: <18f3fe5a630.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> In that case, I'll have to try it next time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 1:13:03 PM Curry Kenworthy via use-livecode wrote: > Code in use 4 years, no issues; restores LC's own original SB technique! From bobsneidar at iotecdigital.com Fri May 3 16:13:06 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 20:13:06 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Well I gave that a try, only using your method in the splash stack. I get the same results as Curry, I get two dialogs complaining there are open stacks on the second platform build, then when I try to open the Main Stack without quitting and relaunching Livecode, I get the dialog for every stack that I start using in the main stack. As I said, I think the trick has to be to find a way to save the state of the environment before building for a platform, close all non-native stacks, do the build, again close all non-native stacks, then restore the stacks from the saved environment. I am working on that now and it should be fairly trivial. Bob S > On May 3, 2024, at 12:03 PM, J. Landman Gay via use-livecode wrote: > > I think the problem is in the splash stack, which is where the blocking handlers should go. When LC builds a standalone, it clones the one in the IDE and creates the standalone from that. Then it reopens the original which now triggers all the handlers in the original. You don't really need to worry about the other stacks, just the one that triggers the opening of the working stack(s). When the SB finishes, it will reopen the splash and the blocks will prevent any other stacks from loading into memory. That may mean you need to use the message box to trigger the handler that opens the others right after the SB finishes. > > The problem may be that LC doesn't close its own copy properly before reopening the original. I'd submit a bug report and include your stack(s) so they can take a look. Ideally there would be an option or property that would let us decide whether messages should be locked or not. It would be nice if the engine could store variable values, create the standalone with messages locked, and then restore the values after the build. > > I'm not sure Curry's suggestion will work, since the SB manages lockmessages on its own. I've tried scripting a lock messages and it was ignored. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 3, 2024 11:41:24 AM Bob Sneidar via use-livecode wrote: > >> Hi Curry. >> >> I use a Splash Stack which then opens what I call the mainStack. Should I put this in the closeStack of the splash stack or the main stack? >> >> Bob S >> >> >> On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode wrote: >> >> Simplest way – In card 1 of main stack to build: >> >> on closestack >> --- curryk 2020 no-purge LC build: >> if the environment is "development" then >> lock messages >> --- and only if add'l main stack issues: >> try >> # delete stack "XYZ" >> end try >> end if >> end closestack >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Fri May 3 16:30:34 2024 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 3 May 2024 16:30:34 -0400 Subject: Livecode Login stuck pinging Facebook? In-Reply-To: References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> Message-ID: I'm completely locked out -- my Mac happened to open dp8, took me to the registration saying I wasn't recognized, and now all versions of LC take me to the registration page. I can't login at the web site either, and trying to reset my password doesn't email me. very sad face gc On Fri, May 3, 2024 at 2:50 PM David Bovill via use-livecode < use-livecode at lists.runrev.com> wrote: > I can't login to my account and register the new dp8 - or login via the web > site. Something Livecode server end? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curry at pair.com Fri May 3 16:52:54 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 May 2024 16:52:54 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Jacqueline: > In that case, I'll have to try it next time. Yes, not merely a suggestion; already works with SB here. :) > I get the same results as Curry, > I get two dialogs complaining there are open stacks Not as Curry; that's due to a partial implementation. See follow up. But you are working on same thing - Have fun! Easy code, already solved, done. Just hard to type a long discussion - Can't wait to get AAC app set up better, and do this more often! Ultimately, though ... Richard: > In MC building a standalone was not a disruptive process. > It shouldn't be in LC either, and certainly shouldn't > require modifying code just to build. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Fri May 3 16:58:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 20:58:07 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> Okay I think I traced the issue down to the fact that I “start using” a LOT of stacks, 64 to be exact, and I think that includes all the behaviors as well as the libraries. When I quit (or Livecode deletes) the mainStack, it does NOT delete all the stacksInUse. I think my solution will be to close all the Stack Files of the main stack upon closing the Main Stack. Bob S From matthias_livecode_150811 at m-r-d.de Fri May 3 17:33:09 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 3 May 2024 23:33:09 +0200 Subject: Livecode startup messages... In-Reply-To: <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> Message-ID: <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> There was a problem in the past where standalones were LC IDE, LC Instaler and standalones were crashing on startup. >> This is what Panos wrote about it: We recently fixed a bug (affecting mainly Windows 11) where the LC installer, the LC IDE and Windows standalones were crashing on startup. It turned out this was caused if some generic printer drivers were installed in the device, and installing the official printer drivers from the vendor's website prevented the crash. We had reports for Brother printers, Epson and HP if I remember correctly. The fix we added did fix the crash, but in some cases caused a delay on startup, if the device still had the "generic" printer driver installed. << Maybe there is a regression in some way that LC now does not crash but shows the messages. Could you try the following? 1. Open Windows Task Manager 2. Search for a process named "Spooler Subsystem app" or just "Print Spooler" 3. Force quit this process If this solves it, then it seems to be a regression in the new LC dp builds. Regards, Matthias > Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode : > > I had not searched the forums, but I just did for "Waiting for printer" and "printer connections" and neither phrase turned up anything related to the dialog that appears on startup (unfortunately). Maybe under another search term, but the general term of "printer" returns 38 screens of forum messages! Good suggestion though. Thank you. > > > On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >> I think this has come up before, but I forget the resolution. Did you search the forums? >> >> Bob S >> >> >>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: >>> >>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." >>> >>> This dialog may appear on earlier versions - I forget if I had seen it previously. >>> >>> Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 18:12:49 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 22:12:49 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> Message-ID: I think I have solved (but not resolved) the mystery. My main stack has a lot of behaviors, which of course are enumerated in the stackFiles. When the standalone is created, the builder closes the copy of the main stack but it apparently leaves all the COPIES of the behavior stacks in memory. When I open the original Mainstack, duplicate stacks are still open. There seems to be no way to delete (close) the copies, because there is no variable it seems that contains the names of all the behavior stacks left in memory by the standalone builder. They do not appear in the openStacks or the stacksInUse. They are not the same stacks as the stackFiles of the original mainstack. What really needs to happen, and I have said this before, the standalone builder needs to keep track of all the files it puts in memory, and then close them each time a bild is made for each platform. This is a bug and I will report it as such. Bob S > On May 3, 2024, at 1:58 PM, Bob Sneidar via use-livecode wrote: > > Okay I think I traced the issue down to the fact that I “start using” a LOT of stacks, 64 to be exact, and I think that includes all the behaviors as well as the libraries. When I quit (or Livecode deletes) the mainStack, it does NOT delete all the stacksInUse. > > I think my solution will be to close all the Stack Files of the main stack upon closing the Main Stack. > > Bob S From bobsneidar at iotecdigital.com Fri May 3 18:19:40 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 May 2024 22:19:40 +0000 Subject: Livecode startup messages... In-Reply-To: <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> Message-ID: <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Interesting. As I’ve mentioned I install and provide IT support for copiers and printers. Ever since Windows 8 (I believe) Microsoft has been providing built in drivers for these devices, and they use what is called a WSD (Windows Service Daemon) port instead of a typical TCP/IP port. If you go to install a printer and you see a list of icons representing the discovered printers on the network, NEVER EVER USE THEM! Manufacturers will not support them, and they cause all kinds of issues. ALWAYS select “The device I want isn’t listed” and use the standard TCP/IP method of installing a printer, or better yet the manufacturer probably supplies an executable either downloaded or on a CD ROM. Use that. Of course, that does not help LC devs who are deploying apps to end users who cannot be told what to do. Bob S > On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode wrote: > > There was a problem in the past where standalones were LC IDE, LC Instaler and standalones were crashing on startup. >>> > This is what Panos wrote about it: > We recently fixed a bug (affecting mainly Windows 11) where the LC > installer, the LC IDE and Windows standalones were crashing on startup. It > turned out this was caused if some generic printer drivers were installed > in the device, and installing the official printer drivers from the > vendor's website prevented the crash. We had reports for Brother printers, > Epson and HP if I remember correctly. > > The fix we added did fix the crash, but in some cases caused a delay on > startup, if the device still had the "generic" printer driver installed. > << > > > Maybe there is a regression in some way that LC now does not crash but shows the messages. > > Could you try the following? > > 1. Open Windows Task Manager > 2. Search for a process named "Spooler Subsystem app" or just "Print > Spooler" > 3. Force quit this process > > If this solves it, then it seems to be a regression in the new LC dp builds. > > Regards, > > Matthias > > > > >> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode : >> >> I had not searched the forums, but I just did for "Waiting for printer" and "printer connections" and neither phrase turned up anything related to the dialog that appears on startup (unfortunately). Maybe under another search term, but the general term of "printer" returns 38 screens of forum messages! Good suggestion though. Thank you. >> >> >> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >>> I think this has come up before, but I forget the resolution. Did you search the forums? >>> >>> Bob S >>> >>> >>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode wrote: >>>> >>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) Standalones build with either of those versions starts up, on Windows 11, there is a dialog that appear stating "Waiting for printer connections..." >>>> >>>> This dialog may appear on earlier versions - I forget if I had seen it previously. >>>> >>>> Is there some setting to prevent or hide this dialog? In my standalone app, I have customers asking what is it and find it "annoying". >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri May 3 20:13:55 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2024 19:13:55 -0500 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> Message-ID: <18f40f341b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I get it now. The way I work around this is to close all stacks and remove from memory (or just relaunch LC,) turn off messages in the toolbar, and open the splash stack. That prevents the other stacks from opening. Build the standalone and you shouldn't have any trouble, except for remembering to do the dance. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 3, 2024 5:14:49 PM Bob Sneidar via use-livecode wrote: > I think I have solved (but not resolved) the mystery. My main stack has a > lot of behaviors, which of course are enumerated in the stackFiles. > > When the standalone is created, the builder closes the copy of the main > stack but it apparently leaves all the COPIES of the behavior stacks in > memory. When I open the original Mainstack, duplicate stacks are still > open. There seems to be no way to delete (close) the copies, because there > is no variable it seems that contains the names of all the behavior stacks > left in memory by the standalone builder. They do not appear in the > openStacks or the stacksInUse. They are not the same stacks as the > stackFiles of the original mainstack. > > What really needs to happen, and I have said this before, the standalone > builder needs to keep track of all the files it puts in memory, and then > close them each time a bild is made for each platform. > > This is a bug and I will report it as such. > > Bob S > > >> On May 3, 2024, at 1:58 PM, Bob Sneidar via use-livecode >> wrote: >> >> Okay I think I traced the issue down to the fact that I start using a LOT >> of stacks, 64 to be exact, and I think that includes all the behaviors as >> well as the libraries. When I quit (or Livecode deletes) the mainStack, it >> does NOT delete all the stacksInUse. >> >> I think my solution will be to close all the Stack Files of the main stack >> upon closing the Main Stack. >> >> Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 3 20:44:39 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 4 May 2024 00:44:39 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <18f40f341b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1dc33b1d-c678-433a-aecc-61b1d48e541a@pair.com> <3BEAEC6B-CA53-4816-BC73-7E9D940D94C0@iotecdigital.com> <18f3fd73eb0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02D6DD6E-F131-46DA-A5D3-34B9B19FE72D@iotecdigital.com> <18f40f341b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> Yeah I do that now. Maybe I’m just majoring in the minors, but it ought to just work out of the box, and it irks me that it doesn’t. The Dev team ought to have one dev dedicated to quashing these niggling bugs. Sent from my iPhone > On May 3, 2024, at 17:15, J. Landman Gay via use-livecode wrote: > > I get it now. The way I work around this is to close all stacks and remove from memory (or just relaunch LC,) turn off messages in the toolbar, and open the splash stack. That prevents the other stacks from opening. Build the standalone and you shouldn't have any trouble, except for remembering to do the dance From curry at pair.com Sat May 4 05:10:19 2024 From: curry at pair.com (Curry Kenworthy) Date: Sat, 4 May 2024 05:10:19 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> References: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> Message-ID: Thus, I'm pleased to have created the only (?) complete lower-code workaround for smooth standalone building, without needing to do the dance to avoid LC purge dialogs, nor tweak many handlers. ;) So here is the authentic tried-and-true workaround code again, with Comments Edited for stronger clarity versus hasty/casual reading! Solved AND resolved, these 4 years But of course, needing ANY workaround for LC standalone building is just plain wrong! That is awkward and a little creepy; it should indeed work right out of the box without modifying code just to build as someone already said it well. I hope EVERYONE will encourage LC to fix this SB issue. Meanwhile... Simplest way In card 1 of main stack to build from: on closestack --- curryk 2020 no-purge LC build: if the environment is "development" then lock messages --- and only if add'l loaded MAIN stacks with issues: try # delete stack "ABC" # delete stack "XYZ" --- etc end try end if end closestack Of course, for a build workaround (or any LC work!) backup your stacks first, and don't mix/match methods without caution or ignore project setup. Read carefully to understand code and comments, and see delete stack in LC reference. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Sun May 5 20:37:27 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 May 2024 00:37:27 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: References: <0B56E4D6-E78A-484F-BBB1-ACE170B26CFB@iotecdigital.com> Message-ID: Yes but as I mentioned, that did not work for me. I still got the two messages after the first build, then messages for ALL my subsequent stack files for build attempts afterwards. I’ll try again tomorrow. Sent from my iPhone > On May 4, 2024, at 02:12, Curry Kenworthy via use-livecode wrote: > > Thus, I'm pleased to have created the only (?) complete lower-code workaround for smooth standalone building, without needing to do ‘the dance’ to avoid LC purge dialogs, nor tweak many handlers. ;) > > So here is the authentic tried-and-true workaround code again, with Comments Edited for stronger clarity versus hasty/casual reading! > > Solved AND resolved, these 4 years – > > But of course, needing ANY workaround for LC standalone building is just plain wrong! > > That is awkward and a little creepy; it should indeed work right out of the box without ‘modifying code just to build’ as someone already said it well. I hope EVERYONE will encourage LC to fix this SB issue. > > Meanwhile... Simplest way – In card 1 of main stack to build from: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is "development" then > lock messages > --- and only if add'l loaded MAIN stacks with issues: > try > # delete stack "ABC" > # delete stack "XYZ" --- etc > end try > end if > end closestack > > Of course, for a build workaround (or any LC work!) backup your stacks first, and don't mix/match methods without caution or ignore project setup. Read carefully to understand code and comments, and see ‘delete stack’ in LC reference. > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Mon May 6 07:48:22 2024 From: curry at pair.com (Curry Kenworthy) Date: Mon, 6 May 2024 07:48:22 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: References: Message-ID: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> Bob: > Yes but as I mentioned, that did not work for me. You used something DIFFERENT (a partial implementation) so different results - Thats fine; its just not this particular workaround! I think you misread a code comment, now edited for clarity.... > I still got the two messages after the first build, > then messages for ALL my subsequent stack files Thats what the last part does: close (delete) any ADDITIONAL problematic main stacks in memory - (NOT the build stack again!) - to avoid subsequent dialogs. Then ... smooth building, here, ever since. Your auto detection effort would be very useful, but just manually identify the SPECIFIC problem stacks, per the dialogs and delete the MAIN stacks thereof in the code. If more than a couple main stacks to delete, I would use repeat with a test or try. Likewise, the isBuildingStandalone() function from Panos could provide a more specific closestack trigger if needed for splash stack, but I havent tried it in this workaround. Whether behaviors or other issues could ever require an extra step, obviously we CAN enjoy the same build experience as pre-2020 SB, by simply using the same techniques! Just as I have. > [Standalone Builder] ought to just work out of the box YES! Reported (again) to LC yet? It is a bug/defect, but that was denied at the time. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Mon May 6 11:39:47 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 May 2024 15:39:47 +0000 Subject: Supress Standalone Builder Warnings In-Reply-To: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> References: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> Message-ID: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> Hi Curry. Thanks for your help and Jacque as well. I did as you say, in card 1 of the splash stack (which is the stack I build from because I do not have the need to modify it runtime) I have this code in the card script: on closestack --- curryk 2020 no-purge LC build: if the environment is “development" then lock messages --- and only if add'l loaded MAIN stacks with issues: try save stack "Forms Generator" delete stack "Forms Generator" # delete stack "XYZ" --- etc end try end if end closestack The result is the first time I build everything goes smoothly (as it always has.) The SECOND time I build I get an alert dialog for every stack that is a behavior of something in the Main Stack or that I started using (library I guess). The standalone Builder opens COPIES of these stacks to add to the standalone, then LEAVES THEM OPEN IN MEMORY. THAT is the heart of the matter. The SB ought not to do that! (I’m talking to you LC devs.) I suppose I could enumerate all of those and then just have code that statically closes each stack. That is probably what I will do. Deleting the main stack does not delete the COPIES of those library or behavior stacks. In summary the problem is not what is open when I go to build. The problem is what is open after I build. Anyway, my thanks again for everyone who offered a suggestion on how to resolve this. Sometime the brute force workaround is the only workaround. Bob S > On May 6, 2024, at 4:48 AM, Curry Kenworthy via use-livecode wrote: > > > Bob: > > > Yes but as I mentioned, that did not work for me. > > You used something DIFFERENT (a partial implementation) so different results - > > That’s fine; it’s just not this particular workaround! 😊 > > I think you misread a code comment, now edited for clarity.... > > > I still got the two messages after the first build, > > then messages for ALL my subsequent stack files > > That’s what the last part does: close (‘delete’) any ADDITIONAL problematic main stacks in memory - > > (NOT the build stack again!) - to avoid subsequent dialogs. > > Then ... smooth building, here, ever since. > > Your auto detection effort would be very useful, but just manually identify the SPECIFIC problem stacks, per the dialogs – and ‘delete’ the MAIN stacks thereof in the code. > > If more than a couple main stacks to delete, I would use repeat with a test or try. Likewise, the isBuildingStandalone() function from Panos could provide a more specific closestack trigger if needed for splash stack, but I haven’t tried it in this workaround. > > Whether behaviors or other issues could ever require an extra step, obviously we CAN enjoy the same build experience as pre-2020 SB, by simply using the same techniques! Just as I have. > > > [Standalone Builder] ought to just work out of the box > > YES! Reported (again) to LC yet? > > It is a bug/defect, but that was denied at the time. > > Best wishes, > > Curry Kenworthy > From klaus at major-k.de Mon May 6 12:15:15 2024 From: klaus at major-k.de (Klaus major-k) Date: Mon, 6 May 2024 18:15:15 +0200 Subject: Supress Standalone Builder Warnings In-Reply-To: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> References: <4ad1de6a-b8d1-4f84-aeeb-49a797278397@pair.com> <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> Message-ID: <71092D57-D221-4C06-BC9D-1FDE67EFF841@major-k.de> Hi all, as I already wrote in this thread in the LC forum: -> Maybe the mothership could add another "messageless" application which will create the standalone(s)? See here: > Am 06.05.2024 um 17:39 schrieb Bob Sneidar via use-livecode : > > Hi Curry. Thanks for your help and Jacque as well. > > I did as you say, in card 1 of the splash stack (which is the stack I build from because I do not have the need to modify it runtime) I have this code in the card script: > > on closestack > --- curryk 2020 no-purge LC build: > if the environment is “development" then > lock messages > --- and only if add'l loaded MAIN stacks with issues: > try > save stack "Forms Generator" > delete stack "Forms Generator" > # delete stack "XYZ" --- etc > end try > end if > end closestack > > The result is the first time I build everything goes smoothly (as it always has.) The SECOND time I build I get an alert dialog for every stack that is a behavior of something in the Main Stack or that I started using (library I guess). > > The standalone Builder opens COPIES of these stacks to add to the standalone, then LEAVES THEM OPEN IN MEMORY. THAT is the heart of the matter. The SB ought not to do that! (I’m talking to you LC devs.) > > I suppose I could enumerate all of those and then just have code that statically closes each stack. That is probably what I will do. > Deleting the main stack does not delete the COPIES of those library or behavior stacks. > In summary the problem is not what is open when I go to build. The problem is what is open after I build. > Anyway, my thanks again for everyone who offered a suggestion on how to resolve this. Sometime the brute force workaround is the only workaround. > > Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From curry at pair.com Wed May 8 11:56:28 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 8 May 2024 11:56:28 -0400 Subject: Supress Standalone Builder Warnings In-Reply-To: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> References: <43E923C8-80D3-4CE2-A25E-37651CF14BB2@iotecdigital.com> Message-ID: <57636eae-b0f0-4005-90ba-dc6e6b026db4@pair.com> Bob: > Thanks for your help and Jacque as well. Very welcome, good topic! But STILL a different/partial implementation Main stacks triggers wrong connotation for you. Not the build stack .... or the project stack ... but, in your case: > library or behavior stacks Yes, THOSE! Whatever stacks are identified via subsequent dialogs. > I could enumerate all of those and then just have code that > statically closes each stack. Yep, thats the delete part. Only the ones announced in dialogs. If more than a couple, use a repeat to test or try each separately. (MAIN stacks, not substacks, for safety with LC delete stack!) > The SB ought not to do that! Very true. Reported (again) to LC yet? Already resolved for my project though, so I will focus on other LC issues here, after a break for more AAC setup! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From MikeKerner at roadrunner.com Wed May 8 13:20:11 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 8 May 2024 13:20:11 -0400 Subject: Livecode startup messages... In-Reply-To: <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Message-ID: this is not just a lc issue we use 4d, extensively, and every time a 4d client starts on windows, the same message appears On Fri, May 3, 2024 at 6:20 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Interesting. As I’ve mentioned I install and provide IT support for > copiers and printers. Ever since Windows 8 (I believe) Microsoft has been > providing built in drivers for these devices, and they use what is called a > WSD (Windows Service Daemon) port instead of a typical TCP/IP port. > > If you go to install a printer and you see a list of icons representing > the discovered printers on the network, NEVER EVER USE THEM! Manufacturers > will not support them, and they cause all kinds of issues. ALWAYS select > “The device I want isn’t listed” and use the standard TCP/IP method of > installing a printer, or better yet the manufacturer probably supplies an > executable either downloaded or on a CD ROM. Use that. > > Of course, that does not help LC devs who are deploying apps to end users > who cannot be told what to do. > > Bob S > > > > On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > There was a problem in the past where standalones were LC IDE, LC > Instaler and standalones were crashing on startup. > >>> > > This is what Panos wrote about it: > > We recently fixed a bug (affecting mainly Windows 11) where the LC > > installer, the LC IDE and Windows standalones were crashing on startup. > It > > turned out this was caused if some generic printer drivers were installed > > in the device, and installing the official printer drivers from the > > vendor's website prevented the crash. We had reports for Brother > printers, > > Epson and HP if I remember correctly. > > > > The fix we added did fix the crash, but in some cases caused a delay on > > startup, if the device still had the "generic" printer driver installed. > > << > > > > > > Maybe there is a regression in some way that LC now does not crash but > shows the messages. > > > > Could you try the following? > > > > 1. Open Windows Task Manager > > 2. Search for a process named "Spooler Subsystem app" or just "Print > > Spooler" > > 3. Force quit this process > > > > If this solves it, then it seems to be a regression in the new LC dp > builds. > > > > Regards, > > > > Matthias > > > > > > > > > >> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> I had not searched the forums, but I just did for "Waiting for printer" > and "printer connections" and neither phrase turned up anything related to > the dialog that appears on startup (unfortunately). Maybe under another > search term, but the general term of "printer" returns 38 screens of forum > messages! Good suggestion though. Thank you. > >> > >> > >> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: > >>> I think this has come up before, but I forget the resolution. Did you > search the forums? > >>> > >>> Bob S > >>> > >>> > >>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) > Standalones build with either of those versions starts up, on Windows 11, > there is a dialog that appear stating "Waiting for printer connections..." > >>>> > >>>> This dialog may appear on earlier versions - I forget if I had seen > it previously. > >>>> > >>>> Is there some setting to prevent or hide this dialog? In my > standalone app, I have customers asking what is it and find it "annoying". > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From paul at researchware.com Wed May 8 16:01:52 2024 From: paul at researchware.com (Paul Dupuis) Date: Wed, 8 May 2024 16:01:52 -0400 Subject: Livecode startup messages... In-Reply-To: References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Message-ID: Yes, I figured that out earlier this week and just hadn't had time to post. It is some sort of Windows 11 issue and not on all Windows 11 systems. Still don't know what it is. The 3 printers on our office network are all HPs and I think all my drivers are up to date. I also have a couple of different PDF printer drivers installed (Microsoft's, Foxit's and one other) On 5/8/2024 1:20 PM, Mike Kerner via use-livecode wrote: > this is not just a lc issue > we use 4d, extensively, and every time a 4d client starts on windows, the > same message appears > > On Fri, May 3, 2024 at 6:20PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Interesting. As Ive mentioned I install and provide IT support for >> copiers and printers. Ever since Windows 8 (I believe) Microsoft has been >> providing built in drivers for these devices, and they use what is called a >> WSD (Windows Service Daemon) port instead of a typical TCP/IP port. >> >> If you go to install a printer and you see a list of icons representing >> the discovered printers on the network, NEVER EVER USE THEM! Manufacturers >> will not support them, and they cause all kinds of issues. ALWAYS select >> The device I want isnt listed and use the standard TCP/IP method of >> installing a printer, or better yet the manufacturer probably supplies an >> executable either downloaded or on a CD ROM. Use that. >> >> Of course, that does not help LC devs who are deploying apps to end users >> who cannot be told what to do. >> >> Bob S >> >> >>> On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> There was a problem in the past where standalones were LC IDE, LC >> Instaler and standalones were crashing on startup. >>> This is what Panos wrote about it: >>> We recently fixed a bug (affecting mainly Windows 11) where the LC >>> installer, the LC IDE and Windows standalones were crashing on startup. >> It >>> turned out this was caused if some generic printer drivers were installed >>> in the device, and installing the official printer drivers from the >>> vendor's website prevented the crash. We had reports for Brother >> printers, >>> Epson and HP if I remember correctly. >>> >>> The fix we added did fix the crash, but in some cases caused a delay on >>> startup, if the device still had the "generic" printer driver installed. >>> << >>> >>> >>> Maybe there is a regression in some way that LC now does not crash but >> shows the messages. >>> Could you try the following? >>> >>> 1. Open Windows Task Manager >>> 2. Search for a process named "Spooler Subsystem app" or just "Print >>> Spooler" >>> 3. Force quit this process >>> >>> If this solves it, then it seems to be a regression in the new LC dp >> builds. >>> Regards, >>> >>> Matthias >>> >>> >>> >>> >>>> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com>: >>>> I had not searched the forums, but I just did for "Waiting for printer" >> and "printer connections" and neither phrase turned up anything related to >> the dialog that appears on startup (unfortunately). Maybe under another >> search term, but the general term of "printer" returns 38 screens of forum >> messages! Good suggestion though. Thank you. >>>> >>>> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >>>>> I think this has come up before, but I forget the resolution. Did you >> search the forums? >>>>> Bob S >>>>> >>>>> >>>>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) >> Standalones build with either of those versions starts up, on Windows 11, >> there is a dialog that appear stating "Waiting for printer connections..." >>>>>> This dialog may appear on earlier versions - I forget if I had seen >> it previously. >>>>>> Is there some setting to prevent or hide this dialog? In my >> standalone app, I have customers asking what is it and find it "annoying". >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From matthias_livecode_150811 at m-r-d.de Wed May 8 16:52:49 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 8 May 2024 22:52:49 +0200 Subject: Livecode startup messages... In-Reply-To: References: <2f71ba97-1ca2-4c84-bc70-55f5b9057aea@researchware.com> <1159EDEE-5567-4FE7-A1A5-B4E2668EB7A6@iotecdigital.com> <3476fc5b-f2a8-4c0f-aac2-927b1163d1fa@researchware.com> <8FA9095F-EED9-411C-828E-16EE9EEE98CF@m-r-d.de> <1C62E8AE-EF6D-47AC-B420-096005BFCC1A@iotecdigital.com> Message-ID: <1C7AF996-FA3B-4922-8C90-549176FC7D06@m-r-d.de> Did you try the this "workaround"? 1. Open Windows Task Manager 2. Search for a process named "Spooler Subsystem app" or just "Print Spooler" 3. Force quit this process If this solves the problem, then maybe 9.6.11 still contains a bug that already was fixed in earlier versions. Regards, Matthias > Am 08.05.2024 um 22:01 schrieb Paul Dupuis via use-livecode : > > Yes, > > I figured that out earlier this week and just hadn't had time to post. It is some sort of Windows 11 issue and not on all Windows 11 systems. Still don't know what it is. The 3 printers on our office network are all HPs and I think all my drivers are up to date. I also have a couple of different PDF printer drivers installed (Microsoft's, Foxit's and one other) > > > On 5/8/2024 1:20 PM, Mike Kerner via use-livecode wrote: >> this is not just a lc issue >> we use 4d, extensively, and every time a 4d client starts on windows, the >> same message appears >> >> On Fri, May 3, 2024 at 6:20 PM Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Interesting. As I’ve mentioned I install and provide IT support for >>> copiers and printers. Ever since Windows 8 (I believe) Microsoft has been >>> providing built in drivers for these devices, and they use what is called a >>> WSD (Windows Service Daemon) port instead of a typical TCP/IP port. >>> >>> If you go to install a printer and you see a list of icons representing >>> the discovered printers on the network, NEVER EVER USE THEM! Manufacturers >>> will not support them, and they cause all kinds of issues. ALWAYS select >>> “The device I want isn’t listed” and use the standard TCP/IP method of >>> installing a printer, or better yet the manufacturer probably supplies an >>> executable either downloaded or on a CD ROM. Use that. >>> >>> Of course, that does not help LC devs who are deploying apps to end users >>> who cannot be told what to do. >>> >>> Bob S >>> >>> >>>> On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> There was a problem in the past where standalones were LC IDE, LC >>> Instaler and standalones were crashing on startup. >>>> This is what Panos wrote about it: >>>> We recently fixed a bug (affecting mainly Windows 11) where the LC >>>> installer, the LC IDE and Windows standalones were crashing on startup. >>> It >>>> turned out this was caused if some generic printer drivers were installed >>>> in the device, and installing the official printer drivers from the >>>> vendor's website prevented the crash. We had reports for Brother >>> printers, >>>> Epson and HP if I remember correctly. >>>> >>>> The fix we added did fix the crash, but in some cases caused a delay on >>>> startup, if the device still had the "generic" printer driver installed. >>>> << >>>> >>>> >>>> Maybe there is a regression in some way that LC now does not crash but >>> shows the messages. >>>> Could you try the following? >>>> >>>> 1. Open Windows Task Manager >>>> 2. Search for a process named "Spooler Subsystem app" or just "Print >>>> Spooler" >>>> 3. Force quit this process >>>> >>>> If this solves it, then it seems to be a regression in the new LC dp >>> builds. >>>> Regards, >>>> >>>> Matthias >>>> >>>> >>>> >>>> >>>>> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode < >>> use-livecode at lists.runrev.com>: >>>>> I had not searched the forums, but I just did for "Waiting for printer" >>> and "printer connections" and neither phrase turned up anything related to >>> the dialog that appears on startup (unfortunately). Maybe under another >>> search term, but the general term of "printer" returns 38 screens of forum >>> messages! Good suggestion though. Thank you. >>>>> >>>>> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote: >>>>>> I think this has come up before, but I forget the resolution. Did you >>> search the forums? >>>>>> Bob S >>>>>> >>>>>> >>>>>>> On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>>>>> When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me) >>> Standalones build with either of those versions starts up, on Windows 11, >>> there is a dialog that appear stating "Waiting for printer connections..." >>>>>>> This dialog may appear on earlier versions - I forget if I had seen >>> it previously. >>>>>>> Is there some setting to prevent or hide this dialog? In my >>> standalone app, I have customers asking what is it and find it "annoying". >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andreas.bergendal at gmail.com Mon May 13 15:49:06 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Mon, 13 May 2024 21:49:06 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: <8C5852B6-9AEA-4315-8B67-5EA0FCF67313@gmail.com> <19E5C70A-06DB-4317-BF12-623ACDF61B00@ucsb.edu> <003301da86d3$4008f040$c01ad0c0$@net> Message-ID: WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest /Andreas > 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : > > That's cool ! I really like those 'slide-out' left buttons. > > Thank you very much for this. > > Alex. > > > On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >> >> https://wheninspace.com/WebDeployHelperTest/ >> >> To back my words! :D >> >> /Andreas >> >> >>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>> >>> thank you for making this available to the community. >>> >>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> +1 >>>> >>>> Ralph DiMola >>>> IT Director >>>> Evergreen Information Services >>>> rdimola at evergreeninfo.net >>>> >>>> -----Original Message----- >>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>> Behalf Of William Prothero via use-livecode >>>> Sent: Thursday, April 04, 2024 4:48 PM >>>> To: How to use LiveCode >>>> Cc: William Prothero >>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>> >>>> Andreas, >>>> This sounds really great! It encourages me to start working with web >>>> apps.Thanks for your contribution. >>>> Best, >>>> Bill From prothero at ucsb.edu Mon May 13 16:09:18 2024 From: prothero at ucsb.edu (William Prothero) Date: Mon, 13 May 2024 13:09:18 -0700 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> Andreas: That is simply wonderful! I'll try it out. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: > > WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. > > https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest > > /Andreas > > >> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >> >> That's cool ! I really like those 'slide-out' left buttons. >> >> Thank you very much for this. >> >> Alex. >> >> >>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>> >>> https://wheninspace.com/WebDeployHelperTest/ >>> >>> To back my words! :D >>> >>> /Andreas >>> >>> >>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>> >>>> thank you for making this available to the community. >>>> >>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> +1 >>>>> >>>>> Ralph DiMola >>>>> IT Director >>>>> Evergreen Information Services >>>>> rdimola at evergreeninfo.net >>>>> >>>>> -----Original Message----- >>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>> Behalf Of William Prothero via use-livecode >>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>> To: How to use LiveCode >>>>> Cc: William Prothero >>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>> >>>>> Andreas, >>>>> This sounds really great! It encourages me to start working with web >>>>> apps.Thanks for your contribution. >>>>> Best, >>>>> Bill > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Mon May 13 17:45:25 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 13 May 2024 17:45:25 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> Message-ID: <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? Craig > On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: > > Andreas: > That is simply wonderful! I'll try it out. > Bill > William A. Prothero, PhD > Prof Emeritus, Dept of Earth Science > University of California, Santa Barbara > >> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >> >> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >> >> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >> >> /Andreas >> >> >>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>> >>> That's cool ! I really like those 'slide-out' left buttons. >>> >>> Thank you very much for this. >>> >>> Alex. >>> >>> >>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>> >>>> https://wheninspace.com/WebDeployHelperTest/ >>>> >>>> To back my words! :D >>>> >>>> /Andreas >>>> >>>> >>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>> >>>>> thank you for making this available to the community. >>>>> >>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>>> +1 >>>>>> >>>>>> Ralph DiMola >>>>>> IT Director >>>>>> Evergreen Information Services >>>>>> rdimola at evergreeninfo.net >>>>>> >>>>>> -----Original Message----- >>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>> Behalf Of William Prothero via use-livecode >>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>> To: How to use LiveCode >>>>>> Cc: William Prothero >>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>> >>>>>> Andreas, >>>>>> This sounds really great! It encourages me to start working with web >>>>>> apps.Thanks for your contribution. >>>>>> Best, >>>>>> Bill >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon May 13 18:57:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 May 2024 22:57:41 +0000 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> Message-ID: <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> Indeed. I’ve been thinking about creating a series of video demos of my Forms Generator app to send to the owners of the company I work for, and then I thought, why stop there? Why not send them to LC and see if they want to start up a Made By page. Bob S > On May 13, 2024, at 2:45 PM, Craig Newman via use-livecode wrote: > > These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? > > Craig > >> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >> >> Andreas: >> That is simply wonderful! I'll try it out. >> Bill >> William A. Prothero, PhD >> Prof Emeritus, Dept of Earth Science >> University of California, Santa Barbara >> >>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>> >>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>> >>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>> >>> /Andreas >>> >>> >>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>> >>>> That's cool ! I really like those 'slide-out' left buttons. >>>> >>>> Thank you very much for this. >>>> >>>> Alex. >>>> >>>> >>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>> >>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>> >>>>> To back my words! :D >>>>> >>>>> /Andreas >>>>> >>>>> >>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>> >>>>>> thank you for making this available to the community. >>>>>> >>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>>> +1 >>>>>>> >>>>>>> Ralph DiMola >>>>>>> IT Director >>>>>>> Evergreen Information Services >>>>>>> rdimola at evergreeninfo.net >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>> Behalf Of William Prothero via use-livecode >>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>> To: How to use LiveCode >>>>>>> Cc: William Prothero >>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>> >>>>>>> Andreas, >>>>>>> This sounds really great! It encourages me to start working with web >>>>>>> apps.Thanks for your contribution. >>>>>>> Best, >>>>>>> Bill >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at ucsb.edu Mon May 13 19:32:09 2024 From: prothero at ucsb.edu (William Prothero) Date: Mon, 13 May 2024 16:32:09 -0700 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> Message-ID: <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> Andreas: I just found out that making an elementary starter web page with Livecode and your site test system is going to be less than obvious unless I get more info. So, is there a very simple, starter project posted somewhere, with clear instructions for someone who hasn’t messed with LiveCode web deployment at all? I think that once i get more into it, I’ll be able to create what I want, but I need a start to avoid thrashing. Thanks, Bill William A. Prothero, Ph.D. University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ > On May 13, 2024, at 3:57 PM, Bob Sneidar via use-livecode wrote: > > Indeed. I’ve been thinking about creating a series of video demos of my Forms Generator app to send to the owners of the company I work for, and then I thought, why stop there? Why not send them to LC and see if they want to start up a Made By page. > > Bob S > > >> On May 13, 2024, at 2:45 PM, Craig Newman via use-livecode wrote: >> >> These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? >> >> Craig >> >>> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >>> >>> Andreas: >>> That is simply wonderful! I'll try it out. >>> Bill >>> William A. Prothero, PhD >>> Prof Emeritus, Dept of Earth Science >>> University of California, Santa Barbara >>> >>>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>>> >>>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>>> >>>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>>> >>>> /Andreas >>>> >>>> >>>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>>> >>>>> That's cool ! I really like those 'slide-out' left buttons. >>>>> >>>>> Thank you very much for this. >>>>> >>>>> Alex. >>>>> >>>>> >>>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>>> >>>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>>> >>>>>> To back my words! :D >>>>>> >>>>>> /Andreas >>>>>> >>>>>> >>>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>>> >>>>>>> thank you for making this available to the community. >>>>>>> >>>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>>> +1 >>>>>>>> >>>>>>>> Ralph DiMola >>>>>>>> IT Director >>>>>>>> Evergreen Information Services >>>>>>>> rdimola at evergreeninfo.net >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>>> Behalf Of William Prothero via use-livecode >>>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>>> To: How to use LiveCode >>>>>>>> Cc: William Prothero >>>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>>> >>>>>>>> Andreas, >>>>>>>> This sounds really great! It encourages me to start working with web >>>>>>>> apps.Thanks for your contribution. >>>>>>>> Best, >>>>>>>> Bill >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Tue May 14 14:41:43 2024 From: curry at pair.com (Curry Kenworthy) Date: Tue, 14 May 2024 14:41:43 -0400 Subject: Can you almost hear me now? (AAC app underway) In-Reply-To: <002101da9a50$c9e6ac90$5db405b0$@net> References: <002101da9a50$c9e6ac90$5db405b0$@net> Message-ID: <3526ff56-4aa3-4eb1-8155-a2ba3f2a9141@pair.com> Ralph: > Great! Looking forward to it. Thanks for your encouraging comments - Stage 1 on TTS is paying off already talking to my wife, with more daily discussion and fewer asthma episodes! Game-changer: the freedom to just talk, without a breath penalty. Also helping some to comment/code more with less typing, in LC work. But still needs a LOT more setup! Not ready for other contexts yet. So ... More next time. :) Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From curry at pair.com Tue May 14 14:49:18 2024 From: curry at pair.com (Curry Kenworthy) Date: Tue, 14 May 2024 14:49:18 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <0a9eca92-d935-4470-a95a-4ed2ba35e91a@pair.com> Andreas: > WIS_WebDeployHelper v1.0.2 is now out. Thanks for the resource! > test build in your web browser ... without any need to first upload That's always a good option. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From andreas.bergendal at gmail.com Tue May 14 16:46:31 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Tue, 14 May 2024 22:46:31 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> Message-ID: <905B859F-0655-4038-BB3B-CF19A962D60D@gmail.com> Thanks Craig. This particular project is unlikely to be acknowledged by the mothership though, as it addresses (and thereby highlights) the shortcomings of the current LC 10 dp versions available. But I hope that I will not need to maintain this tool for very long, as all it’s features really should be available in the standalone builder of the first stable release of LC 10 - at least if LC 10’s web deploy capability is intended to be one of its selling points... In the meantime, I’m trying to make this tool a key to unlocking some of LC 10’s web app potential. ’Cause I want to build great web apps now, not later! :D /Andreas > 13 maj 2024 kl. 23:45 skrev Craig Newman via use-livecode : > > These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? > > Craig > >> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >> >> Andreas: >> That is simply wonderful! I'll try it out. >> Bill >> William A. Prothero, PhD >> Prof Emeritus, Dept of Earth Science >> University of California, Santa Barbara >> >>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>> >>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>> >>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>> >>> /Andreas >>> >>> >>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>> >>>> That's cool ! I really like those 'slide-out' left buttons. >>>> >>>> Thank you very much for this. >>>> >>>> Alex. >>>> >>>> >>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>> >>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>> >>>>> To back my words! :D >>>>> >>>>> /Andreas >>>>> >>>>> >>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>> >>>>>> thank you for making this available to the community. >>>>>> >>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>>> +1 >>>>>>> >>>>>>> Ralph DiMola >>>>>>> IT Director >>>>>>> Evergreen Information Services >>>>>>> rdimola at evergreeninfo.net >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>> Behalf Of William Prothero via use-livecode >>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>> To: How to use LiveCode >>>>>>> Cc: William Prothero >>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>> >>>>>>> Andreas, >>>>>>> This sounds really great! It encourages me to start working with web >>>>>>> apps.Thanks for your contribution. >>>>>>> Best, >>>>>>> Bill >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed May 15 08:32:53 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 15 May 2024 08:32:53 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <905B859F-0655-4038-BB3B-CF19A962D60D@gmail.com> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <905B859F-0655-4038-BB3B-CF19A962D60D@gmail.com> Message-ID: 4d's qodly, which is, imho, even a more promising web dev tool, is also stalled, and has been stalled for almost six months. i can't hide my disappointment with lc's eternal chasing of the next squirrel (script compiler is now 17 months overdue because, ooh! look! web apps! squirrel!). however, i am not at all surprised that they are in a slog, at this point. how many fullstack web dev tools are there? (i'm not being sarcastic. i've looked for fullstack web dev tools and come away wondering why there are so few, and why they all suck) On Tue, May 14, 2024 at 4:47 PM Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Craig. This particular project is unlikely to be acknowledged by > the mothership though, as it addresses (and thereby highlights) the > shortcomings of the current LC 10 dp versions available. But I hope that I > will not need to maintain this tool for very long, as all it’s features > really should be available in the standalone builder of the first stable > release of LC 10 - at least if LC 10’s web deploy capability is intended to > be one of its selling points... > > In the meantime, I’m trying to make this tool a key to unlocking some of > LC 10’s web app potential. > ’Cause I want to build great web apps now, not later! :D > > /Andreas > > > > 13 maj 2024 kl. 23:45 skrev Craig Newman via use-livecode < > use-livecode at lists.runrev.com>: > > > > These high level projects NEED to be touted in the LiveCode website. > Success stories are great salesmen. Is Scotland listening?? > > > > Craig > > > >> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Andreas: > >> That is simply wonderful! I'll try it out. > >> Bill > >> William A. Prothero, PhD > >> Prof Emeritus, Dept of Earth Science > >> University of California, Santa Barbara > >> > >>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is > that it is now possible to simply hit the Test button to launch a test > build in your web browser - including all your added advanced features - > without any need to first upload to a web server. > >>> > >>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest > >>> > >>> /Andreas > >>> > >>> > >>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com>: > >>>> > >>>> That's cool ! I really like those 'slide-out' left buttons. > >>>> > >>>> Thank you very much for this. > >>>> > >>>> Alex. > >>>> > >>>> > >>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: > >>>>> And as a follow-up on this, here is also a demo web app created with > the help of WebDeployHelper 1.0.1: > >>>>> > >>>>> https://wheninspace.com/WebDeployHelperTest/ > >>>>> > >>>>> To back my words! :D > >>>>> > >>>>> /Andreas > >>>>> > >>>>> > >>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode < > use-livecode at lists.runrev.com>: > >>>>>> > >>>>>> thank you for making this available to the community. > >>>>>> > >>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < > >>>>>> use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>>> +1 > >>>>>>> > >>>>>>> Ralph DiMola > >>>>>>> IT Director > >>>>>>> Evergreen Information Services > >>>>>>> rdimola at evergreeninfo.net > >>>>>>> > >>>>>>> -----Original Message----- > >>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] > On > >>>>>>> Behalf Of William Prothero via use-livecode > >>>>>>> Sent: Thursday, April 04, 2024 4:48 PM > >>>>>>> To: How to use LiveCode > >>>>>>> Cc: William Prothero > >>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox > >>>>>>> > >>>>>>> Andreas, > >>>>>>> This sounds really great! It encourages me to start working with > web > >>>>>>> apps.Thanks for your contribution. > >>>>>>> Best, > >>>>>>> Bill > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From curry at pair.com Wed May 15 12:20:08 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 May 2024 12:20:08 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: Andreas: > all its features really should be available in the standalone > builder of the first stable release of LC 10 Indeed. Another context of ... Richard Gaskin (Oct 13, 2023): > SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY. This is a true classic, the #1 best comment last year! Mike: > my disappointment with lc's eternal chasing of the next squirrel ... > ooh! look! web apps! squirrel! I'm glad you brought that up; a real gem - the #2 comment last year. Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Wed May 15 12:30:12 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 15 May 2024 16:30:12 +0000 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <268E8C95-7F64-445B-97EA-F4722096E36B@iotecdigital.com> Yes, my top priority would definitely be the compiler, and second would be seamless standalone app building. I would love a true compiled version of my apps, but barring that, being able to build ALL my app for all platforms in one pass, and then being able to build again without having to quit and relaunch would be nice. But I also understand that the Covid Debaucle has left a lot of companies stressed for resources. So I will still renew my subscriptions, but I do not think I will invest anymore in any new technologies until the ones I have already invested in come to fruition. Bob S > On May 15, 2024, at 9:20 AM, Curry Kenworthy via use-livecode wrote: > > Andreas: > > > all it’s features really should be available in the standalone > > builder of the first stable release of LC 10 > > Indeed. Another context of ... > > Richard Gaskin (Oct 13, 2023): > > > SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY. > > This is a true classic, the #1 best comment last year! > > Mike: > > > my disappointment with lc's eternal chasing of the next squirrel ... > > ooh! look! web apps! squirrel! > > I'm glad you brought that up; a real gem - the #2 comment last year. > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed May 15 12:47:25 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 15 May 2024 12:47:25 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <268E8C95-7F64-445B-97EA-F4722096E36B@iotecdigital.com> References: <268E8C95-7F64-445B-97EA-F4722096E36B@iotecdigital.com> Message-ID: seconding on the compiler as the biggest thing. (you owe me a year, lc. i paid for it) my #2 priority would be more effort on mobes (long paragraph deleted - you're welcome). but i could be convinced that #3 could be web, if it wasn't a squirrel, too. (you also owe me a year, here, lc). On Wed, May 15, 2024 at 12:31 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes, my top priority would definitely be the compiler, and second would be > seamless standalone app building. I would love a true compiled version of > my apps, but barring that, being able to build ALL my app for all platforms > in one pass, and then being able to build again without having to quit and > relaunch would be nice. > > But I also understand that the Covid Debaucle has left a lot of companies > stressed for resources. So I will still renew my subscriptions, but I do > not think I will invest anymore in any new technologies until the ones I > have already invested in come to fruition. > > Bob S > > > > On May 15, 2024, at 9:20 AM, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Andreas: > > > > > all it’s features really should be available in the standalone > > > builder of the first stable release of LC 10 > > > > Indeed. Another context of ... > > > > Richard Gaskin (Oct 13, 2023): > > > > > SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY. > > > > This is a true classic, the #1 best comment last year! > > > > Mike: > > > > > my disappointment with lc's eternal chasing of the next squirrel ... > > > ooh! look! web apps! squirrel! > > > > I'm glad you brought that up; a real gem - the #2 comment last year. > > > > Best wishes, > > > > Curry Kenworthy > > > > Radically Innovative Christian LiveCode Development > > "PASSION for Elegant, Efficient Code!" > > http://livecodeconsulting.com/ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From Bernd.Niggemann at uni-wh.de Wed May 15 14:38:18 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 15 May 2024 18:38:18 +0000 Subject: Code Folding in LC Message-ID: A new version of Code Folding has been uploaded to the Forum https://forums.livecode.com/viewtopic.php?f=9&t=38912&p=229971#p229971 It addresses a couple of bugs and has been tested to work from 9.6.9 up to 9.6.12 (RC1) and 10.0.0 (DP8) Kind regards Bernd From andreas.bergendal at gmail.com Wed May 15 16:39:15 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Wed, 15 May 2024 22:39:15 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> Message-ID: <8A6C2C52-C2ED-4E88-AEEA-745C7E61F08B@gmail.com> Bill, Well, for the basics, there is this LiveCode Lesson: https://lessons.livecode.com/m/4071/l/1496056-how-do-i-put-my-first-app-on-the-web-lc-10-and-later It shows the basic/standard way of deploying a LiveCode stack to web. The WebDeployHelper tool mainly hooks into the final steps of that process: - If you click the Test button, a front script intervenes and sets up the html file that replaces the generic one, and then lets the IDE launch the test build - When you build a standalone, instead of selecting ”Build standalone…” from the LC menu, you use the Build & upload tab of the tool But just to get you started, this would be the minimum steps to take: 1a) Create a stack, put some controls on card 1 (whatever you want to test), and save it. 1b) Alternatively, open any existing stack that you want to test as a web app (not a too complex one at this stage). 2) Make sure only Web is ticked in the standalone builder settings. And as with all platform build cases, you need to select the relevant inclusions in the standalone builder settings. 3) Open WebDeployHelper stack and/or click the Refresh icon next to the Active stack menu button. Select your stack in the menu, if it is not already so. 4) Now you can just hit the Test button to see that your stack launches in a browser. If it did, then all is well - go back to WebDeployHelper and start exploring the features that can be modified or added. Rinse and repeat. There is an in-stack help section for additional explanations, and most fields and buttons also have helpful tooltips. I might consider also making a video or something, just to show a walkthrough of how it can be used. But I’ll see if (unpaid) time allows. My day job building bespoke software with LiveCode already takes up most of my screen time, so to speak… :) /Andreas > 14 maj 2024 kl. 01:32 skrev William Prothero via use-livecode : > > Andreas: > I just found out that making an elementary starter web page with Livecode and your site test system is going to be less than obvious unless I get more info. > > So, is there a very simple, starter project posted somewhere, with clear instructions for someone who hasn’t messed with LiveCode web deployment at all? I think that once i get more into it, I’ll be able to create what I want, but I need a start to avoid thrashing. > > Thanks, > Bill > > William A. Prothero, Ph.D. > University of California, Santa Barbara > Dept. of Earth Sciences (Emeritus) > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > >> On May 13, 2024, at 3:57 PM, Bob Sneidar via use-livecode wrote: >> >> Indeed. I’ve been thinking about creating a series of video demos of my Forms Generator app to send to the owners of the company I work for, and then I thought, why stop there? Why not send them to LC and see if they want to start up a Made By page. >> >> Bob S >> >> >>> On May 13, 2024, at 2:45 PM, Craig Newman via use-livecode wrote: >>> >>> These high level projects NEED to be touted in the LiveCode website. Success stories are great salesmen. Is Scotland listening?? >>> >>> Craig >>> >>>> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode wrote: >>>> >>>> Andreas: >>>> That is simply wonderful! I'll try it out. >>>> Bill >>>> William A. Prothero, PhD >>>> Prof Emeritus, Dept of Earth Science >>>> University of California, Santa Barbara >>>> >>>>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode wrote: >>>>> >>>>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is that it is now possible to simply hit the Test button to launch a test build in your web browser - including all your added advanced features - without any need to first upload to a web server. >>>>> >>>>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest >>>>> >>>>> /Andreas >>>>> >>>>> >>>>>> 5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode : >>>>>> >>>>>> That's cool ! I really like those 'slide-out' left buttons. >>>>>> >>>>>> Thank you very much for this. >>>>>> >>>>>> Alex. >>>>>> >>>>>> >>>>>>> On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: >>>>>>> And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: >>>>>>> >>>>>>> https://wheninspace.com/WebDeployHelperTest/ >>>>>>> >>>>>>> To back my words! :D >>>>>>> >>>>>>> /Andreas >>>>>>> >>>>>>> >>>>>>>> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode : >>>>>>>> >>>>>>>> thank you for making this available to the community. >>>>>>>> >>>>>>>> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < >>>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>>> >>>>>>>>> +1 >>>>>>>>> >>>>>>>>> Ralph DiMola >>>>>>>>> IT Director >>>>>>>>> Evergreen Information Services >>>>>>>>> rdimola at evergreeninfo.net >>>>>>>>> >>>>>>>>> -----Original Message----- >>>>>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>>>>>>> Behalf Of William Prothero via use-livecode >>>>>>>>> Sent: Thursday, April 04, 2024 4:48 PM >>>>>>>>> To: How to use LiveCode >>>>>>>>> Cc: William Prothero >>>>>>>>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox >>>>>>>>> >>>>>>>>> Andreas, >>>>>>>>> This sounds really great! It encourages me to start working with web >>>>>>>>> apps.Thanks for your contribution. >>>>>>>>> Best, >>>>>>>>> Bill From curry at pair.com Wed May 15 21:18:05 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 May 2024 21:18:05 -0400 Subject: Code Folding in LC In-Reply-To: References: Message-ID: <72bcb673-8b80-4dea-b9ad-5c5482b133e0@pair.com> Bernd: > A new version of Code Folding has been uploaded That's a good effort. Thanks! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From jbv at souslelogo.com Thu May 16 12:51:18 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Thu, 16 May 2024 12:51:18 -0400 Subject: Saving data in standalone Message-ID: Hi list, I am working on an app for a client who will use it as a standalone. Basically users will be able to import data such as images, text and even html from various sources. All these data will self organize in different groups that the user will be able to select, move around and organise in a layout, and finally export as a pdf file. The problem is that all this work will be done in successive sessions, and between each step there will be the need to temporary save the work to retrieve it in the next session. And I'm not sure about the best way to save groups within an LC standalone and retrieve everything in a similar layout in the next session, or even if it's possible. Any idea and suggestion are welcome. Thank you in advance. jbv From paul at researchware.com Thu May 16 12:58:53 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2024 12:58:53 -0400 Subject: Saving data in standalone In-Reply-To: References: Message-ID: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> My suggestion would be to have your Standalone create a new stack with the user's work and save that stack under a customer file extension for your app. You can not actually save data in a standalone. you must save it to some source outside of the standalone - and stack, a text file, a binary file, a remote database, etc. - whatever works for your app. On 5/16/2024 12:51 PM, jbv via use-livecode wrote: > Hi list, > I am working on an app for a client who will use it as a standalone. > Basically users will be able to import data such as images, text and > even html from various sources. All these data will self organize in > different groups that the user will be able to select, move around > and organise in a layout, and finally export as a pdf file. > The problem is that all this work will be done in successive sessions, > and between each step there will be the need to temporary save the > work to retrieve it in the next session. > And I'm not sure about the best way to save groups within an LC > standalone and retrieve everything in a similar layout in the > next session, or even if it's possible. > Any idea and suggestion are welcome. > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu May 16 13:31:50 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2024 13:31:50 -0400 Subject: Saving data in standalone In-Reply-To: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: > save that stack under a customer file extension That should have said "custom file extension" From craig at starfirelighting.com Thu May 16 16:24:54 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 May 2024 16:24:54 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: <9F40968D-002A-4D54-A75C-64567639EAF2@starfirelighting.com> There is much discussion about this on the forum. The contents of the executable, the actual standalone you make from a stack, cannot be saved by any OS. I use what is know as the “Splash Stack” method, alluded to by Paul above. In the Application Builder of the stack you are making the actual standalone from, you can add any number of stack files. These are files that contain any number of stack and substacks. My standalone is never used for anything but navigating to other stacks attached to it. Once navigation is effected, the splash stack hides itself, its entire purpose fulfilled. Takes just little practice. You can make one right now with two stacks in two separate stack files. Have the executable one go to the other one, and you are on your way. Craig > On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: > > On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >> save that stack under a customer file extension > > That should have said "custom file extension" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu May 16 16:26:45 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 May 2024 16:26:45 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: I did not explicitly mention that any and all of the attached stacks are savable. Craig > On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: > > On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >> save that stack under a customer file extension > > That should have said "custom file extension" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Thu May 16 16:43:56 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 16 May 2024 16:43:56 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: Craig, Saving: the stacks within the MacOS package and the Windows Applications folders can be saved—within that location? Can new stacks/files be written to those same folders? Peter > On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode wrote: > > I did not explicitly mention that any and all of the attached stacks are savable. > > Craig > >> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: >> >> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >>> save that stack under a customer file extension >> >> That should have said "custom file extension" >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu May 16 17:07:47 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2024 17:07:47 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: You can save external stacks or created on the fly stacks where ever you have *write* (and read) permission on your OS. Increasingly, whether macOS or Windows, that is not the Applications (macOS) or Program Files/Program Files (x86) (Windows) folders. I find the SAFEST place to save something is using specialFolderPath("documents") and then create a folder structure for your company or app in the user's Documents folder. OSes are becoming more and more "sandboxed" to prevent malware and dumb user mistakes from wrecking apps or the OS itself. On 5/16/2024 4:43 PM, Peter Bogdanoff via use-livecode wrote: > Craig, > > Saving: the stacks within the MacOS package and the Windows Applications folders can be savedwithin that location? > > Can new stacks/files be written to those same folders? > > Peter > >> On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode wrote: >> >> I did not explicitly mention that any and all of the attached stacks are savable. >> >> Craig >> >>> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode wrote: >>> >>> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: >>>> save that stack under a customer file extension >>> That should have said "custom file extension" >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu May 16 20:04:09 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 16 May 2024 20:04:09 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: this is also how levure operates, so if you build with levure, you can just do this with stacks in the project On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > You can save external stacks or created on the fly stacks where ever you > have *write* (and read) permission on your OS. > > Increasingly, whether macOS or Windows, that is not the Applications > (macOS) or Program Files/Program Files (x86) (Windows) folders. I find > the SAFEST place to save something is using > specialFolderPath("documents") and then create a folder structure for > your company or app in the user's Documents folder. OSes are becoming > more and more "sandboxed" to prevent malware and dumb user mistakes from > wrecking apps or the OS itself. > > > On 5/16/2024 4:43 PM, Peter Bogdanoff via use-livecode wrote: > > Craig, > > > > Saving: the stacks within the MacOS package and the Windows Applications > folders can be saved—within that location? > > > > Can new stacks/files be written to those same folders? > > > > Peter > > > >> On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I did not explicitly mention that any and all of the attached stacks > are savable. > >> > >> Craig > >> > >>> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: > >>>> save that stack under a customer file extension > >>> That should have said "custom file extension" > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Fri May 17 17:44:25 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 May 2024 21:44:25 +0000 Subject: UPDATE: filterArray() Message-ID: I wrote a filterArray() function with a couple dependencies a while ago which uses a memory sqLite database to convert an array to a database, query that database, then return the results as an array. I have a new update to filterArray() which allows for a select clause. I found myself wanting to find the maximum value of a column, so I update the function. For an example lets say I wanted the maximum value for the serviceid key in a numbered array (tRecordsA). I could call it like this: put empty into tConditions put "max(serviceid) as serviceid" into tSelectClause put filterArray(tRecordsA, tConditions, tSelectClause) into tFoundDataA Since I do not need a where clause here, as tRecordsA only contains the data I want, but a where clause could also be defined. Here are the handlers if anyone is interested. If I missed any dependencies ley me know and I will pass those along as well. Bob S function filterArray pArrayDataA, pConditions, pSelectClause put the defaultFolder & "/" & "tempdatabase.db" into tDBName put arrayToSQLite(pArrayDataA, tDBName, "arraydata") into tDBID — uses dependency if pSelectClause is empty then \ put "*" into pSelectClause put "select " & pSelectClause & " from arraydata" into tQueryString if pConditions is not empty then \ put " where" && pConditions after tQueryString try put revQueryDatabase(tDBID, tQueryString) into tCursorID put cursorToArray(tCursorID) into tFilteredDataA — uses dependency return tFilteredDataA catch tError return empty end try end filterArray FUNCTION arrayToSQLite pArrayDataA, pDBFile, pDBName, pDBID, pBinaryColumns put the keys of pArrayDataA into tArrayKeys sort tArrayKeys numeric ascending IF pDBFile is empty THEN put ":memory:" into pDBFile IF pDBName is empty THEN put "arraydata" into pDBName TRY if pDBID is empty then \ put revOpenDatabase("sqlite", pDBFile) into pDBID IF "Error" is in pDBID THEN return empty END IF -- attempt to set the encoding put "PRAGMA encoding = 'UTF-16'" into tSQL revExecuteSQL pDBID, tSQL -- attempt to drop the table put "drop table " & pDBName into tDropSQL revExecuteSQL pDBID, tDropSQL put the result into tResult CATCH tError answer tError IF the environment is "development" THEN exit to top ELSE quit END TRY -- create the table put "create table" && quote & pDBName & quote \ & cr into tCreateCommand put "(" & quote & "recordid" & quote && "NUMERIC PRIMARY KEY UNIQUE, " \ & cr AFTER tCreateCommand put the keys of pArrayDataA [1] into tRecordKeyList filter lines of tRecordKeyList without "recordid" REPEAT for each line tRecordKey in tRecordKeyList if pArrayDataA [1] [tRecordKey] is an array or \ pArrayDataA [1] [tRecordKey] begins with "Salted__" then put "BLOB" into tColumnType else put VARCHAR into tColumnType end if put quote & tRecordKey & quote && tColumnType & "," && cr AFTER tCreateCommand END REPEAT delete char -3 to -1 of tCreateCommand put ")" AFTER tCreateCommand TRY revExecuteSQL pDBID, tCreateCommand put the result into tResult IF tResult is not 0 THEN breakpoint CATCH tError breakpoint END TRY put 1 into tRecordCounter put "recordid" & cr & tRecordKeyList into tColumns repeat with i = 1 to the number of lines of tColumns put ":" & i into item i of tColumnList end repeat put "(" & tColumnList & ")" into tColumnList -- insert data REPEAT for each line tKey in tArrayKeys put 1 into tColumnCounter put pArrayDataA [tKey] into tRecordDataA put tRecordCounter into tQueryDataA [1] REPEAT for each line tRecordKey in tRecordKeyList add 1 to tColumnCounter if tRecordDataA [tRecordKey] is an array then put arrayEncode(tRecordDataA [tRecordKey]) into tValue else put tRecordDataA [tRecordKey] into tValue end if put tValue into tQueryDataA [tColumnCounter] END REPEAT put "insert into" && pDBName && "VALUES" && tColumnList into tInsertSQL TRY revExecuteSQL pDBID, tInsertSQL, "tQueryDataA" put the result into tResult if the result is not a number then breakpoint CATCH tError breakpoint END TRY add 1 to tRecordCounter END REPEAT return pDBID END arrayToSQLite FUNCTION cursorToArray pCursorID put revNumberOfRecords(pCursorID) into tNumberOfRecords if tNumberOfRecords = 0 then \ return empty put revDatabaseColumnCount(pCursorID) into tColumnCount put revDatabaseColumnNames(pCursorID) into tColumnNames REPEAT forever add 1 to tRecordCount REPEAT with i = 1 to tColumnCount put revDatabaseColumnNumbered(pCursorID, i) into tColumnValue put tColumnValue into aCursorArray [tRecordCount] [item i of tColumnNames] END REPEAT revMoveToNextRecord pCursorID if revQueryIsAtEnd(pCursorID) then \ exit repeat END REPEAT return aCursorArray END cursorToArray From ambassador at fourthworld.com Fri May 17 21:55:22 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 18 May 2024 01:55:22 +0000 Subject: UPDATE: filterArray() Message-ID: Thank you, Bob. It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Sat May 18 02:50:29 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 May 2024 06:50:29 +0000 Subject: UPDATE: filterArray() In-Reply-To: References: Message-ID: <1AC3FAE7-AD49-4C5C-8060-BACEB2708367@iotecdigital.com> :-) Sent from my iPhone > On May 17, 2024, at 18:57, Richard Gaskin via use-livecode wrote: > > Thank you, Bob. > > It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: > > go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" > > > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Sun May 19 07:52:51 2024 From: curry at pair.com (Curry Kenworthy) Date: Sun, 19 May 2024 07:52:51 -0400 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: References: Message-ID: <76a0f674-6eef-407d-92a3-c05c69d343d2@pair.com> Bob: > to build ALL my app for all platforms in one pass, and then being able > to build again without having to quit and relaunch would be nice. Yes, LC should build standalones in one pass/again without issues... And so should you! That is largely BY CHOICE - Not using my workaround code to close your library/etc stacks, any that were announced/ID'd in subsequent dialogs after 1st or 2nd build. Mike: > #3 could be web, if it wasn't a squirrel, too. Compiler and web are both worthy examples; the important principle is to finish components and evaluate trends calmly, before coding with PASSION. :) I hope everyone has a great weekend! Still gradually setting up AAC for a while, as my first priority... (EVERYTHING I do requires it.) Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Mon May 20 12:53:02 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 May 2024 16:53:02 +0000 Subject: UPDATE: filterArray() In-Reply-To: References: Message-ID: <16A2A34D-895F-4EBB-B490-FC54CD410859@iotecdigital.com> I’m surprised about the time differential. Obviously LC parsing is much faster, I guess because filterArray has the initial overhead of creating and populating the database. I’ve never used it for large datasets. I guess the main advantage for using filterArray() is that using the LC parser, for each use case would require it’s own code. filterArray() is a one-stop-shop approach. For instance, if you need to compare data with another dataset (as in an SQL join) or finding the maximum value in a dataset, or limiting your results. Also, with queries you can do complex sort criteria and complex joins, return calculations as columns, etc. All of these use cases would require a different code set for the LC parser. Yes with SQL the extra code would be writing the SQL statement, but for anyone proficient with SQL, that’s easy enough. It’s conceivable that you could write a pseudo-database system that uses LC arrays instead of sql, but you would have to do auto saves to file on that kind of database to prevent data loss, and that would . LIKE queries are also one of the slowest kinds of queries there are, so any query that does not use an index is going to take a longer time. I suppose I could add indexing but that would create more first time overhead. I made the assertion when I first wrote this, that for single queries, the sql method would not be very performant, because the overhead of creating the database to begin with could be significant, but if subsequent queries were made directly on the database, the filterArray method would begin to catch up, because the LC parser method cannot gain efficiency with iteration. I suppose the real test would be to see whether or not direct queries agains a memory database is faster than the LC parser. I do have a findInArray() function as well, but it’s fairly simple, returning only the keys that match a value in a single column. Bob S > On May 17, 2024, at 6:55 PM, Richard Gaskin via use-livecode wrote: > > Thank you, Bob. > > It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: > > go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" > > > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon May 20 15:36:05 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 20 May 2024 19:36:05 +0000 Subject: UPDATE: filterArray() Message-ID: <477f872c9642d96f6a8029b95b38a9f7c532520a@fourthworld.com> Bob Sneidar wrote: > I’m surprised about the time differential. I was too, but in the end it kinda makes sense. Both LC and SQLite are complex scripting engines, where code has to be parsed and interpreted into executable machine instructions. The one advantage of filtering LC arrays in LC Script is that it's with-the-grain, without needing to be reformatted for the expectations of a foreign system designed with no consideration of LC at all. And never underestimate the internal complexity of RDBMS data structures. B-trees are flexible but computationally expensive. > I guess the main advantage for using filterArray() is that using the > LC parser, for each use case would require it’s own code. filterArray() > is a one-stop-shop approach. For instance, if you need to compare data > with another dataset (as in an SQL join) or finding the maximum value > in a dataset, or limiting your results. Somewhat. If I read your code correctly, it create a single table from the array, limiting the depth of the array and thereby obviating the complexities inherent in operations across multiple tables. For table-equivalent arrays, the query field provided for LC in that example stack lets you explore the possibilities just like the SQL query field there. The syntax is a bit different, e.g.: LC: eeee contains "arbitrary" SQL: eeee like '%arbitrary%' ...but both are readable and about as capable as the range of options each parser provides. One could further generalize this example on the LC side, but it's so easy to custom-code solutions in LC I try remain mindful of the tradeoffs of generalization. LC's value function has continually surprised me over the years with how well it works as a general-purpose expression evaluation engine. > It’s conceivable that you could write a pseudo-database system > that uses LC arrays instead of sql, but you would have to do > auto saves to file on that kind of database to prevent data > loss, and that would. The example I delivered should already be using in-memory SQLite, with the same benefits and risks as LC's arrays. Your arrayToSQLite includes: IF pDBFile is empty THEN put ":memory:" into pDBFile ...and I passed no file specifier to it. Might be fun to add saving to both and see how that works out. > LIKE queries are also one of the slowest kinds of queries there are, > so any query that does not use an index is going to take a longer > time. I suppose I could add indexing but that would create more first > time overhead. Substring searches are a challenge in any scripting engine. It's laudible that not only does LC do them well, but also in the worst-case scenario, excuted in the dynamic context of the value function. > I made the assertion when I first wrote this, that for single queries, > the sql method would not be very performant, because the overhead of > creating the database to begin with could be significant, but if > subsequent queries were made directly on the database, the filterArray > method would begin to catch up, because the LC parser method cannot > gain efficiency with iteration. I suppose the real test would be to > see whether or not direct queries agains a memory database is faster than the LC parser. That's an interesting question, how performance would be affected if the translation from the LC-native form to the SQLite-native form were eliminated, to compare evaluation engines only. Indexing is key to every data store, and I've experimented with hash-batched indices with some success over the years. Tempting, tho I have to be mindful of my time these days, and lately reserve entertainment time for board game design. :) But the question of isolating the effects of translating data between two systems with very different expectations seems central to this exercise: choosing storage structures per app needs, and then using the querying methods available for the chosen solution. When associative arrays are the foundation of an app's operations, filtering them using LC-native syntax seems useful, esp, in those cases where it can deliver two orders of magnitude performance gain in about a dozen lines of code. But of course for apps built around SQLite, there's no need to bother with LC arrays at all (except maybe for display operations like the DataGrid), since SQLite is also a very feature-rich, performant scripting engine. >> On May 17, 2024, at 6:55 PM, Richard Gaskin wrote: >> >> Thank you, Bob. >> >> It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: >> >> go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode" >> Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Mon May 20 17:17:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 May 2024 21:17:07 +0000 Subject: UPDATE: filterArray() In-Reply-To: <477f872c9642d96f6a8029b95b38a9f7c532520a@fourthworld.com> References: <477f872c9642d96f6a8029b95b38a9f7c532520a@fourthworld.com> Message-ID: <88582F78-5275-4915-A546-315522BBFDB8@iotecdigital.com> Yes but what you may not see is that if a memory database already exists and you pass the id it will check for it’s existence, so then all it does is replace the table (if it exists) with the name you pass with a new table containing that parsed array. There may be other tables in the memory database, and those are not touched, so theoretically I could pass multiple arrays with different table names, then execute complex queries on those. In this discussion I can see that there are changes I could make to improve it’s efficiency. I should break out the different operations, like creating the table, querying the database and returning an array as separate functions. The main reason I created this function was because I assumed memory databases would be considerably faster than file based ones, or network based over slow network infrastructures, as well as eliminating the need to create separate handlers for each use case. Bob S On May 20, 2024, at 12:36 PM, Richard Gaskin via use-livecode wrote: I guess the main advantage for using filterArray() is that using the LC parser, for each use case would require it’s own code. filterArray() is a one-stop-shop approach. For instance, if you need to compare data with another dataset (as in an SQL join) or finding the maximum value in a dataset, or limiting your results. Somewhat. If I read your code correctly, it create a single table from the array, limiting the depth of the array and thereby obviating the complexities inherent in operations across multiple tables. From tom at makeshyft.com Mon May 20 20:58:33 2024 From: tom at makeshyft.com (Tom Glod) Date: Mon, 20 May 2024 20:58:33 -0400 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: I have a plugin that is not complete which can save livecode groups and all of their properties, custom properties and scripts. If you'd like I'll send you some of the code. PM me. Should be super easy to find the code u need, and then inverse it. If you did that it would help me complete the plugin and I could release it. On Thu, May 16, 2024 at 8:05 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > this is also how levure operates, so if you build with levure, you can just > do this with stacks in the project > > On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > You can save external stacks or created on the fly stacks where ever you > > have *write* (and read) permission on your OS. > > > > Increasingly, whether macOS or Windows, that is not the Applications > > (macOS) or Program Files/Program Files (x86) (Windows) folders. I find > > the SAFEST place to save something is using > > specialFolderPath("documents") and then create a folder structure for > > your company or app in the user's Documents folder. OSes are becoming > > more and more "sandboxed" to prevent malware and dumb user mistakes from > > wrecking apps or the OS itself. > > > > > > On 5/16/2024 4:43 PM, Peter Bogdanoff via use-livecode wrote: > > > Craig, > > > > > > Saving: the stacks within the MacOS package and the Windows > Applications > > folders can be saved—within that location? > > > > > > Can new stacks/files be written to those same folders? > > > > > > Peter > > > > > >> On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > >> > > >> I did not explicitly mention that any and all of the attached stacks > > are savable. > > >> > > >> Craig > > >> > > >>> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > >>> > > >>> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote: > > >>>> save that stack under a customer file extension > > >>> That should have said "custom file extension" > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Tue May 21 10:48:18 2024 From: klaus at major-k.de (Klaus major-k) Date: Tue, 21 May 2024 16:48:18 +0200 Subject: Strange syntax in new widgets!? Message-ID: Hi firends, this came up in the LC forum: How can I delete a line in a PolyGrid? "deleteline" or something did not work, so I searched the dictionary and found that one needs to set a PROPERTY to do so: ... put 2 into tLine set the pgDeleteRow of widget "PolyGrid" to tLine ... Very intuitive in my opinion. NOT! Am I the only one who find this rather ridiculous? 8-) Come on Livecode, you can do better! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Tue May 21 11:05:30 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 May 2024 15:05:30 +0000 Subject: Saving data in standalone In-Reply-To: References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> Message-ID: <4EC49FC6-7CEB-42D4-BDC7-B3A5A5347AD0@iotecdigital.com> Including datagrids? I have a save and restore method for Datagrids, but I don’t think I back up ALL the properties, just the critical ones. Bob S On May 20, 2024, at 5:58 PM, Tom Glod via use-livecode wrote: I have a plugin that is not complete which can save livecode groups and all of their properties, custom properties and scripts. If you'd like I'll send you some of the code. PM me. Should be super easy to find the code u need, and then inverse it. If you did that it would help me complete the plugin and I could release it. On Thu, May 16, 2024 at 8:05 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: this is also how levure operates, so if you build with levure, you can just do this with stacks in the project On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: You can save external stacks or created on the fly stacks where ever you have *write* (and read) permission on your OS. Increasingly, whether macOS or Windows, that is not the Applications (macOS) or Program Files/Program Files (x86) (Windows) folders. I find the SAFEST place to save something is using specialFolderPath("documents") and then create a folder structure for your company or app in the user's Documents folder. OSes are becoming more and more "sandboxed" to prevent malware and dumb user mistakes from wrecking apps or the OS itself. From bobsneidar at iotecdigital.com Tue May 21 11:09:06 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 May 2024 15:09:06 +0000 Subject: Strange syntax in new widgets!? In-Reply-To: References: Message-ID: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> I find a lot of the widget properties less than useful. Try setting the widths of all the tabs of a segmented control to a specified width based upon the total width of the widget. Bob S On May 21, 2024, at 7:48 AM, Klaus major-k via use-livecode wrote: Hi firends, this came up in the LC forum: How can I delete a line in a PolyGrid? "deleteline" or something did not work, so I searched the dictionary and found that one needs to set a PROPERTY to do so: ... put 2 into tLine set the pgDeleteRow of widget "PolyGrid" to tLine ... Very intuitive in my opinion. NOT! Am I the only one who find this rather ridiculous? 8-) Come on Livecode, you can do better! Best Klaus From klaus at major-k.de Tue May 21 11:27:09 2024 From: klaus at major-k.de (Klaus major-k) Date: Tue, 21 May 2024 17:27:09 +0200 Subject: Strange syntax in new widgets!? In-Reply-To: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> Message-ID: <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> Hi Bob, > Am 21.05.2024 um 17:09 schrieb Bob Sneidar via use-livecode : > > I find a lot of the widget properties less than useful. Try setting the widths of all the tabs of a segmented control to a specified width based upon the total width of the widget. no, I won't! :-D > Bob S > > On May 21, 2024, at 7:48 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > this came up in the LC forum: How can I delete a line in a PolyGrid? > "deleteline" or something did not work, so I searched the dictionary > and found that one needs to set a PROPERTY to do so: > ... > put 2 into tLine > set the pgDeleteRow of widget "PolyGrid" to tLine > ... and to make the confusion complete we need to: ... put 2 into tLine set the deleteItem of widget "PolyList" to tLine ... for PolyLists. > Very intuitive in my opinion. NOT! > Am I the only one who find this rather ridiculous? 8-) > Come on Livecode, you can do better! It appears to me that the new widgets have been created by someone who has no or very little knowledge of LC. We have: ... delete line 2 of fld 1 ... dispatch "DeleteLine" to group "DataGrid" with 2 ... So why not create a more or less similar syntax for new widgets, so we don't have to use the dictionary for similar tasks. I don't get it... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tom at makeshyft.com Tue May 21 23:13:14 2024 From: tom at makeshyft.com (Tom Glod) Date: Tue, 21 May 2024 23:13:14 -0400 Subject: Saving data in standalone In-Reply-To: <4EC49FC6-7CEB-42D4-BDC7-B3A5A5347AD0@iotecdigital.com> References: <8615a869-4408-4095-b263-5b98290390e7@researchware.com> <4EC49FC6-7CEB-42D4-BDC7-B3A5A5347AD0@iotecdigital.com> Message-ID: Hey Bob, I just tested it and it captured the controls and properties and custom property sets ....it would take extra work to "restore" a datagrid, because we have to package the template stack...... but i think it will work. Unless there is a property that the datagrid control has that is unique to it and is not captured. I can see the hierarchy of controls ...etc. PM me I can send you the stack if you want to take a look On Tue, May 21, 2024 at 11:06 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Including datagrids? I have a save and restore method for Datagrids, but I > don’t think I back up ALL the properties, just the critical ones. > > Bob S > > > On May 20, 2024, at 5:58 PM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > I have a plugin that is not complete which can save livecode groups and all > of their properties, custom properties and scripts. If you'd like I'll > send you some of the code. PM me. > Should be super easy to find the code u need, and then inverse it. > If you did that it would help me complete the plugin and I could release > it. > > On Thu, May 16, 2024 at 8:05 PM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > this is also how levure operates, so if you build with levure, you can just > do this with stacks in the project > > On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > You can save external stacks or created on the fly stacks where ever you > have *write* (and read) permission on your OS. > > Increasingly, whether macOS or Windows, that is not the Applications > (macOS) or Program Files/Program Files (x86) (Windows) folders. I find > the SAFEST place to save something is using > specialFolderPath("documents") and then create a folder structure for > your company or app in the user's Documents folder. OSes are becoming > more and more "sandboxed" to prevent malware and dumb user mistakes from > wrecking apps or the OS itself. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed May 22 15:01:02 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 May 2024 19:01:02 +0000 Subject: Saving data in standalone Message-ID: <86562f17194974abf30277d50d8a2fc60cb432f8@fourthworld.com> When I've used a group as a document view, sometimes I just copy the group to an invisible stackfile for storage. The engine handles stackfiles efficiently and robustly. If we had viewers it'd save me the copy step. https://quality.livecode.com/show_bug.cgi?id=2786 Richard Gaskin FourthWorld.com Bob Sneidar wrote: > > Including datagrids? I have a save and restore method for > Datagrids, but I don’t think I back up ALL the properties, > just the critical ones. > > Bob S > > >> On May 20, 2024, at 5:58 PM, Tom Glod wrote: >> >> I have a plugin that is not complete which can save livecode >> groups and all of their properties, custom properties and >> scripts. From matthias_livecode_150811 at m-r-d.de Thu May 23 11:29:48 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 23 May 2024 17:29:48 +0200 Subject: somehow OT, but somehow not - no price information anymore on Livecode website Message-ID: Hi, today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. I am not sure what to think about this. Was this announced? Or can the prices be viewed somewhere else? In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. What do you think? Regards, Matthias From bobsneidar at iotecdigital.com Thu May 23 11:54:38 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 May 2024 15:54:38 +0000 Subject: somehow OT, but somehow not - no price information anymore on Livecode website In-Reply-To: References: Message-ID: I agree. I have a long standing issue with companies that want me to give them email, phone and sometimes address in order to get a quote. In the case of your friend, he doesn’t know the company, and does not know he can trust them. How can he tell, he may just end up on a thousand other mailing lists. Bob S > On May 23, 2024, at 8:29 AM, matthias rebbe via use-livecode wrote: > > Hi, > > today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. > But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. > > I am not sure what to think about this. Was this announced? > Or can the prices be viewed somewhere else? > > In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. > > What do you think? > > Regards, > Matthias From heather at livecode.com Thu May 23 12:02:32 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 23 May 2024 17:02:32 +0100 Subject: somehow OT, but somehow not - no price information anymore on Livecode website In-Reply-To: References: Message-ID: <0A016899-27C9-49FC-BD1E-07863585A715@livecode.com> Hello all, This is a temporary change to the website while we transition a few things. Pricing will be restored on the site in due course. Please bear with us. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 23 May 2024, at 16:29, matthias rebbe via use-livecode wrote: > > Hi, > > today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. > But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. > > I am not sure what to think about this. Was this announced? > Or can the prices be viewed somewhere else? > > In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. > > What do you think? > > Regards, > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu May 23 12:09:57 2024 From: paul at researchware.com (Paul Dupuis) Date: Thu, 23 May 2024 12:09:57 -0400 Subject: somehow OT, but somehow not - no price information anymore on Livecode website In-Reply-To: References: Message-ID: Pricing still seems to be available for Student and Educational plans: For example, at https://livecode.com/education-plans/ under the "Buy a LiveCode Subscription" there is a link for "View Pricing Options" (https://livecode.com/education-plans/#pricingoptions) It is just Pros & Business they are looking to quote for, which is a change for those plans from just showing the pricing. On 5/23/2024 11:29 AM, matthias rebbe via use-livecode wrote: > Hi, > > today I wanted to show a friend, who is interested in using Livecode, the different subscription plans and their prices. > But to my surprise, prices are no longer displayed on the website. The interested customers have to request a quote. > > I am not sure what to think about this. Was this announced? > Or can the prices be viewed somewhere else? > > In any case, my friend doesn't want to give his data to Livecode Ltd. in advance just to get price information. > > What do you think? > > Regards, > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeff at siphonophore.com Thu May 23 13:04:15 2024 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 23 May 2024 13:04:15 -0400 Subject: somehow OT, but somehow not - no price information Message-ID: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> Yikes, I agree this is really not a good turn. I usually see this stuff on stuff marketed to high end firms where price is not much of a factor. Having been an evangelist for Livecode thru all its evolution all the way back to MetaCard days (over three decades), I’m afraid I will not be pointing people there will glee now. This is just a very bad move in my opinion. Sad to see this turn. Jeff Reynolds > On May 23, 2024, at 12:02 PM, use-livecode-request at lists.runrev.com wrote: > > Re: somehow OT, but somehow not - no price information From irog at mac.com Thu May 23 22:07:20 2024 From: irog at mac.com (Roger Guay) Date: Thu, 23 May 2024 19:07:20 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> Message-ID: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. Thanks, Roger From MikeKerner at roadrunner.com Thu May 23 22:37:16 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 23 May 2024 22:37:16 -0400 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: just spitballing: let's call our containers "tSearchingFor" and "tSearchString" *set* the itemDelimiter to comma & tSearchString & comma *put* the number of items in tSearchingFor - 1 into tNum *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to tNum *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to tNum On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < use-livecode at lists.runrev.com> 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 repeated in > a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > > > Thanks, > > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From terry.judd at unimelb.edu.au Thu May 23 23:47:38 2024 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 24 May 2024 03:47:38 +0000 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: Probably not the shortest approach, but I’d probably do either this… function countItemRepsInList pList, pItem replace comma with cr in pList filter pList with pItem return (the number of lines in pList) end countItemRepsInList or this function countItemRepsInList pList, pItem put 0 into tCount repeat for each item tItem in pList if (tItem = pItem) then add 1 to tCount end repeat return tCount end countItemRepsInList Terry From: use-livecode on behalf of Roger Guay via use-livecode Date: Friday, 24 May 2024 at 12:09 PM To: How to use LiveCode Cc: Roger Guay Subject: Return Total of a Given Repeated Number in a List 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. Thanks, Roger _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 01:08:00 2024 From: irog at mac.com (Roger Guay) Date: Thu, 23 May 2024 22:08:00 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: Very clever, Mike. I never thought to use itemDelimiter this way. I’ll have to play with this. Thanks very much, Roger > On May 23, 2024, at 7:37 PM, Mike Kerner via use-livecode wrote: > > just spitballing: > let's call our containers "tSearchingFor" and "tSearchString" > > *set* the itemDelimiter to comma & tSearchString & comma > > *put* the number of items in tSearchingFor - 1 into tNum > > *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to tNum > > *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to tNum > > On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < > use-livecode at lists.runrev.com> 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 repeated in >> a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >> >> >> Thanks, >> >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andreas.bergendal at gmail.com Fri May 24 02:55:16 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 24 May 2024 08:55:16 +0200 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> Another way to do it is this: function countOccurrences pString repeat for each item tItem in pString add 1 to tFrequencyArray[tItem] end repeat return tFrequencyArray end countOccurrences To get the number of 2’s, just extract tFrequencyArray[2] etc. The advantage is that you get a frequency list (array) of ALL the items in one go. The bonus advantage is that you also get a list of unique values, by getting the keys of tFrequencyArray. So it also serves as a duplicate-clearing function, which is sometimes handy. /Andreas > 24 maj 2024 kl. 07:08 skrev Roger Guay via use-livecode : > > Very clever, Mike. I never thought to use itemDelimiter this way. I’ll have to play with this. > > Thanks very much, > > Roger > >> On May 23, 2024, at 7:37 PM, Mike Kerner via use-livecode wrote: >> >> just spitballing: >> let's call our containers "tSearchingFor" and "tSearchString" >> >> *set* the itemDelimiter to comma & tSearchString & comma >> >> *put* the number of items in tSearchingFor - 1 into tNum >> >> *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to tNum >> >> *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to tNum >> >> On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < >> use-livecode at lists.runrev.com> 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 repeated in >>> a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri May 24 08:35:52 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 24 May 2024 08:35:52 -0400 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> Message-ID: 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 at lists.runrev.com> wrote: > Another way to do it is this: > > function countOccurrences pString > repeat for each item tItem in pString > add 1 to tFrequencyArray[tItem] > end repeat > > return tFrequencyArray > end countOccurrences > > To get the number of 2’s, just extract tFrequencyArray[2] etc. > The advantage is that you get a frequency list (array) of ALL the items in > one go. > > The bonus advantage is that you also get a list of unique values, by > getting the keys of tFrequencyArray. > So it also serves as a duplicate-clearing function, which is sometimes > handy. > > /Andreas > > > > 24 maj 2024 kl. 07:08 skrev Roger Guay via use-livecode < > use-livecode at lists.runrev.com>: > > > > Very clever, Mike. I never thought to use itemDelimiter this way. I’ll > have to play with this. > > > > Thanks very much, > > > > Roger > > > >> On May 23, 2024, at 7:37 PM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> just spitballing: > >> let's call our containers "tSearchingFor" and "tSearchString" > >> > >> *set* the itemDelimiter to comma & tSearchString & comma > >> > >> *put* the number of items in tSearchingFor - 1 into tNum > >> > >> *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to > tNum > >> > >> *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to > tNum > >> > >> On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode < > >> use-livecode at lists.runrev.com> 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 > repeated in > >>> a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > >>> > >>> > >>> Thanks, > >>> > >>> Roger > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> -- > >> On the first day, God created the heavens and the Earth > >> On the second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From alex at tweedly.net Fri May 24 10:51:30 2024 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 24 May 2024 15:51:30 +0100 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <79C59FDE-928E-4A5F-8E43-CFC2AC20B9F4@gmail.com> Message-ID: <06e5a5e9-8849-432a-9864-b5405577666d@tweedly.net> 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. From bobsneidar at iotecdigital.com Fri May 24 11:23:11 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 15:23:11 +0000 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> Message-ID: <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > > > Thanks, > > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 24 11:26:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 15:26:34 +0000 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> Message-ID: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> 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 > > 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >> >> >> Thanks, >> >> Roger From bobsneidar at iotecdigital.com Fri May 24 11:40:24 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 15:40:24 +0000 Subject: Strange syntax in new widgets!? In-Reply-To: <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> Message-ID: <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> 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. Well, also because I’m too lazy to implement any of the others just yet. Don’t get me wrong, there are some great widgets. But trying to replicate the functionality of datagrids, yeah not so much. Bob S On May 21, 2024, at 8:27 AM, Klaus major-k via use-livecode wrote: It appears to me that the new widgets have been created by someone who has no or very little knowledge of LC. We have: ... delete line 2 of fld 1 ... dispatch "DeleteLine" to group "DataGrid" with 2 ... So why not create a more or less similar syntax for new widgets, so we don't have to use the dictionary for similar tasks. I don't get it... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Fri May 24 12:20:09 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2024 16:20:09 +0000 Subject: Place Phone Call MacOS Message-ID: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> 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 do that? Bob S From andreas.bergendal at gmail.com Fri May 24 12:28:43 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 24 May 2024 18:28:43 +0200 Subject: Place Phone Call MacOS In-Reply-To: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> References: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> Message-ID: 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 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 do that? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri May 24 12:55:44 2024 From: paul at researchware.com (Paul Dupuis) Date: Fri, 24 May 2024 12:55:44 -0400 Subject: Place Phone Call MacOS In-Reply-To: References: <2886952E-E95D-4A65-B2B2-8C6AA8C387A4@iotecdigital.com> Message-ID: <7279442b-fcfd-46b9-8895-175c5fa61453@researchware.com> 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, cant 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 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 do that? >> >> Bob S >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 17:05:37 2024 From: irog at mac.com (Roger Guay) Date: Fri, 24 May 2024 14:05:37 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: 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 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 >> >> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 17:05:37 2024 From: irog at mac.com (Roger Guay) Date: Fri, 24 May 2024 14:05:37 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: 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 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 >> >> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 24 17:05:37 2024 From: irog at mac.com (Roger Guay) Date: Fri, 24 May 2024 14:05:37 -0700 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: 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 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 >> >> 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 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. >>> >>> >>> Thanks, >>> >>> Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat May 25 10:20:11 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 25 May 2024 10:20:11 -0400 Subject: Groups id # Message-ID: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Hi list, I have a script that creates groups on the fly with the command "group". These groups contain various flds and imgs. Can I always assume that the group with the highest id # is the last one created ? Thanks, jbv From bogdanoff at me.com Sat May 25 10:46:07 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 25 May 2024 10:46:07 -0400 Subject: Groups id # In-Reply-To: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: Last. "The last keyword <> can be used to specify any object <> whose number <> property <> is equal to the number of objects <> of that type. It can also be used to designate the last chunk <> in a chunk expression <>." > On May 25, 2024, at 10:20 AM, jbv via use-livecode wrote: > > Hi list, > > I have a script that creates groups on the fly > with the command "group". These groups contain > various flds and imgs. > Can I always assume that the group with the highest > id # is the last one created ? > Thanks, > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat May 25 10:49:14 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 25 May 2024 16:49:14 +0200 Subject: Groups id # In-Reply-To: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: Hi jbv, > Am 25.05.2024 um 16:20 schrieb jbv via use-livecode : > > Hi list, > > I have a script that creates groups on the fly > with the command "group". These groups contain > various flds and imgs. > Can I always assume that the group with the highest > id # is the last one created ? sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. Use IT right after the groupd command: ... select this_and_that group put IT into the_id_of_just_created_group ... > Thanks, > jbv Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Sat May 25 11:07:39 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 May 2024 11:07:39 -0400 Subject: Strange syntax in new widgets!? In-Reply-To: <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> Message-ID: a couple of notes on bob's comments: * the widgets were written by a third party using lcb. lc purchased the source. unfortunately, the source is closed, so your ability to improve them is limited. (then there's the whole matter of the property editor and property inspector not being documented, which makes fixing the properties panels for the widgets much more interesting) * i've completely replaced the segmented control and the tab panel with a polyList, because it's more flexible, and i can get more functionality out of it. * give the polygrid a try. it is much, much faster than the datagrid, and i have not had any issues with missing functionality (at least for what i'm using it for). On Fri, May 24, 2024 at 11:41 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > 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. > Well, also because I’m too lazy to implement any of the others just yet. > > Don’t get me wrong, there are some great widgets. But trying to replicate > the functionality of datagrids, yeah not so much. > > Bob S > > > On May 21, 2024, at 8:27 AM, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > > It appears to me that the new widgets have been created by someone who has > no > or very little knowledge of LC. > > We have: > ... > delete line 2 of fld 1 > ... > dispatch "DeleteLine" to group "DataGrid" with 2 > ... > > So why not create a more or less similar syntax for new widgets, so we > don't have > to use the dictionary for similar tasks. I don't get it... > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From klaus at major-k.de Sat May 25 11:14:46 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 25 May 2024 17:14:46 +0200 Subject: Strange syntax in new widgets!? In-Reply-To: References: <4FDCF476-6003-4724-872F-B1560FFE9D28@iotecdigital.com> <51E28F72-F042-4571-8334-F8DB2AC348AE@major-k.de> <7CC66BC9-A15C-452A-96DD-454953D693A7@iotecdigital.com> Message-ID: Hi Mike, > Am 25.05.2024 um 17:07 schrieb Mike Kerner via use-livecode : > > a couple of notes on bob's comments: > * the widgets were written by a third party using lcb. lc purchased the > source. AHA! Well, that explains the "inconsistency" in the syntax. > unfortunately, the source is closed, so your ability to improve > them is limited. (then there's the whole matter of the property editor and > property inspector not being documented, which makes fixing the properties > panels for the widgets much more interesting) > * i've completely replaced the segmented control and the tab panel with a > polyList, because it's more flexible, and i can get more functionality out > of it. > * give the polygrid a try. it is much, much faster than the datagrid, and i > have not had any issues with missing functionality (at least for what i'm > using it for). Don't get me wrong, this is a wonderful widget and I replaced the DataGrid with a PolyList/PolyGrid wherever possible in my projects. > On Fri, May 24, 2024 at 11:41 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> 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. YES! Same here... >> Well, also because I’m too lazy to implement any of the others just yet. >> >> Don’t get me wrong, there are some great widgets. But trying to replicate >> the functionality of datagrids, yeah not so much. >> >> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Sat May 25 11:13:55 2024 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 May 2024 11:13:55 -0400 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: (to alex's question) > * quicken date shortcuts quicken has/had these very nifty ways of handling date inputs, to make entry faster. if you enter a numeral, like 26, it means that date of this month. similarly, month/date e.g. 5/25 is 5/25 of this year. "T" is today "+" to increment the date field one day. if the date field is empty, it means tomorrow "-" "M" is the first day of this month, and "H" is the last "Y"ea"R" "W"ee"K" On Fri, May 24, 2024 at 5:06 PM Roger Guay via use-livecode < use-livecode at lists.runrev.com> wrote: > 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 < > use-livecode at lists.runrev.com> wrote: > > > > 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 < > use-livecode at lists.runrev.com> wrote: > >> > >> 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 < > use-livecode at lists.runrev.com> 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 repeated in > a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help. > >>> > >>> > >>> Thanks, > >>> > >>> Roger > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Sat May 25 19:52:33 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 25 May 2024 23:52:33 +0000 Subject: Groups id # In-Reply-To: References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: IDs are assigned according to the stack ID which increments by 1 every time an object is created. So yes, the stack ID is like an auto increment column in SQL. It assures that no two objects get the same ID, and the last object created is the highest ID in the stack. Sent from my iPhone > On May 25, 2024, at 07:50, Klaus major-k via use-livecode wrote: > > Hi jbv, > >> Am 25.05.2024 um 16:20 schrieb jbv via use-livecode : >> >> Hi list, >> >> I have a script that creates groups on the fly >> with the command "group". These groups contain >> various flds and imgs. >> Can I always assume that the group with the highest >> id # is the last one created ? > > sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. > Use IT right after the groupd command: > ... > select this_and_that > group > put IT into the_id_of_just_created_group > ... > >> Thanks, >> jbv > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sat May 25 19:54:54 2024 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 26 May 2024 00:54:54 +0100 Subject: Return Total of a Given Repeated Number in a List In-Reply-To: References: <3FB5F0AD-D5C1-440B-8E5C-2044C371A9F4@siphonophore.com> <50A5DB21-51C6-4104-8F58-5098104F7676@mac.com> <33464521-AA4E-4414-8AA5-80F5ACF2FD0C@iotecdigital.com> <0D76149E-D758-45F2-BE96-C36D17751144@iotecdigital.com> Message-ID: On 25/05/2024 16:13, Mike Kerner via use-livecode wrote: > (to alex's question) >> * quicken date shortcuts > quicken has/had these very nifty ways of handling date inputs, to make > entry faster. > if you enter a numeral, like 26, it means that date of this month. > similarly, month/date e.g. 5/25 is 5/25 of this year. > "T" is today > "+" to increment the date field one day. if the date field is empty, it > means tomorrow > "-" > "M" is the first day of this month, and "H" is the last > "Y"ea"R" > "W"ee"K" > Ohhhh - those are cool :-) I have a project to keep me busy tomorrow  :-) Thanks, Alex. From bobsneidar at iotecdigital.com Sat May 25 20:03:18 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 26 May 2024 00:03:18 +0000 Subject: Groups id # In-Reply-To: References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> Message-ID: <0837D98C-8E6D-47CC-B08F-AF7AE831D610@iotecdigital.com> As I said, the last ID is going to be the stack ID -1. Sent from my iPhone > On May 25, 2024, at 16:55, Bob Sneidar wrote: > > sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. From craig at starfirelighting.com Tue May 28 09:42:13 2024 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 28 May 2024 09:42:13 -0400 Subject: Groups id # In-Reply-To: <0837D98C-8E6D-47CC-B08F-AF7AE831D610@iotecdigital.com> References: <5c0e5acf8bd8fba4d871351be1f33922@souslelogo.com> <0837D98C-8E6D-47CC-B08F-AF7AE831D610@iotecdigital.com> Message-ID: There is an anomaly with the “last” keyword. It is not reliable with groups. Craig > On May 25, 2024, at 8:03 PM, Bob Sneidar via use-livecode wrote: > > As I said, the last ID is going to be the stack ID -1. > > Sent from my iPhone > >> On May 25, 2024, at 16:55, Bob Sneidar wrote: >> >> sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu May 30 08:27:52 2024 From: klaus at major-k.de (Klaus major-k) Date: Thu, 30 May 2024 14:27:52 +0200 Subject: error when creating iOS app: failed to create launch screen: /* com.apple.ibtoolerrors */ Message-ID: <33AD4EB5-5AA7-4089-BBFD-2BB847F0AF63@major-k.de> Hi friends, I just wanted to create an iOS app with my new M2 MacMini. LC 9.6.11, Xcode 15.0 Available Device SDKs: 17.0 Available simulators: 17.0 All iOS icons and the launch image are present and have the correct dimensions, however LC tells me: --------------------------------------- There was an error while saving the standalone application failed to create launch screen: /* com.apple.ibtoolerrors */ /Volumes/ 1TB/Livecode Hilfe/Klaus/LeadSheeter X/Leadsheeter-X/Leadsheeter-X.app/LaunchScreen.storyboard: error: iOS 17.0 Platform Not installed. --------------------------------------- Platform not installed? What does that mean? What am I missing? Thanks for any hint. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Thu May 30 09:35:45 2024 From: klaus at major-k.de (Klaus major-k) Date: Thu, 30 May 2024 15:35:45 +0200 Subject: error when creating iOS app: failed to create launch screen: SOLVED In-Reply-To: <33AD4EB5-5AA7-4089-BBFD-2BB847F0AF63@major-k.de> References: <33AD4EB5-5AA7-4089-BBFD-2BB847F0AF63@major-k.de> Message-ID: <55FB811F-681A-4AD1-82B5-45AE95A45A36@major-k.de> Hi all, > Am 30.05.2024 um 14:27 schrieb Klaus major-k via use-livecode : > > Hi friends, > > I just wanted to create an iOS app with my new M2 MacMini. > LC 9.6.11, > Xcode 15.0 > Available Device SDKs: 17.0 > Available simulators: 17.0 > > All iOS icons and the launch image are present and have the > correct dimensions, however LC tells me: > --------------------------------------- > There was an error while saving the standalone application > failed to create launch screen: /* com.apple.ibtoolerrors */ > /Volumes/ 1TB/Livecode Hilfe/Klaus/LeadSheeter > X/Leadsheeter-X/Leadsheeter-X.app/LaunchScreen.storyboard: > error: iOS 17.0 Platform Not installed. > --------------------------------------- > Platform not installed? What does that mean? What am I missing? > Thanks for any hint. obviously I did not open Xcode before... Now I did and had to download and install platform 17.0. Works as exspected now. :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From neville.smythe at optusnet.com.au Thu May 30 21:21:33 2024 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Fri, 31 May 2024 11:21:33 +1000 Subject: Snapshot question Message-ID: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> I have a need for rotated graphic objects, in particular a roundrect graphic. Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame. Which means the image can really only be used against a black background. Ideally the background outside the rounded frame should be transparent, although I suspect that may not be possible with the bitmap image format produced. Is there any setting that can fix this (a mask?), or failing that set the colour of these pixels (I presume the snapshot is actually produced by rendering the object in a hidden buffer with default black background) . The alternative solution of producing a screenshot against a background of the required colour is not practical; it requires displaying the object against an empty visible region of the screen before taking the screenshot and therefore an unacceptable flash for the user. Neville Smythe From Bernd.Niggemann at uni-wh.de Fri May 31 04:59:08 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Fri, 31 May 2024 08:59:08 +0000 Subject: Snapshot question Message-ID: Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame Have you tried as "png"? It should make the black corners transparent. export snapshot from graphic "g1" to image "iDest" as png Kind regards Bernd From jbv at souslelogo.com Fri May 31 05:32:06 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 31 May 2024 05:32:06 -0400 Subject: Hierarchical submenus in option menu buttons Message-ID: <681876e527d882a8adad269d93e918fc@souslelogo.com> Hi list, I am trying to create a hierarchical submenu in an option menu button with LC 9.6. I have found this solution that seems to work only with pulldown buttons : https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu I also found this LC lesson that suggests to use polylists : https://livecode.com/using-polylist-to-create-dropdown-menus/ But that seems way too sophisticated for a simple submenu. Any idea ? Thank you in advance. jbv From craig at starfirelighting.com Fri May 31 09:23:07 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 31 May 2024 09:23:07 -0400 Subject: Hierarchical submenus in option menu buttons In-Reply-To: <681876e527d882a8adad269d93e918fc@souslelogo.com> References: <681876e527d882a8adad269d93e918fc@souslelogo.com> Message-ID: Hi. I believe that only pullDown and popUp menu styles can support submenus. Combo boxes and Option menus styles do not. Craig > On May 31, 2024, at 5:32 AM, jbv via use-livecode wrote: > > Hi list, > > I am trying to create a hierarchical submenu in an option menu button > with LC 9.6. > I have found this solution that seems to work only with pulldown buttons : > https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu > > I also found this LC lesson that suggests to use polylists : > https://livecode.com/using-polylist-to-create-dropdown-menus/ > But that seems way too sophisticated for a simple submenu. > > Any idea ? > Thank you in advance. > > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri May 31 09:32:02 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 31 May 2024 09:32:02 -0400 Subject: Snapshot question In-Reply-To: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> References: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> Message-ID: <7E034A1E-1D1D-43AD-A1C6-D0F1DACAC192@starfirelighting.com> I think that only a “regular” polygon graphic can be rotated by setting its “angle” property.That means that a roundRect or rectangular graphic do not respond at all. LC will not throw an error, and the property sticks, but the arc itself does not change.. I could be wrong about all this. Crig > On May 30, 2024, at 9:21 PM, Neville Smythe via use-livecode wrote: > > I have a need for rotated graphic objects, in particular a roundrect graphic. > > Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame. Which means the image can really only be used against a black background. > > Ideally the background outside the rounded frame should be transparent, although I suspect that may not be possible with the bitmap image format produced. Is there any setting that can fix this (a mask?), or failing that set the colour of these pixels (I presume the snapshot is actually produced by rendering the object in a hidden buffer with default black background) . > > The alternative solution of producing a screenshot against a background of the required colour is not practical; it requires displaying the object against an empty visible region of the screen before taking the screenshot and therefore an unacceptable flash for the user. > > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri May 31 09:39:07 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 31 May 2024 09:39:07 -0400 Subject: Snapshot question In-Reply-To: <7E034A1E-1D1D-43AD-A1C6-D0F1DACAC192@starfirelighting.com> References: <76614177-36AD-438F-8952-B9EBB3FB2D7A@optusnet.com.au> <7E034A1E-1D1D-43AD-A1C6-D0F1DACAC192@starfirelighting.com> Message-ID: <41EC8D56-11FA-4437-B143-BB3936541068@starfirelighting.com> AHA, now I remember. Try the “revRotatePoly” command. That seems to work with any graphic. Craig > On May 31, 2024, at 9:32 AM, Craig Newman via use-livecode wrote: > > I think that only a “regular” polygon graphic can be rotated by setting its “angle” property.That means that a roundRect or rectangular graphic do not respond at all. LC will not throw an error, and the property sticks, but the arc itself does not change.. > > I could be wrong about all this. > > Crig > >> On May 30, 2024, at 9:21 PM, Neville Smythe via use-livecode wrote: >> >> I have a need for rotated graphic objects, in particular a roundrect graphic. >> >> Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame. Which means the image can really only be used against a black background. >> >> Ideally the background outside the rounded frame should be transparent, although I suspect that may not be possible with the bitmap image format produced. Is there any setting that can fix this (a mask?), or failing that set the colour of these pixels (I presume the snapshot is actually produced by rendering the object in a hidden buffer with default black background) . >> >> The alternative solution of producing a screenshot against a background of the required colour is not practical; it requires displaying the object against an empty visible region of the screen before taking the screenshot and therefore an unacceptable flash for the user. >> >> Neville Smythe >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri May 31 12:22:24 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 May 2024 16:22:24 +0000 Subject: Hierarchical submenus in option menu buttons In-Reply-To: References: <681876e527d882a8adad269d93e918fc@souslelogo.com> Message-ID: <09860FAC-5046-4E6D-8D63-2F5F3A19EFB6@iotecdigital.com> You are correct. Essentially, any menu that offers a list of strings to display on the menu button itself cannot use submenus. It makes sense really. I’ve never seen an option menu in any other application that allows a submenu choice. Bob S > On May 31, 2024, at 6:23 AM, Craig Newman via use-livecode wrote: > > Hi. > > I believe that only pullDown and popUp menu styles can support submenus. Combo boxes and Option menus styles do not. > > Craig > >> On May 31, 2024, at 5:32 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> I am trying to create a hierarchical submenu in an option menu button >> with LC 9.6. >> I have found this solution that seems to work only with pulldown buttons : >> https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu >> >> I also found this LC lesson that suggests to use polylists : >> https://livecode.com/using-polylist-to-create-dropdown-menus/ >> But that seems way too sophisticated for a simple submenu. >> >> Any idea ? >> Thank you in advance. >> >> jbv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Fri May 31 21:30:25 2024 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 1 Jun 2024 11:30:25 +1000 Subject: Snapshot question In-Reply-To: References: Message-ID: <800B6231-EC7E-45C7-93D8-67F28A8664D4@optusnet.com.au> Many thanks Craig and Bernd for your suggestions Craig: Unfortunately the docs say revRotatePoly only works with lines, curves and polygons Bernd: Oh! Yes, exporting as png does work to give transparent corner bits! Obvious now! I think I had briefly considered this and rejected it because at the time I was conflating the problem with an issue I am going to have later in my project. The roundrect graphics are going to be used as niches for a collection of images: the images should be scaled and rotated to fit the graphic object (or now its png alter-ego). Now while referenced images such as png’s can be rotated (more precisely, have their angle set) they lose their scaling, reverting to their native size; and rotated images cannot be scaled (why?? Rather a strange restriction. I think the graphical engine for LC is showing its age rather badly). Which somehow led me to think I had to use the bitmap form for snapshots. But if I place and scale the original image, then export that as a png, the exported image should have the required size and so can then be rotated without changing its size. I hope. Neville