From gbojsza at gmail.com Wed Nov 2 12:43:01 2022 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 2 Nov 2022 12:43:01 -0400 Subject: Script Compiler Message-ID: I haven't been following things for a few months and the Script Compiler beta was coming out sometime in the summer. Has this happened? Is there any delivery date for it? regards, Glen From sean at pidigital.co.uk Wed Nov 2 12:54:23 2022 From: sean at pidigital.co.uk (Sean Cole) Date: Wed, 2 Nov 2022 16:54:23 +0000 Subject: Script Compiler In-Reply-To: References: Message-ID: It's always Summer somewhere ;D Sean Cole *Pi Digital Productions Ltd* On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < use-livecode at lists.runrev.com> wrote: > I haven't been following things for a few months and the Script Compiler > beta was coming out sometime in the summer. > > Has this happened? > > Is there any delivery date for it? > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Wed Nov 2 13:51:52 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 2 Nov 2022 13:51:52 -0400 Subject: Script Compiler In-Reply-To: References: Message-ID: <006101d8eee3$cd980ab0$68c82010$@net> Or in my case 5 o'clock somewhere 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 Sean Cole via use-livecode Sent: Wednesday, November 02, 2022 12:54 PM To: How to use LiveCode Cc: Sean Cole Subject: Re: Script Compiler It's always Summer somewhere ;D Sean Cole *Pi Digital Productions Ltd* On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < use-livecode at lists.runrev.com> wrote: > I haven't been following things for a few months and the Script > Compiler beta was coming out sometime in the summer. > > Has this happened? > > Is there any delivery date for it? > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode 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 richmondmathewson at gmail.com Wed Nov 2 13:58:05 2022 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 2 Nov 2022 19:58:05 +0200 Subject: Script Compiler In-Reply-To: <006101d8eee3$cd980ab0$68c82010$@net> References: <006101d8eee3$cd980ab0$68c82010$@net> Message-ID: I am beginning to worry, as over here in Bulgaria, on 2 November it was 28 degrees centigrade at 3pm; far from normal - summer has just not ended yet - I begin to wonder if it ever will. Richmond. On 2.11.22 19:51, Ralph DiMola via use-livecode wrote: > Or in my case 5 o'clock somewhere > > 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 Sean Cole via use-livecode > Sent: Wednesday, November 02, 2022 12:54 PM > To: How to use LiveCode > Cc: Sean Cole > Subject: Re: Script Compiler > > It's always Summer somewhere ;D > > Sean Cole > *Pi Digital Productions Ltd* > > > On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I haven't been following things for a few months and the Script >> Compiler beta was coming out sometime in the summer. >> >> Has this happened? >> >> Is there any delivery date for it? >> >> regards, >> >> Glen >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Nov 2 13:58:20 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 2 Nov 2022 13:58:20 -0400 Subject: Script Compiler In-Reply-To: <006101d8eee3$cd980ab0$68c82010$@net> References: <006101d8eee3$cd980ab0$68c82010$@net> Message-ID: has not happened. next dp of 10 is supposed to be before christmas. i think this will be after that. in the monthly firesides, mark says they're making progress on it. i would guess late 1Q 23 or early 2Q 23. On Wed, Nov 2, 2022 at 1:52 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Or in my case 5 o'clock somewhere > > 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 Sean Cole via use-livecode > Sent: Wednesday, November 02, 2022 12:54 PM > To: How to use LiveCode > Cc: Sean Cole > Subject: Re: Script Compiler > > It's always Summer somewhere ;D > > Sean Cole > *Pi Digital Productions Ltd* > > > On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I haven't been following things for a few months and the Script > > Compiler beta was coming out sometime in the summer. > > > > Has this happened? > > > > Is there any delivery date for it? > > > > regards, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 panos.merakos at livecode.com Fri Nov 4 10:42:05 2022 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 4 Nov 2022 16:42:05 +0200 Subject: [ANN] Release 9.6.9 RC-2 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.9 RC-2. LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the update of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode built apps including "SSL & Encryption" to be submitted successfully to the Google Play Store. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ This maintenance pre-release will break from convention slightly in that there will definitely be an RC-3 with further bug fixes, including some iOS 16 related fixes we're currently working on as well as adding support for building with the latest Xcode and iOS16 SDK. You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From matthias_livecode_150811 at m-r-d.de Fri Nov 4 11:44:07 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 16:44:07 +0100 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: Message-ID: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Hello Panos, regarding the smaller size of standalone on macOS, iOS and Android mentioned at the link you provided... With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. I really hoped that the file size would go down back to a size my app had before unicode support was included/added to LC (was it V7?). But now the size even increased a little bit. Or am i missing something? Regards, Matthias > Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode : > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.9 RC-2. > > LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the update > of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode > built apps including "SSL & Encryption" to be submitted successfully to the > Google Play Store. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ > > This maintenance pre-release will break from convention slightly in that > there will definitely be an RC-3 with further bug fixes, including some iOS > 16 related fixes we're currently working on as well as adding support for > building with the latest Xcode and iOS16 SDK. > > 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 merakosp at gmail.com Fri Nov 4 11:54:27 2022 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Nov 2022 17:54:27 +0200 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: Hello Matthias, What platform is your standalone for? Is it multi-arch? Kind regards, Panos -- On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Panos, > > regarding the smaller size of standalone on macOS, iOS and Android > mentioned at the link you provided... > > With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. > I really hoped that the file size would go down back to a size my app had > before unicode support was included/added to LC (was it V7?). > > But now the size even increased a little bit. > > Or am i missing something? > > Regards, > > Matthias > > > > Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com>: > > > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.9 RC-2. > > > > LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the > update > > of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode > > built apps including "SSL & Encryption" to be submitted successfully to > the > > Google Play Store. > > > > You can find more details on the bug fixes and improvements of this new > > release here: > > > > > https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ > > > > This maintenance pre-release will break from convention slightly in that > > there will definitely be an RC-3 with further bug fixes, including some > iOS > > 16 related fixes we're currently working on as well as adding support for > > building with the latest Xcode and iOS16 SDK. > > > > 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 matthias_livecode_150811 at m-r-d.de Fri Nov 4 12:06:45 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 17:06:45 +0100 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: For testing I just built for macOS Intel. > Am 04.11.2022 um 16:54 schrieb panagiotis m via use-livecode : > > Hello Matthias, > > What platform is your standalone for? Is it multi-arch? > > Kind regards, > Panos > -- > > On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hello Panos, >> >> regarding the smaller size of standalone on macOS, iOS and Android >> mentioned at the link you provided... >> >> With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. >> I really hoped that the file size would go down back to a size my app had >> before unicode support was included/added to LC (was it V7?). >> >> But now the size even increased a little bit. >> >> Or am i missing something? >> >> Regards, >> >> Matthias >> >> >>> Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 9.6.9 RC-2. >>> >>> LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the >> update >>> of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode >>> built apps including "SSL & Encryption" to be submitted successfully to >> the >>> Google Play Store. >>> >>> You can find more details on the bug fixes and improvements of this new >>> release here: >>> >>> >> https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ >>> >>> This maintenance pre-release will break from convention slightly in that >>> there will definitely be an RC-3 with further bug fixes, including some >> iOS >>> 16 related fixes we're currently working on as well as adding support for >>> building with the latest Xcode and iOS16 SDK. >>> >>> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 merakosp at gmail.com Fri Nov 4 12:43:52 2022 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Nov 2022 18:43:52 +0200 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: Hello Matthias, This change affects only multi-arch standalones. These standalones (on macOS, iOS and Android) now will share the unicode related data which is required for the engine to run among the different architecture binaries. So such standalones will be smaller than previous versions. Kind regards, Panos -- On Fri, 4 Nov 2022 at 18:07, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > For testing I just built for macOS Intel. > > > > > Am 04.11.2022 um 16:54 schrieb panagiotis m via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hello Matthias, > > > > What platform is your standalone for? Is it multi-arch? > > > > Kind regards, > > Panos > > -- > > > > On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hello Panos, > >> > >> regarding the smaller size of standalone on macOS, iOS and Android > >> mentioned at the link you provided... > >> > >> With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. > >> I really hoped that the file size would go down back to a size my app > had > >> before unicode support was included/added to LC (was it V7?). > >> > >> But now the size even increased a little bit. > >> > >> Or am i missing something? > >> > >> Regards, > >> > >> Matthias > >> > >> > >>> Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < > >> use-livecode at lists.runrev.com>: > >>> > >>> Dear list members, > >>> > >>> We are pleased to announce the release of LiveCode 9.6.9 RC-2. > >>> > >>> LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the > >> update > >>> of the version of OpenSSL used by the engine to 1.1.1q, allowing > LiveCode > >>> built apps including "SSL & Encryption" to be submitted successfully to > >> the > >>> Google Play Store. > >>> > >>> You can find more details on the bug fixes and improvements of this new > >>> release here: > >>> > >>> > >> > https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ > >>> > >>> This maintenance pre-release will break from convention slightly in > that > >>> there will definitely be an RC-3 with further bug fixes, including some > >> iOS > >>> 16 related fixes we're currently working on as well as adding support > for > >>> building with the latest Xcode and iOS16 SDK. > >>> > >>> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 klaus at major-k.de Fri Nov 4 15:13:15 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Nov 2022 20:13:15 +0100 Subject: screen guides (?) disappeard? Message-ID: Hi friends, when and why did this helpful feature disappear? :-( Don't know the exact term, but I mean this: It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Fri Nov 4 15:15:32 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 20:15:32 +0100 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: Ah, i see. When the file size increased so much after unicode was added to LC it was promised that there would be a solution/fix or so in future that one could create still smaller standalone if unicode is not needed. But this possibility never came into LC. So i thought it was finally added now to 9.6.9 RC2... :( Regards, Matthias > Am 04.11.2022 um 17:43 schrieb panagiotis m via use-livecode : > > Hello Matthias, > > This change affects only multi-arch standalones. These standalones (on > macOS, iOS and Android) now will share the unicode related data which is > required for the engine to run among the different architecture binaries. > So such standalones will be smaller than previous versions. > > Kind regards, > Panos > -- > > > On Fri, 4 Nov 2022 at 18:07, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> For testing I just built for macOS Intel. >> >> >> >>> Am 04.11.2022 um 16:54 schrieb panagiotis m via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hello Matthias, >>> >>> What platform is your standalone for? Is it multi-arch? >>> >>> Kind regards, >>> Panos >>> -- >>> >>> On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hello Panos, >>>> >>>> regarding the smaller size of standalone on macOS, iOS and Android >>>> mentioned at the link you provided... >>>> >>>> With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. >>>> I really hoped that the file size would go down back to a size my app >> had >>>> before unicode support was included/added to LC (was it V7?). >>>> >>>> But now the size even increased a little bit. >>>> >>>> Or am i missing something? >>>> >>>> Regards, >>>> >>>> Matthias >>>> >>>> >>>>> Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < >>>> use-livecode at lists.runrev.com>: >>>>> >>>>> Dear list members, >>>>> >>>>> We are pleased to announce the release of LiveCode 9.6.9 RC-2. >>>>> >>>>> LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the >>>> update >>>>> of the version of OpenSSL used by the engine to 1.1.1q, allowing >> LiveCode >>>>> built apps including "SSL & Encryption" to be submitted successfully to >>>> the >>>>> Google Play Store. >>>>> >>>>> You can find more details on the bug fixes and improvements of this new >>>>> release here: >>>>> >>>>> >>>> >> https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ >>>>> >>>>> This maintenance pre-release will break from convention slightly in >> that >>>>> there will definitely be an RC-3 with further bug fixes, including some >>>> iOS >>>>> 16 related fixes we're currently working on as well as adding support >> for >>>>> building with the latest Xcode and iOS16 SDK. >>>>> >>>>> 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 >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Fri Nov 4 15:22:32 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 20:22:32 +0100 Subject: screen guides (?) disappeard? In-Reply-To: References: Message-ID: Was that ever available in LC <10? Wasn't that only added to 10? But i might be wrong. Regards, Matthias > Am 04.11.2022 um 20:13 schrieb Klaus major-k via use-livecode : > > Hi friends, > > when and why did this helpful feature disappear? :-( > > Don't know the exact term, but I mean this: > > > It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. > > > 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 klaus at major-k.de Fri Nov 4 15:35:59 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Nov 2022 20:35:59 +0100 Subject: screen guides (?) disappeard? In-Reply-To: References: Message-ID: Hi Matthias, > Am 04.11.2022 um 20:22 schrieb matthias rebbe via use-livecode : > > Was that ever available in LC <10? I think so. > Wasn't that only added to 10? I don't think so. > But i might be wrong. Same here! :-D > Regards, > Matthias > >> Am 04.11.2022 um 20:13 schrieb Klaus major-k via use-livecode : >> >> Hi friends, >> >> when and why did this helpful feature disappear? :-( >> >> Don't know the exact term, but I mean this: >> >> >> It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. 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 Fri Nov 4 16:53:48 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Nov 2022 21:53:48 +0100 Subject: screen guides (?) disappeard? In-Reply-To: References: Message-ID: <7567C342-20E9-4B51-BE1A-4338036C0FFA@major-k.de> Oh, well... RTFM, Klaus! 8-) Yep, this is new in LC 10. > Am 04.11.2022 um 20:35 schrieb Klaus major-k via use-livecode : > Hi Matthias, >> Am 04.11.2022 um 20:22 schrieb matthias rebbe via use-livecode : >> Was that ever available in LC <10? > I think so. >> Wasn't that only added to 10? > I don't think so. >> But i might be wrong. > Same here! :-D >> Regards, >> Matthias >> >>> Am 04.11.2022 um 20:13 schrieb Klaus major-k via use-livecode : >>> Hi friends, >>> when and why did this helpful feature disappear? :-( >>> Don't know the exact term, but I mean this: >>> >>> It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From markclark at mac.com Sun Nov 6 21:27:03 2022 From: markclark at mac.com (Mark Clark) Date: Mon, 07 Nov 2022 02:27:03 -0000 Subject: LC Date Conversions post 2035 In-Reply-To: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> I was testing one of the tools I use to handle licensing today and decided to run the series through a few iterations adding 2 years at a time. I noticed that my dates were reverting to the 20th c. Hmm, whoops. After a bit of head scratching I decided it wasn't just my doing. Date conversion sort of works but the output can lead to trouble in the future. I've done a few tests and some lengthy, but if anyone cares to perform the "short test," please do. Change your date to 12/31/2034; then change to 2035. run this: put the date into test convert test to dateitems answer item 1 of test --works in 2034; broken in 2035 Mark From jacque at hyperactivesw.com Mon Nov 7 04:41:07 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Nov 2022 03:41:07 -0600 Subject: LC Date Conversions post 2035 In-Reply-To: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> Message-ID: <18451770b38.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's the centuryCutoff property in action, but it's only supposed to apply to 2-digit years. So I think something is amiss since you supply a 4-digit year. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 6, 2022 8:28:34 PM Mark Clark via use-livecode wrote: > I was testing one of the tools I use to handle licensing today and decided > to run the series through a few iterations adding 2 years at a time. I > noticed that my dates were reverting to the 20th c. Hmm, whoops. > > After a bit of head scratching I decided it wasn't just my doing. > > Date conversion sort of works but the output can lead to trouble in the > future. I've done a few tests and some lengthy, but if anyone cares to > perform the "short test," please do. > > Change your date to 12/31/2034; then change to 2035. > > > > run this: > > put the date into test > convert test to dateitems > > answer item 1 of test --works in 2034; broken in 2035 > > > Mark > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 7 04:43:32 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Nov 2022 03:43:32 -0600 Subject: LC Date Conversions post 2035 In-Reply-To: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> Message-ID: <1845178a948.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's the centuryCutoff in action, but I think something is amiss since it's only supposed to apply to 2-digit years and you supply a 4-digit year. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 6, 2022 8:28:34 PM Mark Clark via use-livecode wrote: > I was testing one of the tools I use to handle licensing today and decided > to run the series through a few iterations adding 2 years at a time. I > noticed that my dates were reverting to the 20th c. Hmm, whoops. > > After a bit of head scratching I decided it wasn't just my doing. > > Date conversion sort of works but the output can lead to trouble in the > future. I've done a few tests and some lengthy, but if anyone cares to > perform the "short test," please do. > > Change your date to 12/31/2034; then change to 2035. > > > > run this: > > put the date into test > convert test to dateitems > > answer item 1 of test --works in 2034; broken in 2035 > > > Mark > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 7 02:49:22 2022 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Mon, 7 Nov 2022 08:49:22 +0100 Subject: LC Date Conversions post 2035 Message-ID: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Had to test this out of curiosity. Indeed, when using 2-digit year, that is the result, as expected and explained in the dictionary entry for centuryCutoff. But how far does the 4-digit conversion work? Here’s what I’ve found: - On Windows 10, it works until year 3000, and stops working on year 3001 (it just returns the input without converting). - On MacOS 12.6 it works at least until year 2.100.000.000 (which is a Sunday… :). By that time we should be expecting LC v14 or something, or maybe that LC rules the galaxy, so I hope that’s sorted by then… :D From markclark at mac.com Mon Nov 7 07:35:44 2022 From: markclark at mac.com (Mark Clark) Date: Mon, 7 Nov 2022 06:35:44 -0600 Subject: LC Date Conversions post 2035 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> <1845178a948.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4525DD1E-3F7E-4141-B9BE-78CBFE57894F@mac.com> Thanks for the quick responses. In this case I did indeed use a 4 digit year as initial input (always), but still managed to shoot myself with a second conversion step. Converted my nicely formed input text to dateitems -- all good. Did my addition for renewal days to item 3. Check. Then I converted that back to date. Uh oh, not check. Should have been long date. If we had it to do all over again I'd say let's make the function date always be the full year and only using the form short date would get you the two digit year. Long date would remain unchanged. Or, ya know, I could just pay better attention! ;) Mark On Nov 7, 2022, at 3:43 AM, J. Landman Gay via use-livecode > wrote: That's the centuryCutoff in action, but I think something is amiss since it's only supposed to apply to 2-digit years and you supply a 4-digit year. From mkoob at rogers.com Mon Nov 7 09:55:31 2022 From: mkoob at rogers.com (Martin Koob) Date: Mon, 7 Nov 2022 09:55:31 -0500 Subject: LC Date Conversions post 2035 In-Reply-To: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> References: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Message-ID: Hi This thread reminded me of some sci-fi show show I was watching which referenced the collapse of society on earth caused by a bug around 2035 or something like that where the computers could not process dates beyond that. I thought this is just a off hand reference to something Y2K. But I did a quick search turned up this: https://en.wikipedia.org/wiki/Year_2038_problem So a signed 32 bit number counting the seconds since Jan 1, 1970 will overflow after 03:14:07 UTC on 19 January 2038. So if it was in referencing that date and time in 2038 that your problem showed up then maybe that was the cause. But that would not explain it if the date things started going wrong was in 2035. But it appears from the tests that Andreas did on Windows 10 and MacOS 12.6 that they have already resolved the Year 2038 problem. Maybe the MacOS is using a 64 bit number now for the Unix time. According to wikipedia "though many modern systems have been upgraded to measure Unix time with signed 64-bit integers which will not overflow for 292 billion years.” Not sure what Window is doing that it is only going to work till 3000. Maybe MicroSoft have decided to EOL Windows then and have plans to release a totally rewritten operating system then. Martin > On Nov 7, 2022, at 2:49 AM, Andreas Bergendal via use-livecode wrote: > > But how far does the 4-digit conversion work? Here’s what I’ve found: > - On Windows 10, it works until year 3000, and stops working on year 3001 (it just returns the input without converting). > - On MacOS 12.6 it works at least until year 2.100.000.000 (which is a Sunday… :). By that time we should be expecting LC v14 or something, or maybe that LC rules the galaxy, so I hope that’s sorted by then… :D From paul at researchware.com Mon Nov 7 10:40:54 2022 From: paul at researchware.com (Paul Dupuis) Date: Mon, 7 Nov 2022 10:40:54 -0500 Subject: LC Date Conversions post 2035 In-Reply-To: References: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Message-ID: <3de42f6b-c232-4422-85d5-500b8ac72937@researchware.com> The results on Windows may also depend upon whether you built a 32 bit standalone or a 64 bit standalone? Or using the 32 or 64 bit version of whatever release of Livecode is being used. On 11/7/2022 9:55 AM, Martin Koob via use-livecode wrote: > Hi > > This thread reminded me of some sci-fi show show I was watching which referenced the collapse of society on earth caused by a bug around 2035 or something like that where the computers could not process dates beyond that. I thought this is just a off hand reference to something Y2K. > > But I did a quick search turned up this: > > https://en.wikipedia.org/wiki/Year_2038_problem > > So a signed 32 bit number counting the seconds since Jan 1, 1970 will overflow after 03:14:07 UTC on 19 January 2038. > > So if it was in referencing that date and time in 2038 that your problem showed up then maybe that was the cause. But that would not explain it if the date things started going wrong was in 2035. > > But it appears from the tests that Andreas did on Windows 10 and MacOS 12.6 that they have already resolved the Year 2038 problem. > > Maybe the MacOS is using a 64 bit number now for the Unix time. According to wikipedia > > "though many modern systems have been upgraded to measure Unix time with signed 64-bit integers which will not overflow for 292 billion years. > > Not sure what Window is doing that it is only going to work till 3000. Maybe MicroSoft have decided to EOL Windows then and have plans to release a totally rewritten operating system then. > > > Martin > > >> On Nov 7, 2022, at 2:49 AM, Andreas Bergendal via use-livecode wrote: >> >> But how far does the 4-digit conversion work? Heres what Ive found: >> - On Windows 10, it works until year 3000, and stops working on year 3001 (it just returns the input without converting). >> - On MacOS 12.6 it works at least until year 2.100.000.000 (which is a Sunday :). By that time we should be expecting LC v14 or something, or maybe that LC rules the galaxy, so I hope thats sorted by then :D > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Mon Nov 7 11:19:28 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 7 Nov 2022 11:19:28 -0500 Subject: LC Date Conversions post 2035 [OT ish] In-Reply-To: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> Message-ID: <003801d8f2c4$b90e8d00$2b2ba700$@net> Interesting... On my Outlook the received date is used to sort emails but on my phone the "date" field in the header is used for both sorting and displaying in the list. So on my phone this email will be at the top until 31 Dec 2034. This just reinforces that the interpretation of internet mail headers is still not consistent. (and maybe should have had a little more thought before the barn doors were opened) 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 Mark Clark via use-livecode Sent: Sunday, December 31, 2034 9:25 PM To: How to use LiveCode Cc: Mark Clark Subject: LC Date Conversions post 2035 I was testing one of the tools I use to handle licensing today and decided to run the series through a few iterations adding 2 years at a time. I noticed that my dates were reverting to the 20th c. Hmm, whoops. After a bit of head scratching I decided it wasn't just my doing. Date conversion sort of works but the output can lead to trouble in the future. I've done a few tests and some lengthy, but if anyone cares to perform the "short test," please do. Change your date to 12/31/2034; then change to 2035. run this: put the date into test convert test to dateitems answer item 1 of test --works in 2034; broken in 2035 Mark _______________________________________________ use-livecode mailing list use-livecode 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 Mon Nov 7 12:36:34 2022 From: klaus at major-k.de (Klaus major-k) Date: Mon, 7 Nov 2022 18:36:34 +0100 Subject: ENTER in scripts Message-ID: <228A53D6-CDF9-4A29-ABB9-88E02AEC4E7E@major-k.de> Hi friends, is it only me or does the ENTER key nothing after hitting while in script editor? Means precompile script resp. compile and close script editor window. Works fine in LC 10 dp 4 but not in LC 9.6.9 RC 2!? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From Bernd.Niggemann at uni-wh.de Mon Nov 7 12:45:11 2022 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Mon, 7 Nov 2022 17:45:11 +0000 Subject: ENTER in scripts Message-ID: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> Klaus wrote is it only me or does the ENTER key nothing after hitting while in script editor? https://quality.livecode.com/show_bug.cgi?id=23999 Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. Kind regards Bernd From klaus at major-k.de Mon Nov 7 13:02:31 2022 From: klaus at major-k.de (Klaus major-k) Date: Mon, 7 Nov 2022 19:02:31 +0100 Subject: ENTER in scripts In-Reply-To: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> Message-ID: <45CA096E-A35C-4DC2-8722-08C5B506170A@major-k.de> Hi Bernd, > Am 07.11.2022 um 18:45 schrieb Niggemann, Bernd via use-livecode : > > Klaus wrote > is it only me or does the ENTER key nothing after hitting while in script > editor? > https://quality.livecode.com/show_bug.cgi?id=23999 > Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. > It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. OK, thank you for confirming and reporting this issue! > Kind regards > Bernd Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From mkoob at rogers.com Mon Nov 7 13:07:17 2022 From: mkoob at rogers.com (Martin Koob) Date: Mon, 7 Nov 2022 13:07:17 -0500 Subject: ENTER in scripts In-Reply-To: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> Message-ID: <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? The tool tip for the ‘APPLY’ button says. ‘compile and apply the current script (Enter, cmd+Return)’ I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. So it looks like it only works when there is no focus on a field or other object. In any case it sounds like a bug. The key combination should work whether the script field has focus or not. Since I have never used that key combo before I am not sure whether that behaviour has changed or not. Martin Koob > On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: > > Klaus wrote > > > is it only me or does the ENTER key nothing after hitting while in script > editor? > > > > https://quality.livecode.com/show_bug.cgi?id=23999 > > Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. > It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 7 14:07:30 2022 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 7 Nov 2022 14:07:30 -0500 Subject: ENTER in scripts In-Reply-To: <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> Message-ID: All. "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. Craig > On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: > > Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? > > The tool tip for the ‘APPLY’ button says. > > ‘compile and apply the current script (Enter, cmd+Return)’ > > I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. > > I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. > > If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. > > If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. > > So it looks like it only works when there is no focus on a field or other object. > > > In any case it sounds like a bug. The key combination should work whether the script field has focus or not. > > > Since I have never used that key combo before I am not sure whether that behaviour has changed or not. > > > Martin Koob > > >> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >> >> Klaus wrote >> >> >> is it only me or does the ENTER key nothing after hitting while in script >> editor? >> >> >> >> https://quality.livecode.com/show_bug.cgi?id=23999 >> >> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >> >> Kind regards >> Bernd >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 rdimola at evergreeninfo.net Mon Nov 7 16:29:20 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 7 Nov 2022 16:29:20 -0500 Subject: ENTER in scripts In-Reply-To: References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> Message-ID: <005601d8f2f0$0289d590$079d80b0$@net> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. THANKS! 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 Craig Newman via use-livecode Sent: Monday, November 07, 2022 2:08 PM To: How to use LiveCode Cc: Craig Newman Subject: Re: ENTER in scripts All. "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. Craig > On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: > > Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? > > The tool tip for the ‘APPLY’ button says. > > ‘compile and apply the current script (Enter, cmd+Return)’ > > I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. > > I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. > > If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. > > If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. > > So it looks like it only works when there is no focus on a field or other object. > > > In any case it sounds like a bug. The key combination should work whether the script field has focus or not. > > > Since I have never used that key combo before I am not sure whether that behaviour has changed or not. > > > Martin Koob > > >> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >> >> Klaus wrote >> >> >> is it only me or does the ENTER key nothing after hitting while in >> script editor? >> >> >> >> https://quality.livecode.com/show_bug.cgi?id=23999 >> >> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >> >> Kind regards >> Bernd >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 gcanyon at gmail.com Mon Nov 7 20:48:38 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 7 Nov 2022 17:48:38 -0800 Subject: Not LC-related, but this will give old-timers a blast of nostalgia Message-ID: https://beyondloom.com/decker/tour.html Interestingly, it works almost identically native and on web. You literally save with an .html extension and it's web-able. The language is *not* HyperTalk. From matthias_livecode_150811 at m-r-d.de Tue Nov 8 04:21:57 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 8 Nov 2022 10:21:57 +0100 Subject: Date formats macOS Ventura Message-ID: <6AB6DFA4-F3CF-4541-8350-6F7D8C525A1E@m-r-d.de> Hello, Mark Clark's post 'LC Date Conversions post 2035 [OT ish]" made me play a little bit with 'the date' in LC. I have macOS Ventura installed and noticed that the system date had a 2 digit year in LC. So i went to the Control Pane to customize the date format. Unfortunately I had to realize that you no longer can set a user-defined date format or number format in Ventura. Here in my German version of Ventura i could only choose between dd.MM.yy and yyy-MM-dd. There is no way to customize the date and number format as it was possible with previous versions of macOS. In my case i am in need of the date format dd.MM.yyyy I contacted the Apple support about this and it seems they even were not aware that this was changed in Ventura. They asked me to do a safe boot, create a new user account and finally they wanted me to reinstall Ventura, which i denied, because i was sure, that this has nothing to do with a faulty installation, but with Ventura itself. Anyway, i searched the whole evening yesterday and found a post in the apple forums https://discussions.apple.com/thread/254316210 which has a workaround for this. In short. Method 1 Either edit the file /Users/matthias/Library/Preferences/.GlobalPreferences.plist and add AppleICUDateFormatStrings 1 ##custom date format## and replace ##custom date format## with you desired format. You can even add more format by increasing the value AppleICUDateFormatStrings 1 ##custom date format## 2 ##custom date forma2t## and so on... After saving you have to logout and login again to get the settings active. Method 2 Another way is to use the shell. Using the shell does not need to logout and login again. defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "1" "dd.MM.yyyy" defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "2" "dd.MM.yy" defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "3" "dd MMMM y" defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "4" "EEEE, d MMMM y" After you have set the date format using method 1 or 2, you will not see any "selected" date format in the region settins in the Control Panel, because the Control Panel does not support that anymore. The "field" is empty. As soon as you select a date format in the Control Panel, your previous settings from method 1 or 2 are overwritten and not used anymore. In this case you have to rerun one of the above steps. Maybe this is of help for one or the other. Regards, Matthias From marksmithhfx at gmail.com Tue Nov 8 05:30:10 2022 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Nov 2022 10:30:10 +0000 Subject: Date formats macOS Ventura In-Reply-To: <6AB6DFA4-F3CF-4541-8350-6F7D8C525A1E@m-r-d.de> References: <6AB6DFA4-F3CF-4541-8350-6F7D8C525A1E@m-r-d.de> Message-ID: <20424188-355E-4BBE-ACED-0D70C2D7A93F@gmail.com> Hi Mattias, That is a terrific bit of sleuthing on your part so thanks for sharing. (and lets hope those options come back in future versions. It’s very strange that they would remove them.) Mark > On 8 Nov 2022, at 9:21 am, matthias rebbe via use-livecode wrote: > > Hello, > > Mark Clark's post 'LC Date Conversions post 2035 [OT ish]" made me play a little bit with 'the date' in LC. > > I have macOS Ventura installed and noticed that the system date had a 2 digit year in LC. > > So i went to the Control Pane to customize the date format. Unfortunately I had to realize that you no longer can set a user-defined date format or number format in Ventura. > > Here in my German version of Ventura i could only choose between dd.MM.yy and yyy-MM-dd. There is no way to customize > the date and number format as it was possible with previous versions of macOS. > In my case i am in need of the date format dd.MM.yyyy > > I contacted the Apple support about this and it seems they even were not aware that this was changed in Ventura. They asked me to do a safe boot, > create a new user account and finally they wanted me to reinstall Ventura, which i denied, because i was sure, that this has nothing to do with a faulty installation, but with Ventura itself. > > Anyway, i searched the whole evening yesterday and found a post in the apple forums > https://discussions.apple.com/thread/254316210 > which has a workaround for this. > > In short. > > Method 1 > Either edit the file /Users/matthias/Library/Preferences/.GlobalPreferences.plist > and add > AppleICUDateFormatStrings > > 1 > ##custom date format## > > > and replace ##custom date format## with you desired format. You can even add more format by increasing the value > > AppleICUDateFormatStrings > > 1 > ##custom date format## > 2 > ##custom date forma2t## > > and so on... > > After saving you have to logout and login again to get the settings active. > > Method 2 > Another way is to use the shell. Using the shell does not need to logout and login again. > > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "1" "dd.MM.yyyy" > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "2" "dd.MM.yy" > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "3" "dd MMMM y" > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "4" "EEEE, d MMMM y" > > > After you have set the date format using method 1 or 2, you will not see any "selected" date format in the region settins in the Control Panel, because the Control Panel does not support that anymore. The "field" is empty. > As soon as you select a date format in the Control Panel, your previous settings from method 1 or 2 are overwritten and not used anymore. In this case you have to rerun one of the above steps. > > Maybe this is of help for one or the other. > > 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 MikeKerner at roadrunner.com Tue Nov 8 09:04:00 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 8 Nov 2022 09:04:00 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <52FA73D4-E568-4D8D-BF5F-FD3A23DE9C2F@andregarzia.com> References: <463275ED-DDD2-449F-B583-56E953B335CB@m-r-d.de> <52FA73D4-E568-4D8D-BF5F-FD3A23DE9C2F@andregarzia.com> Message-ID: any update on ventura? i'm holding off on my dev box. On Wed, Oct 26, 2022 at 7:45 AM Andre Garzia via use-livecode < use-livecode at lists.runrev.com> wrote: > Just to flag a different experience here. I can’t get the simulator to > launch under Ventura on a Macbook Air M1. > > I have Xcode 13.2 installed and have “xcode-select” set to it. The > preferences for mobile development are set correctly and when I try to > launch a mobile app for testing on the simulator it gets stuck in the > “launching app” dialog forever. > > And yes, I tried launching the simulator manually by going inside the > bundle and the simulator is working fine. > > > > > On 25 Oct 2022, at 21:39, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Thanks to all confirming that LC runs fine under Ventura. > > > > I've upgraded now and i am now testing.... > > > > > > Regards, > > Matthias > > > > > >> Am 25.10.2022 um 19:28 schrieb matthias rebbe via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Hi, > >> > >> the topic says it all > >> > >> Does anyone have already experience with Livecode under Ventura? > >> Are there any known problems/bugs or so? > >> > >> 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 MikeKerner at roadrunner.com Tue Nov 8 10:48:23 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 8 Nov 2022 10:48:23 -0500 Subject: megabundle updated Message-ID: fyi, there was an update to the summer megabundle posted, yesterday. -- 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 ahsoftware at sonic.net Tue Nov 8 12:59:52 2022 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 8 Nov 2022 09:59:52 -0800 Subject: megabundle updated In-Reply-To: References: Message-ID: On 11/8/22 07:48, Mike Kerner via use-livecode wrote: > fyi, there was an update to the summer megabundle posted, yesterday. What? With no notification? I assume the Release Notes (heh) will show what's new. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Tue Nov 8 13:24:24 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 8 Nov 2022 13:24:24 -0500 Subject: megabundle updated In-Reply-To: References: Message-ID: SmartCrumbs now exports using LF on Mac. Have not looked at the other pieces yet. Brian Milby brian at milby7.com > On Nov 8, 2022, at 1:01 PM, Mark Wieder via use-livecode wrote: > > On 11/8/22 07:48, Mike Kerner via use-livecode wrote: >> fyi, there was an update to the summer megabundle posted, yesterday. > > What? With no notification? > I assume the Release Notes (heh) will show what's new. > > -- > Mark Wieder > ahsoftware at gmail.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 sean at pidigital.co.uk Tue Nov 8 13:54:58 2022 From: sean at pidigital.co.uk (Sean Cole) Date: Tue, 8 Nov 2022 18:54:58 +0000 Subject: megabundle updated In-Reply-To: References: Message-ID: The zip file is still named 1.0.0 But it is 1.0.27 inside From gcanyon at gmail.com Tue Nov 8 16:22:05 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 8 Nov 2022 13:22:05 -0800 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: I upgraded to Ventura over a week ago. No problems so far with one exception: the OS suggested that I consolidate everything onto iCloud for universal access and backups. I did so. That resulted in oddities like cmd-shift-D now opening iCloud/Desktop instead of something in my home directory. Or more accurately, there *is* a "Desktop" folder in my home directory that appears not to be an alias, but is invisible? Anyway, doing this caused the same thing to happen for the Documents folder. LiveCode apparently can't find the invisible folder, so e.g. it defaulted back to the copy of Navigator included with LiveCode -- which is ancient, no one should use it -- instead of the copy in ~/Documents/My Livecode/Plugins. So far, to fix it I hit cmd-shift-period in the Finder. That shows invisible files. I'm sure there's a way to un-invisible a folder, and hopefully that will fix the issue without causing any issues with what Ventura is trying to do with iCloud. On Tue, Oct 25, 2022 at 10:30 AM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > the topic says it all > > Does anyone have already experience with Livecode under Ventura? > Are there any known problems/bugs or so? > > 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 MikeKerner at roadrunner.com Wed Nov 9 09:36:37 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 9 Nov 2022 09:36:37 -0500 Subject: megabundle updated In-Reply-To: References: Message-ID: >What? With no notification? They have not announced any of the updates, but there have been several. You have to check the release date on the website to tell if there has been an update, and yes, the changelog.txt (but the I think the date for the latest PolyList, for instance, is wrong) On Tue, Nov 8, 2022 at 1:56 PM Sean Cole via use-livecode < use-livecode at lists.runrev.com> wrote: > The zip file is still named 1.0.0 > But it is 1.0.27 inside > _______________________________________________ > use-livecode mailing list > use-livecode 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 gbojsza at gmail.com Wed Nov 9 09:41:00 2022 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 9 Nov 2022 09:41:00 -0500 Subject: YAML support Message-ID: Hello, I was wondering what the current state and recommendations are for working with YAML files and Livecode. The last posts I have found on this was back in 2020 so is anyone currently using Livecode with YAML files. regards, Glen From MikeKerner at roadrunner.com Wed Nov 9 13:11:22 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 9 Nov 2022 13:11:22 -0500 Subject: YAML support In-Reply-To: References: Message-ID: there is a yaml parser built into levure. On Wed, Nov 9, 2022 at 9:42 AM Glen Bojsza via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello, > > I was wondering what the current state and recommendations are for working > with YAML files and Livecode. > > The last posts I have found on this was back in 2020 so is anyone currently > using Livecode with YAML files. > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode 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 gbojsza at gmail.com Wed Nov 9 13:35:11 2022 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 9 Nov 2022 13:35:11 -0500 Subject: YAML support In-Reply-To: References: Message-ID: Thanks I will check it out On Wed, Nov 9, 2022 at 1:13 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > there is a yaml parser built into levure. > > On Wed, Nov 9, 2022 at 9:42 AM Glen Bojsza via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello, > > > > I was wondering what the current state and recommendations are for > working > > with YAML files and Livecode. > > > > The last posts I have found on this was back in 2020 so is anyone > currently > > using Livecode with YAML files. > > > > regards, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 ahsoftware at sonic.net Wed Nov 9 14:19:39 2022 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 9 Nov 2022 11:19:39 -0800 Subject: megabundle updated In-Reply-To: References: Message-ID: On 11/9/22 06:36, Mike Kerner via use-livecode wrote: >> What? With no notification? > They have not announced any of the updates, but there have been several. > You have to check the release date on the website to tell if there has been > an update, and yes, the changelog.txt (but the I think the date for the > latest PolyList, for instance, is wrong) I guess it's just too difficult to change the name of a zip file. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Wed Nov 9 17:14:04 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Nov 2022 22:14:04 +0000 Subject: LC Date Conversions post 2035 In-Reply-To: References: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Message-ID: Probably based on Unix... ;-) Bob S On Nov 7, 2022, at 06:55 , Martin Koob via use-livecode > wrote: Not sure what Window is doing that it is only going to work till 3000. Maybe MicroSoft have decided to EOL Windows then and have plans to release a totally rewritten operating system then. Martin From bobsneidar at iotecdigital.com Wed Nov 9 17:17:34 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Nov 2022 22:17:34 +0000 Subject: ENTER in scripts In-Reply-To: <005601d8f2f0$0289d590$079d80b0$@net> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> Message-ID: <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. Bob S > On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: > > Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. > > THANKS! > > > 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 Craig Newman via use-livecode > Sent: Monday, November 07, 2022 2:08 PM > To: How to use LiveCode > Cc: Craig Newman > Subject: Re: ENTER in scripts > > All. > > "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. > > This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. > > Craig > >> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >> >> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >> >> The tool tip for the ‘APPLY’ button says. >> >> ‘compile and apply the current script (Enter, cmd+Return)’ >> >> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >> >> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >> >> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >> >> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >> >> So it looks like it only works when there is no focus on a field or other object. >> >> >> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >> >> >> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >> >> >> Martin Koob >> >> >>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>> >>> Klaus wrote >>> >>> >>> is it only me or does the ENTER key nothing after hitting while in >>> script editor? >>> >>> >>> >>> https://quality.livecode.com/show_bug.cgi?id=23999 >>> >>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>> >>> Kind regards >>> Bernd >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Wed Nov 9 17:31:08 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Nov 2022 22:31:08 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: FYI I NEVER am going to consolidate all my documents in iCloud. That's like hanging a copy of all my keys in the community center that's open 24 hours a day to everyone. One day someone is going to lock the doors... Bob S On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode > wrote: I upgraded to Ventura over a week ago. No problems so far with one exception: the OS suggested that I consolidate everything onto iCloud for universal access and backups. I did so. That resulted in oddities like cmd-shift-D now opening iCloud/Desktop instead of something in my home directory. Or more accurately, there *is* a "Desktop" folder in my home directory that appears not to be an alias, but is invisible? Anyway, doing this caused the same thing to happen for the Documents folder. LiveCode apparently can't find the invisible folder, so e.g. it defaulted back to the copy of Navigator included with LiveCode -- which is ancient, no one should use it -- instead of the copy in ~/Documents/My Livecode/Plugins. So far, to fix it I hit cmd-shift-period in the Finder. That shows invisible files. I'm sure there's a way to un-invisible a folder, and hopefully that will fix the issue without causing any issues with what Ventura is trying to do with iCloud. From MikeKerner at roadrunner.com Wed Nov 9 18:38:12 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 9 Nov 2022 18:38:12 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: Geoff, that's weird, I don't recall seeing that message on my non-dev machines, but then, again, I was also running the beta on those boxes. On Wed, Nov 9, 2022 at 5:32 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > FYI I NEVER am going to consolidate all my documents in iCloud. That's > like hanging a copy of all my keys in the community center that's open 24 > hours a day to everyone. One day someone is going to lock the doors... > > Bob S > > > On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > I upgraded to Ventura over a week ago. No problems so far with one > exception: the OS suggested that I consolidate everything onto iCloud for > universal access and backups. I did so. That resulted in oddities like > cmd-shift-D now opening iCloud/Desktop instead of something in my home > directory. Or more accurately, there *is* a "Desktop" folder in my home > directory that appears not to be an alias, but is invisible? > > Anyway, doing this caused the same thing to happen for the Documents > folder. LiveCode apparently can't find the invisible folder, so e.g. it > defaulted back to the copy of Navigator included with LiveCode -- which is > ancient, no one should use it -- instead of the copy in ~/Documents/My > Livecode/Plugins. > > So far, to fix it I hit cmd-shift-period in the Finder. That shows > invisible files. I'm sure there's a way to un-invisible a folder, and > hopefully that will fix the issue without causing any issues with what > Ventura is trying to do with iCloud. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jacque at hyperactivesw.com Wed Nov 9 19:59:06 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Nov 2022 18:59:06 -0600 Subject: ENTER in scripts In-Reply-To: <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> Message-ID: <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: > Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I > use tab then cmd-save to format then comile the script. > > Bob S > > >> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode >> wrote: >> >> Well, you learn something exceedingly simple every day. OK I get it. Enter >> is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >> >> THANKS! >> >> >> 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 Craig Newman via use-livecode >> Sent: Monday, November 07, 2022 2:08 PM >> To: How to use LiveCode >> Cc: Craig Newman >> Subject: Re: ENTER in scripts >> >> All. >> >> "Enter" has always worked for me. And focus has always been required to be >> in the SE for it to do so. >> >> This seems logical to me. It would not do for actions specific to certain >> spaces to be affected, or effected, when not in that space. >> >> Craig >> >>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode >>> wrote: >>> >>> Do you mean does pressing the ENTER key does the same thing as clicking the >>> Apply button at the top left of the script editor? >>> >>> The tool tip for the APPLY button says. >>> >>> compile and apply the current script (Enter, cmd+Return) >>> >>> I actually did not know there was a keyboard shortcut for the Apply >>> button. That is a handy tip. >>> >>> I tried it out and at first it did not work. That time the focus was on >>> the script field and the text cursor was there. >>> >>> If I clicked on part of the card outside of the script field then the >>> cmd+Return key combination worked. >>> >>> If I clicked in another object like the find text field or a handler in >>> the list to the left of the text field or on the MatchCase >>> checkbox CMD+Return would not work. >>> >>> So it looks like it only works when there is no focus on a field or other >>> object. >>> >>> >>> In any case it sounds like a bug. The key combination should work whether >>> the script field has focus or not. >>> >>> >>> Since I have never used that key combo before I am not sure whether that >>> behaviour has changed or not. >>> >>> >>> Martin Koob >>> >>> >>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode >>>> wrote: >>>> >>>> Klaus wrote >>>> >>>> >>>> is it only me or does the ENTER key nothing after hitting while in >>>> script editor? >>>> >>>> >>>> >>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>> >>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. >>>> Some of them have some quirks. >>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report >>>> them. >>>> >>>> Kind regards >>>> Bernd >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 mkoob at rogers.com Wed Nov 9 23:18:03 2022 From: mkoob at rogers.com (Martin Koob) Date: Wed, 9 Nov 2022 23:18:03 -0500 Subject: ENTER in scripts In-Reply-To: <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On a Mac Extemed keyboard there is an ENTER Key. Does using it have a different behaviour than using the RETURN key? On my laptop of course there is only an RETURN key. After some searching I did find that Fn + RETURN or cmd + RETURN are equivalent to and ENTER key press. I tried and it does work to apply the script changes, however not while the focus was on a filed in the Script Editor. For me to get the desired behaviour 1. Click on an area on the Script area that is not an object. i.e. the card 2. Press Fn + RETURN or cmd + RETURN and the Script changes would be applied. I am using a Mac Book Pro M1 Max with Mac OS Monterey. Martin > On Nov 9, 2022, at 7:59 PM, J. Landman Gay via use-livecode wrote: > > I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: > >> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >> >> Bob S >> >> >>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>> >>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>> >>> THANKS! >>> >>> >>> 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 Craig Newman via use-livecode >>> Sent: Monday, November 07, 2022 2:08 PM >>> To: How to use LiveCode >>> Cc: Craig Newman >>> Subject: Re: ENTER in scripts >>> >>> All. >>> >>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>> >>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>> >>> Craig >>> >>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>> >>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>> >>>> The tool tip for the ‘APPLY’ button says. >>>> >>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>> >>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>> >>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>> >>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>> >>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>> >>>> So it looks like it only works when there is no focus on a field or other object. >>>> >>>> >>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>> >>>> >>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>> >>>> >>>> Martin Koob >>>> >>>> >>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>> >>>>> Klaus wrote >>>>> >>>>> >>>>> is it only me or does the ENTER key nothing after hitting while in >>>>> script editor? >>>>> >>>>> >>>>> >>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>> >>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>> >>>>> Kind regards >>>>> Bernd >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 rdimola at evergreeninfo.net Thu Nov 10 10:00:51 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 10 Nov 2022 10:00:51 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: <001001d8f515$3ce9c020$b6bd4060$@net> +1 Or stop you car from charging. 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 Bob Sneidar via use-livecode Sent: Wednesday, November 09, 2022 5:31 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Anyone any experience with Livecode under Ventura? FYI I NEVER am going to consolidate all my documents in iCloud. That's like hanging a copy of all my keys in the community center that's open 24 hours a day to everyone. One day someone is going to lock the doors... Bob S On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode > wrote: I upgraded to Ventura over a week ago. No problems so far with one exception: the OS suggested that I consolidate everything onto iCloud for universal access and backups. I did so. That resulted in oddities like cmd-shift-D now opening iCloud/Desktop instead of something in my home directory. Or more accurately, there *is* a "Desktop" folder in my home directory that appears not to be an alias, but is invisible? Anyway, doing this caused the same thing to happen for the Documents folder. LiveCode apparently can't find the invisible folder, so e.g. it defaulted back to the copy of Navigator included with LiveCode -- which is ancient, no one should use it -- instead of the copy in ~/Documents/My Livecode/Plugins. So far, to fix it I hit cmd-shift-period in the Finder. That shows invisible files. I'm sure there's a way to un-invisible a folder, and hopefully that will fix the issue without causing any issues with what Ventura is trying to do with iCloud. _______________________________________________ use-livecode mailing list use-livecode 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 Nov 10 10:58:18 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 15:58:18 +0000 Subject: ENTER in scripts In-Reply-To: <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> It does nothing, but to be fair I am using a Windows xternal keyboard (if there is such a thing these days,) on a MacOS laptop, and both "Enter" keys are called, "Enter." Neither does anything in terms of formatting the SE or compiling. It works for me though. Bob S > On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode wrote: > > I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: > >> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >> >> Bob S >> >> >>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>> >>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>> >>> THANKS! >>> >>> >>> 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 Craig Newman via use-livecode >>> Sent: Monday, November 07, 2022 2:08 PM >>> To: How to use LiveCode >>> Cc: Craig Newman >>> Subject: Re: ENTER in scripts >>> >>> All. >>> >>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>> >>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>> >>> Craig >>> >>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>> >>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>> >>>> The tool tip for the ‘APPLY’ button says. >>>> >>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>> >>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>> >>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>> >>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>> >>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>> >>>> So it looks like it only works when there is no focus on a field or other object. >>>> >>>> >>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>> >>>> >>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>> >>>> >>>> Martin Koob >>>> >>>> >>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>> >>>>> Klaus wrote >>>>> >>>>> >>>>> is it only me or does the ENTER key nothing after hitting while in >>>>> script editor? >>>>> >>>>> >>>>> >>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>> >>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>> >>>>> Kind regards >>>>> Bernd >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 bobsneidar at iotecdigital.com Thu Nov 10 10:59:31 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 15:59:31 +0000 Subject: ENTER in scripts In-Reply-To: References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <753F7103-1327-4795-996B-E278E6DF091B@iotecdigital.com> Neither of these work for me. Bob S > On Nov 9, 2022, at 20:18 , Martin Koob via use-livecode wrote: > > On a Mac Extemed keyboard there is an ENTER Key. Does using it have a different behaviour than using the RETURN key? > > On my laptop of course there is only an RETURN key. After some searching I did find that Fn + RETURN or cmd + RETURN are equivalent to and ENTER key press. > > I tried and it does work to apply the script changes, however not while the focus was on a filed in the Script Editor. > > For me to get the desired behaviour > > 1. Click on an area on the Script area that is not an object. i.e. the card > 2. Press Fn + RETURN or cmd + RETURN and the Script changes would be applied. > > I am using a Mac Book Pro M1 Max with Mac OS Monterey. > > Martin > >> On Nov 9, 2022, at 7:59 PM, J. Landman Gay via use-livecode wrote: >> >> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: >> >>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >>> >>> Bob S >>> >>> >>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>>> >>>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>> >>>> THANKS! >>>> >>>> >>>> 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 Craig Newman via use-livecode >>>> Sent: Monday, November 07, 2022 2:08 PM >>>> To: How to use LiveCode >>>> Cc: Craig Newman >>>> Subject: Re: ENTER in scripts >>>> >>>> All. >>>> >>>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>>> >>>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>>> >>>> Craig >>>> >>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>>> >>>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>>> >>>>> The tool tip for the ‘APPLY’ button says. >>>>> >>>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>>> >>>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>>> >>>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>>> >>>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>>> >>>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>>> >>>>> So it looks like it only works when there is no focus on a field or other object. >>>>> >>>>> >>>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>>> >>>>> >>>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>>> >>>>> >>>>> Martin Koob >>>>> >>>>> >>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>>> >>>>>> Klaus wrote >>>>>> >>>>>> >>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>> script editor? >>>>>> >>>>>> >>>>>> >>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>> >>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>>> >>>>>> Kind regards >>>>>> Bernd >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Nov 10 12:17:06 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Nov 2022 11:17:06 -0600 Subject: ENTER in scripts In-Reply-To: <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> Message-ID: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I wonder if you could remap one to send the Mac key code for Enter. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 10, 2022 10:00:28 AM Bob Sneidar via use-livecode wrote: > It does nothing, but to be fair I am using a Windows xternal keyboard (if > there is such a thing these days,) on a MacOS laptop, and both "Enter" keys > are called, "Enter." Neither does anything in terms of formatting the SE or > compiling. It works for me though. > > Bob S > > >> On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode >> wrote: >> >> I'm on a Mac and I've been using the enter key to compile for years (back >> to MetaCard I think.) Are you sure it does nothing? Watch the dot in the >> script tab and see if it turns green. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode >> wrote: >> >>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I >>> use tab then cmd-save to format then comile the script. >>> >>> Bob S >>> >>> >>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode >>>> wrote: >>>> >>>> Well, you learn something exceedingly simple every day. OK I get it. Enter >>>> is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>> >>>> THANKS! >>>> >>>> >>>> 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 Craig Newman via use-livecode >>>> Sent: Monday, November 07, 2022 2:08 PM >>>> To: How to use LiveCode >>>> Cc: Craig Newman >>>> Subject: Re: ENTER in scripts >>>> >>>> All. >>>> >>>> "Enter" has always worked for me. And focus has always been required to be >>>> in the SE for it to do so. >>>> >>>> This seems logical to me. It would not do for actions specific to certain >>>> spaces to be affected, or effected, when not in that space. >>>> >>>> Craig >>>> >>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode >>>>> wrote: >>>>> >>>>> Do you mean does pressing the ENTER key does the same thing as clicking the >>>>> Apply button at the top left of the script editor? >>>>> >>>>> The tool tip for the APPLY button says. >>>>> >>>>> compile and apply the current script (Enter, cmd+Return) >>>>> >>>>> I actually did not know there was a keyboard shortcut for the Apply >>>>> button. That is a handy tip. >>>>> >>>>> I tried it out and at first it did not work. That time the focus was on >>>>> the script field and the text cursor was there. >>>>> >>>>> If I clicked on part of the card outside of the script field then the >>>>> cmd+Return key combination worked. >>>>> >>>>> If I clicked in another object like the find text field or a handler in >>>>> the list to the left of the text field or on the MatchCase >>>>> checkbox CMD+Return would not work. >>>>> >>>>> So it looks like it only works when there is no focus on a field or other >>>>> object. >>>>> >>>>> >>>>> In any case it sounds like a bug. The key combination should work whether >>>>> the script field has focus or not. >>>>> >>>>> >>>>> Since I have never used that key combo before I am not sure whether that >>>>> behaviour has changed or not. >>>>> >>>>> >>>>> Martin Koob >>>>> >>>>> >>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode >>>>>> wrote: >>>>>> >>>>>> Klaus wrote >>>>>> >>>>>> >>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>> script editor? >>>>>> >>>>>> >>>>>> >>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>> >>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. >>>>>> Some of them have some quirks. >>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report >>>>>> them. >>>>>> >>>>>> Kind regards >>>>>> Bernd >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode 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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Thu Nov 10 13:05:02 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 10 Nov 2022 13:05:02 -0500 Subject: Ask Password Cursor Oddity In-Reply-To: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <003801d8f52e$f8474270$e8d5c750$@net> Riddle me this.. I was building an Android Production app using 9.6.9 rc2 on Win 10. I kept getting errors that the keystore passwords not correct. I tried it 10 times until I noticed that when typing in the keystore and the private passwords when you type the first character the cursor is before not after the first "*". So if you type "test123" the data is entered as "est123T". I tried this in the message box (ask password clear "Please provide the keystore password") the form used the in IDE. Same error. But if you click into the answer's entry field before typing it works as expected. It works correctly in 9.6.7. The "clear" option seems to allow typing without having to click into the field. Can anyone verify if they see the same thing? I also see it on Mac Big Sur. If so I will enter a QCC regression report. Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From gcanyon at gmail.com Thu Nov 10 13:40:52 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 10 Nov 2022 10:40:52 -0800 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: I regard it as a choice of risks -- I'm lazy about backups since...I was going to say the '90s, but really it's forever. Thankfully I've never had a drive go bad, but I have written several novels, and I now have none of them except as memories: one went away with an iMac hard drive I didn't copy properly when I retired it, one went away with a zip drive, one went away with 3 inch floppies, and one went away with 5 inch floppies (and one went away with greenbar paper). I think my odds are better using a cloud service than my own efforts at maintaining things. gc On Wed, Nov 9, 2022 at 2:32 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > FYI I NEVER am going to consolidate all my documents in iCloud. That's > like hanging a copy of all my keys in the community center that's open 24 > hours a day to everyone. One day someone is going to lock the doors... > > Bob S > > > On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > I upgraded to Ventura over a week ago. No problems so far with one > exception: the OS suggested that I consolidate everything onto iCloud for > universal access and backups. I did so. That resulted in oddities like > cmd-shift-D now opening iCloud/Desktop instead of something in my home > directory. Or more accurately, there *is* a "Desktop" folder in my home > directory that appears not to be an alias, but is invisible? > > Anyway, doing this caused the same thing to happen for the Documents > folder. LiveCode apparently can't find the invisible folder, so e.g. it > defaulted back to the copy of Navigator included with LiveCode -- which is > ancient, no one should use it -- instead of the copy in ~/Documents/My > Livecode/Plugins. > > So far, to fix it I hit cmd-shift-period in the Finder. That shows > invisible files. I'm sure there's a way to un-invisible a folder, and > hopefully that will fix the issue without causing any issues with what > Ventura is trying to do with iCloud. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 10 13:51:23 2022 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 10 Nov 2022 13:51:23 -0500 Subject: ENTER in scripts In-Reply-To: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0A7F423A-2144-445F-9C2B-5F14C6F4C279@starfirelighting.com> Hmmm. Odd we have so many different actions. I am on a Mac, with an Apple keyboard. Enter works as advertised. I have a MacAlly keyboard, and Enter works there as well. Focus, as I mentioned and expect, must been the SE. Craig > On Nov 10, 2022, at 12:17 PM, J. Landman Gay via use-livecode wrote: > > I wonder if you could remap one to send the Mac key code for Enter. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 10, 2022 10:00:28 AM Bob Sneidar via use-livecode wrote: > >> It does nothing, but to be fair I am using a Windows xternal keyboard (if there is such a thing these days,) on a MacOS laptop, and both "Enter" keys are called, "Enter." Neither does anything in terms of formatting the SE or compiling. It works for me though. >> >> Bob S >> >> >>> On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode wrote: >>> >>> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: >>> >>>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >>>> >>>> Bob S >>>> >>>> >>>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>>>> >>>>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>>> >>>>> THANKS! >>>>> >>>>> >>>>> 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 Craig Newman via use-livecode >>>>> Sent: Monday, November 07, 2022 2:08 PM >>>>> To: How to use LiveCode >>>>> Cc: Craig Newman >>>>> Subject: Re: ENTER in scripts >>>>> >>>>> All. >>>>> >>>>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>>>> >>>>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>>>> >>>>> Craig >>>>> >>>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>>>> >>>>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>>>> >>>>>> The tool tip for the ‘APPLY’ button says. >>>>>> >>>>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>>>> >>>>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>>>> >>>>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>>>> >>>>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>>>> >>>>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>>>> >>>>>> So it looks like it only works when there is no focus on a field or other object. >>>>>> >>>>>> >>>>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>>>> >>>>>> >>>>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>>>> >>>>>> >>>>>> Martin Koob >>>>>> >>>>>> >>>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>>>> >>>>>>> Klaus wrote >>>>>>> >>>>>>> >>>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>>> script editor? >>>>>>> >>>>>>> >>>>>>> >>>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>>> >>>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>>>> >>>>>>> Kind regards >>>>>>> Bernd >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 marksmithhfx at gmail.com Thu Nov 10 13:55:53 2022 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 10 Nov 2022 18:55:53 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: I tend towards lazy myself, backing up only after the umpteenth prompt from Time machine that I haven’t backed up in XX months. But I am also the anxious type so if I am working on something important (like a paper, a presentation or a program) I’ll just periodically mail myself a copy. That way, if I lose a disk, I can just retrieve copies from whatever mail server I am using. I have on occasion had to do just that, particularly after I retired and failed to backup everything properly before I left my employer. Mark > On 10 Nov 2022, at 6:40 pm, Geoff Canyon via use-livecode wrote: > > I regard it as a choice of risks -- I'm lazy about backups since...I was > going to say the '90s, but really it's forever. Thankfully I've never had a > drive go bad, but I have written several novels, and I now have none of > them except as memories: one went away with an iMac hard drive I didn't > copy properly when I retired it, one went away with a zip drive, one went > away with 3 inch floppies, and one went away with 5 inch floppies (and one > went away with greenbar paper). I think my odds are better using a cloud > service than my own efforts at maintaining things. > > gc > > On Wed, Nov 9, 2022 at 2:32 PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> FYI I NEVER am going to consolidate all my documents in iCloud. That's >> like hanging a copy of all my keys in the community center that's open 24 >> hours a day to everyone. One day someone is going to lock the doors... >> >> Bob S >> >> >> On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode < >> use-livecode at lists.runrev.com> >> wrote: >> >> I upgraded to Ventura over a week ago. No problems so far with one >> exception: the OS suggested that I consolidate everything onto iCloud for >> universal access and backups. I did so. That resulted in oddities like >> cmd-shift-D now opening iCloud/Desktop instead of something in my home >> directory. Or more accurately, there *is* a "Desktop" folder in my home >> directory that appears not to be an alias, but is invisible? >> >> Anyway, doing this caused the same thing to happen for the Documents >> folder. LiveCode apparently can't find the invisible folder, so e.g. it >> defaulted back to the copy of Navigator included with LiveCode -- which is >> ancient, no one should use it -- instead of the copy in ~/Documents/My >> Livecode/Plugins. >> >> So far, to fix it I hit cmd-shift-period in the Finder. That shows >> invisible files. I'm sure there's a way to un-invisible a folder, and >> hopefully that will fix the issue without causing any issues with what >> Ventura is trying to do with iCloud. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 ambassador at fourthworld.com Thu Nov 10 15:34:38 2022 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Nov 2022 12:34:38 -0800 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: <9b533f1f-f094-509f-b3f5-0dc7d13c67f4@fourthworld.com> Portable drives are just $50/terabyte. Time is irreplaceable. -- Richard Gaskin Fourth World Systems Mark Smith wrote: > I tend towards lazy myself, backing up only after the umpteenth prompt > from Time machine that I havent backed up in XX months. But I am also > the anxious type so if I am working on something important (like a > paper, a presentation or a program) Ill just periodically mail myself > a copy. That way, if I lose a disk, I can just retrieve copies from > whatever mail server I am using. From bobsneidar at iotecdigital.com Thu Nov 10 18:32:28 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 23:32:28 +0000 Subject: ENTER in scripts In-Reply-To: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <46F246EF-931D-4368-8572-8F42362E076B@iotecdigital.com> I s'pect Windows Keyboards do not send an enter. Bob S > On Nov 10, 2022, at 09:17 , J. Landman Gay via use-livecode wrote: > > I wonder if you could remap one to send the Mac key code for Enter. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 10, 2022 10:00:28 AM Bob Sneidar via use-livecode wrote: > >> It does nothing, but to be fair I am using a Windows xternal keyboard (if there is such a thing these days,) on a MacOS laptop, and both "Enter" keys are called, "Enter." Neither does anything in terms of formatting the SE or compiling. It works for me though. >> >> Bob S >> >> >>> On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode wrote: >>> >>> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: >>> >>>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >>>> >>>> Bob S >>>> >>>> >>>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>>>> >>>>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>>> >>>>> THANKS! >>>>> >>>>> >>>>> 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 Craig Newman via use-livecode >>>>> Sent: Monday, November 07, 2022 2:08 PM >>>>> To: How to use LiveCode >>>>> Cc: Craig Newman >>>>> Subject: Re: ENTER in scripts >>>>> >>>>> All. >>>>> >>>>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>>>> >>>>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>>>> >>>>> Craig >>>>> >>>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>>>> >>>>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>>>> >>>>>> The tool tip for the ‘APPLY’ button says. >>>>>> >>>>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>>>> >>>>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>>>> >>>>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>>>> >>>>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>>>> >>>>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>>>> >>>>>> So it looks like it only works when there is no focus on a field or other object. >>>>>> >>>>>> >>>>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>>>> >>>>>> >>>>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>>>> >>>>>> >>>>>> Martin Koob >>>>>> >>>>>> >>>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>>>> >>>>>>> Klaus wrote >>>>>>> >>>>>>> >>>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>>> script editor? >>>>>>> >>>>>>> >>>>>>> >>>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>>> >>>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>>>> >>>>>>> Kind regards >>>>>>> Bernd >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Thu Nov 10 18:35:37 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 23:35:37 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: Don't get me wrong, I keep some of my documents in the cloud, especially the important ones, but the conversation was abount having iCloud be the primary storage for ALL your documents. I lost a ton of really good photos when they went from .MAC to me.com. True I was warned, but was not in a position at the time to download all my photo library. Bob S On Nov 10, 2022, at 10:40 , Geoff Canyon via use-livecode > wrote: I regard it as a choice of risks -- I'm lazy about backups since...I was going to say the '90s, but really it's forever. Thankfully I've never had a drive go bad, but I have written several novels, and I now have none of them except as memories: one went away with an iMac hard drive I didn't copy properly when I retired it, one went away with a zip drive, one went away with 3 inch floppies, and one went away with 5 inch floppies (and one went away with greenbar paper). I think my odds are better using a cloud service than my own efforts at maintaining things. gc From irog at mac.com Thu Nov 10 21:28:57 2022 From: irog at mac.com (Roger Guay) Date: Thu, 10 Nov 2022 18:28:57 -0800 Subject: Return of Hilited text of Popup Menu items Message-ID: Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? Thanks for your help! Roger From klaus at major-k.de Fri Nov 11 06:31:55 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Nov 2022 12:31:55 +0100 Subject: Easy Android adaptive icons In-Reply-To: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> Message-ID: <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Hi all, now that I have finally finished my stacks, I will be going to publish the apps in the next time in the Apple Appstore and Google Play store. Yeah! :-) However I still have to learn a lot about "mobile" stuff, like below, hope someone can help me out. > Am 18.10.2022 um 23:19 schrieb J. Landman Gay via use-livecode : > > For anyone struggling with Android adaptive icons, or who like me doesn't want to deal with Android Studio just to make a single icon, I found this: > > https://easyappicon.com/ > > It does work and is quick and easy. The Android icons are all placed in a single folder and I think you can probably just point the Standalone Settings to that folder, though I renamed it "res" in case LC is looking for the Android Studio naming convention. > > It also makes iOS icons which seem to come along automatically. Those are all in a second folder which you can ignore, trash, or use for cross platform development. > > I tried several different online icon utilities and this one worked best for me. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Yep, I also used this for my icons. But now I have no idea what icon to set for what iDevice in LC? See here: Prerendered icon? Que? 8-) Any hints or advice very welcome, thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From scott at elementarysoftware.com Fri Nov 11 08:56:09 2022 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 11 Nov 2022 05:56:09 -0800 Subject: Easy Android adaptive icons In-Reply-To: <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Message-ID: > But now I have no idea what icon to set for what iDevice in LC? If you hover over the […] (used for selecting the file path) you will see a tool tip with the dimensions. (Or select the incorrect size and I believe it will warn you about what size it is expecting.) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ > On Nov 11, 2022, at 3:31 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > now that I have finally finished my stacks, I will be going to publish > the apps in the next time in the Apple Appstore and Google Play store. > Yeah! :-) > > However I still have to learn a lot about "mobile" stuff, like below, hope > someone can help me out. > >> Am 18.10.2022 um 23:19 schrieb J. Landman Gay via use-livecode : >> >> For anyone struggling with Android adaptive icons, or who like me doesn't want to deal with Android Studio just to make a single icon, I found this: >> >> https://easyappicon.com/ >> >> It does work and is quick and easy. The Android icons are all placed in a single folder and I think you can probably just point the Standalone Settings to that folder, though I renamed it "res" in case LC is looking for the Android Studio naming convention. >> >> It also makes iOS icons which seem to come along automatically. Those are all in a second folder which you can ignore, trash, or use for cross platform development. >> >> I tried several different online icon utilities and this one worked best for me. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > Yep, I also used this for my icons. > > But now I have no idea what icon to set for what iDevice in LC? See here: > > Prerendered icon? Que? 8-) > > Any hints or advice very welcome, thank you. > > > 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 craig at starfirelighting.com Fri Nov 11 08:57:13 2022 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Nov 2022 08:57:13 -0500 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: Message-ID: Roger. No messages are sent while a menu is open. Further, a “mouseMove” handler in, say, the card script stops receiving messages while that menu is open. Such a gadget, likely drawn by the underlying OS, seems to be blocking. So, I think, no. Craig > On Nov 10, 2022, at 9:28 PM, Roger Guay via use-livecode wrote: > > Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? > > Thanks for your help! > > 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 klaus at major-k.de Fri Nov 11 09:15:04 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Nov 2022 15:15:04 +0100 Subject: Easy Android adaptive icons In-Reply-To: References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Message-ID: <26980F84-BA87-4BC6-9285-4B7ECDE25CB2@major-k.de> Hi Scott, > Am 11.11.2022 um 14:56 schrieb scott--- via use-livecode : > >> But now I have no idea what icon to set for what iDevice in LC? > If you hover over the […] (used for selecting the file path) you will see a tool tip with the dimensions. (Or select the incorrect size and I believe it will warn you about what size it is expecting.) aha, thank you very much, will do that! > -- > Scott Morrow Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From irog at mac.com Fri Nov 11 09:55:52 2022 From: irog at mac.com (Roger Guay) Date: Fri, 11 Nov 2022 06:55:52 -0800 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: Message-ID: <5DE5F998-7C72-4FC4-A42F-3EFA6EAB22BF@mac.com> Thanks very much Craig. Pretty much what I expected. Fortunately, I’ve discovered I don’t need it, so I’m good! Roger > On Nov 11, 2022, at 5:57 AM, Craig Newman via use-livecode wrote: > > Roger. > > No messages are sent while a menu is open. Further, a “mouseMove” handler in, say, the card script stops receiving messages while that menu is open. > > Such a gadget, likely drawn by the underlying OS, seems to be blocking. So, I think, no. > > Craig > >> On Nov 10, 2022, at 9:28 PM, Roger Guay via use-livecode wrote: >> >> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >> >> Thanks for your help! >> >> 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 From bobsneidar at iotecdigital.com Fri Nov 11 11:11:32 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 16:11:32 +0000 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: Message-ID: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) Bob S On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? Thanks for your help! Roger From irog at mac.com Fri Nov 11 11:19:44 2022 From: irog at mac.com (Roger Guay) Date: Fri, 11 Nov 2022 08:19:44 -0800 Subject: Return of Hilited text of Popup Menu items In-Reply-To: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> Message-ID: <9F8E0523-2980-4B89-BCF3-3B7538E92FCE@mac.com> Thanks for corecting me, I shall never forgit it! Roger > On Nov 11, 2022, at 8:11 AM, Bob Sneidar via use-livecode wrote: > > A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) > > Bob S > > > On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: > > Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? > > Thanks for your help! > > 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 Nov 11 11:34:47 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 16:34:47 +0000 Subject: Nested Datagrid Behaviors is implemented! Message-ID: <62E232E2-2D6D-4D01-9BA0-3E560A2A964A@iotecdigital.com> Hi all. For those of you who were interested in nested datagrid behaviors, it has now been implemented in LC 9.6.9 (rc2). I can confirm it works as advertised. I use to have to replace one of the script only stacks in LC with a modified one of my own, but now no more. Thanks LC Dev team, you are greatly appreciated! Bob S From craig at starfirelighting.com Fri Nov 11 11:56:13 2022 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Nov 2022 11:56:13 -0500 Subject: Return of Hilited text of Popup Menu items In-Reply-To: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> Message-ID: And a corsair is what a pirate aspires to. Craig > On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: > > A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) > > Bob S > > > On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: > > Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? > > Thanks for your help! > > 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 Nov 11 12:03:05 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 17:03:05 +0000 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> Message-ID: <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> Or the greatest WWII fighter plane ever made. > On Nov 11, 2022, at 08:56 , Craig Newman via use-livecode wrote: > > And a corsair is what a pirate aspires to. > > Craig > >> On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: >> >> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) >> >> Bob S >> >> >> On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: >> >> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >> >> Thanks for your help! >> >> 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 From craig at starfirelighting.com Fri Nov 11 12:15:06 2022 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Nov 2022 12:15:06 -0500 Subject: Return of Hilited text of Popup Menu items In-Reply-To: <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> Message-ID: Nope Grumman F6F. > On Nov 11, 2022, at 12:03 PM, Bob Sneidar via use-livecode wrote: > > Or the greatest WWII fighter plane ever made. > >> On Nov 11, 2022, at 08:56 , Craig Newman via use-livecode wrote: >> >> And a corsair is what a pirate aspires to. >> >> Craig >> >>> On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: >>> >>> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) >>> >>> Bob S >>> >>> >>> On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: >>> >>> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >>> >>> Thanks for your help! >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 11 12:25:25 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 17:25:25 +0000 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> Message-ID: <5476762B-F5E3-4D06-A5B4-854E6EC5445B@iotecdigital.com> If they mounted 4 20mm cannons on the Hellcat, I might agree. Bob S > On Nov 11, 2022, at 09:15 , Craig Newman via use-livecode wrote: > > Nope > > Grumman F6F. > >> On Nov 11, 2022, at 12:03 PM, Bob Sneidar via use-livecode wrote: >> >> Or the greatest WWII fighter plane ever made. >> >>> On Nov 11, 2022, at 08:56 , Craig Newman via use-livecode wrote: >>> >>> And a corsair is what a pirate aspires to. >>> >>> Craig >>> >>>> On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) >>>> >>>> Bob S >>>> >>>> >>>> On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: >>>> >>>> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >>>> >>>> Thanks for your help! >>>> >>>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Nov 11 16:45:33 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Nov 2022 15:45:33 -0600 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: > I think my odds are better using a cloud > service than my own efforts at maintaining things. I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. I haven't lost any data since the original catastrophe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Nov 11 16:48:24 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Nov 2022 15:48:24 -0600 Subject: Easy Android adaptive icons In-Reply-To: <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Message-ID: <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> On 11/11/22 5:31 AM, Klaus major-k via use-livecode wrote: > But now I have no idea what icon to set for what iDevice in LC? See here: > > Prerendered icon? Que? 8-) You don't need prerendered if you are just using a basic image. Apple will render the icon for you. If you hover the mouse over the "..." next to the icon path field, it will tell you the size it expects for that icon. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Sat Nov 12 05:33:36 2022 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Nov 2022 11:33:36 +0100 Subject: Easy Android adaptive icons In-Reply-To: <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> Message-ID: Hi Jacque, > Am 11.11.2022 um 22:48 schrieb J. Landman Gay via use-livecode : > > On 11/11/22 5:31 AM, Klaus major-k via use-livecode wrote: >> But now I have no idea what icon to set for what iDevice in LC? See here: >> >> Prerendered icon? Que? 8-) > > You don't need prerendered if you are just using a basic image. ah, so prerendered means an ".icns" file, thank you. > Apple will render the icon for you. > If you hover the mouse over the "..." next to the icon path field, it will tell you the size it expects for that icon. OK, merci, mon amie! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Sat Nov 12 13:24:04 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Nov 2022 12:24:04 -0600 Subject: Easy Android adaptive icons In-Reply-To: References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> Message-ID: <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Not quite. Prerendered means that you have already added glow and shine to the icons. If you want Apple to render the icon according to the style of the phone's current OS, leave prerendered unchecked and Apple will draw the shine effect for you. IPhones don't use .icns files. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 12, 2022 4:35:13 AM Klaus major-k via use-livecode wrote: > > ah, so prerendered means an ".icns" file, thank you. From klaus at major-k.de Sat Nov 12 14:08:00 2022 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Nov 2022 20:08:00 +0100 Subject: Easy Android adaptive icons In-Reply-To: <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque, > Am 12.11.2022 um 19:24 schrieb J. Landman Gay via use-livecode : > > Not quite. Prerendered means that you have already added glow and shine to the icons. If you want Apple to render the icon according to the style of the phone's current OS, leave prerendered unchecked and Apple will draw the shine effect for you. IPhones don't use .icns files. AHA! Thanks for the info. I always learn something new. :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 12, 2022 4:35:13 AM Klaus major-k via use-livecode wrote: >> >> ah, so prerendered means an ".icns" file, thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Sat Nov 12 17:33:30 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Nov 2022 16:33:30 -0600 Subject: About that Enter key Message-ID: Enter does not trigger and doesn't compile for me in the script editor on LC 9.6.9 rc 2. It works in other versions. If you're not having any luck with it, try an older version. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From marksmithhfx at gmail.com Sun Nov 13 03:02:41 2022 From: marksmithhfx at gmail.com (Mark Smith) Date: Sun, 13 Nov 2022 08:02:41 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> Message-ID: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode wrote: > > On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >> I think my odds are better using a cloud >> service than my own efforts at maintaining things. > > I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. > > I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. > > The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. > > BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. > > I haven't lost any data since the original catastrophe. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 jacque at hyperactivesw.com Sun Nov 13 14:22:08 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Nov 2022 13:22:08 -0600 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: <18472712300.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> There is no scheduling, it's all automatic. Time Machine backs up once an hour, then combines the back ups once a day, then once a week, then once a month. When the disk is full it deletes the oldest to make room. With a multi-terrabyte drive that doesn't happen often. It alternates each backup every hour between my two drives. You can add any number of drives and it will rotate every hour among them. The UI combines all the backups into a single visual report so you don't need to figure out which drive stores it. If you don't like the visual display you can use the Finder and grab any backup from there. For convenience, TM creates an alias to the most recent backup on each drive. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 13, 2022 2:05:04 AM Mark Smith via use-livecode wrote: > Brilliant. Im inspired. (I presume you can program Time Machine to use > drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > >> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode >> wrote: >> >> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >>> I think my odds are better using a cloud >>> service than my own efforts at maintaining things. >> >> I do both local and cloud backups. If you haven't set up Time Machine I >> highly recommend it. I have two backup drives on my Mac and Time Machine >> alternates backups between them. I never have to think about it, and it's >> saved me more times than I can count, especially when I save a stack and >> later find out I introduced problems. I just grab the last working copy and >> get back to work. When I travel, I put one of the drives in a safe place at >> home and take the other one with me, just in case. That came in handy once >> when I had to review a script to answer a client's question while I was out >> of town. SSD drives are just a little larger than a cigarette pack, >> inexpensive, and easy to carry. >> >> I also have Google Drive set up to automatically backup a few important >> folders including my client folder. That way I have essentially three >> backups of the important stuff. The good part is that I don't have to do >> anything at all, the copies take care of themselves. >> >> The initial setup happened a couple of decades ago when I lost everything. >> My Mac's hard drive failed suddenly and my entire digital life went with >> it. I'm obsessive now. It's entirely possible to be lazy about backups and >> still have them. >> >> BTW, one or the other backup drives has failed a couple of times over the >> years. I take the dead one offline and Time Machine will continue to backup >> to the other one until I can get a replacement. This happens about every >> 3-5 years. >> >> I haven't lost any data since the original catastrophe. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From matthias_livecode_150811 at m-r-d.de Sun Nov 13 17:36:00 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 13 Nov 2022 23:36:00 +0100 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> As Jacque has written, but in Ventura you can decide if the backup shall be done only manually, every hour, every day or every week. And if you have defined more than one drive for the Time Machine backups and if you have them all connected at the same time to your computer then the first backup is done first on the first one, then the next backup on the second one and so on and then again on the first drive. If you have defined more than one drive for the backup, but you only attach one drive at a time, then the backup is written to that drive. If you attach an other of the defined drives and remove the other one, then the backup is written the newly attached drive. I for example have always 1 "real" drive attached and i also use my Synology NAS as a second drive for the Time Machine backups. Regards, Matthias > Am 13.11.2022 um 09:02 schrieb Mark Smith via use-livecode : > > Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > >> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode wrote: >> >> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >>> I think my odds are better using a cloud >>> service than my own efforts at maintaining things. >> >> I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. >> >> I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. >> >> The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. >> >> BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. >> >> I haven't lost any data since the original catastrophe. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From matthias_livecode_150811 at m-r-d.de Sun Nov 13 17:41:01 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 13 Nov 2022 23:41:01 +0100 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> Message-ID: I forgot to mention that the part with the "multiple drives defined for Time Machine" is valid for all macOS versions, not just Ventura. > Am 13.11.2022 um 23:36 schrieb matthias rebbe via use-livecode : > > As Jacque has written, but > > in Ventura you can decide if the backup shall be done only manually, every hour, every day or every week. > > And if you have defined more than one drive for the Time Machine backups and if you have them all connected at the same time to your computer then the first backup is done first on the first one, then the next backup on the second one and so on and then again on the first drive. > > If you have defined more than one drive for the backup, but you only attach one drive at a time, then the backup is written to that drive. If you attach an other of the defined drives and remove the other one, then the backup is written the newly attached drive. > > I for example have always 1 "real" drive attached and i also use my Synology NAS as a second drive for the Time Machine backups. > > > Regards, > Matthias > > > >> Am 13.11.2022 um 09:02 schrieb Mark Smith via use-livecode : >> >> Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). >> >>> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode wrote: >>> >>> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >>>> I think my odds are better using a cloud >>>> service than my own efforts at maintaining things. >>> >>> I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. >>> >>> I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. >>> >>> The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. >>> >>> BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. >>> >>> I haven't lost any data since the original catastrophe. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 14 07:51:16 2022 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 14 Nov 2022 07:51:16 -0500 Subject: itemoffset & wholematches Message-ID: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Hi list, I have a variable with a content of 3 lines as follows : 1 sombre brun profond 2 flou incertain 3 inexplor mystrieux inconnu The separator between words is tab. I want to check if a certain word is among the items as a whole. The following script returns "6" : set itemdel to tab set the wholematches to false put itemoffset("incertain",myVar) The following script returns "0" : set itemdel to tab set the wholematches to true put itemoffset("incertain",myVar) The following script returns "7" : set itemdel to tab set the wholematches to true replace return with tab in myVar put itemoffset("incertain",myVar) Scripts 1 & 3 are logical, but any logical explanation for the result of script 2 ? Does it mean that the return char after the word is considered as part of the word ? Thanks in advance. jbv From MikeKerner at roadrunner.com Mon Nov 14 09:00:04 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 09:00:04 -0500 Subject: itemoffset & wholematches In-Reply-To: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: you set the itemDelimiter to tab. the is part of the item. From MikeKerner at roadrunner.com Mon Nov 14 09:03:54 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 09:03:54 -0500 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: the easy way to fix this problem: replace cr with tab in myVar -- but if the line endings matter, this isn't great On Mon, Nov 14, 2022 at 9:00 AM Mike Kerner wrote: > you set the itemDelimiter to tab. the is part of the item. > -- 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 MikeKerner at roadrunner.com Mon Nov 14 09:12:23 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 09:12:23 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> Message-ID: just one note that has bitten me, about using these cloud backup services: they are not great at storing databases (which includes git repos, since the git tree is just a db). there are db's that take snapshots as part of their backup process (then you backup the snapshot, not the db). backing up a db via cloud storage (again, including a git repo) will eventually burn you. you can fix it, but it can take hours. but with time machine/retrospect/etc. - no issues. On Sun, Nov 13, 2022 at 5:41 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I forgot to mention that the part with the "multiple drives defined for > Time Machine" is valid for all macOS versions, not just Ventura. > > > > Am 13.11.2022 um 23:36 schrieb matthias rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > As Jacque has written, but > > > > in Ventura you can decide if the backup shall be done only manually, > every hour, every day or every week. > > > > And if you have defined more than one drive for the Time Machine > backups and if you have them all connected at the same time to your > computer then the first backup is done first on the first one, then the > next backup on the second one and so on and then again on the first drive. > > > > If you have defined more than one drive for the backup, but you only > attach one drive at a time, then the backup is written to that drive. If > you attach an other of the defined drives and remove the other one, then > the backup is written the newly attached drive. > > > > I for example have always 1 "real" drive attached and i also use my > Synology NAS as a second drive for the Time Machine backups. > > > > > > Regards, > > Matthias > > > > > > > >> Am 13.11.2022 um 09:02 schrieb Mark Smith via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Brilliant. I’m inspired. (I presume you can program Time Machine to use > drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > >> > >>> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: > >>>> I think my odds are better using a cloud > >>>> service than my own efforts at maintaining things. > >>> > >>> I do both local and cloud backups. If you haven't set up Time Machine > I highly recommend it. I have two backup drives on my Mac and Time Machine > alternates backups between them. I never have to think about it, and it's > saved me more times than I can count, especially when I save a stack and > later find out I introduced problems. I just grab the last working copy and > get back to work. When I travel, I put one of the drives in a safe place at > home and take the other one with me, just in case. That came in handy once > when I had to review a script to answer a client's question while I was out > of town. SSD drives are just a little larger than a cigarette pack, > inexpensive, and easy to carry. > >>> > >>> I also have Google Drive set up to automatically backup a few > important folders including my client folder. That way I have essentially > three backups of the important stuff. The good part is that I don't have to > do anything at all, the copies take care of themselves. > >>> > >>> The initial setup happened a couple of decades ago when I lost > everything. My Mac's hard drive failed suddenly and my entire digital life > went with it. I'm obsessive now. It's entirely possible to be lazy about > backups and still have them. > >>> > >>> BTW, one or the other backup drives has failed a couple of times over > the years. I take the dead one offline and Time Machine will continue to > backup to the other one until I can get a replacement. This happens about > every 3-5 years. > >>> > >>> I haven't lost any data since the original catastrophe. > >>> > >>> -- > >>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>> HyperActive Software | http://www.hyperactivesw.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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Mon Nov 14 11:56:11 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 16:56:11 +0000 Subject: Easy Android adaptive icons In-Reply-To: References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <047B895D-5F30-4BB2-9F3C-3ABC513E663B@iotecdigital.com> I am always learning new things as well, only on account of I forget so much. Bob S On Nov 12, 2022, at 11:08 , Klaus major-k via use-livecode > wrote: Hi Jacque, Am 12.11.2022 um 19:24 schrieb J. Landman Gay via use-livecode >: Not quite. Prerendered means that you have already added glow and shine to the icons. If you want Apple to render the icon according to the style of the phone's current OS, leave prerendered unchecked and Apple will draw the shine effect for you. IPhones don't use .icns files. AHA! Thanks for the info. I always learn something new. :-) -- Jacqueline Landman Gay | jacque at hyperactivesw.com From bobsneidar at iotecdigital.com Mon Nov 14 11:58:19 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 16:58:19 +0000 Subject: About that Enter key In-Reply-To: References: Message-ID: Ahah! For my part, I just recently updated to RC2 because of the Nested Datagrid Behavior fix. (Thanks again LC). But it really doesn't matter to me as I am in the habit of using Tab to format the script, and Save as a means of compiling and saving at the same time. Bob S > On Nov 12, 2022, at 14:33 , J. Landman Gay via use-livecode wrote: > > Enter does not trigger and doesn't compile for me in the script editor on LC 9.6.9 rc 2. It works in other versions. If you're not having any luck with it, try an older version. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 bobsneidar at iotecdigital.com Mon Nov 14 12:00:56 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 17:00:56 +0000 Subject: itemoffset & wholematches In-Reply-To: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Why not just use is among the items? Bob S > On Nov 14, 2022, at 04:51 , jbv via use-livecode wrote: > > Hi list, > > I have a variable with a content of 3 lines as follows : > 1 sombre brun profond > 2 flou incertain > 3 inexploré mystérieux inconnu > > The separator between words is tab. > I want to check if a certain word is among the items as a whole. > > The following script returns "6" : > set itemdel to tab > set the wholematches to false > put itemoffset("incertain",myVar) > > The following script returns "0" : > set itemdel to tab > set the wholematches to true > put itemoffset("incertain",myVar) > > The following script returns "7" : > set itemdel to tab > set the wholematches to true > replace return with tab in myVar > put itemoffset("incertain",myVar) > > Scripts 1 & 3 are logical, but any logical explanation > for the result of script 2 ? Does it mean that the return > char after the word is considered as part of the word ? > > Thanks 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 bobsneidar at iotecdigital.com Mon Nov 14 12:05:05 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 17:05:05 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: There is a utility that can actually modify the schedule. I downloaded it and am using it at home, but currently I am at work. I'll try to remember to check that when I get home, but you can google it. Bob S On Nov 13, 2022, at 24:02 , Mark Smith via use-livecode > wrote: Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). From merakosp at gmail.com Mon Nov 14 12:19:16 2022 From: merakosp at gmail.com (panagiotis m) Date: Mon, 14 Nov 2022 19:19:16 +0200 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: Hello all, We received a report about "Close and remove from memory" not working on MacOS Ventura (https://quality.livecode.com/show_bug.cgi?id=24008). I have not upgraded yet - so I was wondering if anyone has seen this issue on MacOS Ventura? Kind regards, Panos -- On Mon, 14 Nov 2022 at 19:06, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > There is a utility that can actually modify the schedule. I downloaded it > and am using it at home, but currently I am at work. I'll try to remember > to check that when I get home, but you can google it. > > Bob S > > > On Nov 13, 2022, at 24:02 , Mark Smith via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > Brilliant. I’m inspired. (I presume you can program Time Machine to use > drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 14 13:15:52 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 13:15:52 -0500 Subject: itemoffset & wholematches In-Reply-To: <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: that still won't work if the text is the last item of a line. in the example, below, i've taken his original, replaced the tabs with commas, and for the purpose of being able to read what's going on, substituted the cr for a backslash, and added a line to substitute it back for the test. *put* "1,sombre,burn,profound\2,flou,incertain\3,inexploré,mystériux,inconnu" into myVar *replace* "\" with cr in myVar *put* "profound" is among the items of myVar On Mon, Nov 14, 2022 at 12:01 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Why not just use is among the items? > > Bob S > > > > On Nov 14, 2022, at 04:51 , jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi list, > > > > I have a variable with a content of 3 lines as follows : > > 1 sombre brun profond > > 2 flou incertain > > 3 inexploré mystérieux inconnu > > > > The separator between words is tab. > > I want to check if a certain word is among the items as a whole. > > > > The following script returns "6" : > > set itemdel to tab > > set the wholematches to false > > put itemoffset("incertain",myVar) > > > > The following script returns "0" : > > set itemdel to tab > > set the wholematches to true > > put itemoffset("incertain",myVar) > > > > The following script returns "7" : > > set itemdel to tab > > set the wholematches to true > > replace return with tab in myVar > > put itemoffset("incertain",myVar) > > > > Scripts 1 & 3 are logical, but any logical explanation > > for the result of script 2 ? Does it mean that the return > > char after the word is considered as part of the word ? > > > > Thanks 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 > -- 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 Mon Nov 14 13:43:19 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 18:43:19 +0000 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: oic. Odd use case. I suppose a lineOffset function followed by is among the items could be used. If he needs the lines to remain intact he could also replace cr with tab & cr first. Bob S On Nov 14, 2022, at 10:15 , Mike Kerner via use-livecode > wrote: that still won't work if the text is the last item of a line. From alex at tweedly.net Mon Nov 14 14:45:20 2022 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 14 Nov 2022 19:45:20 +0000 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: That would deal with the last item in a line - but not the first. Should do    replace CR with TAB & CR & TAB in ... and reverse later if needed. Alex. On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: > oic. Odd use case. I suppose a lineOffset function followed by is among the items could be used. If he needs the lines to remain intact he could also replace cr with tab & cr first. > > Bob S > > > On Nov 14, 2022, at 10:15 , Mike Kerner via use-livecode > wrote: > > that still won't work if the text is the last item of a line. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 14 14:57:49 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 19:57:49 +0000 Subject: Auto-Complete Message-ID: <074F850B-52F5-4E8B-99FE-1787B647E382@iotecdigital.com> I've probably asked this before, or someone has, but while I really like the suggestions when editing a script, I decidedly do NOT like the auto-encapsulation of things, by which I mean if I type a quote, it happens another quote right after. If I type a left square bracket, it appends a right square bracket right after. I know this is supposed to help me, but in reality it keeps getting in my way. I end up having to correct my scripts because I typed an extra quote or square bracket. Is there a way to keep the popup suggestions without the auto-completing quotes, brackets and parenthesis? Bob S From bobsneidar at iotecdigital.com Mon Nov 14 15:01:02 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 20:01:02 +0000 Subject: Auto-Complete In-Reply-To: <074F850B-52F5-4E8B-99FE-1787B647E382@iotecdigital.com> References: <074F850B-52F5-4E8B-99FE-1787B647E382@iotecdigital.com> Message-ID: <6588D23A-7B7A-419C-827A-0D10296429AA@iotecdigital.com> As usual, nvm. I found it in the SE Edit Menu. I think Jacque answered this for me before. Bob S > On Nov 14, 2022, at 11:57 , Bob Sneidar wrote: > > I've probably asked this before, or someone has, but while I really like the suggestions when editing a script, I decidedly do NOT like the auto-encapsulation of things, by which I mean if I type a quote, it happens another quote right after. If I type a left square bracket, it appends a right square bracket right after. > > I know this is supposed to help me, but in reality it keeps getting in my way. I end up having to correct my scripts because I typed an extra quote or square bracket. > > Is there a way to keep the popup suggestions without the auto-completing quotes, brackets and parenthesis? > > Bob S > From jacque at hyperactivesw.com Mon Nov 14 15:07:25 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Nov 2022 14:07:25 -0600 Subject: itemoffset & wholematches In-Reply-To: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> How about a one-liner: put wordOffset("incertain",myVar) If the words ever have punctuation attached, use trueWordOffset. On 11/14/22 6:51 AM, jbv via use-livecode wrote: > Hi list, > > I have a variable with a content of 3 lines as follows : > 1    sombre    brun    profond > 2    flou    incertain > 3    inexploré    mystérieux    inconnu > > The separator between words is tab. > I want to check if a certain word is among the items as a whole. > > The following script returns "6" : >    set itemdel to tab >    set the wholematches to false >    put itemoffset("incertain",myVar) > > The following script returns "0" : >    set itemdel to tab >    set the wholematches to true >    put itemoffset("incertain",myVar) > > The following script returns "7" : >    set itemdel to tab >    set the wholematches to true >    replace return with tab in myVar >    put itemoffset("incertain",myVar) > > Scripts 1 & 3 are logical, but any logical explanation > for the result of script 2 ? Does it mean that the return > char after the word is considered as part of the word ? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Mon Nov 14 19:50:15 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Mon, 14 Nov 2022 19:50:15 -0500 Subject: IP address and Country In-Reply-To: <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> Message-ID: <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Greetings LiveCoders, I’m trying to set up an LC Server routine to retrieve the country name where the user is supposedly located by using the user’s IP Address and a cross-reference table. I’m sure someone here must have done something similar in the past and I was wondering what the best method would be for processing the data. I can set up either an IP4 or IP6 database, or one that has both, but the number of records to search is over 400,000 for just IP4. Is one easier than the other to implement? What problems have people run into trying to do this in the past, and what should I do? Suggestions? Thanks, Rick From bobsneidar at iotecdigital.com Mon Nov 14 19:57:53 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 15 Nov 2022 00:57:53 +0000 Subject: IP address and Country In-Reply-To: <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: Is that a fixed thing? Can it ever change? Seems like there must be a web site for that. I found https://www.ipvoid.com/ip-to-country/. They may license the tool that does this. Bob S On Nov 14, 2022, at 16:50 , harrison--- via use-livecode > wrote: Greetings LiveCoders, I’m trying to set up an LC Server routine to retrieve the country name where the user is supposedly located by using the user’s IP Address and a cross-reference table. I’m sure someone here must have done something similar in the past and I was wondering what the best method would be for processing the data. I can set up either an IP4 or IP6 database, or one that has both, but the number of records to search is over 400,000 for just IP4. Is one easier than the other to implement? What problems have people run into trying to do this in the past, and what should I do? Suggestions? Thanks, Rick _______________________________________________ use-livecode mailing list use-livecode 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 harrison at all-auctions.com Mon Nov 14 21:34:45 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Mon, 14 Nov 2022 21:34:45 -0500 Subject: IP address and Country In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> Hi Bob, Yes, that website illustrates what I’m trying to do, but I really need my own code for this. Thanks for the suggestion anyway. Rick > On Nov 14, 2022, at 7:57 PM, Bob Sneidar via use-livecode wrote: > > Is that a fixed thing? Can it ever change? Seems like there must be a web site for that. I found https://www.ipvoid.com/ip-to-country/ . They may license the tool that does this. > > Bob S From mkoob at rogers.com Mon Nov 14 23:22:15 2022 From: mkoob at rogers.com (Martin Koob) Date: Mon, 14 Nov 2022 23:22:15 -0500 Subject: IP address and Country In-Reply-To: <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> Message-ID: You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. Here is an example I found of one site. https://ipapi.co/api/#introduction HTTP Request GET https://ipapi.co/{ip}/{format}/ URL Parameters Parameter Description ip An IP address for which you want to retrieve the location format Data format of response, possible values are json, jsonp, xml, csv, yaml E.g. https://ipapi.co/8.8.8.8/json/ It is free for up to 30K requests per month, after that there is a fee. https://ipapi.co/#pricing Martin Koob > On Nov 14, 2022, at 9:34 PM, harrison--- via use-livecode wrote: > > Hi Bob, > > Yes, that website illustrates what I’m trying to do, but > I really need my own code for this. > > Thanks for the suggestion anyway. > > Rick > >> On Nov 14, 2022, at 7:57 PM, Bob Sneidar via use-livecode wrote: >> >> Is that a fixed thing? Can it ever change? Seems like there must be a web site for that. I found https://www.ipvoid.com/ip-to-country/ . They may license the tool that does this. >> >> 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 jbv at souslelogo.com Tue Nov 15 04:33:39 2022 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 15 Nov 2022 04:33:39 -0500 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> Hi guys, Thank you all for your answers. Actually I thought that some "hierarchy"remained (items inside lines) when using itemoffset, but obviously I was wrong. I have about 60000 variables to check, so I need my script to be as fast as possible. I use "replace CR with TAB & CR & TAB in ...", but as I need to get the exact itemoffset digit, I also need to count how many items I have added and substract that number from the result, which is quite cumbersome and slow... To Jacqueline : Thanks fro the suggestion, but I have to stick with items and itemoffset, for some items can contain more that 1 word, like "pied de biche"... Le 2022-11-14 14:45, Alex Tweedly via use-livecode a crit : > That would deal with the last item in a line - but not the first. > > Should do > >    replace CR with TAB & CR & TAB in ... > > and reverse later if needed. > > Alex. > > On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: >> oic. Odd use case. I suppose a lineOffset function followed by is >> among the items could be used. If he needs the lines to remain intact >> he could also replace cr with tab & cr first. >> From klaus at major-k.de Tue Nov 15 04:55:15 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 10:55:15 +0100 Subject: mergAV uses GLOBAL coordinates? Message-ID: Hi all, I do not won an iPhone, but some users told me that scanning a barcode will show the previewarea way off from where I definde it. Here part of my script: -------------------------------- on mergAVMediaAccess pType, pGranted mergAVCamSet "microphone", empty mergAVCamCreate ## See below... mergAVCamSet "rect",the rect of graphic "qr_ios" ... ---------------------------------- See what happens here: The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in any script that could cause this! So does mergAV use GLOBAL coordinates? Any insight very welcome, thank you! 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 Tue Nov 15 05:14:49 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 11:14:49 +0100 Subject: mergAV uses GLOBAL coordinates? Message-ID: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> Hi all, I do not OWN an iPhone, ... Sorry. -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tore.nilsen at me.com Tue Nov 15 05:19:46 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Nov 2022 11:19:46 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> References: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> Message-ID: <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> > 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode : > > I do not OWN an iPhone, … But you won one? And you have not received it yet? And therefore you cannot make any tests yourself? Best regards Tore Nilsem From klaus at major-k.de Tue Nov 15 05:38:12 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 11:38:12 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> References: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> Message-ID: <71A42C41-5149-4BBD-BA8C-81B5578E0353@major-k.de> Hi Tore, > Am 15.11.2022 um 11:19 schrieb Tore Nilsen via use-livecode : > >> 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode : >> I do not OWN an iPhone, … > But you won one? And you have not received it yet? And therefore you cannot make any tests yourself? no, no and no, that was just a typo! 8-) > Best regards > Tore Nilsem Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tore.nilsen at me.com Tue Nov 15 06:15:49 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Nov 2022 12:15:49 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <71A42C41-5149-4BBD-BA8C-81B5578E0353@major-k.de> References: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> <71A42C41-5149-4BBD-BA8C-81B5578E0353@major-k.de> Message-ID: <64A7C39E-22AD-4306-9B56-C9DA182FD4A8@me.com> > 15. nov. 2022 kl. 11:38 skrev Klaus major-k via use-livecode : > > Hi Tore, > >> Am 15.11.2022 um 11:19 schrieb Tore Nilsen via use-livecode : >> >>> 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode : >>> I do not OWN an iPhone, … >> But you won one? And you have not received it yet? And therefore you cannot make any tests yourself? > > no, no and no, that was just a typo! 8-) > >> Best regards >> Tore Nilsem > > Best > > Klaus > ;-) Tore From brian at milby7.com Tue Nov 15 07:32:00 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 15 Nov 2022 07:32:00 -0500 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: References: Message-ID: <9BC9162B-E1BC-4B7C-A25B-029F50D1AD9F@milby7.com> What fullscreenmode are you using on that card? Brian Milby brian at milby7.com > On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > I do not won an iPhone, but some users told me that > scanning a barcode will show the previewarea way off > from where I definde it. > > Here part of my script: > -------------------------------- > on mergAVMediaAccess pType, pGranted > mergAVCamSet "microphone", empty > mergAVCamCreate > > ## See below... > mergAVCamSet "rect",the rect of graphic "qr_ios" > ... > ---------------------------------- > See what happens here: > > The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in > any script that could cause this! > > So does mergAV use GLOBAL coordinates? > > Any insight very welcome, thank you! > > > 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 Tue Nov 15 07:50:57 2022 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 15 Nov 2022 12:50:57 +0000 Subject: itemoffset & wholematches In-Reply-To: <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> Message-ID: Hi, I don't know if this will be faster, slower, or what !?! Something like ....   put myVar into tCopy   replace CR with TAB in tCopy   put itemoffset("incertain", tCopy) into tmp   put the number of chars in item 1 to (tmp-1) of tCopy into tCharCount   put the number of items in char 1 to tCharCount of myVar into theRealAnswer Or, depending on what you do next, just go on using charOffset rather than itemOffset for the following code. Alex. On 15/11/2022 09:33, jbv via use-livecode wrote: > Hi guys, > Thank you all for your answers. > > Actually I thought that some "hierarchy"remained (items inside lines) > when using itemoffset, but obviously I was wrong. > I have about 60000 variables to check, so I need my script to be as > fast as possible. I use "replace CR with TAB & CR & TAB in ...", but > as I need to get the exact itemoffset digit, I also need to count > how many items I have added and substract that number from the > result, which is quite cumbersome and slow... > > To Jacqueline : > Thanks fro the suggestion, but I have to stick with items and > itemoffset, for some items can contain more that 1 word, like > "pied de biche"... > > Le 2022-11-14 14:45, Alex Tweedly via use-livecode a crit : >> That would deal with the last item in a line - but not the first. >> >> Should do >> >>    replace CR with TAB & CR & TAB in ... >> >> and reverse later if needed. >> >> Alex. >> >> On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: >>> oic. Odd use case. I suppose a lineOffset function followed by is >>> among the items could be used. If he needs the lines to remain >>> intact he could also replace cr with tab & cr first. >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 15 07:54:18 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 13:54:18 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <9BC9162B-E1BC-4B7C-A25B-029F50D1AD9F@milby7.com> References: <9BC9162B-E1BC-4B7C-A25B-029F50D1AD9F@milby7.com> Message-ID: Hi Brian, > Am 15.11.2022 um 13:32 schrieb Brian Milby via use-livecode : > > What fullscreenmode are you using on that card? I use "showall". However I resized the stack proportionally to the aspect ration of the device, so it "behaves" like fullscreenmode "exactfit". > Brian Milby > brian at milby7.com > >> On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode wrote: >> >> Hi all, >> >> I do not won an iPhone, but some users told me that >> scanning a barcode will show the previewarea way off >> from where I definde it. >> >> Here part of my script: >> -------------------------------- >> on mergAVMediaAccess pType, pGranted >> mergAVCamSet "microphone", empty >> mergAVCamCreate >> >> ## See below... >> mergAVCamSet "rect",the rect of graphic "qr_ios" >> ... >> ---------------------------------- >> See what happens here: >> >> The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in >> any script that could cause this! >> >> So does mergAV use GLOBAL coordinates? >> >> Any insight very welcome, thank you! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From brian at milby7.com Tue Nov 15 08:29:50 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 15 Nov 2022 08:29:50 -0500 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: References: Message-ID: I know that inside any native control, things are drawn at native resolution. A good way to see this is a browser widget. So I’m thinking that that is going to apply in the other direction too. You will need to convert your card coordinates to native coordinates to place the control. I might could play with the math, but it wouldn’t be until much later this evening. If you are already adjusting the aspect ratio, then you probably have a resizeStack handler. It may be easier to just go the next step to using native coordinates. Brian Milby brian at milby7.com > On Nov 15, 2022, at 7:54 AM, Klaus major-k via use-livecode wrote: > > Hi Brian, > >> Am 15.11.2022 um 13:32 schrieb Brian Milby via use-livecode : >> >> What fullscreenmode are you using on that card? > > I use "showall". > However I resized the stack proportionally to the aspect ration of the device, > so it "behaves" like fullscreenmode "exactfit". > >> Brian Milby >> brian at milby7.com >> >>>> On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode wrote: >>> >>> Hi all, >>> >>> I do not won an iPhone, but some users told me that >>> scanning a barcode will show the previewarea way off >>> from where I definde it. >>> >>> Here part of my script: >>> -------------------------------- >>> on mergAVMediaAccess pType, pGranted >>> mergAVCamSet "microphone", empty >>> mergAVCamCreate >>> >>> ## See below... >>> mergAVCamSet "rect",the rect of graphic "qr_ios" >>> ... >>> ---------------------------------- >>> See what happens here: >>> >>> The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in >>> any script that could cause this! >>> >>> So does mergAV use GLOBAL coordinates? >>> >>> Any insight very welcome, thank you! > > 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 klaus at major-k.de Tue Nov 15 08:38:19 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 14:38:19 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: References: Message-ID: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> Hi Brian, > Am 15.11.2022 um 14:29 schrieb Brian Milby via use-livecode : > > I know that inside any native control, things are drawn at native resolution. A good way to see this is a browser widget. So I’m thinking that that is going to apply in the other direction too. You will need to convert your card coordinates to native coordinates to place the control. Then this should go into the dictiuonary with 128 point fontsize! > I might could play with the math, but it wouldn’t be until much later this evening. thanks, already got it: ------------------------------------------ ## KM ... put the topleft of grc "qr_ios" into tRect1 put the bottomright of grc "qr_ios" into tRect2 put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect mergAVCamSet "rect",tRect ## KM ... ----------------------------------------- > If you are already adjusting the aspect ratio, then you probably have a resizeStack handler. How did you know? :-D > It may be easier to just go the next step to using native coordinates. I did, now I'm wating for a feedback of my tester > Brian Milby > brian at milby7.com 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 Nov 15 11:11:15 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 15 Nov 2022 16:11:15 +0000 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> Message-ID: <7D7B08E5-B0BE-4AA3-9054-ADDE3A990244@iotecdigital.com> If the data always contains the same number of items, I again highly recommend pushing everything to a memory based sqLite file then doing queries on it. Bob S On Nov 15, 2022, at 04:50 , Alex Tweedly via use-livecode > wrote: Hi, I don't know if this will be faster, slower, or what !?! Something like .... put myVar into tCopy replace CR with TAB in tCopy put itemoffset("incertain", tCopy) into tmp put the number of chars in item 1 to (tmp-1) of tCopy into tCharCount put the number of items in char 1 to tCharCount of myVar into theRealAnswer Or, depending on what you do next, just go on using charOffset rather than itemOffset for the following code. Alex. On 15/11/2022 09:33, jbv via use-livecode wrote: Hi guys, Thank you all for your answers. Actually I thought that some "hierarchy"remained (items inside lines) when using itemoffset, but obviously I was wrong. I have about 60000 variables to check, so I need my script to be as fast as possible. I use "replace CR with TAB & CR & TAB in ...", but as I need to get the exact itemoffset digit, I also need to count how many items I have added and substract that number from the result, which is quite cumbersome and slow... To Jacqueline : Thanks fro the suggestion, but I have to stick with items and itemoffset, for some items can contain more that 1 word, like "pied de biche"... Le 2022-11-14 14:45, Alex Tweedly via use-livecode a écrit : That would deal with the last item in a line - but not the first. Should do replace CR with TAB & CR & TAB in ... and reverse later if needed. Alex. On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: oic. Odd use case. I suppose a lineOffset function followed by is among the items could be used. If he needs the lines to remain intact he could also replace cr with tab & cr first. _______________________________________________ use-livecode mailing list use-livecode 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 Tue Nov 15 11:23:09 2022 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 15 Nov 2022 11:23:09 -0500 Subject: itemoffset & wholematches In-Reply-To: <7D7B08E5-B0BE-4AA3-9054-ADDE3A990244@iotecdigital.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> <7D7B08E5-B0BE-4AA3-9054-ADDE3A990244@iotecdigital.com> Message-ID: <99f14b8bacf80e4d4951dbbf02cc9ae2@souslelogo.com> Again guys, thank you for your suggestions. But finally I gave up using itemoffset and worked with arrays instead, which is much much faster : my script processes the 60000 variables in less than 15 secs. From harrison at all-auctions.com Tue Nov 15 12:12:13 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Tue, 15 Nov 2022 12:12:13 -0500 Subject: IP address and Country In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> Message-ID: <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> Hi Martin, Thanks for the information, but what I really want is a LiveCode solution that doesn’t depend on third parties. I have the database. I was asking if other people here had come up with a fast LiveCode solution. If all else fails, I will look into one of the third party suggestions, but third parties can change their code or suddenly disappear off of the internet. I don’t want my website breaking all the time due to such dependencies. Thanks again, Rick > On Nov 14, 2022, at 11:22 PM, Martin Koob wrote: > > You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. > > Here is an example I found of one site. > > https://ipapi.co/api/#introduction > > HTTP Request > > GET https://ipapi.co/{ip}/{format}/ > > URL Parameters > > Parameter Description > ip An IP address for which you want to retrieve the location > format Data format of response, possible values are json, jsonp, xml, csv, yaml > > E.g. > > https://ipapi.co/8.8.8.8/json/ > > It is free for up to 30K requests per month, after that there is a fee. > > https://ipapi.co/#pricing > > Martin Koob From alex at tweedly.net Tue Nov 15 13:35:33 2022 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 15 Nov 2022 18:35:33 +0000 Subject: IP address and Country In-Reply-To: <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> Message-ID: <6721fdde-ba00-7aef-c3ae-7b063a8581fd@tweedly.net> Hi Rick, I had missed the fact that you said you already had the database - that makes it a much easier problem :-) While I don't have any Livecode code for this, I do have some C code for a (probably) very similar problem. If you can describe the format of your database, and the query you want to make, I'll see if what I have is a good starting place, and then convert the C code if practical. Thanks, Alex. On 15/11/2022 17:12, harrison--- via use-livecode wrote: > Hi Martin, > > Thanks for the information, but what I really want is a LiveCode solution > that doesnt depend on third parties. > > I have the database. I was asking if other people here > had come up with a fast LiveCode solution. > > If all else fails, I will look into one of the third party suggestions, > but third parties can change their code or suddenly disappear > off of the internet. I dont want my website breaking all the time > due to such dependencies. > > Thanks again, > > Rick > > >> On Nov 14, 2022, at 11:22 PM, Martin Koob wrote: >> >> You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. >> >> Here is an example I found of one site. >> >> https://ipapi.co/api/#introduction >> >> HTTP Request >> >> GET https://ipapi.co/{ip}/{format}/ >> >> URL Parameters >> >> Parameter Description >> ip An IP address for which you want to retrieve the location >> format Data format of response, possible values are json, jsonp, xml, csv, yaml >> >> E.g. >> >> https://ipapi.co/8.8.8.8/json/ >> >> It is free for up to 30K requests per month, after that there is a fee. >> >> https://ipapi.co/#pricing >> >> Martin Koob > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 15 14:17:13 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 20:17:13 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> References: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> Message-ID: <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> Hi Brian, I now have the proof that mergAV DOES in fact needs global coordinates. Thanks for that, Matthias! This (as found in the dictionary) gives you the offset: ... mergAVCamSet "rect",the rect of graphic "qr_ios" ... However THIS is neccessary to make it work correctly: ... put the topleft of grc "qr_ios" into tRect1 put the bottomright of grc "qr_ios" into tRect2 put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect mergAVCamSet "rect",tRect ... I really wonder why noone noticed this before!? Will create a bug report for thhis later this evening. > Am 15.11.2022 um 14:38 schrieb Klaus major-k via use-livecode : > > Hi Brian, > >> Am 15.11.2022 um 14:29 schrieb Brian Milby via use-livecode : >> >> I know that inside any native control, things are drawn at native resolution. A good way to see this is a browser widget. So I’m thinking that that is going to apply in the other direction too. You will need to convert your card coordinates to native coordinates to place the control. > Then this should go into the dictionary with 128 point fontsize! THIS! >> I might could play with the math, but it wouldn’t be until much later this evening. > ... >> Brian Milby >> brian at milby7.com 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 Tue Nov 15 14:42:21 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 20:42:21 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> References: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> Message-ID: <78B682C8-9756-4BA1-A0BF-FE54A9205D23@major-k.de> Hi all, looks like this is a known bug: > Am 15.11.2022 um 20:17 schrieb Klaus major-k via use-livecode : > > Hi Brian, > > I now have the proof that mergAV DOES in fact needs global coordinates. > Thanks for that, Matthias! > > This (as found in the dictionary) gives you the offset: > ... > mergAVCamSet "rect",the rect of graphic "qr_ios" > ... > > However THIS is neccessary to make it work correctly: > ... > put the topleft of grc "qr_ios" into tRect1 > put the bottomright of grc "qr_ios" into tRect2 > put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect > mergAVCamSet "rect",tRect > ... > I really wonder why noone noticed this before!? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From harrison at all-auctions.com Tue Nov 15 17:31:03 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Tue, 15 Nov 2022 17:31:03 -0500 Subject: IP address and Country In-Reply-To: <6721fdde-ba00-7aef-c3ae-7b063a8581fd@tweedly.net> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> <6721fdde-ba00-7aef-c3ae-7b063a8581fd@tweedly.net> Message-ID: Hi Alex, Sorry, it’s been a really busy day here. I can’t get back to this problem until tomorrow. Don’t drag out your C code just yet, I have some ideas to try. Thanks, Rick > On Nov 15, 2022, at 1:35 PM, Alex Tweedly via use-livecode wrote: > > Hi Rick, > > I had missed the fact that you said you already had the database - that makes it a much easier problem :-) > > While I don't have any Livecode code for this, I do have some C code for a (probably) very similar problem. > > If you can describe the format of your database, and the query you want to make, I'll see if what I have is a good starting place, and then convert the C code if practical. > > Thanks, > > Alex. > > On 15/11/2022 17:12, harrison--- via use-livecode wrote: >> Hi Martin, >> >> Thanks for the information, but what I really want is a LiveCode solution >> that doesn’t depend on third parties. >> >> I have the database. I was asking if other people here >> had come up with a fast LiveCode solution. >> >> If all else fails, I will look into one of the third party suggestions, >> but third parties can change their code or suddenly disappear >> off of the internet. I don’t want my website breaking all the time >> due to such dependencies. >> >> Thanks again, >> >> Rick >> >> >>> On Nov 14, 2022, at 11:22 PM, Martin Koob wrote: >>> >>> You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. >>> >>> Here is an example I found of one site. >>> >>> https://ipapi.co/api/#introduction >>> >>> HTTP Request >>> >>> GET https://ipapi.co/{ip}/{format}/ >>> >>> URL Parameters >>> >>> Parameter Description >>> ip An IP address for which you want to retrieve the location >>> format Data format of response, possible values are json, jsonp, xml, csv, yaml >>> >>> E.g. >>> >>> https://ipapi.co/8.8.8.8/json/ >>> >>> It is free for up to 30K requests per month, after that there is a fee. >>> >>> https://ipapi.co/#pricing >>> >>> Martin Koob >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 klaus at major-k.de Wed Nov 16 06:47:47 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Nov 2022 12:47:47 +0100 Subject: Can we install "command Line Tools 14.1" on Mac? Message-ID: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> Hi all, I know that LC is not compatible with Xcode 14. But what about the command line tools? Is it safe to install the latest version 14.1? 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 Wed Nov 16 09:58:33 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 16 Nov 2022 09:58:33 -0500 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <78B682C8-9756-4BA1-A0BF-FE54A9205D23@major-k.de> References: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> <78B682C8-9756-4BA1-A0BF-FE54A9205D23@major-k.de> Message-ID: just checking into this thread, for the first time. you already figured out the important part: it uses global coords. the example code that i have includes taking that into account. it's actually part of a larger routine that sets all the mergav props for barcode scanning. On Tue, Nov 15, 2022 at 2:42 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > looks like this is a known bug: > > > > Am 15.11.2022 um 20:17 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Brian, > > > > I now have the proof that mergAV DOES in fact needs global coordinates. > > Thanks for that, Matthias! > > > > This (as found in the dictionary) gives you the offset: > > ... > > mergAVCamSet "rect",the rect of graphic "qr_ios" > > ... > > > > However THIS is neccessary to make it work correctly: > > ... > > put the topleft of grc "qr_ios" into tRect1 > > put the bottomright of grc "qr_ios" into tRect2 > > put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect > > mergAVCamSet "rect",tRect > > ... > > I really wonder why noone noticed this before!? > > 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 rdimola at evergreeninfo.net Wed Nov 16 10:21:25 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 16 Nov 2022 10:21:25 -0500 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> Message-ID: <001f01d8f9cf$1a726240$4f5726c0$@net> You can install any number of Xcode versions. Just point the build tools to 13.2.1. In terminal Xcode-select --print-path Will show the current selected path to xcode.app for building sudo xcode-select --switch PathToXcode13 will set the build tools path 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 Klaus major-k via use-livecode Sent: Wednesday, November 16, 2022 6:48 AM To: How to use LiveCode Cc: Klaus major-k Subject: Can we install "command Line Tools 14.1" on Mac? Hi all, I know that LC is not compatible with Xcode 14. But what about the command line tools? Is it safe to install the latest version 14.1? 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 klaus at major-k.de Wed Nov 16 10:24:33 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Nov 2022 16:24:33 +0100 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <001f01d8f9cf$1a726240$4f5726c0$@net> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> Message-ID: <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> Hi Ralph, > Am 16.11.2022 um 16:21 schrieb Ralph DiMola via use-livecode : > > You can install any number of Xcode versions. Just point the build tools to > 13.2.1. > In terminal > Xcode-select --print-path > Will show the current selected path to xcode.app for building > sudo xcode-select --switch PathToXcode13 > will set the build tools path yes, thank you, but that was not my question. 8-) I was asking abou the Xcode "Command Line Tools". > 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 Klaus major-k via use-livecode > Sent: Wednesday, November 16, 2022 6:48 AM > To: How to use LiveCode > Cc: Klaus major-k > Subject: Can we install "command Line Tools 14.1" on Mac? > > Hi all, > > I know that LC is not compatible with Xcode 14. > > But what about the command line tools? > Is it safe to install the latest version 14.1? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From rdimola at evergreeninfo.net Wed Nov 16 11:13:19 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 16 Nov 2022 11:13:19 -0500 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> Message-ID: <002301d8f9d6$5a86c950$0f945bf0$@net> Didn't test but I don't see why not as long as there is a 13.2.1 to build LC apps against. Panos? 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 Klaus major-k via use-livecode Sent: Wednesday, November 16, 2022 10:25 AM To: How to use LiveCode Cc: Klaus major-k Subject: Re: Can we install "command Line Tools 14.1" on Mac? Hi Ralph, > Am 16.11.2022 um 16:21 schrieb Ralph DiMola via use-livecode : > > You can install any number of Xcode versions. Just point the build > tools to 13.2.1. > In terminal > Xcode-select --print-path > Will show the current selected path to xcode.app for building sudo > xcode-select --switch PathToXcode13 will set the build tools path yes, thank you, but that was not my question. 8-) I was asking abou the Xcode "Command Line Tools". > 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 Klaus major-k via use-livecode > Sent: Wednesday, November 16, 2022 6:48 AM > To: How to use LiveCode > Cc: Klaus major-k > Subject: Can we install "command Line Tools 14.1" on Mac? > > Hi all, > > I know that LC is not compatible with Xcode 14. > > But what about the command line tools? > Is it safe to install the latest version 14.1? 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 merakosp at gmail.com Wed Nov 16 11:24:10 2022 From: merakosp at gmail.com (panagiotis m) Date: Wed, 16 Nov 2022 18:24:10 +0200 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <002301d8f9d6$5a86c950$0f945bf0$@net> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> <002301d8f9d6$5a86c950$0f945bf0$@net> Message-ID: Hello all, Yes, you can install any version of the command line tools you wish, but for LiveCode you need the version that is included in Xcode 13.2.x. So to use a different version you can do: sudo xcode-select -s /path/to/the/new/version/of/command/line/tools But before using LiveCode, make sure you revert to using version 13.2.x. You can also choose the version of the command line tools to be used by launching any version of Xcode and go to Xcode -> Preferences -> Locations -> Command Line Tools @Klaus May I ask why you are interested in the command line tools v14.1? Do you need them for another app? Kind regards, Panos -- On Wed, 16 Nov 2022 at 18:13, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Didn't test but I don't see why not as long as there is a 13.2.1 to build > LC > apps against. > Panos? > > 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 Klaus major-k via use-livecode > Sent: Wednesday, November 16, 2022 10:25 AM > To: How to use LiveCode > Cc: Klaus major-k > Subject: Re: Can we install "command Line Tools 14.1" on Mac? > > Hi Ralph, > > > Am 16.11.2022 um 16:21 schrieb Ralph DiMola via use-livecode > : > > > > You can install any number of Xcode versions. Just point the build > > tools to 13.2.1. > > In terminal > > Xcode-select --print-path > > Will show the current selected path to xcode.app for building sudo > > xcode-select --switch PathToXcode13 will set the build tools path > > yes, thank you, but that was not my question. 8-) I was asking abou the > Xcode "Command Line Tools". > > > 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 Klaus major-k via use-livecode > > Sent: Wednesday, November 16, 2022 6:48 AM > > To: How to use LiveCode > > Cc: Klaus major-k > > Subject: Can we install "command Line Tools 14.1" on Mac? > > > > Hi all, > > > > I know that LC is not compatible with Xcode 14. > > > > But what about the command line tools? > > Is it safe to install the latest version 14.1? > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Nov 16 11:28:11 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Nov 2022 17:28:11 +0100 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> <002301d8f9d6$5a86c950$0f945bf0$@net> Message-ID: Hi Panos, > Am 16.11.2022 um 17:24 schrieb panagiotis m via use-livecode : > > Hello all, > > Yes, you can install any version of the command line tools you wish, but > for LiveCode you need the version that is included in Xcode 13.2.x. > So to use a different version you can do: > sudo xcode-select -s /path/to/the/new/version/of/command/line/tools > But before using LiveCode, make sure you revert to using version 13.2.x. > You can also choose the version of the command line tools to be used by > launching any version of Xcode and go to Xcode -> Preferences -> Locations > -> Command Line Tools > @Klaus > May I ask why you are interested in the command line tools v14.1? Do you > need them for another app? no, it is just the Finder that annoys me every day with the info that there are new command line tools and if I wish to install them. :-) > Kind regards, > Panos > -- > > > > On Wed, 16 Nov 2022 at 18:13, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Didn't test but I don't see why not as long as there is a 13.2.1 to build >> LC >> apps against. >> Panos? >> >> Ralph DiMola Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Mon Nov 21 16:24:15 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Nov 2022 15:24:15 -0600 Subject: Lock screen challenge Message-ID: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: lock screen -- do any number of things unlock screen with These all need to be changed to: lock screen for visual effect -- do any number of things unlock screen with visual effect The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From craig at starfirelighting.com Mon Nov 21 16:30:57 2022 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 21 Nov 2022 16:30:57 -0500 Subject: Lock screen challenge In-Reply-To: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Jacque. Why aren’t you on the forum? Cant you just loop through each line in your handlers, and find the ones that contain “lock screen”, both with and without the visual effect thing. Search downstream until you find the “unlock” line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. Am I missing this? Craig > On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: > > I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. > > I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 paul at researchware.com Mon Nov 21 16:43:08 2022 From: paul at researchware.com (Paul Dupuis) Date: Mon, 21 Nov 2022 16:43:08 -0500 Subject: Lock screen challenge In-Reply-To: <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Message-ID: I was also going to suggest just brute forcing it. Something like: (code not complete or syntax checked) repeat with i=1 to the number of stacks   repeat with j = 1 to the number of cards in stack i     repeat with k= 1 to the number of controls of card j of stack i       put the script of control k of card j of stack i into tScript       -- look through the lines of tScript for "lock screen", note the line number A, then search from there onward for "unlock screen" and note the line number B       -- if line B begins with (after trimming spaces) "unlock screen with" then          -- replace line B with "unlock screen with visual effect"         -- and replace line A with "lock screen for visual effect"     end repeat   end repeat end repeat On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: > Jacque. > > Why arent you on the forum? > > Cant you just loop through each line in your handlers, and find the ones that contain lock screen, both with and without the visual effect thing. Search downstream until you find the unlock line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. > > Am I missing this? > > Craig > >> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: >> >> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From jacque at hyperactivesw.com Mon Nov 21 22:47:57 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Nov 2022 21:47:57 -0600 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Message-ID: <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks to both you and Craig. I couldn't think of any other way to do it either, but was hoping there was something other than brute force. Magic, maybe. It took LC's search/replace dialog a long time just to find all the instances, and actually editing them will be longer. But, it's just a one-off. Craig, I posted here because I more comfortable with it, and because more old-timers tend to be on the list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode wrote: > I was also going to suggest just brute forcing it. Something like: (code > not complete or syntax checked) > > repeat with i=1 to the number of stacks > repeat with j = 1 to the number of cards in stack i > repeat with k= 1 to the number of controls of card j of stack i > put the script of control k of card j of stack i into tScript > -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > -- if line B begins with (after trimming spaces) "unlock screen > with" then > -- replace line B with "unlock screen with visual effect" > -- and replace line A with "lock screen for visual effect" > end repeat > end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >> Jacque. >> >> Why arent you on the forum? >> >> Cant you just loop through each line in your handlers, and find the ones >> that contain lock screen, both with and without the visual effect thing. >> Search downstream until you find the unlock line, That gives you the >> start and finish lines for each handler. Then you can just replace the >> start and finish lines with the new ones. >> >> Am I missing this? >> >> Craig >> >>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>> wrote: >>> >>> I'm updating a very old set of stacks that use old HC syntax for "lock >>> screen". A search with LC's Find utility says there are 723 instances that >>> may need to be changed. Right now they look like this: >>> >>> lock screen >>> -- do any number of things >>> unlock screen with >>> >>> These all need to be changed to: >>> >>> lock screen for visual effect >>> -- do any number of things >>> unlock screen with visual effect >>> >>> The challenge is that not all "lock screen" commands use a visual effect, >>> some are simple lock/unlock pairs. I need to automate this. The visual >>> effects are not all the same. Some handlers have multiple instances of >>> locking the screen with or without a visual effect. >>> >>> I'd use a regex if I could, but back references aren't supported (or are >>> they now?) I really don't want to do this manually. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jmac at consensustech.com Tue Nov 22 12:43:51 2022 From: jmac at consensustech.com (Jim MacConnell) Date: Tue, 22 Nov 2022 09:43:51 -0800 Subject: Lock screen challenge In-Reply-To: <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1D4FC6D4-D503-4A9D-B3A0-CD8C1B8799F7@consensustech.com> I resemble that remark! j > On Nov 21, 2022, at 7:47 PM, J. Landman Gay via use-livecode wrote: > > more old-timers From gcanyon at gmail.com Tue Nov 22 16:08:34 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:08:34 -0800 Subject: Lock screen challenge In-Reply-To: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: A random thought: if you converted to script-only stack behaviors first, then you would have a bunch of text files you can use whatever tool you like on. gc On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm updating a very old set of stacks that use old HC syntax for "lock > screen". A search with > LC's Find utility says there are 723 instances that may need to be > changed. Right now they look > like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, > some are simple > lock/unlock pairs. I need to automate this. The visual effects are not all > the same. Some > handlers have multiple instances of locking the screen with or without a > visual effect. > > I'd use a regex if I could, but back references aren't supported (or are > they now?) I really > don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 gcanyon at gmail.com Tue Nov 22 16:11:49 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:11:49 -0800 Subject: Lock screen challenge In-Reply-To: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: Navigator has support for test-based filtering of controls, and can copy/paste scripts, but it doesn't support copying/pasting to more than one control at a time. That would be an interesting problem to solve. What's your time frame? gc On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm updating a very old set of stacks that use old HC syntax for "lock > screen". A search with > LC's Find utility says there are 723 instances that may need to be > changed. Right now they look > like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, > some are simple > lock/unlock pairs. I need to automate this. The visual effects are not all > the same. Some > handlers have multiple instances of locking the screen with or without a > visual effect. > > I'd use a regex if I could, but back references aren't supported (or are > they now?) I really > don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 gcanyon at gmail.com Tue Nov 22 16:18:14 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:18:14 -0800 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: My first thought is to export all scripts to a single file, with customized headers for each object (maybe with a user-definable format). Then look for that same format when pasting, to restore/update the scripts. Does that make sense? Or would it be better to have an export function to create individual files, one ofr each control, with the script in the file? That's probably more robust, but not everyone knows how to make bulk changes to a bunch of text files. On Tue, Nov 22, 2022 at 1:11 PM Geoff Canyon wrote: > Navigator has support for test-based filtering of controls, and can > copy/paste scripts, but it doesn't support copying/pasting to more than one > control at a time. That would be an interesting problem to solve. What's > your time frame? > > gc > > On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I'm updating a very old set of stacks that use old HC syntax for "lock >> screen". A search with >> LC's Find utility says there are 723 instances that may need to be >> changed. Right now they look >> like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, >> some are simple >> lock/unlock pairs. I need to automate this. The visual effects are not >> all the same. Some >> handlers have multiple instances of locking the screen with or without a >> visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are >> they now?) I really >> don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 brian at milby7.com Tue Nov 22 16:27:13 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 22 Nov 2022 16:27:13 -0500 Subject: Lock screen challenge In-Reply-To: References: Message-ID: One option to use an external editor would be ScriptTracker. You could export the scripts, do your bulk changes, and then import them back. Brian Milby brian at milby7.com > On Nov 22, 2022, at 4:10 PM, Geoff Canyon via use-livecode wrote: > > A random thought: if you converted to script-only stack behaviors first, > then you would have a bunch of text files you can use whatever tool you > like on. > > gc > >> On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> I'm updating a very old set of stacks that use old HC syntax for "lock >> screen". A search with >> LC's Find utility says there are 723 instances that may need to be >> changed. Right now they look >> like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, >> some are simple >> lock/unlock pairs. I need to automate this. The visual effects are not all >> the same. Some >> handlers have multiple instances of locking the screen with or without a >> visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are >> they now?) I really >> don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From gcanyon at gmail.com Tue Nov 22 16:29:30 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:29:30 -0800 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Message-ID: One small point on this: it doesn't matter since we're dealing with HC files here, but in LC there can be backgrounds that don't appear on any card. So it would be necessary to add: repeat with j = 1 to the number of backgrounds in stack i repeat with k= 1 to the number of controls of background j of stack i Note that this *doesn't* guarantee a single loop through all the controls. The code would need to handle controls in groups that appear on multiple cards. In Navigator I needed something like this. I created this, some of which I wrote years ago, and no warranty is expressed or implied: function allIDsOfStack stackID local tReturnIDList put empty into tReturnIDList repeat for each line bgID in backgroundIDsOf(stackID) put allControlIDsOf(bgID) after tReturnIDList end repeat repeat for each line cdID in cardIDsOf(stackID) put nonGroupChildControlIDsOf(cdID) after tReturnIDList end repeat return (the long id of stackID) & cr & tReturnIDList end allIDsOfStack function allControlIDsOf pContainerID local cIDend, cIDendString, controlIDList, controlList if not exists(pContainerID) then return empty put the long id of pContainerID into pContainerID --breakpoint switch word 1 of the name of pContainerID case "stack" return allIDsOfMainstack(pContainerID) case "card" put the controlIDs of pContainerID into controlList if controlList is empty then return pContainerID & cr repeat for each line cID in controlList put (the long id of control id cID of pContainerID) & cr after controlIDList end repeat return pContainerID & cr & controlIDList case "group" if word -6 of pContainerID is "card" then put -7 into cIDend else put -10 into cIDend put (word cIDend + 5 to -1 of pContainerID) & cr into cIDendString put the controlIDs of pContainerID into controlList if controlList is empty then return pContainerID & cr repeat for each line cID in controlList put "control" && (word 2 to cIDend of the long id of control id cID of pContainerID) && cIDendString after controlIDList end repeat return pContainerID & cr & controlIDList default --return "control" && word 2 to -1 of pContainerID return pContainerID end switch end allControlIDsOf function allUniqueIDsOf pControlList,includeBehaviors local tReturn, tWorking, X -- returns all the controls within put format("group,1\ncard,2\nstack,3") into X split X using cr and comma put canonicalIDsOf(pControlList) into pControlList sort lines of pControlList descending by X[word 1 of each] --answer pControlList repeat for each line cID in pControlList --put the long id of cID into cID if tReturn[cID] is not empty then next repeat --put true into tReturn[cID] if includeBehaviors then put canonicalIDsOf(allControlIDsOf(cID),false) into tWorking put addBehaviorChains(tWorking) into tBehaviors if tBehaviors is not empty then put cr & tBehaviors after tWorking split tWorking by cr as set else put canonicalIDsOf(allControlIDsOf(cID),true) into tWorking end if --answer tWorking --split tWorking by cr as set union tReturn with tWorking end repeat --answer the number of lines of the keys of tReturn return the keys of tReturn end allUniqueIDsOf function nonGroupChildControlIDsOf pContainerID local controlIDList, tReturnIDList put empty into tReturnIDList put the long id of pContainerID into pContainerID put the childControlIDs of pContainerID into controlIDList if controlIDList is empty then return pContainerID & cr put "control id " before controlIDList replace cr with " of" && pContainerID & cr & "control id " in controlIDList repeat for each line controlID in (controlIDList && "of" && pContainerID) if word 1 of the name of controlID is not "group" then put controlID & cr after tReturnIDList end repeat return pContainerID & cr & tReturnIDList end nonGroupChildControlIDsOf function canonicalIDsOf cIDList, returnArray local cID, cIDend, R repeat for each line cIDx in cIDList put the long id of cIDx into cID if word 5 of cID is "group" then if word -6 of cID is "card" then put -7 into cIDend else put -10 into cIDend put 1 into R[word 1 to cIDend of cID && word cIDend + 5 to -1 of cID] else put 1 into R[cID] end if end repeat if returnArray is true then return R else return (the keys of R) & cr end canonicalIDsOf function backgroundIDsOf stackID local backgroundIDList, bgID put empty into backgroundIDList repeat with i = 1 to 999999999 if not (there is a background i of stackID) then return backgroundIDList put (the long id of background i of stackID) into bgID if word 5 of bgID is not "group" then put bgID & cr after backgroundIDList end repeat end backgroundIDsOf function backgroundsOf stackID,bFilter,returnType,typeModifier if returnType = "short name" and bFilter = "backgroundNames" then return the backgroundNames of stackID put empty into R repeat with i = 1 to 999999999 if not (there is a background i of stackID) then return char 1 to -2 of R if not (bFilter = "all" \ or bFilter = "backgroundNames" and the backgroundBehavior of background i of stackID \ or bFilter = "base" and word 5 of the long id of background i of stackID is not "group") then next repeat switch case word 1 of returnType = "name" switch typeModifier case empty; put "background" && Q(the short name of background i of stackID) after R; break case "short"; put (the short name of background i of stackID) after R; break case "long"; put "background" && (word 2 to -1 of the long name of background i of stackID) after R; break end switch if returnType = "name" then break put tab after R case word 1 of returnType = "id" switch typeModifier case empty; put (the id of background i of stackID) after R; break case "short"; put (the short id of background i of stackID) after R; break case "long"; put (the long id of background i of stackID) after R; break end switch end switch put cr after R end repeat end backgroundsOf function cardsOf stackID repeat with i = 1 to 999999 if not (there is a card i of stackID) then return char 1 to -2 of R put (the short name of card i of stackID) & tab & (the short id of card i of stackID) & cr after R end repeat end cardsOf function backgroundIDsOf stackID local backgroundIDList, bgID try repeat with i = 1 to 999999999 put (the long id of background i of stackID) into bgID if word 5 of bgID is not "group" then put bgID & cr after backgroundIDList end repeat catch someErr end try return backgroundIDList end backgroundIDsOf function cardIDsOf stackID local cardIDList put "card id" && the cardIDs of stackID into cardIDList replace cr with " of" && the name of stackID & cr & "card id " in cardIDList return cardIDList && "of" && the name of stackID & cr end cardIDsOf On Mon, Nov 21, 2022 at 1:44 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > I was also going to suggest just brute forcing it. Something like: (code > not complete or syntax checked) > > repeat with i=1 to the number of stacks > repeat with j = 1 to the number of cards in stack i > repeat with k= 1 to the number of controls of card j of stack i > put the script of control k of card j of stack i into tScript > -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > -- if line B begins with (after trimming spaces) "unlock screen > with" then > -- replace line B with "unlock screen with visual effect" > -- and replace line A with "lock screen for visual effect" > end repeat > end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: > > Jacque. > > > > Why aren’t you on the forum? > > > > Cant you just loop through each line in your handlers, and find the ones > that contain “lock screen”, both with and without the visual effect thing. > Search downstream until you find the “unlock” line, That gives you the > start and finish lines for each handler. Then you can just replace the > start and finish lines with the new ones. > > > > Am I missing this? > > > > Craig > > > >> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I'm updating a very old set of stacks that use old HC syntax for "lock > screen". A search with LC's Find utility says there are 723 instances that > may need to be changed. Right now they look like this: > >> > >> lock screen > >> -- do any number of things > >> unlock screen with > >> > >> These all need to be changed to: > >> > >> lock screen for visual effect > >> -- do any number of things > >> unlock screen with visual effect > >> > >> The challenge is that not all "lock screen" commands use a visual > effect, some are simple lock/unlock pairs. I need to automate this. The > visual effects are not all the same. Some handlers have multiple instances > of locking the screen with or without a visual effect. > >> > >> I'd use a regex if I could, but back references aren't supported (or > are they now?) I really don't want to do this manually. > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Nov 22 16:31:17 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:31:17 -0800 Subject: Lock screen challenge In-Reply-To: References: Message-ID: Yep, that makes sense. Looks nice! On Tue, Nov 22, 2022 at 1:28 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > One option to use an external editor would be ScriptTracker. You could > export the scripts, do your bulk changes, and then import them back. > > Brian Milby > brian at milby7.com > > > On Nov 22, 2022, at 4:10 PM, Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > A random thought: if you converted to script-only stack behaviors first, > > then you would have a bunch of text files you can use whatever tool you > > like on. > > > > gc > > > >> On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >> I'm updating a very old set of stacks that use old HC syntax for "lock > >> screen". A search with > >> LC's Find utility says there are 723 instances that may need to be > >> changed. Right now they look > >> like this: > >> > >> lock screen > >> -- do any number of things > >> unlock screen with > >> > >> These all need to be changed to: > >> > >> lock screen for visual effect > >> -- do any number of things > >> unlock screen with visual effect > >> > >> The challenge is that not all "lock screen" commands use a visual > effect, > >> some are simple > >> lock/unlock pairs. I need to automate this. The visual effects are not > all > >> the same. Some > >> handlers have multiple instances of locking the screen with or without a > >> visual effect. > >> > >> I'd use a regex if I could, but back references aren't supported (or are > >> they now?) I really > >> don't want to do this manually. > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Tue Nov 22 16:50:15 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 22 Nov 2022 16:50:15 -0500 Subject: Lock screen challenge In-Reply-To: <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <005601d8febc$6acf58f0$406e0ad0$@net> Not to be Johnny Rain Cloud... What if handler "A" locks and it calls either hander "B" OR handler "C" to unlock? 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 J. Landman Gay via use-livecode Sent: Monday, November 21, 2022 10:48 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Lock screen challenge Thanks to both you and Craig. I couldn't think of any other way to do it either, but was hoping there was something other than brute force. Magic, maybe. It took LC's search/replace dialog a long time just to find all the instances, and actually editing them will be longer. But, it's just a one-off. Craig, I posted here because I more comfortable with it, and because more old-timers tend to be on the list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode wrote: > I was also going to suggest just brute forcing it. Something like: > (code not complete or syntax checked) > > repeat with i=1 to the number of stacks > repeat with j = 1 to the number of cards in stack i > repeat with k= 1 to the number of controls of card j of stack i > put the script of control k of card j of stack i into tScript > -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > -- if line B begins with (after trimming spaces) "unlock screen > with" then > -- replace line B with "unlock screen with visual effect" > -- and replace line A with "lock screen for visual effect" > end repeat > end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >> Jacque. >> >> Why aren’t you on the forum? >> >> Cant you just loop through each line in your handlers, and find the >> ones that contain “lock screen”, both with and without the visual effect thing. >> Search downstream until you find the “unlock” line, That gives you >> the start and finish lines for each handler. Then you can just >> replace the start and finish lines with the new ones. >> >> Am I missing this? >> >> Craig >> >>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>> wrote: >>> >>> I'm updating a very old set of stacks that use old HC syntax for >>> "lock screen". A search with LC's Find utility says there are 723 >>> instances that may need to be changed. Right now they look like this: >>> >>> lock screen >>> -- do any number of things >>> unlock screen with >>> >>> These all need to be changed to: >>> >>> lock screen for visual effect >>> -- do any number of things >>> unlock screen with visual effect >>> >>> The challenge is that not all "lock screen" commands use a visual >>> effect, some are simple lock/unlock pairs. I need to automate this. >>> The visual effects are not all the same. Some handlers have multiple >>> instances of locking the screen with or without a visual effect. >>> >>> I'd use a regex if I could, but back references aren't supported (or >>> are they now?) I really don't want to do this manually. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Nov 22 19:04:55 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Nov 2022 18:04:55 -0600 Subject: Lock screen challenge In-Reply-To: <005601d8febc$6acf58f0$406e0ad0$@net> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <005601d8febc$6acf58f0$406e0ad0$@net> Message-ID: <80ad1bc4-aa58-0036-db1f-fd09522c7cf9@hyperactivesw.com> Yup. That happens, and I thought of it. I'm still trying to figure out how to approach this. On 11/22/22 3:50 PM, Ralph DiMola via use-livecode wrote: > Not to be Johnny Rain Cloud... What if handler "A" locks and it calls either hander "B" OR handler "C" to unlock? > > 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 J. Landman Gay via use-livecode > Sent: Monday, November 21, 2022 10:48 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: Lock screen challenge > > Thanks to both you and Craig. I couldn't think of any other way to do it either, but was hoping there was something other than brute force. Magic, maybe. It took LC's search/replace dialog a long time just to find all the instances, and actually editing them will be longer. But, it's just a one-off. > > Craig, I posted here because I more comfortable with it, and because more old-timers tend to be on the list. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode wrote: > >> I was also going to suggest just brute forcing it. Something like: >> (code not complete or syntax checked) >> >> repeat with i=1 to the number of stacks >> repeat with j = 1 to the number of cards in stack i >> repeat with k= 1 to the number of controls of card j of stack i >> put the script of control k of card j of stack i into tScript >> -- look through the lines of tScript for "lock screen", note the >> line number A, then search from there onward for "unlock screen" and >> note the line number B >> -- if line B begins with (after trimming spaces) "unlock screen >> with" then >> -- replace line B with "unlock screen with visual effect" >> -- and replace line A with "lock screen for visual effect" >> end repeat >> end repeat >> end repeat >> >> >> On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >>> Jacque. >>> >>> Why aren’t you on the forum? >>> >>> Cant you just loop through each line in your handlers, and find the >>> ones that contain “lock screen”, both with and without the visual effect thing. >>> Search downstream until you find the “unlock” line, That gives you >>> the start and finish lines for each handler. Then you can just >>> replace the start and finish lines with the new ones. >>> >>> Am I missing this? >>> >>> Craig >>> >>>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>>> wrote: >>>> >>>> I'm updating a very old set of stacks that use old HC syntax for >>>> "lock screen". A search with LC's Find utility says there are 723 >>>> instances that may need to be changed. Right now they look like this: >>>> >>>> lock screen >>>> -- do any number of things >>>> unlock screen with >>>> >>>> These all need to be changed to: >>>> >>>> lock screen for visual effect >>>> -- do any number of things >>>> unlock screen with visual effect >>>> >>>> The challenge is that not all "lock screen" commands use a visual >>>> effect, some are simple lock/unlock pairs. I need to automate this. >>>> The visual effects are not all the same. Some handlers have multiple >>>> instances of locking the screen with or without a visual effect. >>>> >>>> I'd use a regex if I could, but back references aren't supported (or >>>> are they now?) I really don't want to do this manually. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 22 19:40:28 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Nov 2022 18:40:28 -0600 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: <61fd15fe-477d-2925-30d4-000834a9bceb@hyperactivesw.com> On 11/22/22 3:08 PM, Geoff Canyon via use-livecode wrote: > A random thought: if you converted to script-only stack behaviors first, > then you would have a bunch of text files you can use whatever tool you > like on. This project is a huge HC world. There are a lot of stacks, hundreds of cards, and probably thousands of controls. It's written the old HC way, so behaviors probably wouldn't help; almost every control is independent and performs a different action. I've already converted the few common actions to a backscript, but there's nothing much to hang a behavior on. > Navigator has support for test-based filtering of controls, and can > copy/paste scripts, but it doesn't support copying/pasting to more than one > control at a time. That would be an interesting problem to solve. What's > your time frame? Indeterminate, but not infinite. ;) I won't need to copy scripts though, every one of them is different. It's truly old-style HC. In fact, I'm still running with HCAddressing set to true, which breaks the property inspector a lot. My next task is to get rid of that. > My first thought is to export all scripts to a single file, with customized > headers for each object (maybe with a user-definable format). Then look for > that same format when pasting, to restore/update the scripts. Does that > make sense? Or would it be better to have an export function to create > individual files, one ofr each control, with the script in the file? That's > probably more robust, but not everyone knows how to make bulk changes to a > bunch of text files. Either way would probably work for most things, though if you exported all the controls in this project to a single file, you'd have a 20 MB novel. TBH, I already have a handler somewhere that writes out all scripts in a stack with headers; an old HC friend wrote it 30 years ago and it still works. Maybe I can dig that up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 22 19:41:12 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Nov 2022 18:41:12 -0600 Subject: Lock screen challenge In-Reply-To: References: Message-ID: <21f2e393-e94b-3ecb-2378-ba82fcd95c10@hyperactivesw.com> On 11/22/22 3:27 PM, Brian Milby via use-livecode wrote: > One option to use an external editor would be ScriptTracker. You could export the scripts, do your bulk changes, and then import them back. That's worth a thought. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From info at dicod.com Wed Nov 23 06:55:59 2022 From: info at dicod.com (info at dicod.com) Date: Wed, 23 Nov 2022 12:55:59 +0100 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: References: Message-ID: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> Hallo Jacqueline, Well I wouldn’t expect you asking such a question..! Scanning all the concerned script, get nScript and set nScript … put replacetexte (nScript, „screen“, „screen with visual effect“) into nScript … or for safer result (to turn around eventual individual „screen" chunk) of varying blank width) something like this should also works: …. put 0 into n0 Repeat put wordoffset(„screen", nScript, n0) into n00 If n00 is 0 then exit repeat Add n00 to n0 If „lock“ is char -4 to -1 of word n0-1 of nScript then put „ visual effect" after word n0 of nScript End repeat …. Safer seems not to be possible! Jean-Jacques Wagner (Involved since 20 years in only one for ever lasting patent process) > Am 22.11.2022 um 18:00 schrieb use-livecode-request at lists.runrev.com: > > Send use-livecode mailing list submissions to > use-livecode at lists.runrev.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.runrev.com/mailman/listinfo/use-livecode > or, via email, send a message with subject or body 'help' to > use-livecode-request at lists.runrev.com > > You can reach the person managing the list at > use-livecode-owner at lists.runrev.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of use-livecode digest..." > > > you can find the archives for this list at: > > http://lists.runrev.com/pipermail/use-livecode/ > > and search them using this link: > > http://www.google.com/advanced_search?q=site:lists.runrev.com > > > Today's Topics: > > 1. Lock screen challenge (J. Landman Gay) > 2. Re: Lock screen challenge (Craig Newman) > 3. Re: Lock screen challenge (Paul Dupuis) > 4. Re: Lock screen challenge (J. Landman Gay) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 21 Nov 2022 15:24:15 -0600 > From: "J. Landman Gay" > To: LiveCode Mailing List > Subject: Lock screen challenge > Message-ID: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf at hyperactivesw.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with > LC's Find utility says there are 723 instances that may need to be changed. Right now they look > like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, some are simple > lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some > handlers have multiple instances of locking the screen with or without a visual effect. > > I'd use a regex if I could, but back references aren't supported (or are they now?) I really > don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > ------------------------------ > > Message: 2 > Date: Mon, 21 Nov 2022 16:30:57 -0500 > From: Craig Newman > To: How to use LiveCode > Subject: Re: Lock screen challenge > Message-ID: > <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2 at starfirelighting.com> > Content-Type: text/plain; charset=utf-8 > > Jacque. > > Why aren?t you on the forum? > > Cant you just loop through each line in your handlers, and find the ones that contain ?lock screen?, both with and without the visual effect thing. Search downstream until you find the ?unlock? line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. > > Am I missing this? > > Craig > >> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: >> >> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 > > > > > ------------------------------ > > Message: 3 > Date: Mon, 21 Nov 2022 16:43:08 -0500 > From: Paul Dupuis > To: use-livecode at lists.runrev.com > Subject: Re: Lock screen challenge > Message-ID: > Content-Type: text/plain; charset=UTF-8; format=flowed > > I was also going to suggest just brute forcing it. Something like: (code > not complete or syntax checked) > > repeat with i=1 to the number of stacks > ? repeat with j = 1 to the number of cards in stack i > ??? repeat with k= 1 to the number of controls of card j of stack i > ????? put the script of control k of card j of stack i into tScript > ????? -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > ????? -- if line B begins with (after trimming spaces) "unlock screen > with" then > ???????? -- replace line B with "unlock screen with visual effect" > ??????? -- and replace line A with "lock screen for visual effect" > ??? end repeat > ? end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >> Jacque. >> >> Why aren?t you on the forum? >> >> Cant you just loop through each line in your handlers, and find the ones that contain ?lock screen?, both with and without the visual effect thing. Search downstream until you find the ?unlock? line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. >> >> Am I missing this? >> >> Craig >> >>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: >>> >>> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: >>> >>> lock screen >>> -- do any number of things >>> unlock screen with >>> >>> These all need to be changed to: >>> >>> lock screen for visual effect >>> -- do any number of things >>> unlock screen with visual effect >>> >>> The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. >>> >>> I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > > > ------------------------------ > > Message: 4 > Date: Mon, 21 Nov 2022 21:47:57 -0600 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Lock screen challenge > Message-ID: > <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9 at hyperactivesw.com> > Content-Type: text/plain; format=flowed; charset="UTF-8" > > Thanks to both you and Craig. I couldn't think of any other way to do it > either, but was hoping there was something other than brute force. Magic, > maybe. It took LC's search/replace dialog a long time just to find all the > instances, and actually editing them will be longer. But, it's just a one-off. > > Craig, I posted here because I more comfortable with it, and because more > old-timers tend to be on the list. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode > wrote: > >> I was also going to suggest just brute forcing it. Something like: (code >> not complete or syntax checked) >> >> repeat with i=1 to the number of stacks >> repeat with j = 1 to the number of cards in stack i >> repeat with k= 1 to the number of controls of card j of stack i >> put the script of control k of card j of stack i into tScript >> -- look through the lines of tScript for "lock screen", note the >> line number A, then search from there onward for "unlock screen" and >> note the line number B >> -- if line B begins with (after trimming spaces) "unlock screen >> with" then >> -- replace line B with "unlock screen with visual effect" >> -- and replace line A with "lock screen for visual effect" >> end repeat >> end repeat >> end repeat >> >> >> On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >>> Jacque. >>> >>> Why aren?t you on the forum? >>> >>> Cant you just loop through each line in your handlers, and find the ones >>> that contain ?lock screen?, both with and without the visual effect thing. >>> Search downstream until you find the ?unlock? line, That gives you the >>> start and finish lines for each handler. Then you can just replace the >>> start and finish lines with the new ones. >>> >>> Am I missing this? >>> >>> Craig >>> >>>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>>> wrote: >>>> >>>> I'm updating a very old set of stacks that use old HC syntax for "lock >>>> screen". A search with LC's Find utility says there are 723 instances that >>>> may need to be changed. Right now they look like this: >>>> >>>> lock screen >>>> -- do any number of things >>>> unlock screen with >>>> >>>> These all need to be changed to: >>>> >>>> lock screen for visual effect >>>> -- do any number of things >>>> unlock screen with visual effect >>>> >>>> The challenge is that not all "lock screen" commands use a visual effect, >>>> some are simple lock/unlock pairs. I need to automate this. The visual >>>> effects are not all the same. Some handlers have multiple instances of >>>> locking the screen with or without a visual effect. >>>> >>>> I'd use a regex if I could, but back references aren't supported (or are >>>> they now?) I really don't want to do this manually. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ------------------------------ > > End of use-livecode Digest, Vol 230, Issue 17 > ********************************************* From jacque at hyperactivesw.com Wed Nov 23 12:42:50 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 23 Nov 2022 11:42:50 -0600 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> References: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> Message-ID: <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I like to surprise people. :) Basically I was hoping to avoid brute force, but it looks like import/export may be the best way. If I do the stacks only a few at a time I'll only need a dozen passes or so. Part of the problem was determining which locks need changing and which were not visual effects, or which were locked in one handler and unlocked in a handler that might be elsewhere, sometimes even in a different stack. Some manual examination seems required. Fortunately the latter is rare. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 23, 2022 5:58:41 AM info--- via use-livecode wrote: > Hallo Jacqueline, > Well I wouldnt expect you asking such a question..! From klaus at major-k.de Fri Nov 25 12:17:28 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 25 Nov 2022 18:17:28 +0100 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest Message-ID: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> Hi all, I am currently workung through these lessons: Both require that we create a -> CertificateSigningRequest.certSigningRequest via the keychain app that needs to be uploaded to Apple. Question: Can I use the SAME CertificateSigningRequest.certSigningRequest file for the distibution and development profile? 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 matthias_livecode_150811 at m-r-d.de Fri Nov 25 13:11:17 2022 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 25 Nov 2022 19:11:17 +0100 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest In-Reply-To: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> References: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> Message-ID: <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> Hello Klaus, I used the same file for both certificates. Von meinem iPhone gesendet > Am 25.11.2022 um 18:18 schrieb Klaus major-k via use-livecode : > > Hi all, > > I am currently workung through these lessons: > > > > Both require that we create a -> CertificateSigningRequest.certSigningRequest > via the keychain app that needs to be uploaded to Apple. > > Question: > Can I use the SAME CertificateSigningRequest.certSigningRequest file for the distibution > and development profile? > > Thanks for any hint! > > > 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 klaus at major-k.de Fri Nov 25 13:22:23 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 25 Nov 2022 19:22:23 +0100 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest In-Reply-To: <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> References: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> Message-ID: <6AD26CC9-4B3A-467B-A5C7-D0DED1DD1451@major-k.de> Hi Matthias, > Am 25.11.2022 um 19:11 schrieb Matthias Rebbe via use-livecode : > > Hello Klaus, > > I used the same file for both certificates. merci, mon ami! :-) > Von meinem iPhone gesendet >> Am 25.11.2022 um 18:18 schrieb Klaus major-k via use-livecode : >> Hi all, >> I am currently workung through these lessons: >> >> >> Both require that we create a -> CertificateSigningRequest.certSigningRequest >> via the keychain app that needs to be uploaded to Apple. >> Question: >> Can I use the SAME CertificateSigningRequest.certSigningRequest file for the distibution >> and development profile? >> 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 MikeKerner at roadrunner.com Sat Nov 26 10:44:28 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 26 Nov 2022 10:44:28 -0500 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest In-Reply-To: <6AD26CC9-4B3A-467B-A5C7-D0DED1DD1451@major-k.de> References: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> <6AD26CC9-4B3A-467B-A5C7-D0DED1DD1451@major-k.de> Message-ID: and you can use the same ones year-after-year, i believe. On Fri, Nov 25, 2022 at 1:23 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Matthias, > > > Am 25.11.2022 um 19:11 schrieb Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hello Klaus, > > > > I used the same file for both certificates. > > merci, mon ami! :-) > > > Von meinem iPhone gesendet > >> Am 25.11.2022 um 18:18 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > >> Hi all, > >> I am currently workung through these lessons: > >> < > https://lessons.livecode.com/m/4069/l/32957-how-do-i-create-a-distribution-profile-for-ios > > > >> < > https://lessons.livecode.com/m/4069/l/308242-how-do-i-create-a-development-profile-for-ios > > > >> Both require that we create a -> > CertificateSigningRequest.certSigningRequest > >> via the keychain app that needs to be uploaded to Apple. > >> Question: > >> Can I use the SAME CertificateSigningRequest.certSigningRequest file > for the distibution > >> and development profile? > >> Thanks for any hint! > > 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 kee.nethery at elloco.com Sun Nov 27 16:17:58 2022 From: kee.nethery at elloco.com (kee nethery) Date: Sun, 27 Nov 2022 13:17:58 -0800 Subject: IP address and Country In-Reply-To: <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: When we did this, the database table had a start and end IP address range column. The IP addresses were entered into the table as integers without the dots. I’m not sure but I think we might have put a “1” at the beginning of the IP address integers so that everything stayed 13 digits (ie the front zeros in an IP address were not eliminated). StartIP and EndIP columns were indexed. The lookup time was pretty quick. Kee Nethery From harrison at all-auctions.com Sun Nov 27 18:06:53 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Sun, 27 Nov 2022 18:06:53 -0500 Subject: IP address and Country In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: <7FA8A289-B562-4CA0-B317-2B313C3AC0F9@all-auctions.com> Hi Kee, I did solve it, I just forgot to tell the list that I did. Oops. Thanks! Rick > On Nov 27, 2022, at 4:17 PM, kee nethery via use-livecode wrote: > > When we did this, the database table had a start and end IP address range column. > > The IP addresses were entered into the table as integers without the dots. I’m not sure but I think we might have put a “1” at the beginning of the IP address integers so that everything stayed 13 digits (ie the front zeros in an IP address were not eliminated). > > StartIP and EndIP columns were indexed. > > The lookup time was pretty quick. > > Kee Nethery From bobsneidar at iotecdigital.com Mon Nov 28 11:24:49 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 28 Nov 2022 16:24:49 +0000 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <75E10B0C-33BA-46A8-8834-84AE70800D8D@iotecdigital.com> I can imagine a lock/unlock wrapper that registers every lock screen request and will only unlock the screen if called from the same handler or uses the same passed ID as the lock handler. You could have a property for each registered lock to allow or disallow override from another unlock. That may be too comlicated though. Is it possible to check if the screen is locked first? Bob S > On Nov 23, 2022, at 09:42 , J. Landman Gay via use-livecode wrote: > > I like to surprise people. :) Basically I was hoping to avoid brute force, but it looks like import/export may be the best way. If I do the stacks only a few at a time I'll only need a dozen passes or so. > > Part of the problem was determining which locks need changing and which were not visual effects, or which were locked in one handler and unlocked in a handler that might be elsewhere, sometimes even in a different stack. Some manual examination seems required. Fortunately the latter is rare. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 23, 2022 5:58:41 AM info--- via use-livecode wrote: > >> Hallo Jacqueline, >> Well I wouldn’t expect you asking such a question..! > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 28 11:27:03 2022 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 28 Nov 2022 08:27:03 -0800 Subject: App not printing Message-ID: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> I have an app built with LC 9.6.7 (I believe) and this morning my tech support is flooded with people who are unable to print and some reporting error 1002 on Mac but the there are some Windows users reporting they cannot print either. Anybody else seeing this? --- Marty Knapp From rdimola at evergreeninfo.net Mon Nov 28 11:44:33 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 11:44:33 -0500 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: <75E10B0C-33BA-46A8-8834-84AE70800D8D@iotecdigital.com> References: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <75E10B0C-33BA-46A8-8834-84AE70800D8D@iotecdigital.com> Message-ID: <004101d90348$b455a2a0$1d00e7e0$@net> Bob, Yes you can "put the lockscreen" 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 Bob Sneidar via use-livecode Sent: Monday, November 28, 2022 11:25 AM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: use-livecode Digest, Vol 230, Issue 17 I can imagine a lock/unlock wrapper that registers every lock screen request and will only unlock the screen if called from the same handler or uses the same passed ID as the lock handler. You could have a property for each registered lock to allow or disallow override from another unlock. That may be too comlicated though. Is it possible to check if the screen is locked first? Bob S > On Nov 23, 2022, at 09:42 , J. Landman Gay via use-livecode wrote: > > I like to surprise people. :) Basically I was hoping to avoid brute force, but it looks like import/export may be the best way. If I do the stacks only a few at a time I'll only need a dozen passes or so. > > Part of the problem was determining which locks need changing and which were not visual effects, or which were locked in one handler and unlocked in a handler that might be elsewhere, sometimes even in a different stack. Some manual examination seems required. Fortunately the latter is rare. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > | http://www.hyperactivesw.com On November 23, 2022 5:58:41 AM info--- > via use-livecode wrote: > >> Hallo Jacqueline, >> Well I wouldn’t expect you asking such a question..! > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dan at clearvisiontech.com Mon Nov 28 12:24:44 2022 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 28 Nov 2022 17:24:44 +0000 Subject: App not printing In-Reply-To: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> Message-ID: Marty, I had a similar issue. The only way to resolve the issue was to add the printing entitlements. Apps uploaded to the Mac App Store must have the sandbox environment enabled, and for every functionality that needs to communicate with the "outside world" it needs the appropriate entitlement. See section 16 of lesson: https://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store In the entitlements list, you need to add the printing entitlement (com.apple.security.print). Hope that helps! -Dan On 11/28/22, 8:28 AM, "use-livecode on behalf of Marty Knapp via use-livecode" wrote: I have an app built with LC 9.6.7 (I believe) and this morning my tech support is flooded with people who are unable to print and some reporting error 1002 on Mac but the there are some Windows users reporting they cannot print either. Anybody else seeing this? --- Marty Knapp _______________________________________________ use-livecode mailing list use-livecode 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 rdimola at evergreeninfo.net Mon Nov 28 14:09:17 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 14:09:17 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> Message-ID: <004b01d9035c$ecc3f4c0$c64bde40$@net> Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From richmondmathewson at gmail.com Mon Nov 28 14:15:54 2022 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 28 Nov 2022 21:15:54 +0200 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <004b01d9035c$ecc3f4c0$c64bde40$@net> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> Message-ID: You will have your own reasons for wanting to move to Big Sur and not up to MacOS 13. But, from my own experience after Catalina my experience with MacOS was distinctly off-colour unti I hit MacOS 13, which, once you overlook the way they mucked up the System Settings thing, does feel a whole lot more robust that the beta-quality stuff Apple lobbed ourway after Catalina. On Mon, 28 Nov 2022, 21:09 Ralph DiMola via use-livecode, < use-livecode at lists.runrev.com> wrote: > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did > some searches but I can't find anything. Software update only lists Ventura > as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Mon Nov 28 14:26:37 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 14:26:37 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> Message-ID: <005101d9035f$5847feb0$08d7fc10$@net> Richmond, Thanks. I had heard of some Ventura issues so I wanted an established OS to update to in order to run Xcode 14. I guess a time machine final backup and then let Ventura rip as an update? Any issues you've seen? 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 Richmond Mathewson via use-livecode Sent: Monday, November 28, 2022 2:16 PM To: How to use LiveCode Cc: Richmond Mathewson Subject: Re: [OT] Upgrade to Monterey from Big Sur You will have your own reasons for wanting to move to Big Sur and not up to MacOS 13. But, from my own experience after Catalina my experience with MacOS was distinctly off-colour unti I hit MacOS 13, which, once you overlook the way they mucked up the System Settings thing, does feel a whole lot more robust that the beta-quality stuff Apple lobbed ourway after Catalina. On Mon, 28 Nov 2022, 21:09 Ralph DiMola via use-livecode, < use-livecode at lists.runrev.com> wrote: > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I > did some searches but I can't find anything. Software update only > lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 28 14:26:57 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 28 Nov 2022 20:26:57 +0100 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <004b01d9035c$ecc3f4c0$c64bde40$@net> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> Message-ID: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> I think under software updates only the newest os version is listed. The older versions need to be downloaded from the App Store Does this link work for you to download Monterey. https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode : > > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Mon Nov 28 16:43:12 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 16:43:12 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> Message-ID: <005501d90372$6d4d0720$47e71560$@net> Matthias, Thanks. I will give the link a look. I need to run Xcode 14 for the iPhone 14 simulator to do some testing. 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 matthias rebbe via use-livecode Sent: Monday, November 28, 2022 2:27 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: [OT] Upgrade to Monterey from Big Sur I think under software updates only the newest os version is listed. The older versions need to be downloaded from the App Store Does this link work for you to download Monterey. https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode : > > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 28 17:15:39 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 28 Nov 2022 23:15:39 +0100 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <005501d90372$6d4d0720$47e71560$@net> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> <005501d90372$6d4d0720$47e71560$@net> Message-ID: <021A2164-B609-4BD0-95AF-65FEAF7B2B2D@m-r-d.de> Btw. Do you know Virtual Machine Hub? https://sascha-simon.com/en/vm.html And if you need an older recovery image than the one the Virtual Machine Hub offers, you can find download links (from Apple website) here https://ipsw.me/ Maybe this is also a possible solution for you without updating your current system... > Am 28.11.2022 um 22:43 schrieb Ralph DiMola via use-livecode : > > Matthias, > Thanks. > > I will give the link a look. I need to run Xcode 14 for the iPhone 14 > simulator to do some testing. > > 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 matthias rebbe via use-livecode > Sent: Monday, November 28, 2022 2:27 PM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: [OT] Upgrade to Monterey from Big Sur > > I think under software updates only the newest os version is listed. The > older versions need to be downloaded from the App Store Does this link work > for you to download Monterey. > https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > >> Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode > : >> >> Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did > some searches but I can't find anything. Software update only lists Ventura > as an upgrade option. >> >> Thanks! >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Mon Nov 28 19:11:16 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:11:16 +0000 Subject: sqlYoga wierdness Message-ID: Hi all. If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) Here's the code: put sqlquery_createObject("service") into qServiceObjectA sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" sqlquery_set qServiceObjectA, "distinct", true sqlquery_set qServiceObjectA, "joins", \ "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" put dbQuery(qServiceObjectA, "data") into tFoundOrphans setStatusMsg "Deleting service orphans from the service table...", tParentCard if tFoundOrphans is empty then answer info "No orphaned service records found!" as sheet else sqlquery_delete qServiceObjectA Answer info "Orphaned service records have been purged!" as sheet end if The SQL I am shooting for is: SELECT DISTINCT service.siteid FROM service LEFT OUTER JOIN sites ON service.siteid=sites.siteid WHERE sites.siteid IS NULL; This works also in a SQL editor. Bob S From bobsneidar at iotecdigital.com Mon Nov 28 19:17:26 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:17:26 +0000 Subject: sqlYoga wierdness In-Reply-To: References: Message-ID: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> NVM. Of course, the query is going to rename the second siteid column for sites to siteid2. Bob S > On Nov 28, 2022, at 16:11 , Bob Sneidar via use-livecode wrote: > > Hi all. > > If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! > > > sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) > > Here's the code: > > put sqlquery_createObject("service") into qServiceObjectA > sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" > sqlquery_set qServiceObjectA, "distinct", true > sqlquery_set qServiceObjectA, "joins", \ > "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" > sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" > put dbQuery(qServiceObjectA, "data") into tFoundOrphans > setStatusMsg "Deleting service orphans from the service table...", tParentCard > > if tFoundOrphans is empty then > answer info "No orphaned service records found!" as sheet > else > sqlquery_delete qServiceObjectA > Answer info "Orphaned service records have been purged!" as sheet > end if > > The SQL I am shooting for is: > > SELECT DISTINCT > service.siteid > FROM > service > LEFT OUTER JOIN > sites > ON > service.siteid=sites.siteid > WHERE > sites.siteid IS NULL; > > This works also in a SQL editor. > > 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 Mon Nov 28 19:30:00 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:30:00 +0000 Subject: sqlYoga wierdness In-Reply-To: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> References: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> Message-ID: <9ADFD302-B1B2-4934-9677-7F440815CEBF@iotecdigital.com> I don't think there is a way to do this with sqlYoga. I tried "... service.siteid AS siteid1..." and then referring to the columns with their aliases, but that still does not work. Bob S > On Nov 28, 2022, at 16:17 , Bob Sneidar via use-livecode wrote: > > NVM. Of course, the query is going to rename the second siteid column for sites to siteid2. > > Bob S > > >> On Nov 28, 2022, at 16:11 , Bob Sneidar via use-livecode wrote: >> >> Hi all. >> >> If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! >> >> >> sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) >> >> Here's the code: >> >> put sqlquery_createObject("service") into qServiceObjectA >> sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" >> sqlquery_set qServiceObjectA, "distinct", true >> sqlquery_set qServiceObjectA, "joins", \ >> "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" >> sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" >> put dbQuery(qServiceObjectA, "data") into tFoundOrphans >> setStatusMsg "Deleting service orphans from the service table...", tParentCard >> >> if tFoundOrphans is empty then >> answer info "No orphaned service records found!" as sheet >> else >> sqlquery_delete qServiceObjectA >> Answer info "Orphaned service records have been purged!" as sheet >> end if >> >> The SQL I am shooting for is: >> >> SELECT DISTINCT >> service.siteid >> FROM >> service >> LEFT OUTER JOIN >> sites >> ON >> service.siteid=sites.siteid >> WHERE >> sites.siteid IS NULL; >> >> This works also in a SQL editor. >> >> 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 Mon Nov 28 19:37:12 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:37:12 +0000 Subject: sqlYoga wierdness In-Reply-To: <9ADFD302-B1B2-4934-9677-7F440815CEBF@iotecdigital.com> References: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> <9ADFD302-B1B2-4934-9677-7F440815CEBF@iotecdigital.com> Message-ID: <08EF39C1-7877-41F2-AD51-16B82B6F9D44@iotecdigital.com> I see why. sqlquery_delete does not take anything into account except for the where clause. The join and distinct properties are ignored. I will have to recode using some other method. Bob S > On Nov 28, 2022, at 16:30 , Bob Sneidar via use-livecode wrote: > > I don't think there is a way to do this with sqlYoga. I tried "... service.siteid AS siteid1..." and then referring to the columns with their aliases, but that still does not work. > > Bob S > > >> On Nov 28, 2022, at 16:17 , Bob Sneidar via use-livecode wrote: >> >> NVM. Of course, the query is going to rename the second siteid column for sites to siteid2. >> >> Bob S >> >> >>> On Nov 28, 2022, at 16:11 , Bob Sneidar via use-livecode wrote: >>> >>> Hi all. >>> >>> If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! >>> >>> >>> sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) >>> >>> Here's the code: >>> >>> put sqlquery_createObject("service") into qServiceObjectA >>> sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" >>> sqlquery_set qServiceObjectA, "distinct", true >>> sqlquery_set qServiceObjectA, "joins", \ >>> "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" >>> sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" >>> put dbQuery(qServiceObjectA, "data") into tFoundOrphans >>> setStatusMsg "Deleting service orphans from the service table...", tParentCard >>> >>> if tFoundOrphans is empty then >>> answer info "No orphaned service records found!" as sheet >>> else >>> sqlquery_delete qServiceObjectA >>> Answer info "Orphaned service records have been purged!" as sheet >>> end if >>> >>> The SQL I am shooting for is: >>> >>> SELECT DISTINCT >>> service.siteid >>> FROM >>> service >>> LEFT OUTER JOIN >>> sites >>> ON >>> service.siteid=sites.siteid >>> WHERE >>> sites.siteid IS NULL; >>> >>> This works also in a SQL editor. >>> >>> 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 tore.nilsen at me.com Tue Nov 29 03:03:32 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 29 Nov 2022 09:03:32 +0100 Subject: Field content as parametres in a function Message-ID: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> I have come across a puzzling behavior when trying to use the content of a field as parametres in a function, and I am trying to understand why. I put the following in a field called «test»: 1,2,3,4,5 When I then call the function like this: answer testFunction(field «test»), the paramCount() returns 1 If I use the values directly in the script: answer testFunction(1,2,3,4,5), the paramCount() returns 5 as expected I will also get the expected result if a do the following: put "answer testFunction(" & field «test» & ")" into tScript do tScript I guess the reason for this is that in the last example, LiveCode compiles the content of the variable tScript before execution, and that this turns what is first treated as a single block of text into a list of parametres. The reason why I want to understand what is happening is that I am about to teach my students how to write reusable code that will behave correctly for any number of parametres. So my question is if I am on the right track? Best regards Tore Nilsen From tore.nilsen at me.com Tue Nov 29 03:03:32 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 29 Nov 2022 09:03:32 +0100 Subject: Field content as parametres in a function Message-ID: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> I have come across a puzzling behavior when trying to use the content of a field as parametres in a function, and I am trying to understand why. I put the following in a field called «test»: 1,2,3,4,5 When I then call the function like this: answer testFunction(field «test»), the paramCount() returns 1 If I use the values directly in the script: answer testFunction(1,2,3,4,5), the paramCount() returns 5 as expected I will also get the expected result if a do the following: put "answer testFunction(" & field «test» & ")" into tScript do tScript I guess the reason for this is that in the last example, LiveCode compiles the content of the variable tScript before execution, and that this turns what is first treated as a single block of text into a list of parametres. The reason why I want to understand what is happening is that I am about to teach my students how to write reusable code that will behave correctly for any number of parametres. So my question is if I am on the right track? Best regards Tore Nilsen From alex at tweedly.net Tue Nov 29 06:08:17 2022 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 29 Nov 2022 11:08:17 +0000 Subject: Field content as parametres in a function In-Reply-To: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> References: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> Message-ID: <8f61a5ab-f482-8a5d-2c62-e2d34316e665@tweedly.net> Yes, your description is correct (except for saying the behavior is "puzzling" :-) The first case you are passing a single parameter (which happens to have commas in its current content). You could have said " .... paramcount() returns 1 as expected". The second case you pass 5 values. And the third case, as you say, expands the value first, so it becomes a call with 5 parameters. Alex. On 29/11/2022 08:03, Tore Nilsen via use-livecode wrote: > I have come across a puzzling behavior when trying to use the content of a field as parametres in a function, and I am trying to understand why. > > I put the following in a field called test: 1,2,3,4,5 > > When I then call the function like this: > answer testFunction(field test), the paramCount() returns 1 > > If I use the values directly in the script: > answer testFunction(1,2,3,4,5), the paramCount() returns 5 as expected > > I will also get the expected result if a do the following: > > put "answer testFunction(" & field test & ")" into tScript > do tScript > > I guess the reason for this is that in the last example, LiveCode compiles the content of the variable tScript before execution, and that this turns what is first treated as a single block of text into a list of parametres. > > The reason why I want to understand what is happening is that I am about to teach my students how to write reusable code that will behave correctly for any number of parametres. > > So my question is if I am on the right track? > > Best regards > Tore Nilsen > _______________________________________________ > use-livecode mailing list > use-livecode 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 tore.nilsen at me.com Tue Nov 29 06:25:07 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 29 Nov 2022 12:25:07 +0100 Subject: Field content as parametres in a function In-Reply-To: <8f61a5ab-f482-8a5d-2c62-e2d34316e665@tweedly.net> References: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> <8f61a5ab-f482-8a5d-2c62-e2d34316e665@tweedly.net> Message-ID: <32C5D9B7-A0FC-43F2-9FAC-114CC1684303@me.com> > 29. nov. 2022 kl. 12:08 skrev Alex Tweedly via use-livecode : > > Yes, your description is correct (except for saying the behavior is "puzzling" :-) > > The first case you are passing a single parameter (which happens to have commas in its current content). You could have said " .... paramcount() returns 1 as expected". > > The second case you pass 5 values. > > And the third case, as you say, expands the value first, so it becomes a call with 5 parameters. > > Alex. What is «puzzling» to me, among a whole lot of other things I fail to grasp, is why in the first example, the value in field «test» is treated as a single parameter, but in the last example it is treated as five parameters, since nothing has changed with the values in the field itself. I do however accept the reality of it, but I wanted to understand why this is the way it is. My original thinking was that by referencing the field as parameter, the values of the field would then become de facto parameters passed on to the function. I guess it is just another item in the long list of things I do not fully understand. :-) Best regards Tore From brian at milby7.com Tue Nov 29 08:23:48 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 29 Nov 2022 08:23:48 -0500 Subject: Field content as parametres in a function In-Reply-To: <32C5D9B7-A0FC-43F2-9FAC-114CC1684303@me.com> References: <32C5D9B7-A0FC-43F2-9FAC-114CC1684303@me.com> Message-ID: <2AA9C771-8634-4843-8616-A60CB1B29BA7@milby7.com> Your original is the same as: put field «test» into tParam answer testFunction(tParam) So yes, whatever is placed as a parameter to a function is not expanded. Think about doing the same thing with an arbitrary block of text in the field and what would be the expected result. Brian Milby brian at milby7.com > On Nov 29, 2022, at 6:26 AM, Tore Nilsen via use-livecode wrote: > >  > >> 29. nov. 2022 kl. 12:08 skrev Alex Tweedly via use-livecode : >> >> Yes, your description is correct (except for saying the behavior is "puzzling" :-) >> >> The first case you are passing a single parameter (which happens to have commas in its current content). You could have said " .... paramcount() returns 1 as expected". >> >> The second case you pass 5 values. >> >> And the third case, as you say, expands the value first, so it becomes a call with 5 parameters. >> >> Alex. > > What is «puzzling» to me, among a whole lot of other things I fail to grasp, is why in the first example, the value in field «test» is treated as a single parameter, but in the last example it is treated as five parameters, since nothing has changed with the values in the field itself. I do however accept the reality of it, but I wanted to understand why this is the way it is. My original thinking was that by referencing the field as parameter, the values of the field would then become de facto parameters passed on to the function. I guess it is just another item in the long list of things I do not fully understand. :-) > > Best regards > Tore > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Tue Nov 29 10:50:18 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 29 Nov 2022 10:50:18 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> Message-ID: <003801d9040a$4ade3180$e09a9480$@net> Matthias, That worked! Thank you so much. The link sent me to the app store. I clicked "Get" and after the download finished the SW update pref appeared. Then the installation dialog started. Not that it made any difference, the SW update pref then spun for a second and showed the Ventura update again. But the Monterey installer was still on the screen. I clicked "install" and I was off to the races. I was done in about 30-40 minutes. I have an iPhone 14 pro simulator running using Xcode 14.1. I'm now going to see if I can get LC to install an app on it. 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 matthias rebbe via use-livecode Sent: Monday, November 28, 2022 2:27 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: [OT] Upgrade to Monterey from Big Sur I think under software updates only the newest os version is listed. The older versions need to be downloaded from the App Store Does this link work for you to download Monterey. https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode : > > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Nov 29 11:58:04 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Nov 2022 17:58:04 +0100 Subject: Browser widget doesn't display PDF Message-ID: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> Hello, i am currently having problems that a browser widget doesn't display a pdf, regardless if remote or local. I just see a white blank page. Sometime an error message comes up telling me that "PDFViewer could not find a compatible version of Adobe Acrobat or Adobe Reader for displaying this PDF file." Something like that. I get a German error message. The interesting part is, that Safari does not have a problem with displaying the PDF and the folders ~/library/internet-plugins and /library/Internet-plugins both contain the Acrobat plugins. Tried here with LC 9.6.9RC2 and 10DP4 on Ventura 13.0.1. Does anyone has an idea what might be wrong? Regards, Matthias From merakosp at gmail.com Tue Nov 29 12:38:14 2022 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Nov 2022 19:38:14 +0200 Subject: Browser widget doesn't display PDF In-Reply-To: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> References: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> Message-ID: Hello Matthias, See: https://quality.livecode.com/show_bug.cgi?id=18378 https://quality.livecode.com/show_bug.cgi?id=22534 I suggest using a PDF widget instead of a browser widget to display the pdf files, until this bug is fixed. Kind regards, Panos -- On Tue, 29 Nov 2022 at 18:59, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello, > > i am currently having problems that a browser widget doesn't display a > pdf, regardless if remote or local. > > I just see a white blank page. Sometime an error message comes up telling > me that "PDFViewer could not find a compatible version of Adobe Acrobat or > Adobe Reader for displaying this PDF file." > Something like that. I get a German error message. > > The interesting part is, that Safari does not have a problem with > displaying the PDF and the folders ~/library/internet-plugins and > /library/Internet-plugins both contain the Acrobat plugins. > > Tried here with LC 9.6.9RC2 and 10DP4 on Ventura 13.0.1. > > Does anyone has an idea what might be wrong? > > 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 rdimola at evergreeninfo.net Tue Nov 29 14:07:54 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 29 Nov 2022 14:07:54 -0500 Subject: [OT] Upgrade to Monterey from Big Sur Update Simulator/Multiple Xcode versions In-Reply-To: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> Message-ID: <004f01d90425$e59aaa80$b0cfff80$@net> FYI: I was able to run Xcode 14.1 and invoke the iPhone 14 simulator. I tested an LC app building against Xcode 13.2.1. Clicked the test button and BOOM there was the app on the iPhone 14 simulator. Only one little hiccup. I had to select the hardware keyboard then disable then re-enable to get the keyboard to type into LC fields. After that I could test over and over with no problems. Build time and simulator performance is amazingly fast. M1 Mac Mini LC 9.6.9 rc2 Thanks again to all for your help! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From matthias_livecode_150811 at m-r-d.de Tue Nov 29 15:51:03 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Nov 2022 21:51:03 +0100 Subject: Browser widget doesn't display PDF In-Reply-To: References: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> Message-ID: <7C624855-7DB0-4198-AD44-8B2DE2831B42@m-r-d.de> Hello Panos, thanks for reminding me of bug 22534. I should have remember it. That bug report is based on a support request i filed. ;) > Am 29.11.2022 um 18:38 schrieb panagiotis m via use-livecode : > > Hello Matthias, > > See: > > https://quality.livecode.com/show_bug.cgi?id=18378 Thanks, i was not aware of that report. Btw. you are commenting in that report, that you could replicate the problem with a 316 page PDF, but not with a 5 page pdf. In my case the PDF has only 1 page. > https://quality.livecode.com/show_bug.cgi?id=22534 > I knew that one already, because its a bug report based on a support request i filed. ;) To be honest, i almost forget about it. Rereading my comments i remembered that one hast remove the plugins and logoff and login again to get it working with the widget. > I suggest using a PDF widget instead of a browser widget to display the pdf > files, until this bug is fixed. Btw. this might be a workaround for me if i need also the Acrobat plugins, but according to the dictionary the PDF widget is only available with a Pro license. So this is not a workaround for everyone. Anyway, thanks again. Matthias > > Kind regards, > Panos > -- > > On Tue, 29 Nov 2022 at 18:59, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hello, >> >> i am currently having problems that a browser widget doesn't display a >> pdf, regardless if remote or local. >> >> I just see a white blank page. Sometime an error message comes up telling >> me that "PDFViewer could not find a compatible version of Adobe Acrobat or >> Adobe Reader for displaying this PDF file." >> Something like that. I get a German error message. >> >> The interesting part is, that Safari does not have a problem with >> displaying the PDF and the folders ~/library/internet-plugins and >> /library/Internet-plugins both contain the Acrobat plugins. >> >> Tried here with LC 9.6.9RC2 and 10DP4 on Ventura 13.0.1. >> >> Does anyone has an idea what might be wrong? >> >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Nov 30 13:59:27 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Nov 2022 19:59:27 +0100 Subject: correct iphoneSafeAreaInsets in iPad simulator? Message-ID: Hi friends, here two screenshots from my app in the Apple iPad simulator: Same app***, same scripting, same "resizestack" handler taking iphoneSafeAreaInsets() into account and reposition objects accordingly. ***Only difference is that I disabled the group of buttons in the middle in one simulator. Please notice the much larger area of empty space below the navigation widget and above the text field at the top in the screenshot of the iPad Pro (11-inch) (3rd generation). Is this a bug, a feature or just some inconvenience of the simulator? Any insight welcome, thank you! 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 Wed Nov 30 14:03:33 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Nov 2022 20:03:33 +0100 Subject: correct iphoneSafeAreaInsets in iPad simulator? In-Reply-To: References: Message-ID: <986CE0E5-A9D2-49DE-9310-D470012B7579@major-k.de> Additional info: I resize the stack to proportionally to the devices screen dimensions. And that works fine on all tested iPhone simulators. These differences are only on these two iPad simualtors. > Am 30.11.2022 um 19:59 schrieb Klaus major-k via use-livecode : > > Hi friends, > > here two screenshots from my app in the Apple iPad simulator: > > > Same app***, same scripting, same "resizestack" handler taking iphoneSafeAreaInsets() > into account and reposition objects accordingly. > > ***Only difference is that I disabled the group of buttons in the middle in one simulator. > > Please notice the much larger area of empty space below the navigation widget and above > the text field at the top in the screenshot of the iPad Pro (11-inch) (3rd generation). > > Is this a bug, a feature or just some inconvenience of the simulator? > > Any insight welcome, thank you! -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Nov 30 15:40:21 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Nov 2022 21:40:21 +0100 Subject: correct iphoneSafeAreaInsets in iPad simulator? Message-ID: <96F31279-F891-4509-B2F3-785A0DE82D1F@major-k.de> Sorry, here the link that does not automatically compresses an downloads the two images -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From rdimola at evergreeninfo.net Wed Nov 30 16:28:30 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 30 Nov 2022 16:28:30 -0500 Subject: correct iphoneSafeAreaInsets in iPad simulator? In-Reply-To: <986CE0E5-A9D2-49DE-9310-D470012B7579@major-k.de> References: <986CE0E5-A9D2-49DE-9310-D470012B7579@major-k.de> Message-ID: <007201d90502$b4aa6680$1dff3380$@net> Klaus, I see what you mean. I had my resizing SW using a table that I just kept adding to as new models were released. I gave up on that after the iPhone 14 pro was released. I now use iphoneSafeAreaInsets(). It seems to work OK. I will do some testing of one of my apps on the iPad Pro (11-inch) (3rd generation) simulator. Film at 11 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 Klaus major-k via use-livecode Sent: Wednesday, November 30, 2022 2:04 PM To: How to use LiveCode Cc: Klaus major-k Subject: Re: correct iphoneSafeAreaInsets in iPad simulator? Additional info: I resize the stack to proportionally to the devices screen dimensions. And that works fine on all tested iPhone simulators. These differences are only on these two iPad simualtors. > Am 30.11.2022 um 19:59 schrieb Klaus major-k via use-livecode : > > Hi friends, > > here two screenshots from my app in the Apple iPad simulator: > dl=1> > > Same app***, same scripting, same "resizestack" handler taking > iphoneSafeAreaInsets() into account and reposition objects accordingly. > > ***Only difference is that I disabled the group of buttons in the middle in one simulator. > > Please notice the much larger area of empty space below the navigation > widget and above the text field at the top in the screenshot of the iPad Pro (11-inch) (3rd generation). > > Is this a bug, a feature or just some inconvenience of the simulator? > > Any insight welcome, thank you! -- 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 rdimola at evergreeninfo.net Wed Nov 30 16:37:05 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 30 Nov 2022 16:37:05 -0500 Subject: correct iphoneSafeAreaInsets in iPad simulator? In-Reply-To: <96F31279-F891-4509-B2F3-785A0DE82D1F@major-k.de> References: <96F31279-F891-4509-B2F3-785A0DE82D1F@major-k.de> Message-ID: <007601d90503$e7278d30$b576a790$@net> I did not have any problems on iPad Pro (11-inch) (3rd generation) simulator using iphoneSafeAreaInsets(). One thing I did notice that when you change rotation the resizestack handler is not firing. However it does work as expected on the device. LC or simulator bug? Other than that, I have nothing. 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 Klaus major-k via use-livecode Sent: Wednesday, November 30, 2022 3:40 PM To: How to use LiveCode Cc: Klaus major-k Subject: correct iphoneSafeAreaInsets in iPad simulator? Sorry, here the link that does not automatically compresses an downloads the two images -- 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 gbojsza at gmail.com Wed Nov 2 12:43:01 2022 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 2 Nov 2022 12:43:01 -0400 Subject: Script Compiler Message-ID: I haven't been following things for a few months and the Script Compiler beta was coming out sometime in the summer. Has this happened? Is there any delivery date for it? regards, Glen From sean at pidigital.co.uk Wed Nov 2 12:54:23 2022 From: sean at pidigital.co.uk (Sean Cole) Date: Wed, 2 Nov 2022 16:54:23 +0000 Subject: Script Compiler In-Reply-To: References: Message-ID: It's always Summer somewhere ;D Sean Cole *Pi Digital Productions Ltd* On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < use-livecode at lists.runrev.com> wrote: > I haven't been following things for a few months and the Script Compiler > beta was coming out sometime in the summer. > > Has this happened? > > Is there any delivery date for it? > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Wed Nov 2 13:51:52 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 2 Nov 2022 13:51:52 -0400 Subject: Script Compiler In-Reply-To: References: Message-ID: <006101d8eee3$cd980ab0$68c82010$@net> Or in my case 5 o'clock somewhere 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 Sean Cole via use-livecode Sent: Wednesday, November 02, 2022 12:54 PM To: How to use LiveCode Cc: Sean Cole Subject: Re: Script Compiler It's always Summer somewhere ;D Sean Cole *Pi Digital Productions Ltd* On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < use-livecode at lists.runrev.com> wrote: > I haven't been following things for a few months and the Script > Compiler beta was coming out sometime in the summer. > > Has this happened? > > Is there any delivery date for it? > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode 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 richmondmathewson at gmail.com Wed Nov 2 13:58:05 2022 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 2 Nov 2022 19:58:05 +0200 Subject: Script Compiler In-Reply-To: <006101d8eee3$cd980ab0$68c82010$@net> References: <006101d8eee3$cd980ab0$68c82010$@net> Message-ID: I am beginning to worry, as over here in Bulgaria, on 2 November it was 28 degrees centigrade at 3pm; far from normal - summer has just not ended yet - I begin to wonder if it ever will. Richmond. On 2.11.22 19:51, Ralph DiMola via use-livecode wrote: > Or in my case 5 o'clock somewhere > > 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 Sean Cole via use-livecode > Sent: Wednesday, November 02, 2022 12:54 PM > To: How to use LiveCode > Cc: Sean Cole > Subject: Re: Script Compiler > > It's always Summer somewhere ;D > > Sean Cole > *Pi Digital Productions Ltd* > > > On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I haven't been following things for a few months and the Script >> Compiler beta was coming out sometime in the summer. >> >> Has this happened? >> >> Is there any delivery date for it? >> >> regards, >> >> Glen >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Nov 2 13:58:20 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 2 Nov 2022 13:58:20 -0400 Subject: Script Compiler In-Reply-To: <006101d8eee3$cd980ab0$68c82010$@net> References: <006101d8eee3$cd980ab0$68c82010$@net> Message-ID: has not happened. next dp of 10 is supposed to be before christmas. i think this will be after that. in the monthly firesides, mark says they're making progress on it. i would guess late 1Q 23 or early 2Q 23. On Wed, Nov 2, 2022 at 1:52 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Or in my case 5 o'clock somewhere > > 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 Sean Cole via use-livecode > Sent: Wednesday, November 02, 2022 12:54 PM > To: How to use LiveCode > Cc: Sean Cole > Subject: Re: Script Compiler > > It's always Summer somewhere ;D > > Sean Cole > *Pi Digital Productions Ltd* > > > On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I haven't been following things for a few months and the Script > > Compiler beta was coming out sometime in the summer. > > > > Has this happened? > > > > Is there any delivery date for it? > > > > regards, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 panos.merakos at livecode.com Fri Nov 4 10:42:05 2022 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 4 Nov 2022 16:42:05 +0200 Subject: [ANN] Release 9.6.9 RC-2 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.9 RC-2. LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the update of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode built apps including "SSL & Encryption" to be submitted successfully to the Google Play Store. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ This maintenance pre-release will break from convention slightly in that there will definitely be an RC-3 with further bug fixes, including some iOS 16 related fixes we're currently working on as well as adding support for building with the latest Xcode and iOS16 SDK. You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From matthias_livecode_150811 at m-r-d.de Fri Nov 4 11:44:07 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 16:44:07 +0100 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: Message-ID: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Hello Panos, regarding the smaller size of standalone on macOS, iOS and Android mentioned at the link you provided... With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. I really hoped that the file size would go down back to a size my app had before unicode support was included/added to LC (was it V7?). But now the size even increased a little bit. Or am i missing something? Regards, Matthias > Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode : > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.9 RC-2. > > LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the update > of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode > built apps including "SSL & Encryption" to be submitted successfully to the > Google Play Store. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ > > This maintenance pre-release will break from convention slightly in that > there will definitely be an RC-3 with further bug fixes, including some iOS > 16 related fixes we're currently working on as well as adding support for > building with the latest Xcode and iOS16 SDK. > > 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 merakosp at gmail.com Fri Nov 4 11:54:27 2022 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Nov 2022 17:54:27 +0200 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: Hello Matthias, What platform is your standalone for? Is it multi-arch? Kind regards, Panos -- On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Panos, > > regarding the smaller size of standalone on macOS, iOS and Android > mentioned at the link you provided... > > With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. > I really hoped that the file size would go down back to a size my app had > before unicode support was included/added to LC (was it V7?). > > But now the size even increased a little bit. > > Or am i missing something? > > Regards, > > Matthias > > > > Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com>: > > > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.9 RC-2. > > > > LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the > update > > of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode > > built apps including "SSL & Encryption" to be submitted successfully to > the > > Google Play Store. > > > > You can find more details on the bug fixes and improvements of this new > > release here: > > > > > https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ > > > > This maintenance pre-release will break from convention slightly in that > > there will definitely be an RC-3 with further bug fixes, including some > iOS > > 16 related fixes we're currently working on as well as adding support for > > building with the latest Xcode and iOS16 SDK. > > > > 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 matthias_livecode_150811 at m-r-d.de Fri Nov 4 12:06:45 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 17:06:45 +0100 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: For testing I just built for macOS Intel. > Am 04.11.2022 um 16:54 schrieb panagiotis m via use-livecode : > > Hello Matthias, > > What platform is your standalone for? Is it multi-arch? > > Kind regards, > Panos > -- > > On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hello Panos, >> >> regarding the smaller size of standalone on macOS, iOS and Android >> mentioned at the link you provided... >> >> With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. >> I really hoped that the file size would go down back to a size my app had >> before unicode support was included/added to LC (was it V7?). >> >> But now the size even increased a little bit. >> >> Or am i missing something? >> >> Regards, >> >> Matthias >> >> >>> Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 9.6.9 RC-2. >>> >>> LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the >> update >>> of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode >>> built apps including "SSL & Encryption" to be submitted successfully to >> the >>> Google Play Store. >>> >>> You can find more details on the bug fixes and improvements of this new >>> release here: >>> >>> >> https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ >>> >>> This maintenance pre-release will break from convention slightly in that >>> there will definitely be an RC-3 with further bug fixes, including some >> iOS >>> 16 related fixes we're currently working on as well as adding support for >>> building with the latest Xcode and iOS16 SDK. >>> >>> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 merakosp at gmail.com Fri Nov 4 12:43:52 2022 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Nov 2022 18:43:52 +0200 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: Hello Matthias, This change affects only multi-arch standalones. These standalones (on macOS, iOS and Android) now will share the unicode related data which is required for the engine to run among the different architecture binaries. So such standalones will be smaller than previous versions. Kind regards, Panos -- On Fri, 4 Nov 2022 at 18:07, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > For testing I just built for macOS Intel. > > > > > Am 04.11.2022 um 16:54 schrieb panagiotis m via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hello Matthias, > > > > What platform is your standalone for? Is it multi-arch? > > > > Kind regards, > > Panos > > -- > > > > On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hello Panos, > >> > >> regarding the smaller size of standalone on macOS, iOS and Android > >> mentioned at the link you provided... > >> > >> With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. > >> I really hoped that the file size would go down back to a size my app > had > >> before unicode support was included/added to LC (was it V7?). > >> > >> But now the size even increased a little bit. > >> > >> Or am i missing something? > >> > >> Regards, > >> > >> Matthias > >> > >> > >>> Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < > >> use-livecode at lists.runrev.com>: > >>> > >>> Dear list members, > >>> > >>> We are pleased to announce the release of LiveCode 9.6.9 RC-2. > >>> > >>> LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the > >> update > >>> of the version of OpenSSL used by the engine to 1.1.1q, allowing > LiveCode > >>> built apps including "SSL & Encryption" to be submitted successfully to > >> the > >>> Google Play Store. > >>> > >>> You can find more details on the bug fixes and improvements of this new > >>> release here: > >>> > >>> > >> > https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ > >>> > >>> This maintenance pre-release will break from convention slightly in > that > >>> there will definitely be an RC-3 with further bug fixes, including some > >> iOS > >>> 16 related fixes we're currently working on as well as adding support > for > >>> building with the latest Xcode and iOS16 SDK. > >>> > >>> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 klaus at major-k.de Fri Nov 4 15:13:15 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Nov 2022 20:13:15 +0100 Subject: screen guides (?) disappeard? Message-ID: Hi friends, when and why did this helpful feature disappear? :-( Don't know the exact term, but I mean this: It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Fri Nov 4 15:15:32 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 20:15:32 +0100 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: Ah, i see. When the file size increased so much after unicode was added to LC it was promised that there would be a solution/fix or so in future that one could create still smaller standalone if unicode is not needed. But this possibility never came into LC. So i thought it was finally added now to 9.6.9 RC2... :( Regards, Matthias > Am 04.11.2022 um 17:43 schrieb panagiotis m via use-livecode : > > Hello Matthias, > > This change affects only multi-arch standalones. These standalones (on > macOS, iOS and Android) now will share the unicode related data which is > required for the engine to run among the different architecture binaries. > So such standalones will be smaller than previous versions. > > Kind regards, > Panos > -- > > > On Fri, 4 Nov 2022 at 18:07, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> For testing I just built for macOS Intel. >> >> >> >>> Am 04.11.2022 um 16:54 schrieb panagiotis m via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hello Matthias, >>> >>> What platform is your standalone for? Is it multi-arch? >>> >>> Kind regards, >>> Panos >>> -- >>> >>> On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hello Panos, >>>> >>>> regarding the smaller size of standalone on macOS, iOS and Android >>>> mentioned at the link you provided... >>>> >>>> With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. >>>> I really hoped that the file size would go down back to a size my app >> had >>>> before unicode support was included/added to LC (was it V7?). >>>> >>>> But now the size even increased a little bit. >>>> >>>> Or am i missing something? >>>> >>>> Regards, >>>> >>>> Matthias >>>> >>>> >>>>> Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < >>>> use-livecode at lists.runrev.com>: >>>>> >>>>> Dear list members, >>>>> >>>>> We are pleased to announce the release of LiveCode 9.6.9 RC-2. >>>>> >>>>> LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the >>>> update >>>>> of the version of OpenSSL used by the engine to 1.1.1q, allowing >> LiveCode >>>>> built apps including "SSL & Encryption" to be submitted successfully to >>>> the >>>>> Google Play Store. >>>>> >>>>> You can find more details on the bug fixes and improvements of this new >>>>> release here: >>>>> >>>>> >>>> >> https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ >>>>> >>>>> This maintenance pre-release will break from convention slightly in >> that >>>>> there will definitely be an RC-3 with further bug fixes, including some >>>> iOS >>>>> 16 related fixes we're currently working on as well as adding support >> for >>>>> building with the latest Xcode and iOS16 SDK. >>>>> >>>>> 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 >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Fri Nov 4 15:22:32 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 20:22:32 +0100 Subject: screen guides (?) disappeard? In-Reply-To: References: Message-ID: Was that ever available in LC <10? Wasn't that only added to 10? But i might be wrong. Regards, Matthias > Am 04.11.2022 um 20:13 schrieb Klaus major-k via use-livecode : > > Hi friends, > > when and why did this helpful feature disappear? :-( > > Don't know the exact term, but I mean this: > > > It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. > > > 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 klaus at major-k.de Fri Nov 4 15:35:59 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Nov 2022 20:35:59 +0100 Subject: screen guides (?) disappeard? In-Reply-To: References: Message-ID: Hi Matthias, > Am 04.11.2022 um 20:22 schrieb matthias rebbe via use-livecode : > > Was that ever available in LC <10? I think so. > Wasn't that only added to 10? I don't think so. > But i might be wrong. Same here! :-D > Regards, > Matthias > >> Am 04.11.2022 um 20:13 schrieb Klaus major-k via use-livecode : >> >> Hi friends, >> >> when and why did this helpful feature disappear? :-( >> >> Don't know the exact term, but I mean this: >> >> >> It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. 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 Fri Nov 4 16:53:48 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Nov 2022 21:53:48 +0100 Subject: screen guides (?) disappeard? In-Reply-To: References: Message-ID: <7567C342-20E9-4B51-BE1A-4338036C0FFA@major-k.de> Oh, well... RTFM, Klaus! 8-) Yep, this is new in LC 10. > Am 04.11.2022 um 20:35 schrieb Klaus major-k via use-livecode : > Hi Matthias, >> Am 04.11.2022 um 20:22 schrieb matthias rebbe via use-livecode : >> Was that ever available in LC <10? > I think so. >> Wasn't that only added to 10? > I don't think so. >> But i might be wrong. > Same here! :-D >> Regards, >> Matthias >> >>> Am 04.11.2022 um 20:13 schrieb Klaus major-k via use-livecode : >>> Hi friends, >>> when and why did this helpful feature disappear? :-( >>> Don't know the exact term, but I mean this: >>> >>> It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From markclark at mac.com Sun Nov 6 21:27:03 2022 From: markclark at mac.com (Mark Clark) Date: Mon, 07 Nov 2022 02:27:03 -0000 Subject: LC Date Conversions post 2035 In-Reply-To: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> I was testing one of the tools I use to handle licensing today and decided to run the series through a few iterations adding 2 years at a time. I noticed that my dates were reverting to the 20th c. Hmm, whoops. After a bit of head scratching I decided it wasn't just my doing. Date conversion sort of works but the output can lead to trouble in the future. I've done a few tests and some lengthy, but if anyone cares to perform the "short test," please do. Change your date to 12/31/2034; then change to 2035. run this: put the date into test convert test to dateitems answer item 1 of test --works in 2034; broken in 2035 Mark From jacque at hyperactivesw.com Mon Nov 7 04:41:07 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Nov 2022 03:41:07 -0600 Subject: LC Date Conversions post 2035 In-Reply-To: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> Message-ID: <18451770b38.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's the centuryCutoff property in action, but it's only supposed to apply to 2-digit years. So I think something is amiss since you supply a 4-digit year. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 6, 2022 8:28:34 PM Mark Clark via use-livecode wrote: > I was testing one of the tools I use to handle licensing today and decided > to run the series through a few iterations adding 2 years at a time. I > noticed that my dates were reverting to the 20th c. Hmm, whoops. > > After a bit of head scratching I decided it wasn't just my doing. > > Date conversion sort of works but the output can lead to trouble in the > future. I've done a few tests and some lengthy, but if anyone cares to > perform the "short test," please do. > > Change your date to 12/31/2034; then change to 2035. > > > > run this: > > put the date into test > convert test to dateitems > > answer item 1 of test --works in 2034; broken in 2035 > > > Mark > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 7 04:43:32 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Nov 2022 03:43:32 -0600 Subject: LC Date Conversions post 2035 In-Reply-To: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> Message-ID: <1845178a948.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's the centuryCutoff in action, but I think something is amiss since it's only supposed to apply to 2-digit years and you supply a 4-digit year. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 6, 2022 8:28:34 PM Mark Clark via use-livecode wrote: > I was testing one of the tools I use to handle licensing today and decided > to run the series through a few iterations adding 2 years at a time. I > noticed that my dates were reverting to the 20th c. Hmm, whoops. > > After a bit of head scratching I decided it wasn't just my doing. > > Date conversion sort of works but the output can lead to trouble in the > future. I've done a few tests and some lengthy, but if anyone cares to > perform the "short test," please do. > > Change your date to 12/31/2034; then change to 2035. > > > > run this: > > put the date into test > convert test to dateitems > > answer item 1 of test --works in 2034; broken in 2035 > > > Mark > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 7 02:49:22 2022 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Mon, 7 Nov 2022 08:49:22 +0100 Subject: LC Date Conversions post 2035 Message-ID: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Had to test this out of curiosity. Indeed, when using 2-digit year, that is the result, as expected and explained in the dictionary entry for centuryCutoff. But how far does the 4-digit conversion work? Here’s what I’ve found: - On Windows 10, it works until year 3000, and stops working on year 3001 (it just returns the input without converting). - On MacOS 12.6 it works at least until year 2.100.000.000 (which is a Sunday… :). By that time we should be expecting LC v14 or something, or maybe that LC rules the galaxy, so I hope that’s sorted by then… :D From markclark at mac.com Mon Nov 7 07:35:44 2022 From: markclark at mac.com (Mark Clark) Date: Mon, 7 Nov 2022 06:35:44 -0600 Subject: LC Date Conversions post 2035 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> <1845178a948.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4525DD1E-3F7E-4141-B9BE-78CBFE57894F@mac.com> Thanks for the quick responses. In this case I did indeed use a 4 digit year as initial input (always), but still managed to shoot myself with a second conversion step. Converted my nicely formed input text to dateitems -- all good. Did my addition for renewal days to item 3. Check. Then I converted that back to date. Uh oh, not check. Should have been long date. If we had it to do all over again I'd say let's make the function date always be the full year and only using the form short date would get you the two digit year. Long date would remain unchanged. Or, ya know, I could just pay better attention! ;) Mark On Nov 7, 2022, at 3:43 AM, J. Landman Gay via use-livecode > wrote: That's the centuryCutoff in action, but I think something is amiss since it's only supposed to apply to 2-digit years and you supply a 4-digit year. From mkoob at rogers.com Mon Nov 7 09:55:31 2022 From: mkoob at rogers.com (Martin Koob) Date: Mon, 7 Nov 2022 09:55:31 -0500 Subject: LC Date Conversions post 2035 In-Reply-To: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> References: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Message-ID: Hi This thread reminded me of some sci-fi show show I was watching which referenced the collapse of society on earth caused by a bug around 2035 or something like that where the computers could not process dates beyond that. I thought this is just a off hand reference to something Y2K. But I did a quick search turned up this: https://en.wikipedia.org/wiki/Year_2038_problem So a signed 32 bit number counting the seconds since Jan 1, 1970 will overflow after 03:14:07 UTC on 19 January 2038. So if it was in referencing that date and time in 2038 that your problem showed up then maybe that was the cause. But that would not explain it if the date things started going wrong was in 2035. But it appears from the tests that Andreas did on Windows 10 and MacOS 12.6 that they have already resolved the Year 2038 problem. Maybe the MacOS is using a 64 bit number now for the Unix time. According to wikipedia "though many modern systems have been upgraded to measure Unix time with signed 64-bit integers which will not overflow for 292 billion years.” Not sure what Window is doing that it is only going to work till 3000. Maybe MicroSoft have decided to EOL Windows then and have plans to release a totally rewritten operating system then. Martin > On Nov 7, 2022, at 2:49 AM, Andreas Bergendal via use-livecode wrote: > > But how far does the 4-digit conversion work? Here’s what I’ve found: > - On Windows 10, it works until year 3000, and stops working on year 3001 (it just returns the input without converting). > - On MacOS 12.6 it works at least until year 2.100.000.000 (which is a Sunday… :). By that time we should be expecting LC v14 or something, or maybe that LC rules the galaxy, so I hope that’s sorted by then… :D From paul at researchware.com Mon Nov 7 10:40:54 2022 From: paul at researchware.com (Paul Dupuis) Date: Mon, 7 Nov 2022 10:40:54 -0500 Subject: LC Date Conversions post 2035 In-Reply-To: References: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Message-ID: <3de42f6b-c232-4422-85d5-500b8ac72937@researchware.com> The results on Windows may also depend upon whether you built a 32 bit standalone or a 64 bit standalone? Or using the 32 or 64 bit version of whatever release of Livecode is being used. On 11/7/2022 9:55 AM, Martin Koob via use-livecode wrote: > Hi > > This thread reminded me of some sci-fi show show I was watching which referenced the collapse of society on earth caused by a bug around 2035 or something like that where the computers could not process dates beyond that. I thought this is just a off hand reference to something Y2K. > > But I did a quick search turned up this: > > https://en.wikipedia.org/wiki/Year_2038_problem > > So a signed 32 bit number counting the seconds since Jan 1, 1970 will overflow after 03:14:07 UTC on 19 January 2038. > > So if it was in referencing that date and time in 2038 that your problem showed up then maybe that was the cause. But that would not explain it if the date things started going wrong was in 2035. > > But it appears from the tests that Andreas did on Windows 10 and MacOS 12.6 that they have already resolved the Year 2038 problem. > > Maybe the MacOS is using a 64 bit number now for the Unix time. According to wikipedia > > "though many modern systems have been upgraded to measure Unix time with signed 64-bit integers which will not overflow for 292 billion years. > > Not sure what Window is doing that it is only going to work till 3000. Maybe MicroSoft have decided to EOL Windows then and have plans to release a totally rewritten operating system then. > > > Martin > > >> On Nov 7, 2022, at 2:49 AM, Andreas Bergendal via use-livecode wrote: >> >> But how far does the 4-digit conversion work? Heres what Ive found: >> - On Windows 10, it works until year 3000, and stops working on year 3001 (it just returns the input without converting). >> - On MacOS 12.6 it works at least until year 2.100.000.000 (which is a Sunday :). By that time we should be expecting LC v14 or something, or maybe that LC rules the galaxy, so I hope thats sorted by then :D > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Mon Nov 7 11:19:28 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 7 Nov 2022 11:19:28 -0500 Subject: LC Date Conversions post 2035 [OT ish] In-Reply-To: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> Message-ID: <003801d8f2c4$b90e8d00$2b2ba700$@net> Interesting... On my Outlook the received date is used to sort emails but on my phone the "date" field in the header is used for both sorting and displaying in the list. So on my phone this email will be at the top until 31 Dec 2034. This just reinforces that the interpretation of internet mail headers is still not consistent. (and maybe should have had a little more thought before the barn doors were opened) 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 Mark Clark via use-livecode Sent: Sunday, December 31, 2034 9:25 PM To: How to use LiveCode Cc: Mark Clark Subject: LC Date Conversions post 2035 I was testing one of the tools I use to handle licensing today and decided to run the series through a few iterations adding 2 years at a time. I noticed that my dates were reverting to the 20th c. Hmm, whoops. After a bit of head scratching I decided it wasn't just my doing. Date conversion sort of works but the output can lead to trouble in the future. I've done a few tests and some lengthy, but if anyone cares to perform the "short test," please do. Change your date to 12/31/2034; then change to 2035. run this: put the date into test convert test to dateitems answer item 1 of test --works in 2034; broken in 2035 Mark _______________________________________________ use-livecode mailing list use-livecode 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 Mon Nov 7 12:36:34 2022 From: klaus at major-k.de (Klaus major-k) Date: Mon, 7 Nov 2022 18:36:34 +0100 Subject: ENTER in scripts Message-ID: <228A53D6-CDF9-4A29-ABB9-88E02AEC4E7E@major-k.de> Hi friends, is it only me or does the ENTER key nothing after hitting while in script editor? Means precompile script resp. compile and close script editor window. Works fine in LC 10 dp 4 but not in LC 9.6.9 RC 2!? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From Bernd.Niggemann at uni-wh.de Mon Nov 7 12:45:11 2022 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Mon, 7 Nov 2022 17:45:11 +0000 Subject: ENTER in scripts Message-ID: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> Klaus wrote is it only me or does the ENTER key nothing after hitting while in script editor? https://quality.livecode.com/show_bug.cgi?id=23999 Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. Kind regards Bernd From klaus at major-k.de Mon Nov 7 13:02:31 2022 From: klaus at major-k.de (Klaus major-k) Date: Mon, 7 Nov 2022 19:02:31 +0100 Subject: ENTER in scripts In-Reply-To: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> Message-ID: <45CA096E-A35C-4DC2-8722-08C5B506170A@major-k.de> Hi Bernd, > Am 07.11.2022 um 18:45 schrieb Niggemann, Bernd via use-livecode : > > Klaus wrote > is it only me or does the ENTER key nothing after hitting while in script > editor? > https://quality.livecode.com/show_bug.cgi?id=23999 > Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. > It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. OK, thank you for confirming and reporting this issue! > Kind regards > Bernd Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From mkoob at rogers.com Mon Nov 7 13:07:17 2022 From: mkoob at rogers.com (Martin Koob) Date: Mon, 7 Nov 2022 13:07:17 -0500 Subject: ENTER in scripts In-Reply-To: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> Message-ID: <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? The tool tip for the ‘APPLY’ button says. ‘compile and apply the current script (Enter, cmd+Return)’ I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. So it looks like it only works when there is no focus on a field or other object. In any case it sounds like a bug. The key combination should work whether the script field has focus or not. Since I have never used that key combo before I am not sure whether that behaviour has changed or not. Martin Koob > On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: > > Klaus wrote > > > is it only me or does the ENTER key nothing after hitting while in script > editor? > > > > https://quality.livecode.com/show_bug.cgi?id=23999 > > Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. > It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 7 14:07:30 2022 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 7 Nov 2022 14:07:30 -0500 Subject: ENTER in scripts In-Reply-To: <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> Message-ID: All. "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. Craig > On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: > > Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? > > The tool tip for the ‘APPLY’ button says. > > ‘compile and apply the current script (Enter, cmd+Return)’ > > I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. > > I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. > > If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. > > If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. > > So it looks like it only works when there is no focus on a field or other object. > > > In any case it sounds like a bug. The key combination should work whether the script field has focus or not. > > > Since I have never used that key combo before I am not sure whether that behaviour has changed or not. > > > Martin Koob > > >> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >> >> Klaus wrote >> >> >> is it only me or does the ENTER key nothing after hitting while in script >> editor? >> >> >> >> https://quality.livecode.com/show_bug.cgi?id=23999 >> >> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >> >> Kind regards >> Bernd >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 rdimola at evergreeninfo.net Mon Nov 7 16:29:20 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 7 Nov 2022 16:29:20 -0500 Subject: ENTER in scripts In-Reply-To: References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> Message-ID: <005601d8f2f0$0289d590$079d80b0$@net> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. THANKS! 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 Craig Newman via use-livecode Sent: Monday, November 07, 2022 2:08 PM To: How to use LiveCode Cc: Craig Newman Subject: Re: ENTER in scripts All. "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. Craig > On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: > > Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? > > The tool tip for the ‘APPLY’ button says. > > ‘compile and apply the current script (Enter, cmd+Return)’ > > I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. > > I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. > > If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. > > If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. > > So it looks like it only works when there is no focus on a field or other object. > > > In any case it sounds like a bug. The key combination should work whether the script field has focus or not. > > > Since I have never used that key combo before I am not sure whether that behaviour has changed or not. > > > Martin Koob > > >> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >> >> Klaus wrote >> >> >> is it only me or does the ENTER key nothing after hitting while in >> script editor? >> >> >> >> https://quality.livecode.com/show_bug.cgi?id=23999 >> >> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >> >> Kind regards >> Bernd >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 gcanyon at gmail.com Mon Nov 7 20:48:38 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 7 Nov 2022 17:48:38 -0800 Subject: Not LC-related, but this will give old-timers a blast of nostalgia Message-ID: https://beyondloom.com/decker/tour.html Interestingly, it works almost identically native and on web. You literally save with an .html extension and it's web-able. The language is *not* HyperTalk. From matthias_livecode_150811 at m-r-d.de Tue Nov 8 04:21:57 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 8 Nov 2022 10:21:57 +0100 Subject: Date formats macOS Ventura Message-ID: <6AB6DFA4-F3CF-4541-8350-6F7D8C525A1E@m-r-d.de> Hello, Mark Clark's post 'LC Date Conversions post 2035 [OT ish]" made me play a little bit with 'the date' in LC. I have macOS Ventura installed and noticed that the system date had a 2 digit year in LC. So i went to the Control Pane to customize the date format. Unfortunately I had to realize that you no longer can set a user-defined date format or number format in Ventura. Here in my German version of Ventura i could only choose between dd.MM.yy and yyy-MM-dd. There is no way to customize the date and number format as it was possible with previous versions of macOS. In my case i am in need of the date format dd.MM.yyyy I contacted the Apple support about this and it seems they even were not aware that this was changed in Ventura. They asked me to do a safe boot, create a new user account and finally they wanted me to reinstall Ventura, which i denied, because i was sure, that this has nothing to do with a faulty installation, but with Ventura itself. Anyway, i searched the whole evening yesterday and found a post in the apple forums https://discussions.apple.com/thread/254316210 which has a workaround for this. In short. Method 1 Either edit the file /Users/matthias/Library/Preferences/.GlobalPreferences.plist and add AppleICUDateFormatStrings 1 ##custom date format## and replace ##custom date format## with you desired format. You can even add more format by increasing the value AppleICUDateFormatStrings 1 ##custom date format## 2 ##custom date forma2t## and so on... After saving you have to logout and login again to get the settings active. Method 2 Another way is to use the shell. Using the shell does not need to logout and login again. defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "1" "dd.MM.yyyy" defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "2" "dd.MM.yy" defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "3" "dd MMMM y" defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "4" "EEEE, d MMMM y" After you have set the date format using method 1 or 2, you will not see any "selected" date format in the region settins in the Control Panel, because the Control Panel does not support that anymore. The "field" is empty. As soon as you select a date format in the Control Panel, your previous settings from method 1 or 2 are overwritten and not used anymore. In this case you have to rerun one of the above steps. Maybe this is of help for one or the other. Regards, Matthias From marksmithhfx at gmail.com Tue Nov 8 05:30:10 2022 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Nov 2022 10:30:10 +0000 Subject: Date formats macOS Ventura In-Reply-To: <6AB6DFA4-F3CF-4541-8350-6F7D8C525A1E@m-r-d.de> References: <6AB6DFA4-F3CF-4541-8350-6F7D8C525A1E@m-r-d.de> Message-ID: <20424188-355E-4BBE-ACED-0D70C2D7A93F@gmail.com> Hi Mattias, That is a terrific bit of sleuthing on your part so thanks for sharing. (and lets hope those options come back in future versions. It’s very strange that they would remove them.) Mark > On 8 Nov 2022, at 9:21 am, matthias rebbe via use-livecode wrote: > > Hello, > > Mark Clark's post 'LC Date Conversions post 2035 [OT ish]" made me play a little bit with 'the date' in LC. > > I have macOS Ventura installed and noticed that the system date had a 2 digit year in LC. > > So i went to the Control Pane to customize the date format. Unfortunately I had to realize that you no longer can set a user-defined date format or number format in Ventura. > > Here in my German version of Ventura i could only choose between dd.MM.yy and yyy-MM-dd. There is no way to customize > the date and number format as it was possible with previous versions of macOS. > In my case i am in need of the date format dd.MM.yyyy > > I contacted the Apple support about this and it seems they even were not aware that this was changed in Ventura. They asked me to do a safe boot, > create a new user account and finally they wanted me to reinstall Ventura, which i denied, because i was sure, that this has nothing to do with a faulty installation, but with Ventura itself. > > Anyway, i searched the whole evening yesterday and found a post in the apple forums > https://discussions.apple.com/thread/254316210 > which has a workaround for this. > > In short. > > Method 1 > Either edit the file /Users/matthias/Library/Preferences/.GlobalPreferences.plist > and add > AppleICUDateFormatStrings > > 1 > ##custom date format## > > > and replace ##custom date format## with you desired format. You can even add more format by increasing the value > > AppleICUDateFormatStrings > > 1 > ##custom date format## > 2 > ##custom date forma2t## > > and so on... > > After saving you have to logout and login again to get the settings active. > > Method 2 > Another way is to use the shell. Using the shell does not need to logout and login again. > > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "1" "dd.MM.yyyy" > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "2" "dd.MM.yy" > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "3" "dd MMMM y" > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "4" "EEEE, d MMMM y" > > > After you have set the date format using method 1 or 2, you will not see any "selected" date format in the region settins in the Control Panel, because the Control Panel does not support that anymore. The "field" is empty. > As soon as you select a date format in the Control Panel, your previous settings from method 1 or 2 are overwritten and not used anymore. In this case you have to rerun one of the above steps. > > Maybe this is of help for one or the other. > > 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 MikeKerner at roadrunner.com Tue Nov 8 09:04:00 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 8 Nov 2022 09:04:00 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <52FA73D4-E568-4D8D-BF5F-FD3A23DE9C2F@andregarzia.com> References: <463275ED-DDD2-449F-B583-56E953B335CB@m-r-d.de> <52FA73D4-E568-4D8D-BF5F-FD3A23DE9C2F@andregarzia.com> Message-ID: any update on ventura? i'm holding off on my dev box. On Wed, Oct 26, 2022 at 7:45 AM Andre Garzia via use-livecode < use-livecode at lists.runrev.com> wrote: > Just to flag a different experience here. I can’t get the simulator to > launch under Ventura on a Macbook Air M1. > > I have Xcode 13.2 installed and have “xcode-select” set to it. The > preferences for mobile development are set correctly and when I try to > launch a mobile app for testing on the simulator it gets stuck in the > “launching app” dialog forever. > > And yes, I tried launching the simulator manually by going inside the > bundle and the simulator is working fine. > > > > > On 25 Oct 2022, at 21:39, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Thanks to all confirming that LC runs fine under Ventura. > > > > I've upgraded now and i am now testing.... > > > > > > Regards, > > Matthias > > > > > >> Am 25.10.2022 um 19:28 schrieb matthias rebbe via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Hi, > >> > >> the topic says it all > >> > >> Does anyone have already experience with Livecode under Ventura? > >> Are there any known problems/bugs or so? > >> > >> 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 MikeKerner at roadrunner.com Tue Nov 8 10:48:23 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 8 Nov 2022 10:48:23 -0500 Subject: megabundle updated Message-ID: fyi, there was an update to the summer megabundle posted, yesterday. -- 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 ahsoftware at sonic.net Tue Nov 8 12:59:52 2022 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 8 Nov 2022 09:59:52 -0800 Subject: megabundle updated In-Reply-To: References: Message-ID: On 11/8/22 07:48, Mike Kerner via use-livecode wrote: > fyi, there was an update to the summer megabundle posted, yesterday. What? With no notification? I assume the Release Notes (heh) will show what's new. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Tue Nov 8 13:24:24 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 8 Nov 2022 13:24:24 -0500 Subject: megabundle updated In-Reply-To: References: Message-ID: SmartCrumbs now exports using LF on Mac. Have not looked at the other pieces yet. Brian Milby brian at milby7.com > On Nov 8, 2022, at 1:01 PM, Mark Wieder via use-livecode wrote: > > On 11/8/22 07:48, Mike Kerner via use-livecode wrote: >> fyi, there was an update to the summer megabundle posted, yesterday. > > What? With no notification? > I assume the Release Notes (heh) will show what's new. > > -- > Mark Wieder > ahsoftware at gmail.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 sean at pidigital.co.uk Tue Nov 8 13:54:58 2022 From: sean at pidigital.co.uk (Sean Cole) Date: Tue, 8 Nov 2022 18:54:58 +0000 Subject: megabundle updated In-Reply-To: References: Message-ID: The zip file is still named 1.0.0 But it is 1.0.27 inside From gcanyon at gmail.com Tue Nov 8 16:22:05 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 8 Nov 2022 13:22:05 -0800 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: I upgraded to Ventura over a week ago. No problems so far with one exception: the OS suggested that I consolidate everything onto iCloud for universal access and backups. I did so. That resulted in oddities like cmd-shift-D now opening iCloud/Desktop instead of something in my home directory. Or more accurately, there *is* a "Desktop" folder in my home directory that appears not to be an alias, but is invisible? Anyway, doing this caused the same thing to happen for the Documents folder. LiveCode apparently can't find the invisible folder, so e.g. it defaulted back to the copy of Navigator included with LiveCode -- which is ancient, no one should use it -- instead of the copy in ~/Documents/My Livecode/Plugins. So far, to fix it I hit cmd-shift-period in the Finder. That shows invisible files. I'm sure there's a way to un-invisible a folder, and hopefully that will fix the issue without causing any issues with what Ventura is trying to do with iCloud. On Tue, Oct 25, 2022 at 10:30 AM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > the topic says it all > > Does anyone have already experience with Livecode under Ventura? > Are there any known problems/bugs or so? > > 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 MikeKerner at roadrunner.com Wed Nov 9 09:36:37 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 9 Nov 2022 09:36:37 -0500 Subject: megabundle updated In-Reply-To: References: Message-ID: >What? With no notification? They have not announced any of the updates, but there have been several. You have to check the release date on the website to tell if there has been an update, and yes, the changelog.txt (but the I think the date for the latest PolyList, for instance, is wrong) On Tue, Nov 8, 2022 at 1:56 PM Sean Cole via use-livecode < use-livecode at lists.runrev.com> wrote: > The zip file is still named 1.0.0 > But it is 1.0.27 inside > _______________________________________________ > use-livecode mailing list > use-livecode 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 gbojsza at gmail.com Wed Nov 9 09:41:00 2022 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 9 Nov 2022 09:41:00 -0500 Subject: YAML support Message-ID: Hello, I was wondering what the current state and recommendations are for working with YAML files and Livecode. The last posts I have found on this was back in 2020 so is anyone currently using Livecode with YAML files. regards, Glen From MikeKerner at roadrunner.com Wed Nov 9 13:11:22 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 9 Nov 2022 13:11:22 -0500 Subject: YAML support In-Reply-To: References: Message-ID: there is a yaml parser built into levure. On Wed, Nov 9, 2022 at 9:42 AM Glen Bojsza via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello, > > I was wondering what the current state and recommendations are for working > with YAML files and Livecode. > > The last posts I have found on this was back in 2020 so is anyone currently > using Livecode with YAML files. > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode 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 gbojsza at gmail.com Wed Nov 9 13:35:11 2022 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 9 Nov 2022 13:35:11 -0500 Subject: YAML support In-Reply-To: References: Message-ID: Thanks I will check it out On Wed, Nov 9, 2022 at 1:13 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > there is a yaml parser built into levure. > > On Wed, Nov 9, 2022 at 9:42 AM Glen Bojsza via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello, > > > > I was wondering what the current state and recommendations are for > working > > with YAML files and Livecode. > > > > The last posts I have found on this was back in 2020 so is anyone > currently > > using Livecode with YAML files. > > > > regards, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 ahsoftware at sonic.net Wed Nov 9 14:19:39 2022 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 9 Nov 2022 11:19:39 -0800 Subject: megabundle updated In-Reply-To: References: Message-ID: On 11/9/22 06:36, Mike Kerner via use-livecode wrote: >> What? With no notification? > They have not announced any of the updates, but there have been several. > You have to check the release date on the website to tell if there has been > an update, and yes, the changelog.txt (but the I think the date for the > latest PolyList, for instance, is wrong) I guess it's just too difficult to change the name of a zip file. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Wed Nov 9 17:14:04 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Nov 2022 22:14:04 +0000 Subject: LC Date Conversions post 2035 In-Reply-To: References: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Message-ID: Probably based on Unix... ;-) Bob S On Nov 7, 2022, at 06:55 , Martin Koob via use-livecode > wrote: Not sure what Window is doing that it is only going to work till 3000. Maybe MicroSoft have decided to EOL Windows then and have plans to release a totally rewritten operating system then. Martin From bobsneidar at iotecdigital.com Wed Nov 9 17:17:34 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Nov 2022 22:17:34 +0000 Subject: ENTER in scripts In-Reply-To: <005601d8f2f0$0289d590$079d80b0$@net> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> Message-ID: <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. Bob S > On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: > > Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. > > THANKS! > > > 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 Craig Newman via use-livecode > Sent: Monday, November 07, 2022 2:08 PM > To: How to use LiveCode > Cc: Craig Newman > Subject: Re: ENTER in scripts > > All. > > "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. > > This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. > > Craig > >> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >> >> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >> >> The tool tip for the ‘APPLY’ button says. >> >> ‘compile and apply the current script (Enter, cmd+Return)’ >> >> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >> >> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >> >> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >> >> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >> >> So it looks like it only works when there is no focus on a field or other object. >> >> >> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >> >> >> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >> >> >> Martin Koob >> >> >>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>> >>> Klaus wrote >>> >>> >>> is it only me or does the ENTER key nothing after hitting while in >>> script editor? >>> >>> >>> >>> https://quality.livecode.com/show_bug.cgi?id=23999 >>> >>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>> >>> Kind regards >>> Bernd >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Wed Nov 9 17:31:08 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Nov 2022 22:31:08 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: FYI I NEVER am going to consolidate all my documents in iCloud. That's like hanging a copy of all my keys in the community center that's open 24 hours a day to everyone. One day someone is going to lock the doors... Bob S On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode > wrote: I upgraded to Ventura over a week ago. No problems so far with one exception: the OS suggested that I consolidate everything onto iCloud for universal access and backups. I did so. That resulted in oddities like cmd-shift-D now opening iCloud/Desktop instead of something in my home directory. Or more accurately, there *is* a "Desktop" folder in my home directory that appears not to be an alias, but is invisible? Anyway, doing this caused the same thing to happen for the Documents folder. LiveCode apparently can't find the invisible folder, so e.g. it defaulted back to the copy of Navigator included with LiveCode -- which is ancient, no one should use it -- instead of the copy in ~/Documents/My Livecode/Plugins. So far, to fix it I hit cmd-shift-period in the Finder. That shows invisible files. I'm sure there's a way to un-invisible a folder, and hopefully that will fix the issue without causing any issues with what Ventura is trying to do with iCloud. From MikeKerner at roadrunner.com Wed Nov 9 18:38:12 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 9 Nov 2022 18:38:12 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: Geoff, that's weird, I don't recall seeing that message on my non-dev machines, but then, again, I was also running the beta on those boxes. On Wed, Nov 9, 2022 at 5:32 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > FYI I NEVER am going to consolidate all my documents in iCloud. That's > like hanging a copy of all my keys in the community center that's open 24 > hours a day to everyone. One day someone is going to lock the doors... > > Bob S > > > On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > I upgraded to Ventura over a week ago. No problems so far with one > exception: the OS suggested that I consolidate everything onto iCloud for > universal access and backups. I did so. That resulted in oddities like > cmd-shift-D now opening iCloud/Desktop instead of something in my home > directory. Or more accurately, there *is* a "Desktop" folder in my home > directory that appears not to be an alias, but is invisible? > > Anyway, doing this caused the same thing to happen for the Documents > folder. LiveCode apparently can't find the invisible folder, so e.g. it > defaulted back to the copy of Navigator included with LiveCode -- which is > ancient, no one should use it -- instead of the copy in ~/Documents/My > Livecode/Plugins. > > So far, to fix it I hit cmd-shift-period in the Finder. That shows > invisible files. I'm sure there's a way to un-invisible a folder, and > hopefully that will fix the issue without causing any issues with what > Ventura is trying to do with iCloud. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jacque at hyperactivesw.com Wed Nov 9 19:59:06 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Nov 2022 18:59:06 -0600 Subject: ENTER in scripts In-Reply-To: <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> Message-ID: <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: > Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I > use tab then cmd-save to format then comile the script. > > Bob S > > >> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode >> wrote: >> >> Well, you learn something exceedingly simple every day. OK I get it. Enter >> is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >> >> THANKS! >> >> >> 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 Craig Newman via use-livecode >> Sent: Monday, November 07, 2022 2:08 PM >> To: How to use LiveCode >> Cc: Craig Newman >> Subject: Re: ENTER in scripts >> >> All. >> >> "Enter" has always worked for me. And focus has always been required to be >> in the SE for it to do so. >> >> This seems logical to me. It would not do for actions specific to certain >> spaces to be affected, or effected, when not in that space. >> >> Craig >> >>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode >>> wrote: >>> >>> Do you mean does pressing the ENTER key does the same thing as clicking the >>> Apply button at the top left of the script editor? >>> >>> The tool tip for the APPLY button says. >>> >>> compile and apply the current script (Enter, cmd+Return) >>> >>> I actually did not know there was a keyboard shortcut for the Apply >>> button. That is a handy tip. >>> >>> I tried it out and at first it did not work. That time the focus was on >>> the script field and the text cursor was there. >>> >>> If I clicked on part of the card outside of the script field then the >>> cmd+Return key combination worked. >>> >>> If I clicked in another object like the find text field or a handler in >>> the list to the left of the text field or on the MatchCase >>> checkbox CMD+Return would not work. >>> >>> So it looks like it only works when there is no focus on a field or other >>> object. >>> >>> >>> In any case it sounds like a bug. The key combination should work whether >>> the script field has focus or not. >>> >>> >>> Since I have never used that key combo before I am not sure whether that >>> behaviour has changed or not. >>> >>> >>> Martin Koob >>> >>> >>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode >>>> wrote: >>>> >>>> Klaus wrote >>>> >>>> >>>> is it only me or does the ENTER key nothing after hitting while in >>>> script editor? >>>> >>>> >>>> >>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>> >>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. >>>> Some of them have some quirks. >>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report >>>> them. >>>> >>>> Kind regards >>>> Bernd >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 mkoob at rogers.com Wed Nov 9 23:18:03 2022 From: mkoob at rogers.com (Martin Koob) Date: Wed, 9 Nov 2022 23:18:03 -0500 Subject: ENTER in scripts In-Reply-To: <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On a Mac Extemed keyboard there is an ENTER Key. Does using it have a different behaviour than using the RETURN key? On my laptop of course there is only an RETURN key. After some searching I did find that Fn + RETURN or cmd + RETURN are equivalent to and ENTER key press. I tried and it does work to apply the script changes, however not while the focus was on a filed in the Script Editor. For me to get the desired behaviour 1. Click on an area on the Script area that is not an object. i.e. the card 2. Press Fn + RETURN or cmd + RETURN and the Script changes would be applied. I am using a Mac Book Pro M1 Max with Mac OS Monterey. Martin > On Nov 9, 2022, at 7:59 PM, J. Landman Gay via use-livecode wrote: > > I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: > >> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >> >> Bob S >> >> >>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>> >>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>> >>> THANKS! >>> >>> >>> 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 Craig Newman via use-livecode >>> Sent: Monday, November 07, 2022 2:08 PM >>> To: How to use LiveCode >>> Cc: Craig Newman >>> Subject: Re: ENTER in scripts >>> >>> All. >>> >>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>> >>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>> >>> Craig >>> >>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>> >>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>> >>>> The tool tip for the ‘APPLY’ button says. >>>> >>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>> >>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>> >>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>> >>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>> >>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>> >>>> So it looks like it only works when there is no focus on a field or other object. >>>> >>>> >>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>> >>>> >>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>> >>>> >>>> Martin Koob >>>> >>>> >>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>> >>>>> Klaus wrote >>>>> >>>>> >>>>> is it only me or does the ENTER key nothing after hitting while in >>>>> script editor? >>>>> >>>>> >>>>> >>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>> >>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>> >>>>> Kind regards >>>>> Bernd >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 rdimola at evergreeninfo.net Thu Nov 10 10:00:51 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 10 Nov 2022 10:00:51 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: <001001d8f515$3ce9c020$b6bd4060$@net> +1 Or stop you car from charging. 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 Bob Sneidar via use-livecode Sent: Wednesday, November 09, 2022 5:31 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Anyone any experience with Livecode under Ventura? FYI I NEVER am going to consolidate all my documents in iCloud. That's like hanging a copy of all my keys in the community center that's open 24 hours a day to everyone. One day someone is going to lock the doors... Bob S On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode > wrote: I upgraded to Ventura over a week ago. No problems so far with one exception: the OS suggested that I consolidate everything onto iCloud for universal access and backups. I did so. That resulted in oddities like cmd-shift-D now opening iCloud/Desktop instead of something in my home directory. Or more accurately, there *is* a "Desktop" folder in my home directory that appears not to be an alias, but is invisible? Anyway, doing this caused the same thing to happen for the Documents folder. LiveCode apparently can't find the invisible folder, so e.g. it defaulted back to the copy of Navigator included with LiveCode -- which is ancient, no one should use it -- instead of the copy in ~/Documents/My Livecode/Plugins. So far, to fix it I hit cmd-shift-period in the Finder. That shows invisible files. I'm sure there's a way to un-invisible a folder, and hopefully that will fix the issue without causing any issues with what Ventura is trying to do with iCloud. _______________________________________________ use-livecode mailing list use-livecode 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 Nov 10 10:58:18 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 15:58:18 +0000 Subject: ENTER in scripts In-Reply-To: <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> It does nothing, but to be fair I am using a Windows xternal keyboard (if there is such a thing these days,) on a MacOS laptop, and both "Enter" keys are called, "Enter." Neither does anything in terms of formatting the SE or compiling. It works for me though. Bob S > On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode wrote: > > I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: > >> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >> >> Bob S >> >> >>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>> >>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>> >>> THANKS! >>> >>> >>> 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 Craig Newman via use-livecode >>> Sent: Monday, November 07, 2022 2:08 PM >>> To: How to use LiveCode >>> Cc: Craig Newman >>> Subject: Re: ENTER in scripts >>> >>> All. >>> >>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>> >>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>> >>> Craig >>> >>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>> >>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>> >>>> The tool tip for the ‘APPLY’ button says. >>>> >>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>> >>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>> >>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>> >>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>> >>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>> >>>> So it looks like it only works when there is no focus on a field or other object. >>>> >>>> >>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>> >>>> >>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>> >>>> >>>> Martin Koob >>>> >>>> >>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>> >>>>> Klaus wrote >>>>> >>>>> >>>>> is it only me or does the ENTER key nothing after hitting while in >>>>> script editor? >>>>> >>>>> >>>>> >>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>> >>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>> >>>>> Kind regards >>>>> Bernd >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 bobsneidar at iotecdigital.com Thu Nov 10 10:59:31 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 15:59:31 +0000 Subject: ENTER in scripts In-Reply-To: References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <753F7103-1327-4795-996B-E278E6DF091B@iotecdigital.com> Neither of these work for me. Bob S > On Nov 9, 2022, at 20:18 , Martin Koob via use-livecode wrote: > > On a Mac Extemed keyboard there is an ENTER Key. Does using it have a different behaviour than using the RETURN key? > > On my laptop of course there is only an RETURN key. After some searching I did find that Fn + RETURN or cmd + RETURN are equivalent to and ENTER key press. > > I tried and it does work to apply the script changes, however not while the focus was on a filed in the Script Editor. > > For me to get the desired behaviour > > 1. Click on an area on the Script area that is not an object. i.e. the card > 2. Press Fn + RETURN or cmd + RETURN and the Script changes would be applied. > > I am using a Mac Book Pro M1 Max with Mac OS Monterey. > > Martin > >> On Nov 9, 2022, at 7:59 PM, J. Landman Gay via use-livecode wrote: >> >> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: >> >>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >>> >>> Bob S >>> >>> >>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>>> >>>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>> >>>> THANKS! >>>> >>>> >>>> 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 Craig Newman via use-livecode >>>> Sent: Monday, November 07, 2022 2:08 PM >>>> To: How to use LiveCode >>>> Cc: Craig Newman >>>> Subject: Re: ENTER in scripts >>>> >>>> All. >>>> >>>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>>> >>>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>>> >>>> Craig >>>> >>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>>> >>>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>>> >>>>> The tool tip for the ‘APPLY’ button says. >>>>> >>>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>>> >>>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>>> >>>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>>> >>>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>>> >>>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>>> >>>>> So it looks like it only works when there is no focus on a field or other object. >>>>> >>>>> >>>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>>> >>>>> >>>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>>> >>>>> >>>>> Martin Koob >>>>> >>>>> >>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>>> >>>>>> Klaus wrote >>>>>> >>>>>> >>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>> script editor? >>>>>> >>>>>> >>>>>> >>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>> >>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>>> >>>>>> Kind regards >>>>>> Bernd >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Nov 10 12:17:06 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Nov 2022 11:17:06 -0600 Subject: ENTER in scripts In-Reply-To: <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> Message-ID: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I wonder if you could remap one to send the Mac key code for Enter. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 10, 2022 10:00:28 AM Bob Sneidar via use-livecode wrote: > It does nothing, but to be fair I am using a Windows xternal keyboard (if > there is such a thing these days,) on a MacOS laptop, and both "Enter" keys > are called, "Enter." Neither does anything in terms of formatting the SE or > compiling. It works for me though. > > Bob S > > >> On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode >> wrote: >> >> I'm on a Mac and I've been using the enter key to compile for years (back >> to MetaCard I think.) Are you sure it does nothing? Watch the dot in the >> script tab and see if it turns green. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode >> wrote: >> >>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I >>> use tab then cmd-save to format then comile the script. >>> >>> Bob S >>> >>> >>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode >>>> wrote: >>>> >>>> Well, you learn something exceedingly simple every day. OK I get it. Enter >>>> is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>> >>>> THANKS! >>>> >>>> >>>> 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 Craig Newman via use-livecode >>>> Sent: Monday, November 07, 2022 2:08 PM >>>> To: How to use LiveCode >>>> Cc: Craig Newman >>>> Subject: Re: ENTER in scripts >>>> >>>> All. >>>> >>>> "Enter" has always worked for me. And focus has always been required to be >>>> in the SE for it to do so. >>>> >>>> This seems logical to me. It would not do for actions specific to certain >>>> spaces to be affected, or effected, when not in that space. >>>> >>>> Craig >>>> >>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode >>>>> wrote: >>>>> >>>>> Do you mean does pressing the ENTER key does the same thing as clicking the >>>>> Apply button at the top left of the script editor? >>>>> >>>>> The tool tip for the APPLY button says. >>>>> >>>>> compile and apply the current script (Enter, cmd+Return) >>>>> >>>>> I actually did not know there was a keyboard shortcut for the Apply >>>>> button. That is a handy tip. >>>>> >>>>> I tried it out and at first it did not work. That time the focus was on >>>>> the script field and the text cursor was there. >>>>> >>>>> If I clicked on part of the card outside of the script field then the >>>>> cmd+Return key combination worked. >>>>> >>>>> If I clicked in another object like the find text field or a handler in >>>>> the list to the left of the text field or on the MatchCase >>>>> checkbox CMD+Return would not work. >>>>> >>>>> So it looks like it only works when there is no focus on a field or other >>>>> object. >>>>> >>>>> >>>>> In any case it sounds like a bug. The key combination should work whether >>>>> the script field has focus or not. >>>>> >>>>> >>>>> Since I have never used that key combo before I am not sure whether that >>>>> behaviour has changed or not. >>>>> >>>>> >>>>> Martin Koob >>>>> >>>>> >>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode >>>>>> wrote: >>>>>> >>>>>> Klaus wrote >>>>>> >>>>>> >>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>> script editor? >>>>>> >>>>>> >>>>>> >>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>> >>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. >>>>>> Some of them have some quirks. >>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report >>>>>> them. >>>>>> >>>>>> Kind regards >>>>>> Bernd >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode 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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Thu Nov 10 13:05:02 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 10 Nov 2022 13:05:02 -0500 Subject: Ask Password Cursor Oddity In-Reply-To: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <003801d8f52e$f8474270$e8d5c750$@net> Riddle me this.. I was building an Android Production app using 9.6.9 rc2 on Win 10. I kept getting errors that the keystore passwords not correct. I tried it 10 times until I noticed that when typing in the keystore and the private passwords when you type the first character the cursor is before not after the first "*". So if you type "test123" the data is entered as "est123T". I tried this in the message box (ask password clear "Please provide the keystore password") the form used the in IDE. Same error. But if you click into the answer's entry field before typing it works as expected. It works correctly in 9.6.7. The "clear" option seems to allow typing without having to click into the field. Can anyone verify if they see the same thing? I also see it on Mac Big Sur. If so I will enter a QCC regression report. Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From gcanyon at gmail.com Thu Nov 10 13:40:52 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 10 Nov 2022 10:40:52 -0800 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: I regard it as a choice of risks -- I'm lazy about backups since...I was going to say the '90s, but really it's forever. Thankfully I've never had a drive go bad, but I have written several novels, and I now have none of them except as memories: one went away with an iMac hard drive I didn't copy properly when I retired it, one went away with a zip drive, one went away with 3 inch floppies, and one went away with 5 inch floppies (and one went away with greenbar paper). I think my odds are better using a cloud service than my own efforts at maintaining things. gc On Wed, Nov 9, 2022 at 2:32 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > FYI I NEVER am going to consolidate all my documents in iCloud. That's > like hanging a copy of all my keys in the community center that's open 24 > hours a day to everyone. One day someone is going to lock the doors... > > Bob S > > > On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > I upgraded to Ventura over a week ago. No problems so far with one > exception: the OS suggested that I consolidate everything onto iCloud for > universal access and backups. I did so. That resulted in oddities like > cmd-shift-D now opening iCloud/Desktop instead of something in my home > directory. Or more accurately, there *is* a "Desktop" folder in my home > directory that appears not to be an alias, but is invisible? > > Anyway, doing this caused the same thing to happen for the Documents > folder. LiveCode apparently can't find the invisible folder, so e.g. it > defaulted back to the copy of Navigator included with LiveCode -- which is > ancient, no one should use it -- instead of the copy in ~/Documents/My > Livecode/Plugins. > > So far, to fix it I hit cmd-shift-period in the Finder. That shows > invisible files. I'm sure there's a way to un-invisible a folder, and > hopefully that will fix the issue without causing any issues with what > Ventura is trying to do with iCloud. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 10 13:51:23 2022 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 10 Nov 2022 13:51:23 -0500 Subject: ENTER in scripts In-Reply-To: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0A7F423A-2144-445F-9C2B-5F14C6F4C279@starfirelighting.com> Hmmm. Odd we have so many different actions. I am on a Mac, with an Apple keyboard. Enter works as advertised. I have a MacAlly keyboard, and Enter works there as well. Focus, as I mentioned and expect, must been the SE. Craig > On Nov 10, 2022, at 12:17 PM, J. Landman Gay via use-livecode wrote: > > I wonder if you could remap one to send the Mac key code for Enter. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 10, 2022 10:00:28 AM Bob Sneidar via use-livecode wrote: > >> It does nothing, but to be fair I am using a Windows xternal keyboard (if there is such a thing these days,) on a MacOS laptop, and both "Enter" keys are called, "Enter." Neither does anything in terms of formatting the SE or compiling. It works for me though. >> >> Bob S >> >> >>> On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode wrote: >>> >>> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: >>> >>>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >>>> >>>> Bob S >>>> >>>> >>>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>>>> >>>>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>>> >>>>> THANKS! >>>>> >>>>> >>>>> 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 Craig Newman via use-livecode >>>>> Sent: Monday, November 07, 2022 2:08 PM >>>>> To: How to use LiveCode >>>>> Cc: Craig Newman >>>>> Subject: Re: ENTER in scripts >>>>> >>>>> All. >>>>> >>>>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>>>> >>>>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>>>> >>>>> Craig >>>>> >>>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>>>> >>>>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>>>> >>>>>> The tool tip for the ‘APPLY’ button says. >>>>>> >>>>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>>>> >>>>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>>>> >>>>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>>>> >>>>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>>>> >>>>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>>>> >>>>>> So it looks like it only works when there is no focus on a field or other object. >>>>>> >>>>>> >>>>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>>>> >>>>>> >>>>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>>>> >>>>>> >>>>>> Martin Koob >>>>>> >>>>>> >>>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>>>> >>>>>>> Klaus wrote >>>>>>> >>>>>>> >>>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>>> script editor? >>>>>>> >>>>>>> >>>>>>> >>>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>>> >>>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>>>> >>>>>>> Kind regards >>>>>>> Bernd >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 marksmithhfx at gmail.com Thu Nov 10 13:55:53 2022 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 10 Nov 2022 18:55:53 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: I tend towards lazy myself, backing up only after the umpteenth prompt from Time machine that I haven’t backed up in XX months. But I am also the anxious type so if I am working on something important (like a paper, a presentation or a program) I’ll just periodically mail myself a copy. That way, if I lose a disk, I can just retrieve copies from whatever mail server I am using. I have on occasion had to do just that, particularly after I retired and failed to backup everything properly before I left my employer. Mark > On 10 Nov 2022, at 6:40 pm, Geoff Canyon via use-livecode wrote: > > I regard it as a choice of risks -- I'm lazy about backups since...I was > going to say the '90s, but really it's forever. Thankfully I've never had a > drive go bad, but I have written several novels, and I now have none of > them except as memories: one went away with an iMac hard drive I didn't > copy properly when I retired it, one went away with a zip drive, one went > away with 3 inch floppies, and one went away with 5 inch floppies (and one > went away with greenbar paper). I think my odds are better using a cloud > service than my own efforts at maintaining things. > > gc > > On Wed, Nov 9, 2022 at 2:32 PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> FYI I NEVER am going to consolidate all my documents in iCloud. That's >> like hanging a copy of all my keys in the community center that's open 24 >> hours a day to everyone. One day someone is going to lock the doors... >> >> Bob S >> >> >> On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode < >> use-livecode at lists.runrev.com> >> wrote: >> >> I upgraded to Ventura over a week ago. No problems so far with one >> exception: the OS suggested that I consolidate everything onto iCloud for >> universal access and backups. I did so. That resulted in oddities like >> cmd-shift-D now opening iCloud/Desktop instead of something in my home >> directory. Or more accurately, there *is* a "Desktop" folder in my home >> directory that appears not to be an alias, but is invisible? >> >> Anyway, doing this caused the same thing to happen for the Documents >> folder. LiveCode apparently can't find the invisible folder, so e.g. it >> defaulted back to the copy of Navigator included with LiveCode -- which is >> ancient, no one should use it -- instead of the copy in ~/Documents/My >> Livecode/Plugins. >> >> So far, to fix it I hit cmd-shift-period in the Finder. That shows >> invisible files. I'm sure there's a way to un-invisible a folder, and >> hopefully that will fix the issue without causing any issues with what >> Ventura is trying to do with iCloud. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 ambassador at fourthworld.com Thu Nov 10 15:34:38 2022 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Nov 2022 12:34:38 -0800 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: <9b533f1f-f094-509f-b3f5-0dc7d13c67f4@fourthworld.com> Portable drives are just $50/terabyte. Time is irreplaceable. -- Richard Gaskin Fourth World Systems Mark Smith wrote: > I tend towards lazy myself, backing up only after the umpteenth prompt > from Time machine that I havent backed up in XX months. But I am also > the anxious type so if I am working on something important (like a > paper, a presentation or a program) Ill just periodically mail myself > a copy. That way, if I lose a disk, I can just retrieve copies from > whatever mail server I am using. From bobsneidar at iotecdigital.com Thu Nov 10 18:32:28 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 23:32:28 +0000 Subject: ENTER in scripts In-Reply-To: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <46F246EF-931D-4368-8572-8F42362E076B@iotecdigital.com> I s'pect Windows Keyboards do not send an enter. Bob S > On Nov 10, 2022, at 09:17 , J. Landman Gay via use-livecode wrote: > > I wonder if you could remap one to send the Mac key code for Enter. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 10, 2022 10:00:28 AM Bob Sneidar via use-livecode wrote: > >> It does nothing, but to be fair I am using a Windows xternal keyboard (if there is such a thing these days,) on a MacOS laptop, and both "Enter" keys are called, "Enter." Neither does anything in terms of formatting the SE or compiling. It works for me though. >> >> Bob S >> >> >>> On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode wrote: >>> >>> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: >>> >>>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >>>> >>>> Bob S >>>> >>>> >>>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>>>> >>>>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>>> >>>>> THANKS! >>>>> >>>>> >>>>> 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 Craig Newman via use-livecode >>>>> Sent: Monday, November 07, 2022 2:08 PM >>>>> To: How to use LiveCode >>>>> Cc: Craig Newman >>>>> Subject: Re: ENTER in scripts >>>>> >>>>> All. >>>>> >>>>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>>>> >>>>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>>>> >>>>> Craig >>>>> >>>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>>>> >>>>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>>>> >>>>>> The tool tip for the ‘APPLY’ button says. >>>>>> >>>>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>>>> >>>>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>>>> >>>>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>>>> >>>>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>>>> >>>>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>>>> >>>>>> So it looks like it only works when there is no focus on a field or other object. >>>>>> >>>>>> >>>>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>>>> >>>>>> >>>>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>>>> >>>>>> >>>>>> Martin Koob >>>>>> >>>>>> >>>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>>>> >>>>>>> Klaus wrote >>>>>>> >>>>>>> >>>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>>> script editor? >>>>>>> >>>>>>> >>>>>>> >>>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>>> >>>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>>>> >>>>>>> Kind regards >>>>>>> Bernd >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Thu Nov 10 18:35:37 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 23:35:37 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: Don't get me wrong, I keep some of my documents in the cloud, especially the important ones, but the conversation was abount having iCloud be the primary storage for ALL your documents. I lost a ton of really good photos when they went from .MAC to me.com. True I was warned, but was not in a position at the time to download all my photo library. Bob S On Nov 10, 2022, at 10:40 , Geoff Canyon via use-livecode > wrote: I regard it as a choice of risks -- I'm lazy about backups since...I was going to say the '90s, but really it's forever. Thankfully I've never had a drive go bad, but I have written several novels, and I now have none of them except as memories: one went away with an iMac hard drive I didn't copy properly when I retired it, one went away with a zip drive, one went away with 3 inch floppies, and one went away with 5 inch floppies (and one went away with greenbar paper). I think my odds are better using a cloud service than my own efforts at maintaining things. gc From irog at mac.com Thu Nov 10 21:28:57 2022 From: irog at mac.com (Roger Guay) Date: Thu, 10 Nov 2022 18:28:57 -0800 Subject: Return of Hilited text of Popup Menu items Message-ID: Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? Thanks for your help! Roger From klaus at major-k.de Fri Nov 11 06:31:55 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Nov 2022 12:31:55 +0100 Subject: Easy Android adaptive icons In-Reply-To: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> Message-ID: <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Hi all, now that I have finally finished my stacks, I will be going to publish the apps in the next time in the Apple Appstore and Google Play store. Yeah! :-) However I still have to learn a lot about "mobile" stuff, like below, hope someone can help me out. > Am 18.10.2022 um 23:19 schrieb J. Landman Gay via use-livecode : > > For anyone struggling with Android adaptive icons, or who like me doesn't want to deal with Android Studio just to make a single icon, I found this: > > https://easyappicon.com/ > > It does work and is quick and easy. The Android icons are all placed in a single folder and I think you can probably just point the Standalone Settings to that folder, though I renamed it "res" in case LC is looking for the Android Studio naming convention. > > It also makes iOS icons which seem to come along automatically. Those are all in a second folder which you can ignore, trash, or use for cross platform development. > > I tried several different online icon utilities and this one worked best for me. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Yep, I also used this for my icons. But now I have no idea what icon to set for what iDevice in LC? See here: Prerendered icon? Que? 8-) Any hints or advice very welcome, thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From scott at elementarysoftware.com Fri Nov 11 08:56:09 2022 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 11 Nov 2022 05:56:09 -0800 Subject: Easy Android adaptive icons In-Reply-To: <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Message-ID: > But now I have no idea what icon to set for what iDevice in LC? If you hover over the […] (used for selecting the file path) you will see a tool tip with the dimensions. (Or select the incorrect size and I believe it will warn you about what size it is expecting.) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ > On Nov 11, 2022, at 3:31 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > now that I have finally finished my stacks, I will be going to publish > the apps in the next time in the Apple Appstore and Google Play store. > Yeah! :-) > > However I still have to learn a lot about "mobile" stuff, like below, hope > someone can help me out. > >> Am 18.10.2022 um 23:19 schrieb J. Landman Gay via use-livecode : >> >> For anyone struggling with Android adaptive icons, or who like me doesn't want to deal with Android Studio just to make a single icon, I found this: >> >> https://easyappicon.com/ >> >> It does work and is quick and easy. The Android icons are all placed in a single folder and I think you can probably just point the Standalone Settings to that folder, though I renamed it "res" in case LC is looking for the Android Studio naming convention. >> >> It also makes iOS icons which seem to come along automatically. Those are all in a second folder which you can ignore, trash, or use for cross platform development. >> >> I tried several different online icon utilities and this one worked best for me. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > Yep, I also used this for my icons. > > But now I have no idea what icon to set for what iDevice in LC? See here: > > Prerendered icon? Que? 8-) > > Any hints or advice very welcome, thank you. > > > 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 craig at starfirelighting.com Fri Nov 11 08:57:13 2022 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Nov 2022 08:57:13 -0500 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: Message-ID: Roger. No messages are sent while a menu is open. Further, a “mouseMove” handler in, say, the card script stops receiving messages while that menu is open. Such a gadget, likely drawn by the underlying OS, seems to be blocking. So, I think, no. Craig > On Nov 10, 2022, at 9:28 PM, Roger Guay via use-livecode wrote: > > Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? > > Thanks for your help! > > 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 klaus at major-k.de Fri Nov 11 09:15:04 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Nov 2022 15:15:04 +0100 Subject: Easy Android adaptive icons In-Reply-To: References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Message-ID: <26980F84-BA87-4BC6-9285-4B7ECDE25CB2@major-k.de> Hi Scott, > Am 11.11.2022 um 14:56 schrieb scott--- via use-livecode : > >> But now I have no idea what icon to set for what iDevice in LC? > If you hover over the […] (used for selecting the file path) you will see a tool tip with the dimensions. (Or select the incorrect size and I believe it will warn you about what size it is expecting.) aha, thank you very much, will do that! > -- > Scott Morrow Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From irog at mac.com Fri Nov 11 09:55:52 2022 From: irog at mac.com (Roger Guay) Date: Fri, 11 Nov 2022 06:55:52 -0800 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: Message-ID: <5DE5F998-7C72-4FC4-A42F-3EFA6EAB22BF@mac.com> Thanks very much Craig. Pretty much what I expected. Fortunately, I’ve discovered I don’t need it, so I’m good! Roger > On Nov 11, 2022, at 5:57 AM, Craig Newman via use-livecode wrote: > > Roger. > > No messages are sent while a menu is open. Further, a “mouseMove” handler in, say, the card script stops receiving messages while that menu is open. > > Such a gadget, likely drawn by the underlying OS, seems to be blocking. So, I think, no. > > Craig > >> On Nov 10, 2022, at 9:28 PM, Roger Guay via use-livecode wrote: >> >> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >> >> Thanks for your help! >> >> 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 From bobsneidar at iotecdigital.com Fri Nov 11 11:11:32 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 16:11:32 +0000 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: Message-ID: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) Bob S On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? Thanks for your help! Roger From irog at mac.com Fri Nov 11 11:19:44 2022 From: irog at mac.com (Roger Guay) Date: Fri, 11 Nov 2022 08:19:44 -0800 Subject: Return of Hilited text of Popup Menu items In-Reply-To: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> Message-ID: <9F8E0523-2980-4B89-BCF3-3B7538E92FCE@mac.com> Thanks for corecting me, I shall never forgit it! Roger > On Nov 11, 2022, at 8:11 AM, Bob Sneidar via use-livecode wrote: > > A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) > > Bob S > > > On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: > > Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? > > Thanks for your help! > > 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 Nov 11 11:34:47 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 16:34:47 +0000 Subject: Nested Datagrid Behaviors is implemented! Message-ID: <62E232E2-2D6D-4D01-9BA0-3E560A2A964A@iotecdigital.com> Hi all. For those of you who were interested in nested datagrid behaviors, it has now been implemented in LC 9.6.9 (rc2). I can confirm it works as advertised. I use to have to replace one of the script only stacks in LC with a modified one of my own, but now no more. Thanks LC Dev team, you are greatly appreciated! Bob S From craig at starfirelighting.com Fri Nov 11 11:56:13 2022 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Nov 2022 11:56:13 -0500 Subject: Return of Hilited text of Popup Menu items In-Reply-To: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> Message-ID: And a corsair is what a pirate aspires to. Craig > On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: > > A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) > > Bob S > > > On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: > > Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? > > Thanks for your help! > > 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 Nov 11 12:03:05 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 17:03:05 +0000 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> Message-ID: <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> Or the greatest WWII fighter plane ever made. > On Nov 11, 2022, at 08:56 , Craig Newman via use-livecode wrote: > > And a corsair is what a pirate aspires to. > > Craig > >> On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: >> >> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) >> >> Bob S >> >> >> On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: >> >> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >> >> Thanks for your help! >> >> 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 From craig at starfirelighting.com Fri Nov 11 12:15:06 2022 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Nov 2022 12:15:06 -0500 Subject: Return of Hilited text of Popup Menu items In-Reply-To: <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> Message-ID: Nope Grumman F6F. > On Nov 11, 2022, at 12:03 PM, Bob Sneidar via use-livecode wrote: > > Or the greatest WWII fighter plane ever made. > >> On Nov 11, 2022, at 08:56 , Craig Newman via use-livecode wrote: >> >> And a corsair is what a pirate aspires to. >> >> Craig >> >>> On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: >>> >>> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) >>> >>> Bob S >>> >>> >>> On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: >>> >>> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >>> >>> Thanks for your help! >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 11 12:25:25 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 17:25:25 +0000 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> Message-ID: <5476762B-F5E3-4D06-A5B4-854E6EC5445B@iotecdigital.com> If they mounted 4 20mm cannons on the Hellcat, I might agree. Bob S > On Nov 11, 2022, at 09:15 , Craig Newman via use-livecode wrote: > > Nope > > Grumman F6F. > >> On Nov 11, 2022, at 12:03 PM, Bob Sneidar via use-livecode wrote: >> >> Or the greatest WWII fighter plane ever made. >> >>> On Nov 11, 2022, at 08:56 , Craig Newman via use-livecode wrote: >>> >>> And a corsair is what a pirate aspires to. >>> >>> Craig >>> >>>> On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) >>>> >>>> Bob S >>>> >>>> >>>> On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: >>>> >>>> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >>>> >>>> Thanks for your help! >>>> >>>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Nov 11 16:45:33 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Nov 2022 15:45:33 -0600 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: > I think my odds are better using a cloud > service than my own efforts at maintaining things. I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. I haven't lost any data since the original catastrophe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Nov 11 16:48:24 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Nov 2022 15:48:24 -0600 Subject: Easy Android adaptive icons In-Reply-To: <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Message-ID: <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> On 11/11/22 5:31 AM, Klaus major-k via use-livecode wrote: > But now I have no idea what icon to set for what iDevice in LC? See here: > > Prerendered icon? Que? 8-) You don't need prerendered if you are just using a basic image. Apple will render the icon for you. If you hover the mouse over the "..." next to the icon path field, it will tell you the size it expects for that icon. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Sat Nov 12 05:33:36 2022 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Nov 2022 11:33:36 +0100 Subject: Easy Android adaptive icons In-Reply-To: <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> Message-ID: Hi Jacque, > Am 11.11.2022 um 22:48 schrieb J. Landman Gay via use-livecode : > > On 11/11/22 5:31 AM, Klaus major-k via use-livecode wrote: >> But now I have no idea what icon to set for what iDevice in LC? See here: >> >> Prerendered icon? Que? 8-) > > You don't need prerendered if you are just using a basic image. ah, so prerendered means an ".icns" file, thank you. > Apple will render the icon for you. > If you hover the mouse over the "..." next to the icon path field, it will tell you the size it expects for that icon. OK, merci, mon amie! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Sat Nov 12 13:24:04 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Nov 2022 12:24:04 -0600 Subject: Easy Android adaptive icons In-Reply-To: References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> Message-ID: <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Not quite. Prerendered means that you have already added glow and shine to the icons. If you want Apple to render the icon according to the style of the phone's current OS, leave prerendered unchecked and Apple will draw the shine effect for you. IPhones don't use .icns files. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 12, 2022 4:35:13 AM Klaus major-k via use-livecode wrote: > > ah, so prerendered means an ".icns" file, thank you. From klaus at major-k.de Sat Nov 12 14:08:00 2022 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Nov 2022 20:08:00 +0100 Subject: Easy Android adaptive icons In-Reply-To: <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque, > Am 12.11.2022 um 19:24 schrieb J. Landman Gay via use-livecode : > > Not quite. Prerendered means that you have already added glow and shine to the icons. If you want Apple to render the icon according to the style of the phone's current OS, leave prerendered unchecked and Apple will draw the shine effect for you. IPhones don't use .icns files. AHA! Thanks for the info. I always learn something new. :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 12, 2022 4:35:13 AM Klaus major-k via use-livecode wrote: >> >> ah, so prerendered means an ".icns" file, thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Sat Nov 12 17:33:30 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Nov 2022 16:33:30 -0600 Subject: About that Enter key Message-ID: Enter does not trigger and doesn't compile for me in the script editor on LC 9.6.9 rc 2. It works in other versions. If you're not having any luck with it, try an older version. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From marksmithhfx at gmail.com Sun Nov 13 03:02:41 2022 From: marksmithhfx at gmail.com (Mark Smith) Date: Sun, 13 Nov 2022 08:02:41 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> Message-ID: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode wrote: > > On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >> I think my odds are better using a cloud >> service than my own efforts at maintaining things. > > I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. > > I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. > > The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. > > BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. > > I haven't lost any data since the original catastrophe. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 jacque at hyperactivesw.com Sun Nov 13 14:22:08 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Nov 2022 13:22:08 -0600 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: <18472712300.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> There is no scheduling, it's all automatic. Time Machine backs up once an hour, then combines the back ups once a day, then once a week, then once a month. When the disk is full it deletes the oldest to make room. With a multi-terrabyte drive that doesn't happen often. It alternates each backup every hour between my two drives. You can add any number of drives and it will rotate every hour among them. The UI combines all the backups into a single visual report so you don't need to figure out which drive stores it. If you don't like the visual display you can use the Finder and grab any backup from there. For convenience, TM creates an alias to the most recent backup on each drive. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 13, 2022 2:05:04 AM Mark Smith via use-livecode wrote: > Brilliant. Im inspired. (I presume you can program Time Machine to use > drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > >> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode >> wrote: >> >> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >>> I think my odds are better using a cloud >>> service than my own efforts at maintaining things. >> >> I do both local and cloud backups. If you haven't set up Time Machine I >> highly recommend it. I have two backup drives on my Mac and Time Machine >> alternates backups between them. I never have to think about it, and it's >> saved me more times than I can count, especially when I save a stack and >> later find out I introduced problems. I just grab the last working copy and >> get back to work. When I travel, I put one of the drives in a safe place at >> home and take the other one with me, just in case. That came in handy once >> when I had to review a script to answer a client's question while I was out >> of town. SSD drives are just a little larger than a cigarette pack, >> inexpensive, and easy to carry. >> >> I also have Google Drive set up to automatically backup a few important >> folders including my client folder. That way I have essentially three >> backups of the important stuff. The good part is that I don't have to do >> anything at all, the copies take care of themselves. >> >> The initial setup happened a couple of decades ago when I lost everything. >> My Mac's hard drive failed suddenly and my entire digital life went with >> it. I'm obsessive now. It's entirely possible to be lazy about backups and >> still have them. >> >> BTW, one or the other backup drives has failed a couple of times over the >> years. I take the dead one offline and Time Machine will continue to backup >> to the other one until I can get a replacement. This happens about every >> 3-5 years. >> >> I haven't lost any data since the original catastrophe. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From matthias_livecode_150811 at m-r-d.de Sun Nov 13 17:36:00 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 13 Nov 2022 23:36:00 +0100 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> As Jacque has written, but in Ventura you can decide if the backup shall be done only manually, every hour, every day or every week. And if you have defined more than one drive for the Time Machine backups and if you have them all connected at the same time to your computer then the first backup is done first on the first one, then the next backup on the second one and so on and then again on the first drive. If you have defined more than one drive for the backup, but you only attach one drive at a time, then the backup is written to that drive. If you attach an other of the defined drives and remove the other one, then the backup is written the newly attached drive. I for example have always 1 "real" drive attached and i also use my Synology NAS as a second drive for the Time Machine backups. Regards, Matthias > Am 13.11.2022 um 09:02 schrieb Mark Smith via use-livecode : > > Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > >> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode wrote: >> >> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >>> I think my odds are better using a cloud >>> service than my own efforts at maintaining things. >> >> I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. >> >> I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. >> >> The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. >> >> BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. >> >> I haven't lost any data since the original catastrophe. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From matthias_livecode_150811 at m-r-d.de Sun Nov 13 17:41:01 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 13 Nov 2022 23:41:01 +0100 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> Message-ID: I forgot to mention that the part with the "multiple drives defined for Time Machine" is valid for all macOS versions, not just Ventura. > Am 13.11.2022 um 23:36 schrieb matthias rebbe via use-livecode : > > As Jacque has written, but > > in Ventura you can decide if the backup shall be done only manually, every hour, every day or every week. > > And if you have defined more than one drive for the Time Machine backups and if you have them all connected at the same time to your computer then the first backup is done first on the first one, then the next backup on the second one and so on and then again on the first drive. > > If you have defined more than one drive for the backup, but you only attach one drive at a time, then the backup is written to that drive. If you attach an other of the defined drives and remove the other one, then the backup is written the newly attached drive. > > I for example have always 1 "real" drive attached and i also use my Synology NAS as a second drive for the Time Machine backups. > > > Regards, > Matthias > > > >> Am 13.11.2022 um 09:02 schrieb Mark Smith via use-livecode : >> >> Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). >> >>> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode wrote: >>> >>> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >>>> I think my odds are better using a cloud >>>> service than my own efforts at maintaining things. >>> >>> I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. >>> >>> I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. >>> >>> The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. >>> >>> BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. >>> >>> I haven't lost any data since the original catastrophe. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 14 07:51:16 2022 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 14 Nov 2022 07:51:16 -0500 Subject: itemoffset & wholematches Message-ID: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Hi list, I have a variable with a content of 3 lines as follows : 1 sombre brun profond 2 flou incertain 3 inexplor mystrieux inconnu The separator between words is tab. I want to check if a certain word is among the items as a whole. The following script returns "6" : set itemdel to tab set the wholematches to false put itemoffset("incertain",myVar) The following script returns "0" : set itemdel to tab set the wholematches to true put itemoffset("incertain",myVar) The following script returns "7" : set itemdel to tab set the wholematches to true replace return with tab in myVar put itemoffset("incertain",myVar) Scripts 1 & 3 are logical, but any logical explanation for the result of script 2 ? Does it mean that the return char after the word is considered as part of the word ? Thanks in advance. jbv From MikeKerner at roadrunner.com Mon Nov 14 09:00:04 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 09:00:04 -0500 Subject: itemoffset & wholematches In-Reply-To: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: you set the itemDelimiter to tab. the is part of the item. From MikeKerner at roadrunner.com Mon Nov 14 09:03:54 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 09:03:54 -0500 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: the easy way to fix this problem: replace cr with tab in myVar -- but if the line endings matter, this isn't great On Mon, Nov 14, 2022 at 9:00 AM Mike Kerner wrote: > you set the itemDelimiter to tab. the is part of the item. > -- 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 MikeKerner at roadrunner.com Mon Nov 14 09:12:23 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 09:12:23 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> Message-ID: just one note that has bitten me, about using these cloud backup services: they are not great at storing databases (which includes git repos, since the git tree is just a db). there are db's that take snapshots as part of their backup process (then you backup the snapshot, not the db). backing up a db via cloud storage (again, including a git repo) will eventually burn you. you can fix it, but it can take hours. but with time machine/retrospect/etc. - no issues. On Sun, Nov 13, 2022 at 5:41 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I forgot to mention that the part with the "multiple drives defined for > Time Machine" is valid for all macOS versions, not just Ventura. > > > > Am 13.11.2022 um 23:36 schrieb matthias rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > As Jacque has written, but > > > > in Ventura you can decide if the backup shall be done only manually, > every hour, every day or every week. > > > > And if you have defined more than one drive for the Time Machine > backups and if you have them all connected at the same time to your > computer then the first backup is done first on the first one, then the > next backup on the second one and so on and then again on the first drive. > > > > If you have defined more than one drive for the backup, but you only > attach one drive at a time, then the backup is written to that drive. If > you attach an other of the defined drives and remove the other one, then > the backup is written the newly attached drive. > > > > I for example have always 1 "real" drive attached and i also use my > Synology NAS as a second drive for the Time Machine backups. > > > > > > Regards, > > Matthias > > > > > > > >> Am 13.11.2022 um 09:02 schrieb Mark Smith via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Brilliant. I’m inspired. (I presume you can program Time Machine to use > drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > >> > >>> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: > >>>> I think my odds are better using a cloud > >>>> service than my own efforts at maintaining things. > >>> > >>> I do both local and cloud backups. If you haven't set up Time Machine > I highly recommend it. I have two backup drives on my Mac and Time Machine > alternates backups between them. I never have to think about it, and it's > saved me more times than I can count, especially when I save a stack and > later find out I introduced problems. I just grab the last working copy and > get back to work. When I travel, I put one of the drives in a safe place at > home and take the other one with me, just in case. That came in handy once > when I had to review a script to answer a client's question while I was out > of town. SSD drives are just a little larger than a cigarette pack, > inexpensive, and easy to carry. > >>> > >>> I also have Google Drive set up to automatically backup a few > important folders including my client folder. That way I have essentially > three backups of the important stuff. The good part is that I don't have to > do anything at all, the copies take care of themselves. > >>> > >>> The initial setup happened a couple of decades ago when I lost > everything. My Mac's hard drive failed suddenly and my entire digital life > went with it. I'm obsessive now. It's entirely possible to be lazy about > backups and still have them. > >>> > >>> BTW, one or the other backup drives has failed a couple of times over > the years. I take the dead one offline and Time Machine will continue to > backup to the other one until I can get a replacement. This happens about > every 3-5 years. > >>> > >>> I haven't lost any data since the original catastrophe. > >>> > >>> -- > >>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>> HyperActive Software | http://www.hyperactivesw.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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Mon Nov 14 11:56:11 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 16:56:11 +0000 Subject: Easy Android adaptive icons In-Reply-To: References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <047B895D-5F30-4BB2-9F3C-3ABC513E663B@iotecdigital.com> I am always learning new things as well, only on account of I forget so much. Bob S On Nov 12, 2022, at 11:08 , Klaus major-k via use-livecode > wrote: Hi Jacque, Am 12.11.2022 um 19:24 schrieb J. Landman Gay via use-livecode >: Not quite. Prerendered means that you have already added glow and shine to the icons. If you want Apple to render the icon according to the style of the phone's current OS, leave prerendered unchecked and Apple will draw the shine effect for you. IPhones don't use .icns files. AHA! Thanks for the info. I always learn something new. :-) -- Jacqueline Landman Gay | jacque at hyperactivesw.com From bobsneidar at iotecdigital.com Mon Nov 14 11:58:19 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 16:58:19 +0000 Subject: About that Enter key In-Reply-To: References: Message-ID: Ahah! For my part, I just recently updated to RC2 because of the Nested Datagrid Behavior fix. (Thanks again LC). But it really doesn't matter to me as I am in the habit of using Tab to format the script, and Save as a means of compiling and saving at the same time. Bob S > On Nov 12, 2022, at 14:33 , J. Landman Gay via use-livecode wrote: > > Enter does not trigger and doesn't compile for me in the script editor on LC 9.6.9 rc 2. It works in other versions. If you're not having any luck with it, try an older version. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 bobsneidar at iotecdigital.com Mon Nov 14 12:00:56 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 17:00:56 +0000 Subject: itemoffset & wholematches In-Reply-To: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Why not just use is among the items? Bob S > On Nov 14, 2022, at 04:51 , jbv via use-livecode wrote: > > Hi list, > > I have a variable with a content of 3 lines as follows : > 1 sombre brun profond > 2 flou incertain > 3 inexploré mystérieux inconnu > > The separator between words is tab. > I want to check if a certain word is among the items as a whole. > > The following script returns "6" : > set itemdel to tab > set the wholematches to false > put itemoffset("incertain",myVar) > > The following script returns "0" : > set itemdel to tab > set the wholematches to true > put itemoffset("incertain",myVar) > > The following script returns "7" : > set itemdel to tab > set the wholematches to true > replace return with tab in myVar > put itemoffset("incertain",myVar) > > Scripts 1 & 3 are logical, but any logical explanation > for the result of script 2 ? Does it mean that the return > char after the word is considered as part of the word ? > > Thanks 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 bobsneidar at iotecdigital.com Mon Nov 14 12:05:05 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 17:05:05 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: There is a utility that can actually modify the schedule. I downloaded it and am using it at home, but currently I am at work. I'll try to remember to check that when I get home, but you can google it. Bob S On Nov 13, 2022, at 24:02 , Mark Smith via use-livecode > wrote: Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). From merakosp at gmail.com Mon Nov 14 12:19:16 2022 From: merakosp at gmail.com (panagiotis m) Date: Mon, 14 Nov 2022 19:19:16 +0200 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: Hello all, We received a report about "Close and remove from memory" not working on MacOS Ventura (https://quality.livecode.com/show_bug.cgi?id=24008). I have not upgraded yet - so I was wondering if anyone has seen this issue on MacOS Ventura? Kind regards, Panos -- On Mon, 14 Nov 2022 at 19:06, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > There is a utility that can actually modify the schedule. I downloaded it > and am using it at home, but currently I am at work. I'll try to remember > to check that when I get home, but you can google it. > > Bob S > > > On Nov 13, 2022, at 24:02 , Mark Smith via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > Brilliant. I’m inspired. (I presume you can program Time Machine to use > drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 14 13:15:52 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 13:15:52 -0500 Subject: itemoffset & wholematches In-Reply-To: <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: that still won't work if the text is the last item of a line. in the example, below, i've taken his original, replaced the tabs with commas, and for the purpose of being able to read what's going on, substituted the cr for a backslash, and added a line to substitute it back for the test. *put* "1,sombre,burn,profound\2,flou,incertain\3,inexploré,mystériux,inconnu" into myVar *replace* "\" with cr in myVar *put* "profound" is among the items of myVar On Mon, Nov 14, 2022 at 12:01 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Why not just use is among the items? > > Bob S > > > > On Nov 14, 2022, at 04:51 , jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi list, > > > > I have a variable with a content of 3 lines as follows : > > 1 sombre brun profond > > 2 flou incertain > > 3 inexploré mystérieux inconnu > > > > The separator between words is tab. > > I want to check if a certain word is among the items as a whole. > > > > The following script returns "6" : > > set itemdel to tab > > set the wholematches to false > > put itemoffset("incertain",myVar) > > > > The following script returns "0" : > > set itemdel to tab > > set the wholematches to true > > put itemoffset("incertain",myVar) > > > > The following script returns "7" : > > set itemdel to tab > > set the wholematches to true > > replace return with tab in myVar > > put itemoffset("incertain",myVar) > > > > Scripts 1 & 3 are logical, but any logical explanation > > for the result of script 2 ? Does it mean that the return > > char after the word is considered as part of the word ? > > > > Thanks 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 > -- 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 Mon Nov 14 13:43:19 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 18:43:19 +0000 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: oic. Odd use case. I suppose a lineOffset function followed by is among the items could be used. If he needs the lines to remain intact he could also replace cr with tab & cr first. Bob S On Nov 14, 2022, at 10:15 , Mike Kerner via use-livecode > wrote: that still won't work if the text is the last item of a line. From alex at tweedly.net Mon Nov 14 14:45:20 2022 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 14 Nov 2022 19:45:20 +0000 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: That would deal with the last item in a line - but not the first. Should do    replace CR with TAB & CR & TAB in ... and reverse later if needed. Alex. On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: > oic. Odd use case. I suppose a lineOffset function followed by is among the items could be used. If he needs the lines to remain intact he could also replace cr with tab & cr first. > > Bob S > > > On Nov 14, 2022, at 10:15 , Mike Kerner via use-livecode > wrote: > > that still won't work if the text is the last item of a line. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 14 14:57:49 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 19:57:49 +0000 Subject: Auto-Complete Message-ID: <074F850B-52F5-4E8B-99FE-1787B647E382@iotecdigital.com> I've probably asked this before, or someone has, but while I really like the suggestions when editing a script, I decidedly do NOT like the auto-encapsulation of things, by which I mean if I type a quote, it happens another quote right after. If I type a left square bracket, it appends a right square bracket right after. I know this is supposed to help me, but in reality it keeps getting in my way. I end up having to correct my scripts because I typed an extra quote or square bracket. Is there a way to keep the popup suggestions without the auto-completing quotes, brackets and parenthesis? Bob S From bobsneidar at iotecdigital.com Mon Nov 14 15:01:02 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 20:01:02 +0000 Subject: Auto-Complete In-Reply-To: <074F850B-52F5-4E8B-99FE-1787B647E382@iotecdigital.com> References: <074F850B-52F5-4E8B-99FE-1787B647E382@iotecdigital.com> Message-ID: <6588D23A-7B7A-419C-827A-0D10296429AA@iotecdigital.com> As usual, nvm. I found it in the SE Edit Menu. I think Jacque answered this for me before. Bob S > On Nov 14, 2022, at 11:57 , Bob Sneidar wrote: > > I've probably asked this before, or someone has, but while I really like the suggestions when editing a script, I decidedly do NOT like the auto-encapsulation of things, by which I mean if I type a quote, it happens another quote right after. If I type a left square bracket, it appends a right square bracket right after. > > I know this is supposed to help me, but in reality it keeps getting in my way. I end up having to correct my scripts because I typed an extra quote or square bracket. > > Is there a way to keep the popup suggestions without the auto-completing quotes, brackets and parenthesis? > > Bob S > From jacque at hyperactivesw.com Mon Nov 14 15:07:25 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Nov 2022 14:07:25 -0600 Subject: itemoffset & wholematches In-Reply-To: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> How about a one-liner: put wordOffset("incertain",myVar) If the words ever have punctuation attached, use trueWordOffset. On 11/14/22 6:51 AM, jbv via use-livecode wrote: > Hi list, > > I have a variable with a content of 3 lines as follows : > 1    sombre    brun    profond > 2    flou    incertain > 3    inexploré    mystérieux    inconnu > > The separator between words is tab. > I want to check if a certain word is among the items as a whole. > > The following script returns "6" : >    set itemdel to tab >    set the wholematches to false >    put itemoffset("incertain",myVar) > > The following script returns "0" : >    set itemdel to tab >    set the wholematches to true >    put itemoffset("incertain",myVar) > > The following script returns "7" : >    set itemdel to tab >    set the wholematches to true >    replace return with tab in myVar >    put itemoffset("incertain",myVar) > > Scripts 1 & 3 are logical, but any logical explanation > for the result of script 2 ? Does it mean that the return > char after the word is considered as part of the word ? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Mon Nov 14 19:50:15 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Mon, 14 Nov 2022 19:50:15 -0500 Subject: IP address and Country In-Reply-To: <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> Message-ID: <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Greetings LiveCoders, I’m trying to set up an LC Server routine to retrieve the country name where the user is supposedly located by using the user’s IP Address and a cross-reference table. I’m sure someone here must have done something similar in the past and I was wondering what the best method would be for processing the data. I can set up either an IP4 or IP6 database, or one that has both, but the number of records to search is over 400,000 for just IP4. Is one easier than the other to implement? What problems have people run into trying to do this in the past, and what should I do? Suggestions? Thanks, Rick From bobsneidar at iotecdigital.com Mon Nov 14 19:57:53 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 15 Nov 2022 00:57:53 +0000 Subject: IP address and Country In-Reply-To: <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: Is that a fixed thing? Can it ever change? Seems like there must be a web site for that. I found https://www.ipvoid.com/ip-to-country/. They may license the tool that does this. Bob S On Nov 14, 2022, at 16:50 , harrison--- via use-livecode > wrote: Greetings LiveCoders, I’m trying to set up an LC Server routine to retrieve the country name where the user is supposedly located by using the user’s IP Address and a cross-reference table. I’m sure someone here must have done something similar in the past and I was wondering what the best method would be for processing the data. I can set up either an IP4 or IP6 database, or one that has both, but the number of records to search is over 400,000 for just IP4. Is one easier than the other to implement? What problems have people run into trying to do this in the past, and what should I do? Suggestions? Thanks, Rick _______________________________________________ use-livecode mailing list use-livecode 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 harrison at all-auctions.com Mon Nov 14 21:34:45 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Mon, 14 Nov 2022 21:34:45 -0500 Subject: IP address and Country In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> Hi Bob, Yes, that website illustrates what I’m trying to do, but I really need my own code for this. Thanks for the suggestion anyway. Rick > On Nov 14, 2022, at 7:57 PM, Bob Sneidar via use-livecode wrote: > > Is that a fixed thing? Can it ever change? Seems like there must be a web site for that. I found https://www.ipvoid.com/ip-to-country/ . They may license the tool that does this. > > Bob S From mkoob at rogers.com Mon Nov 14 23:22:15 2022 From: mkoob at rogers.com (Martin Koob) Date: Mon, 14 Nov 2022 23:22:15 -0500 Subject: IP address and Country In-Reply-To: <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> Message-ID: You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. Here is an example I found of one site. https://ipapi.co/api/#introduction HTTP Request GET https://ipapi.co/{ip}/{format}/ URL Parameters Parameter Description ip An IP address for which you want to retrieve the location format Data format of response, possible values are json, jsonp, xml, csv, yaml E.g. https://ipapi.co/8.8.8.8/json/ It is free for up to 30K requests per month, after that there is a fee. https://ipapi.co/#pricing Martin Koob > On Nov 14, 2022, at 9:34 PM, harrison--- via use-livecode wrote: > > Hi Bob, > > Yes, that website illustrates what I’m trying to do, but > I really need my own code for this. > > Thanks for the suggestion anyway. > > Rick > >> On Nov 14, 2022, at 7:57 PM, Bob Sneidar via use-livecode wrote: >> >> Is that a fixed thing? Can it ever change? Seems like there must be a web site for that. I found https://www.ipvoid.com/ip-to-country/ . They may license the tool that does this. >> >> 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 jbv at souslelogo.com Tue Nov 15 04:33:39 2022 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 15 Nov 2022 04:33:39 -0500 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> Hi guys, Thank you all for your answers. Actually I thought that some "hierarchy"remained (items inside lines) when using itemoffset, but obviously I was wrong. I have about 60000 variables to check, so I need my script to be as fast as possible. I use "replace CR with TAB & CR & TAB in ...", but as I need to get the exact itemoffset digit, I also need to count how many items I have added and substract that number from the result, which is quite cumbersome and slow... To Jacqueline : Thanks fro the suggestion, but I have to stick with items and itemoffset, for some items can contain more that 1 word, like "pied de biche"... Le 2022-11-14 14:45, Alex Tweedly via use-livecode a crit : > That would deal with the last item in a line - but not the first. > > Should do > >    replace CR with TAB & CR & TAB in ... > > and reverse later if needed. > > Alex. > > On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: >> oic. Odd use case. I suppose a lineOffset function followed by is >> among the items could be used. If he needs the lines to remain intact >> he could also replace cr with tab & cr first. >> From klaus at major-k.de Tue Nov 15 04:55:15 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 10:55:15 +0100 Subject: mergAV uses GLOBAL coordinates? Message-ID: Hi all, I do not won an iPhone, but some users told me that scanning a barcode will show the previewarea way off from where I definde it. Here part of my script: -------------------------------- on mergAVMediaAccess pType, pGranted mergAVCamSet "microphone", empty mergAVCamCreate ## See below... mergAVCamSet "rect",the rect of graphic "qr_ios" ... ---------------------------------- See what happens here: The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in any script that could cause this! So does mergAV use GLOBAL coordinates? Any insight very welcome, thank you! 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 Tue Nov 15 05:14:49 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 11:14:49 +0100 Subject: mergAV uses GLOBAL coordinates? Message-ID: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> Hi all, I do not OWN an iPhone, ... Sorry. -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tore.nilsen at me.com Tue Nov 15 05:19:46 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Nov 2022 11:19:46 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> References: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> Message-ID: <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> > 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode : > > I do not OWN an iPhone, … But you won one? And you have not received it yet? And therefore you cannot make any tests yourself? Best regards Tore Nilsem From klaus at major-k.de Tue Nov 15 05:38:12 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 11:38:12 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> References: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> Message-ID: <71A42C41-5149-4BBD-BA8C-81B5578E0353@major-k.de> Hi Tore, > Am 15.11.2022 um 11:19 schrieb Tore Nilsen via use-livecode : > >> 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode : >> I do not OWN an iPhone, … > But you won one? And you have not received it yet? And therefore you cannot make any tests yourself? no, no and no, that was just a typo! 8-) > Best regards > Tore Nilsem Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tore.nilsen at me.com Tue Nov 15 06:15:49 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Nov 2022 12:15:49 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <71A42C41-5149-4BBD-BA8C-81B5578E0353@major-k.de> References: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> <71A42C41-5149-4BBD-BA8C-81B5578E0353@major-k.de> Message-ID: <64A7C39E-22AD-4306-9B56-C9DA182FD4A8@me.com> > 15. nov. 2022 kl. 11:38 skrev Klaus major-k via use-livecode : > > Hi Tore, > >> Am 15.11.2022 um 11:19 schrieb Tore Nilsen via use-livecode : >> >>> 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode : >>> I do not OWN an iPhone, … >> But you won one? And you have not received it yet? And therefore you cannot make any tests yourself? > > no, no and no, that was just a typo! 8-) > >> Best regards >> Tore Nilsem > > Best > > Klaus > ;-) Tore From brian at milby7.com Tue Nov 15 07:32:00 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 15 Nov 2022 07:32:00 -0500 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: References: Message-ID: <9BC9162B-E1BC-4B7C-A25B-029F50D1AD9F@milby7.com> What fullscreenmode are you using on that card? Brian Milby brian at milby7.com > On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > I do not won an iPhone, but some users told me that > scanning a barcode will show the previewarea way off > from where I definde it. > > Here part of my script: > -------------------------------- > on mergAVMediaAccess pType, pGranted > mergAVCamSet "microphone", empty > mergAVCamCreate > > ## See below... > mergAVCamSet "rect",the rect of graphic "qr_ios" > ... > ---------------------------------- > See what happens here: > > The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in > any script that could cause this! > > So does mergAV use GLOBAL coordinates? > > Any insight very welcome, thank you! > > > 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 Tue Nov 15 07:50:57 2022 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 15 Nov 2022 12:50:57 +0000 Subject: itemoffset & wholematches In-Reply-To: <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> Message-ID: Hi, I don't know if this will be faster, slower, or what !?! Something like ....   put myVar into tCopy   replace CR with TAB in tCopy   put itemoffset("incertain", tCopy) into tmp   put the number of chars in item 1 to (tmp-1) of tCopy into tCharCount   put the number of items in char 1 to tCharCount of myVar into theRealAnswer Or, depending on what you do next, just go on using charOffset rather than itemOffset for the following code. Alex. On 15/11/2022 09:33, jbv via use-livecode wrote: > Hi guys, > Thank you all for your answers. > > Actually I thought that some "hierarchy"remained (items inside lines) > when using itemoffset, but obviously I was wrong. > I have about 60000 variables to check, so I need my script to be as > fast as possible. I use "replace CR with TAB & CR & TAB in ...", but > as I need to get the exact itemoffset digit, I also need to count > how many items I have added and substract that number from the > result, which is quite cumbersome and slow... > > To Jacqueline : > Thanks fro the suggestion, but I have to stick with items and > itemoffset, for some items can contain more that 1 word, like > "pied de biche"... > > Le 2022-11-14 14:45, Alex Tweedly via use-livecode a crit : >> That would deal with the last item in a line - but not the first. >> >> Should do >> >>    replace CR with TAB & CR & TAB in ... >> >> and reverse later if needed. >> >> Alex. >> >> On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: >>> oic. Odd use case. I suppose a lineOffset function followed by is >>> among the items could be used. If he needs the lines to remain >>> intact he could also replace cr with tab & cr first. >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 15 07:54:18 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 13:54:18 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <9BC9162B-E1BC-4B7C-A25B-029F50D1AD9F@milby7.com> References: <9BC9162B-E1BC-4B7C-A25B-029F50D1AD9F@milby7.com> Message-ID: Hi Brian, > Am 15.11.2022 um 13:32 schrieb Brian Milby via use-livecode : > > What fullscreenmode are you using on that card? I use "showall". However I resized the stack proportionally to the aspect ration of the device, so it "behaves" like fullscreenmode "exactfit". > Brian Milby > brian at milby7.com > >> On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode wrote: >> >> Hi all, >> >> I do not won an iPhone, but some users told me that >> scanning a barcode will show the previewarea way off >> from where I definde it. >> >> Here part of my script: >> -------------------------------- >> on mergAVMediaAccess pType, pGranted >> mergAVCamSet "microphone", empty >> mergAVCamCreate >> >> ## See below... >> mergAVCamSet "rect",the rect of graphic "qr_ios" >> ... >> ---------------------------------- >> See what happens here: >> >> The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in >> any script that could cause this! >> >> So does mergAV use GLOBAL coordinates? >> >> Any insight very welcome, thank you! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From brian at milby7.com Tue Nov 15 08:29:50 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 15 Nov 2022 08:29:50 -0500 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: References: Message-ID: I know that inside any native control, things are drawn at native resolution. A good way to see this is a browser widget. So I’m thinking that that is going to apply in the other direction too. You will need to convert your card coordinates to native coordinates to place the control. I might could play with the math, but it wouldn’t be until much later this evening. If you are already adjusting the aspect ratio, then you probably have a resizeStack handler. It may be easier to just go the next step to using native coordinates. Brian Milby brian at milby7.com > On Nov 15, 2022, at 7:54 AM, Klaus major-k via use-livecode wrote: > > Hi Brian, > >> Am 15.11.2022 um 13:32 schrieb Brian Milby via use-livecode : >> >> What fullscreenmode are you using on that card? > > I use "showall". > However I resized the stack proportionally to the aspect ration of the device, > so it "behaves" like fullscreenmode "exactfit". > >> Brian Milby >> brian at milby7.com >> >>>> On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode wrote: >>> >>> Hi all, >>> >>> I do not won an iPhone, but some users told me that >>> scanning a barcode will show the previewarea way off >>> from where I definde it. >>> >>> Here part of my script: >>> -------------------------------- >>> on mergAVMediaAccess pType, pGranted >>> mergAVCamSet "microphone", empty >>> mergAVCamCreate >>> >>> ## See below... >>> mergAVCamSet "rect",the rect of graphic "qr_ios" >>> ... >>> ---------------------------------- >>> See what happens here: >>> >>> The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in >>> any script that could cause this! >>> >>> So does mergAV use GLOBAL coordinates? >>> >>> Any insight very welcome, thank you! > > 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 klaus at major-k.de Tue Nov 15 08:38:19 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 14:38:19 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: References: Message-ID: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> Hi Brian, > Am 15.11.2022 um 14:29 schrieb Brian Milby via use-livecode : > > I know that inside any native control, things are drawn at native resolution. A good way to see this is a browser widget. So I’m thinking that that is going to apply in the other direction too. You will need to convert your card coordinates to native coordinates to place the control. Then this should go into the dictiuonary with 128 point fontsize! > I might could play with the math, but it wouldn’t be until much later this evening. thanks, already got it: ------------------------------------------ ## KM ... put the topleft of grc "qr_ios" into tRect1 put the bottomright of grc "qr_ios" into tRect2 put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect mergAVCamSet "rect",tRect ## KM ... ----------------------------------------- > If you are already adjusting the aspect ratio, then you probably have a resizeStack handler. How did you know? :-D > It may be easier to just go the next step to using native coordinates. I did, now I'm wating for a feedback of my tester > Brian Milby > brian at milby7.com 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 Nov 15 11:11:15 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 15 Nov 2022 16:11:15 +0000 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> Message-ID: <7D7B08E5-B0BE-4AA3-9054-ADDE3A990244@iotecdigital.com> If the data always contains the same number of items, I again highly recommend pushing everything to a memory based sqLite file then doing queries on it. Bob S On Nov 15, 2022, at 04:50 , Alex Tweedly via use-livecode > wrote: Hi, I don't know if this will be faster, slower, or what !?! Something like .... put myVar into tCopy replace CR with TAB in tCopy put itemoffset("incertain", tCopy) into tmp put the number of chars in item 1 to (tmp-1) of tCopy into tCharCount put the number of items in char 1 to tCharCount of myVar into theRealAnswer Or, depending on what you do next, just go on using charOffset rather than itemOffset for the following code. Alex. On 15/11/2022 09:33, jbv via use-livecode wrote: Hi guys, Thank you all for your answers. Actually I thought that some "hierarchy"remained (items inside lines) when using itemoffset, but obviously I was wrong. I have about 60000 variables to check, so I need my script to be as fast as possible. I use "replace CR with TAB & CR & TAB in ...", but as I need to get the exact itemoffset digit, I also need to count how many items I have added and substract that number from the result, which is quite cumbersome and slow... To Jacqueline : Thanks fro the suggestion, but I have to stick with items and itemoffset, for some items can contain more that 1 word, like "pied de biche"... Le 2022-11-14 14:45, Alex Tweedly via use-livecode a écrit : That would deal with the last item in a line - but not the first. Should do replace CR with TAB & CR & TAB in ... and reverse later if needed. Alex. On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: oic. Odd use case. I suppose a lineOffset function followed by is among the items could be used. If he needs the lines to remain intact he could also replace cr with tab & cr first. _______________________________________________ use-livecode mailing list use-livecode 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 Tue Nov 15 11:23:09 2022 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 15 Nov 2022 11:23:09 -0500 Subject: itemoffset & wholematches In-Reply-To: <7D7B08E5-B0BE-4AA3-9054-ADDE3A990244@iotecdigital.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> <7D7B08E5-B0BE-4AA3-9054-ADDE3A990244@iotecdigital.com> Message-ID: <99f14b8bacf80e4d4951dbbf02cc9ae2@souslelogo.com> Again guys, thank you for your suggestions. But finally I gave up using itemoffset and worked with arrays instead, which is much much faster : my script processes the 60000 variables in less than 15 secs. From harrison at all-auctions.com Tue Nov 15 12:12:13 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Tue, 15 Nov 2022 12:12:13 -0500 Subject: IP address and Country In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> Message-ID: <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> Hi Martin, Thanks for the information, but what I really want is a LiveCode solution that doesn’t depend on third parties. I have the database. I was asking if other people here had come up with a fast LiveCode solution. If all else fails, I will look into one of the third party suggestions, but third parties can change their code or suddenly disappear off of the internet. I don’t want my website breaking all the time due to such dependencies. Thanks again, Rick > On Nov 14, 2022, at 11:22 PM, Martin Koob wrote: > > You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. > > Here is an example I found of one site. > > https://ipapi.co/api/#introduction > > HTTP Request > > GET https://ipapi.co/{ip}/{format}/ > > URL Parameters > > Parameter Description > ip An IP address for which you want to retrieve the location > format Data format of response, possible values are json, jsonp, xml, csv, yaml > > E.g. > > https://ipapi.co/8.8.8.8/json/ > > It is free for up to 30K requests per month, after that there is a fee. > > https://ipapi.co/#pricing > > Martin Koob From alex at tweedly.net Tue Nov 15 13:35:33 2022 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 15 Nov 2022 18:35:33 +0000 Subject: IP address and Country In-Reply-To: <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> Message-ID: <6721fdde-ba00-7aef-c3ae-7b063a8581fd@tweedly.net> Hi Rick, I had missed the fact that you said you already had the database - that makes it a much easier problem :-) While I don't have any Livecode code for this, I do have some C code for a (probably) very similar problem. If you can describe the format of your database, and the query you want to make, I'll see if what I have is a good starting place, and then convert the C code if practical. Thanks, Alex. On 15/11/2022 17:12, harrison--- via use-livecode wrote: > Hi Martin, > > Thanks for the information, but what I really want is a LiveCode solution > that doesnt depend on third parties. > > I have the database. I was asking if other people here > had come up with a fast LiveCode solution. > > If all else fails, I will look into one of the third party suggestions, > but third parties can change their code or suddenly disappear > off of the internet. I dont want my website breaking all the time > due to such dependencies. > > Thanks again, > > Rick > > >> On Nov 14, 2022, at 11:22 PM, Martin Koob wrote: >> >> You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. >> >> Here is an example I found of one site. >> >> https://ipapi.co/api/#introduction >> >> HTTP Request >> >> GET https://ipapi.co/{ip}/{format}/ >> >> URL Parameters >> >> Parameter Description >> ip An IP address for which you want to retrieve the location >> format Data format of response, possible values are json, jsonp, xml, csv, yaml >> >> E.g. >> >> https://ipapi.co/8.8.8.8/json/ >> >> It is free for up to 30K requests per month, after that there is a fee. >> >> https://ipapi.co/#pricing >> >> Martin Koob > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 15 14:17:13 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 20:17:13 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> References: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> Message-ID: <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> Hi Brian, I now have the proof that mergAV DOES in fact needs global coordinates. Thanks for that, Matthias! This (as found in the dictionary) gives you the offset: ... mergAVCamSet "rect",the rect of graphic "qr_ios" ... However THIS is neccessary to make it work correctly: ... put the topleft of grc "qr_ios" into tRect1 put the bottomright of grc "qr_ios" into tRect2 put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect mergAVCamSet "rect",tRect ... I really wonder why noone noticed this before!? Will create a bug report for thhis later this evening. > Am 15.11.2022 um 14:38 schrieb Klaus major-k via use-livecode : > > Hi Brian, > >> Am 15.11.2022 um 14:29 schrieb Brian Milby via use-livecode : >> >> I know that inside any native control, things are drawn at native resolution. A good way to see this is a browser widget. So I’m thinking that that is going to apply in the other direction too. You will need to convert your card coordinates to native coordinates to place the control. > Then this should go into the dictionary with 128 point fontsize! THIS! >> I might could play with the math, but it wouldn’t be until much later this evening. > ... >> Brian Milby >> brian at milby7.com 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 Tue Nov 15 14:42:21 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 20:42:21 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> References: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> Message-ID: <78B682C8-9756-4BA1-A0BF-FE54A9205D23@major-k.de> Hi all, looks like this is a known bug: > Am 15.11.2022 um 20:17 schrieb Klaus major-k via use-livecode : > > Hi Brian, > > I now have the proof that mergAV DOES in fact needs global coordinates. > Thanks for that, Matthias! > > This (as found in the dictionary) gives you the offset: > ... > mergAVCamSet "rect",the rect of graphic "qr_ios" > ... > > However THIS is neccessary to make it work correctly: > ... > put the topleft of grc "qr_ios" into tRect1 > put the bottomright of grc "qr_ios" into tRect2 > put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect > mergAVCamSet "rect",tRect > ... > I really wonder why noone noticed this before!? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From harrison at all-auctions.com Tue Nov 15 17:31:03 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Tue, 15 Nov 2022 17:31:03 -0500 Subject: IP address and Country In-Reply-To: <6721fdde-ba00-7aef-c3ae-7b063a8581fd@tweedly.net> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> <6721fdde-ba00-7aef-c3ae-7b063a8581fd@tweedly.net> Message-ID: Hi Alex, Sorry, it’s been a really busy day here. I can’t get back to this problem until tomorrow. Don’t drag out your C code just yet, I have some ideas to try. Thanks, Rick > On Nov 15, 2022, at 1:35 PM, Alex Tweedly via use-livecode wrote: > > Hi Rick, > > I had missed the fact that you said you already had the database - that makes it a much easier problem :-) > > While I don't have any Livecode code for this, I do have some C code for a (probably) very similar problem. > > If you can describe the format of your database, and the query you want to make, I'll see if what I have is a good starting place, and then convert the C code if practical. > > Thanks, > > Alex. > > On 15/11/2022 17:12, harrison--- via use-livecode wrote: >> Hi Martin, >> >> Thanks for the information, but what I really want is a LiveCode solution >> that doesn’t depend on third parties. >> >> I have the database. I was asking if other people here >> had come up with a fast LiveCode solution. >> >> If all else fails, I will look into one of the third party suggestions, >> but third parties can change their code or suddenly disappear >> off of the internet. I don’t want my website breaking all the time >> due to such dependencies. >> >> Thanks again, >> >> Rick >> >> >>> On Nov 14, 2022, at 11:22 PM, Martin Koob wrote: >>> >>> You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. >>> >>> Here is an example I found of one site. >>> >>> https://ipapi.co/api/#introduction >>> >>> HTTP Request >>> >>> GET https://ipapi.co/{ip}/{format}/ >>> >>> URL Parameters >>> >>> Parameter Description >>> ip An IP address for which you want to retrieve the location >>> format Data format of response, possible values are json, jsonp, xml, csv, yaml >>> >>> E.g. >>> >>> https://ipapi.co/8.8.8.8/json/ >>> >>> It is free for up to 30K requests per month, after that there is a fee. >>> >>> https://ipapi.co/#pricing >>> >>> Martin Koob >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 klaus at major-k.de Wed Nov 16 06:47:47 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Nov 2022 12:47:47 +0100 Subject: Can we install "command Line Tools 14.1" on Mac? Message-ID: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> Hi all, I know that LC is not compatible with Xcode 14. But what about the command line tools? Is it safe to install the latest version 14.1? 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 Wed Nov 16 09:58:33 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 16 Nov 2022 09:58:33 -0500 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <78B682C8-9756-4BA1-A0BF-FE54A9205D23@major-k.de> References: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> <78B682C8-9756-4BA1-A0BF-FE54A9205D23@major-k.de> Message-ID: just checking into this thread, for the first time. you already figured out the important part: it uses global coords. the example code that i have includes taking that into account. it's actually part of a larger routine that sets all the mergav props for barcode scanning. On Tue, Nov 15, 2022 at 2:42 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > looks like this is a known bug: > > > > Am 15.11.2022 um 20:17 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Brian, > > > > I now have the proof that mergAV DOES in fact needs global coordinates. > > Thanks for that, Matthias! > > > > This (as found in the dictionary) gives you the offset: > > ... > > mergAVCamSet "rect",the rect of graphic "qr_ios" > > ... > > > > However THIS is neccessary to make it work correctly: > > ... > > put the topleft of grc "qr_ios" into tRect1 > > put the bottomright of grc "qr_ios" into tRect2 > > put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect > > mergAVCamSet "rect",tRect > > ... > > I really wonder why noone noticed this before!? > > 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 rdimola at evergreeninfo.net Wed Nov 16 10:21:25 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 16 Nov 2022 10:21:25 -0500 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> Message-ID: <001f01d8f9cf$1a726240$4f5726c0$@net> You can install any number of Xcode versions. Just point the build tools to 13.2.1. In terminal Xcode-select --print-path Will show the current selected path to xcode.app for building sudo xcode-select --switch PathToXcode13 will set the build tools path 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 Klaus major-k via use-livecode Sent: Wednesday, November 16, 2022 6:48 AM To: How to use LiveCode Cc: Klaus major-k Subject: Can we install "command Line Tools 14.1" on Mac? Hi all, I know that LC is not compatible with Xcode 14. But what about the command line tools? Is it safe to install the latest version 14.1? 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 klaus at major-k.de Wed Nov 16 10:24:33 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Nov 2022 16:24:33 +0100 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <001f01d8f9cf$1a726240$4f5726c0$@net> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> Message-ID: <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> Hi Ralph, > Am 16.11.2022 um 16:21 schrieb Ralph DiMola via use-livecode : > > You can install any number of Xcode versions. Just point the build tools to > 13.2.1. > In terminal > Xcode-select --print-path > Will show the current selected path to xcode.app for building > sudo xcode-select --switch PathToXcode13 > will set the build tools path yes, thank you, but that was not my question. 8-) I was asking abou the Xcode "Command Line Tools". > 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 Klaus major-k via use-livecode > Sent: Wednesday, November 16, 2022 6:48 AM > To: How to use LiveCode > Cc: Klaus major-k > Subject: Can we install "command Line Tools 14.1" on Mac? > > Hi all, > > I know that LC is not compatible with Xcode 14. > > But what about the command line tools? > Is it safe to install the latest version 14.1? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From rdimola at evergreeninfo.net Wed Nov 16 11:13:19 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 16 Nov 2022 11:13:19 -0500 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> Message-ID: <002301d8f9d6$5a86c950$0f945bf0$@net> Didn't test but I don't see why not as long as there is a 13.2.1 to build LC apps against. Panos? 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 Klaus major-k via use-livecode Sent: Wednesday, November 16, 2022 10:25 AM To: How to use LiveCode Cc: Klaus major-k Subject: Re: Can we install "command Line Tools 14.1" on Mac? Hi Ralph, > Am 16.11.2022 um 16:21 schrieb Ralph DiMola via use-livecode : > > You can install any number of Xcode versions. Just point the build > tools to 13.2.1. > In terminal > Xcode-select --print-path > Will show the current selected path to xcode.app for building sudo > xcode-select --switch PathToXcode13 will set the build tools path yes, thank you, but that was not my question. 8-) I was asking abou the Xcode "Command Line Tools". > 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 Klaus major-k via use-livecode > Sent: Wednesday, November 16, 2022 6:48 AM > To: How to use LiveCode > Cc: Klaus major-k > Subject: Can we install "command Line Tools 14.1" on Mac? > > Hi all, > > I know that LC is not compatible with Xcode 14. > > But what about the command line tools? > Is it safe to install the latest version 14.1? 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 merakosp at gmail.com Wed Nov 16 11:24:10 2022 From: merakosp at gmail.com (panagiotis m) Date: Wed, 16 Nov 2022 18:24:10 +0200 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <002301d8f9d6$5a86c950$0f945bf0$@net> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> <002301d8f9d6$5a86c950$0f945bf0$@net> Message-ID: Hello all, Yes, you can install any version of the command line tools you wish, but for LiveCode you need the version that is included in Xcode 13.2.x. So to use a different version you can do: sudo xcode-select -s /path/to/the/new/version/of/command/line/tools But before using LiveCode, make sure you revert to using version 13.2.x. You can also choose the version of the command line tools to be used by launching any version of Xcode and go to Xcode -> Preferences -> Locations -> Command Line Tools @Klaus May I ask why you are interested in the command line tools v14.1? Do you need them for another app? Kind regards, Panos -- On Wed, 16 Nov 2022 at 18:13, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Didn't test but I don't see why not as long as there is a 13.2.1 to build > LC > apps against. > Panos? > > 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 Klaus major-k via use-livecode > Sent: Wednesday, November 16, 2022 10:25 AM > To: How to use LiveCode > Cc: Klaus major-k > Subject: Re: Can we install "command Line Tools 14.1" on Mac? > > Hi Ralph, > > > Am 16.11.2022 um 16:21 schrieb Ralph DiMola via use-livecode > : > > > > You can install any number of Xcode versions. Just point the build > > tools to 13.2.1. > > In terminal > > Xcode-select --print-path > > Will show the current selected path to xcode.app for building sudo > > xcode-select --switch PathToXcode13 will set the build tools path > > yes, thank you, but that was not my question. 8-) I was asking abou the > Xcode "Command Line Tools". > > > 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 Klaus major-k via use-livecode > > Sent: Wednesday, November 16, 2022 6:48 AM > > To: How to use LiveCode > > Cc: Klaus major-k > > Subject: Can we install "command Line Tools 14.1" on Mac? > > > > Hi all, > > > > I know that LC is not compatible with Xcode 14. > > > > But what about the command line tools? > > Is it safe to install the latest version 14.1? > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Nov 16 11:28:11 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Nov 2022 17:28:11 +0100 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> <002301d8f9d6$5a86c950$0f945bf0$@net> Message-ID: Hi Panos, > Am 16.11.2022 um 17:24 schrieb panagiotis m via use-livecode : > > Hello all, > > Yes, you can install any version of the command line tools you wish, but > for LiveCode you need the version that is included in Xcode 13.2.x. > So to use a different version you can do: > sudo xcode-select -s /path/to/the/new/version/of/command/line/tools > But before using LiveCode, make sure you revert to using version 13.2.x. > You can also choose the version of the command line tools to be used by > launching any version of Xcode and go to Xcode -> Preferences -> Locations > -> Command Line Tools > @Klaus > May I ask why you are interested in the command line tools v14.1? Do you > need them for another app? no, it is just the Finder that annoys me every day with the info that there are new command line tools and if I wish to install them. :-) > Kind regards, > Panos > -- > > > > On Wed, 16 Nov 2022 at 18:13, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Didn't test but I don't see why not as long as there is a 13.2.1 to build >> LC >> apps against. >> Panos? >> >> Ralph DiMola Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Mon Nov 21 16:24:15 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Nov 2022 15:24:15 -0600 Subject: Lock screen challenge Message-ID: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: lock screen -- do any number of things unlock screen with These all need to be changed to: lock screen for visual effect -- do any number of things unlock screen with visual effect The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From craig at starfirelighting.com Mon Nov 21 16:30:57 2022 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 21 Nov 2022 16:30:57 -0500 Subject: Lock screen challenge In-Reply-To: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Jacque. Why aren’t you on the forum? Cant you just loop through each line in your handlers, and find the ones that contain “lock screen”, both with and without the visual effect thing. Search downstream until you find the “unlock” line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. Am I missing this? Craig > On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: > > I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. > > I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 paul at researchware.com Mon Nov 21 16:43:08 2022 From: paul at researchware.com (Paul Dupuis) Date: Mon, 21 Nov 2022 16:43:08 -0500 Subject: Lock screen challenge In-Reply-To: <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Message-ID: I was also going to suggest just brute forcing it. Something like: (code not complete or syntax checked) repeat with i=1 to the number of stacks   repeat with j = 1 to the number of cards in stack i     repeat with k= 1 to the number of controls of card j of stack i       put the script of control k of card j of stack i into tScript       -- look through the lines of tScript for "lock screen", note the line number A, then search from there onward for "unlock screen" and note the line number B       -- if line B begins with (after trimming spaces) "unlock screen with" then          -- replace line B with "unlock screen with visual effect"         -- and replace line A with "lock screen for visual effect"     end repeat   end repeat end repeat On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: > Jacque. > > Why arent you on the forum? > > Cant you just loop through each line in your handlers, and find the ones that contain lock screen, both with and without the visual effect thing. Search downstream until you find the unlock line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. > > Am I missing this? > > Craig > >> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: >> >> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From jacque at hyperactivesw.com Mon Nov 21 22:47:57 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Nov 2022 21:47:57 -0600 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Message-ID: <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks to both you and Craig. I couldn't think of any other way to do it either, but was hoping there was something other than brute force. Magic, maybe. It took LC's search/replace dialog a long time just to find all the instances, and actually editing them will be longer. But, it's just a one-off. Craig, I posted here because I more comfortable with it, and because more old-timers tend to be on the list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode wrote: > I was also going to suggest just brute forcing it. Something like: (code > not complete or syntax checked) > > repeat with i=1 to the number of stacks > repeat with j = 1 to the number of cards in stack i > repeat with k= 1 to the number of controls of card j of stack i > put the script of control k of card j of stack i into tScript > -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > -- if line B begins with (after trimming spaces) "unlock screen > with" then > -- replace line B with "unlock screen with visual effect" > -- and replace line A with "lock screen for visual effect" > end repeat > end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >> Jacque. >> >> Why arent you on the forum? >> >> Cant you just loop through each line in your handlers, and find the ones >> that contain lock screen, both with and without the visual effect thing. >> Search downstream until you find the unlock line, That gives you the >> start and finish lines for each handler. Then you can just replace the >> start and finish lines with the new ones. >> >> Am I missing this? >> >> Craig >> >>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>> wrote: >>> >>> I'm updating a very old set of stacks that use old HC syntax for "lock >>> screen". A search with LC's Find utility says there are 723 instances that >>> may need to be changed. Right now they look like this: >>> >>> lock screen >>> -- do any number of things >>> unlock screen with >>> >>> These all need to be changed to: >>> >>> lock screen for visual effect >>> -- do any number of things >>> unlock screen with visual effect >>> >>> The challenge is that not all "lock screen" commands use a visual effect, >>> some are simple lock/unlock pairs. I need to automate this. The visual >>> effects are not all the same. Some handlers have multiple instances of >>> locking the screen with or without a visual effect. >>> >>> I'd use a regex if I could, but back references aren't supported (or are >>> they now?) I really don't want to do this manually. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jmac at consensustech.com Tue Nov 22 12:43:51 2022 From: jmac at consensustech.com (Jim MacConnell) Date: Tue, 22 Nov 2022 09:43:51 -0800 Subject: Lock screen challenge In-Reply-To: <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1D4FC6D4-D503-4A9D-B3A0-CD8C1B8799F7@consensustech.com> I resemble that remark! j > On Nov 21, 2022, at 7:47 PM, J. Landman Gay via use-livecode wrote: > > more old-timers From gcanyon at gmail.com Tue Nov 22 16:08:34 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:08:34 -0800 Subject: Lock screen challenge In-Reply-To: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: A random thought: if you converted to script-only stack behaviors first, then you would have a bunch of text files you can use whatever tool you like on. gc On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm updating a very old set of stacks that use old HC syntax for "lock > screen". A search with > LC's Find utility says there are 723 instances that may need to be > changed. Right now they look > like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, > some are simple > lock/unlock pairs. I need to automate this. The visual effects are not all > the same. Some > handlers have multiple instances of locking the screen with or without a > visual effect. > > I'd use a regex if I could, but back references aren't supported (or are > they now?) I really > don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 gcanyon at gmail.com Tue Nov 22 16:11:49 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:11:49 -0800 Subject: Lock screen challenge In-Reply-To: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: Navigator has support for test-based filtering of controls, and can copy/paste scripts, but it doesn't support copying/pasting to more than one control at a time. That would be an interesting problem to solve. What's your time frame? gc On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm updating a very old set of stacks that use old HC syntax for "lock > screen". A search with > LC's Find utility says there are 723 instances that may need to be > changed. Right now they look > like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, > some are simple > lock/unlock pairs. I need to automate this. The visual effects are not all > the same. Some > handlers have multiple instances of locking the screen with or without a > visual effect. > > I'd use a regex if I could, but back references aren't supported (or are > they now?) I really > don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 gcanyon at gmail.com Tue Nov 22 16:18:14 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:18:14 -0800 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: My first thought is to export all scripts to a single file, with customized headers for each object (maybe with a user-definable format). Then look for that same format when pasting, to restore/update the scripts. Does that make sense? Or would it be better to have an export function to create individual files, one ofr each control, with the script in the file? That's probably more robust, but not everyone knows how to make bulk changes to a bunch of text files. On Tue, Nov 22, 2022 at 1:11 PM Geoff Canyon wrote: > Navigator has support for test-based filtering of controls, and can > copy/paste scripts, but it doesn't support copying/pasting to more than one > control at a time. That would be an interesting problem to solve. What's > your time frame? > > gc > > On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I'm updating a very old set of stacks that use old HC syntax for "lock >> screen". A search with >> LC's Find utility says there are 723 instances that may need to be >> changed. Right now they look >> like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, >> some are simple >> lock/unlock pairs. I need to automate this. The visual effects are not >> all the same. Some >> handlers have multiple instances of locking the screen with or without a >> visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are >> they now?) I really >> don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 brian at milby7.com Tue Nov 22 16:27:13 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 22 Nov 2022 16:27:13 -0500 Subject: Lock screen challenge In-Reply-To: References: Message-ID: One option to use an external editor would be ScriptTracker. You could export the scripts, do your bulk changes, and then import them back. Brian Milby brian at milby7.com > On Nov 22, 2022, at 4:10 PM, Geoff Canyon via use-livecode wrote: > > A random thought: if you converted to script-only stack behaviors first, > then you would have a bunch of text files you can use whatever tool you > like on. > > gc > >> On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> I'm updating a very old set of stacks that use old HC syntax for "lock >> screen". A search with >> LC's Find utility says there are 723 instances that may need to be >> changed. Right now they look >> like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, >> some are simple >> lock/unlock pairs. I need to automate this. The visual effects are not all >> the same. Some >> handlers have multiple instances of locking the screen with or without a >> visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are >> they now?) I really >> don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From gcanyon at gmail.com Tue Nov 22 16:29:30 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:29:30 -0800 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Message-ID: One small point on this: it doesn't matter since we're dealing with HC files here, but in LC there can be backgrounds that don't appear on any card. So it would be necessary to add: repeat with j = 1 to the number of backgrounds in stack i repeat with k= 1 to the number of controls of background j of stack i Note that this *doesn't* guarantee a single loop through all the controls. The code would need to handle controls in groups that appear on multiple cards. In Navigator I needed something like this. I created this, some of which I wrote years ago, and no warranty is expressed or implied: function allIDsOfStack stackID local tReturnIDList put empty into tReturnIDList repeat for each line bgID in backgroundIDsOf(stackID) put allControlIDsOf(bgID) after tReturnIDList end repeat repeat for each line cdID in cardIDsOf(stackID) put nonGroupChildControlIDsOf(cdID) after tReturnIDList end repeat return (the long id of stackID) & cr & tReturnIDList end allIDsOfStack function allControlIDsOf pContainerID local cIDend, cIDendString, controlIDList, controlList if not exists(pContainerID) then return empty put the long id of pContainerID into pContainerID --breakpoint switch word 1 of the name of pContainerID case "stack" return allIDsOfMainstack(pContainerID) case "card" put the controlIDs of pContainerID into controlList if controlList is empty then return pContainerID & cr repeat for each line cID in controlList put (the long id of control id cID of pContainerID) & cr after controlIDList end repeat return pContainerID & cr & controlIDList case "group" if word -6 of pContainerID is "card" then put -7 into cIDend else put -10 into cIDend put (word cIDend + 5 to -1 of pContainerID) & cr into cIDendString put the controlIDs of pContainerID into controlList if controlList is empty then return pContainerID & cr repeat for each line cID in controlList put "control" && (word 2 to cIDend of the long id of control id cID of pContainerID) && cIDendString after controlIDList end repeat return pContainerID & cr & controlIDList default --return "control" && word 2 to -1 of pContainerID return pContainerID end switch end allControlIDsOf function allUniqueIDsOf pControlList,includeBehaviors local tReturn, tWorking, X -- returns all the controls within put format("group,1\ncard,2\nstack,3") into X split X using cr and comma put canonicalIDsOf(pControlList) into pControlList sort lines of pControlList descending by X[word 1 of each] --answer pControlList repeat for each line cID in pControlList --put the long id of cID into cID if tReturn[cID] is not empty then next repeat --put true into tReturn[cID] if includeBehaviors then put canonicalIDsOf(allControlIDsOf(cID),false) into tWorking put addBehaviorChains(tWorking) into tBehaviors if tBehaviors is not empty then put cr & tBehaviors after tWorking split tWorking by cr as set else put canonicalIDsOf(allControlIDsOf(cID),true) into tWorking end if --answer tWorking --split tWorking by cr as set union tReturn with tWorking end repeat --answer the number of lines of the keys of tReturn return the keys of tReturn end allUniqueIDsOf function nonGroupChildControlIDsOf pContainerID local controlIDList, tReturnIDList put empty into tReturnIDList put the long id of pContainerID into pContainerID put the childControlIDs of pContainerID into controlIDList if controlIDList is empty then return pContainerID & cr put "control id " before controlIDList replace cr with " of" && pContainerID & cr & "control id " in controlIDList repeat for each line controlID in (controlIDList && "of" && pContainerID) if word 1 of the name of controlID is not "group" then put controlID & cr after tReturnIDList end repeat return pContainerID & cr & tReturnIDList end nonGroupChildControlIDsOf function canonicalIDsOf cIDList, returnArray local cID, cIDend, R repeat for each line cIDx in cIDList put the long id of cIDx into cID if word 5 of cID is "group" then if word -6 of cID is "card" then put -7 into cIDend else put -10 into cIDend put 1 into R[word 1 to cIDend of cID && word cIDend + 5 to -1 of cID] else put 1 into R[cID] end if end repeat if returnArray is true then return R else return (the keys of R) & cr end canonicalIDsOf function backgroundIDsOf stackID local backgroundIDList, bgID put empty into backgroundIDList repeat with i = 1 to 999999999 if not (there is a background i of stackID) then return backgroundIDList put (the long id of background i of stackID) into bgID if word 5 of bgID is not "group" then put bgID & cr after backgroundIDList end repeat end backgroundIDsOf function backgroundsOf stackID,bFilter,returnType,typeModifier if returnType = "short name" and bFilter = "backgroundNames" then return the backgroundNames of stackID put empty into R repeat with i = 1 to 999999999 if not (there is a background i of stackID) then return char 1 to -2 of R if not (bFilter = "all" \ or bFilter = "backgroundNames" and the backgroundBehavior of background i of stackID \ or bFilter = "base" and word 5 of the long id of background i of stackID is not "group") then next repeat switch case word 1 of returnType = "name" switch typeModifier case empty; put "background" && Q(the short name of background i of stackID) after R; break case "short"; put (the short name of background i of stackID) after R; break case "long"; put "background" && (word 2 to -1 of the long name of background i of stackID) after R; break end switch if returnType = "name" then break put tab after R case word 1 of returnType = "id" switch typeModifier case empty; put (the id of background i of stackID) after R; break case "short"; put (the short id of background i of stackID) after R; break case "long"; put (the long id of background i of stackID) after R; break end switch end switch put cr after R end repeat end backgroundsOf function cardsOf stackID repeat with i = 1 to 999999 if not (there is a card i of stackID) then return char 1 to -2 of R put (the short name of card i of stackID) & tab & (the short id of card i of stackID) & cr after R end repeat end cardsOf function backgroundIDsOf stackID local backgroundIDList, bgID try repeat with i = 1 to 999999999 put (the long id of background i of stackID) into bgID if word 5 of bgID is not "group" then put bgID & cr after backgroundIDList end repeat catch someErr end try return backgroundIDList end backgroundIDsOf function cardIDsOf stackID local cardIDList put "card id" && the cardIDs of stackID into cardIDList replace cr with " of" && the name of stackID & cr & "card id " in cardIDList return cardIDList && "of" && the name of stackID & cr end cardIDsOf On Mon, Nov 21, 2022 at 1:44 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > I was also going to suggest just brute forcing it. Something like: (code > not complete or syntax checked) > > repeat with i=1 to the number of stacks > repeat with j = 1 to the number of cards in stack i > repeat with k= 1 to the number of controls of card j of stack i > put the script of control k of card j of stack i into tScript > -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > -- if line B begins with (after trimming spaces) "unlock screen > with" then > -- replace line B with "unlock screen with visual effect" > -- and replace line A with "lock screen for visual effect" > end repeat > end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: > > Jacque. > > > > Why aren’t you on the forum? > > > > Cant you just loop through each line in your handlers, and find the ones > that contain “lock screen”, both with and without the visual effect thing. > Search downstream until you find the “unlock” line, That gives you the > start and finish lines for each handler. Then you can just replace the > start and finish lines with the new ones. > > > > Am I missing this? > > > > Craig > > > >> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I'm updating a very old set of stacks that use old HC syntax for "lock > screen". A search with LC's Find utility says there are 723 instances that > may need to be changed. Right now they look like this: > >> > >> lock screen > >> -- do any number of things > >> unlock screen with > >> > >> These all need to be changed to: > >> > >> lock screen for visual effect > >> -- do any number of things > >> unlock screen with visual effect > >> > >> The challenge is that not all "lock screen" commands use a visual > effect, some are simple lock/unlock pairs. I need to automate this. The > visual effects are not all the same. Some handlers have multiple instances > of locking the screen with or without a visual effect. > >> > >> I'd use a regex if I could, but back references aren't supported (or > are they now?) I really don't want to do this manually. > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Nov 22 16:31:17 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:31:17 -0800 Subject: Lock screen challenge In-Reply-To: References: Message-ID: Yep, that makes sense. Looks nice! On Tue, Nov 22, 2022 at 1:28 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > One option to use an external editor would be ScriptTracker. You could > export the scripts, do your bulk changes, and then import them back. > > Brian Milby > brian at milby7.com > > > On Nov 22, 2022, at 4:10 PM, Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > A random thought: if you converted to script-only stack behaviors first, > > then you would have a bunch of text files you can use whatever tool you > > like on. > > > > gc > > > >> On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >> I'm updating a very old set of stacks that use old HC syntax for "lock > >> screen". A search with > >> LC's Find utility says there are 723 instances that may need to be > >> changed. Right now they look > >> like this: > >> > >> lock screen > >> -- do any number of things > >> unlock screen with > >> > >> These all need to be changed to: > >> > >> lock screen for visual effect > >> -- do any number of things > >> unlock screen with visual effect > >> > >> The challenge is that not all "lock screen" commands use a visual > effect, > >> some are simple > >> lock/unlock pairs. I need to automate this. The visual effects are not > all > >> the same. Some > >> handlers have multiple instances of locking the screen with or without a > >> visual effect. > >> > >> I'd use a regex if I could, but back references aren't supported (or are > >> they now?) I really > >> don't want to do this manually. > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Tue Nov 22 16:50:15 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 22 Nov 2022 16:50:15 -0500 Subject: Lock screen challenge In-Reply-To: <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <005601d8febc$6acf58f0$406e0ad0$@net> Not to be Johnny Rain Cloud... What if handler "A" locks and it calls either hander "B" OR handler "C" to unlock? 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 J. Landman Gay via use-livecode Sent: Monday, November 21, 2022 10:48 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Lock screen challenge Thanks to both you and Craig. I couldn't think of any other way to do it either, but was hoping there was something other than brute force. Magic, maybe. It took LC's search/replace dialog a long time just to find all the instances, and actually editing them will be longer. But, it's just a one-off. Craig, I posted here because I more comfortable with it, and because more old-timers tend to be on the list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode wrote: > I was also going to suggest just brute forcing it. Something like: > (code not complete or syntax checked) > > repeat with i=1 to the number of stacks > repeat with j = 1 to the number of cards in stack i > repeat with k= 1 to the number of controls of card j of stack i > put the script of control k of card j of stack i into tScript > -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > -- if line B begins with (after trimming spaces) "unlock screen > with" then > -- replace line B with "unlock screen with visual effect" > -- and replace line A with "lock screen for visual effect" > end repeat > end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >> Jacque. >> >> Why aren’t you on the forum? >> >> Cant you just loop through each line in your handlers, and find the >> ones that contain “lock screen”, both with and without the visual effect thing. >> Search downstream until you find the “unlock” line, That gives you >> the start and finish lines for each handler. Then you can just >> replace the start and finish lines with the new ones. >> >> Am I missing this? >> >> Craig >> >>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>> wrote: >>> >>> I'm updating a very old set of stacks that use old HC syntax for >>> "lock screen". A search with LC's Find utility says there are 723 >>> instances that may need to be changed. Right now they look like this: >>> >>> lock screen >>> -- do any number of things >>> unlock screen with >>> >>> These all need to be changed to: >>> >>> lock screen for visual effect >>> -- do any number of things >>> unlock screen with visual effect >>> >>> The challenge is that not all "lock screen" commands use a visual >>> effect, some are simple lock/unlock pairs. I need to automate this. >>> The visual effects are not all the same. Some handlers have multiple >>> instances of locking the screen with or without a visual effect. >>> >>> I'd use a regex if I could, but back references aren't supported (or >>> are they now?) I really don't want to do this manually. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Nov 22 19:04:55 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Nov 2022 18:04:55 -0600 Subject: Lock screen challenge In-Reply-To: <005601d8febc$6acf58f0$406e0ad0$@net> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <005601d8febc$6acf58f0$406e0ad0$@net> Message-ID: <80ad1bc4-aa58-0036-db1f-fd09522c7cf9@hyperactivesw.com> Yup. That happens, and I thought of it. I'm still trying to figure out how to approach this. On 11/22/22 3:50 PM, Ralph DiMola via use-livecode wrote: > Not to be Johnny Rain Cloud... What if handler "A" locks and it calls either hander "B" OR handler "C" to unlock? > > 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 J. Landman Gay via use-livecode > Sent: Monday, November 21, 2022 10:48 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: Lock screen challenge > > Thanks to both you and Craig. I couldn't think of any other way to do it either, but was hoping there was something other than brute force. Magic, maybe. It took LC's search/replace dialog a long time just to find all the instances, and actually editing them will be longer. But, it's just a one-off. > > Craig, I posted here because I more comfortable with it, and because more old-timers tend to be on the list. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode wrote: > >> I was also going to suggest just brute forcing it. Something like: >> (code not complete or syntax checked) >> >> repeat with i=1 to the number of stacks >> repeat with j = 1 to the number of cards in stack i >> repeat with k= 1 to the number of controls of card j of stack i >> put the script of control k of card j of stack i into tScript >> -- look through the lines of tScript for "lock screen", note the >> line number A, then search from there onward for "unlock screen" and >> note the line number B >> -- if line B begins with (after trimming spaces) "unlock screen >> with" then >> -- replace line B with "unlock screen with visual effect" >> -- and replace line A with "lock screen for visual effect" >> end repeat >> end repeat >> end repeat >> >> >> On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >>> Jacque. >>> >>> Why aren’t you on the forum? >>> >>> Cant you just loop through each line in your handlers, and find the >>> ones that contain “lock screen”, both with and without the visual effect thing. >>> Search downstream until you find the “unlock” line, That gives you >>> the start and finish lines for each handler. Then you can just >>> replace the start and finish lines with the new ones. >>> >>> Am I missing this? >>> >>> Craig >>> >>>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>>> wrote: >>>> >>>> I'm updating a very old set of stacks that use old HC syntax for >>>> "lock screen". A search with LC's Find utility says there are 723 >>>> instances that may need to be changed. Right now they look like this: >>>> >>>> lock screen >>>> -- do any number of things >>>> unlock screen with >>>> >>>> These all need to be changed to: >>>> >>>> lock screen for visual effect >>>> -- do any number of things >>>> unlock screen with visual effect >>>> >>>> The challenge is that not all "lock screen" commands use a visual >>>> effect, some are simple lock/unlock pairs. I need to automate this. >>>> The visual effects are not all the same. Some handlers have multiple >>>> instances of locking the screen with or without a visual effect. >>>> >>>> I'd use a regex if I could, but back references aren't supported (or >>>> are they now?) I really don't want to do this manually. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 22 19:40:28 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Nov 2022 18:40:28 -0600 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: <61fd15fe-477d-2925-30d4-000834a9bceb@hyperactivesw.com> On 11/22/22 3:08 PM, Geoff Canyon via use-livecode wrote: > A random thought: if you converted to script-only stack behaviors first, > then you would have a bunch of text files you can use whatever tool you > like on. This project is a huge HC world. There are a lot of stacks, hundreds of cards, and probably thousands of controls. It's written the old HC way, so behaviors probably wouldn't help; almost every control is independent and performs a different action. I've already converted the few common actions to a backscript, but there's nothing much to hang a behavior on. > Navigator has support for test-based filtering of controls, and can > copy/paste scripts, but it doesn't support copying/pasting to more than one > control at a time. That would be an interesting problem to solve. What's > your time frame? Indeterminate, but not infinite. ;) I won't need to copy scripts though, every one of them is different. It's truly old-style HC. In fact, I'm still running with HCAddressing set to true, which breaks the property inspector a lot. My next task is to get rid of that. > My first thought is to export all scripts to a single file, with customized > headers for each object (maybe with a user-definable format). Then look for > that same format when pasting, to restore/update the scripts. Does that > make sense? Or would it be better to have an export function to create > individual files, one ofr each control, with the script in the file? That's > probably more robust, but not everyone knows how to make bulk changes to a > bunch of text files. Either way would probably work for most things, though if you exported all the controls in this project to a single file, you'd have a 20 MB novel. TBH, I already have a handler somewhere that writes out all scripts in a stack with headers; an old HC friend wrote it 30 years ago and it still works. Maybe I can dig that up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 22 19:41:12 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Nov 2022 18:41:12 -0600 Subject: Lock screen challenge In-Reply-To: References: Message-ID: <21f2e393-e94b-3ecb-2378-ba82fcd95c10@hyperactivesw.com> On 11/22/22 3:27 PM, Brian Milby via use-livecode wrote: > One option to use an external editor would be ScriptTracker. You could export the scripts, do your bulk changes, and then import them back. That's worth a thought. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From info at dicod.com Wed Nov 23 06:55:59 2022 From: info at dicod.com (info at dicod.com) Date: Wed, 23 Nov 2022 12:55:59 +0100 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: References: Message-ID: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> Hallo Jacqueline, Well I wouldn’t expect you asking such a question..! Scanning all the concerned script, get nScript and set nScript … put replacetexte (nScript, „screen“, „screen with visual effect“) into nScript … or for safer result (to turn around eventual individual „screen" chunk) of varying blank width) something like this should also works: …. put 0 into n0 Repeat put wordoffset(„screen", nScript, n0) into n00 If n00 is 0 then exit repeat Add n00 to n0 If „lock“ is char -4 to -1 of word n0-1 of nScript then put „ visual effect" after word n0 of nScript End repeat …. Safer seems not to be possible! Jean-Jacques Wagner (Involved since 20 years in only one for ever lasting patent process) > Am 22.11.2022 um 18:00 schrieb use-livecode-request at lists.runrev.com: > > Send use-livecode mailing list submissions to > use-livecode at lists.runrev.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.runrev.com/mailman/listinfo/use-livecode > or, via email, send a message with subject or body 'help' to > use-livecode-request at lists.runrev.com > > You can reach the person managing the list at > use-livecode-owner at lists.runrev.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of use-livecode digest..." > > > you can find the archives for this list at: > > http://lists.runrev.com/pipermail/use-livecode/ > > and search them using this link: > > http://www.google.com/advanced_search?q=site:lists.runrev.com > > > Today's Topics: > > 1. Lock screen challenge (J. Landman Gay) > 2. Re: Lock screen challenge (Craig Newman) > 3. Re: Lock screen challenge (Paul Dupuis) > 4. Re: Lock screen challenge (J. Landman Gay) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 21 Nov 2022 15:24:15 -0600 > From: "J. Landman Gay" > To: LiveCode Mailing List > Subject: Lock screen challenge > Message-ID: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf at hyperactivesw.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with > LC's Find utility says there are 723 instances that may need to be changed. Right now they look > like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, some are simple > lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some > handlers have multiple instances of locking the screen with or without a visual effect. > > I'd use a regex if I could, but back references aren't supported (or are they now?) I really > don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > ------------------------------ > > Message: 2 > Date: Mon, 21 Nov 2022 16:30:57 -0500 > From: Craig Newman > To: How to use LiveCode > Subject: Re: Lock screen challenge > Message-ID: > <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2 at starfirelighting.com> > Content-Type: text/plain; charset=utf-8 > > Jacque. > > Why aren?t you on the forum? > > Cant you just loop through each line in your handlers, and find the ones that contain ?lock screen?, both with and without the visual effect thing. Search downstream until you find the ?unlock? line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. > > Am I missing this? > > Craig > >> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: >> >> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 > > > > > ------------------------------ > > Message: 3 > Date: Mon, 21 Nov 2022 16:43:08 -0500 > From: Paul Dupuis > To: use-livecode at lists.runrev.com > Subject: Re: Lock screen challenge > Message-ID: > Content-Type: text/plain; charset=UTF-8; format=flowed > > I was also going to suggest just brute forcing it. Something like: (code > not complete or syntax checked) > > repeat with i=1 to the number of stacks > ? repeat with j = 1 to the number of cards in stack i > ??? repeat with k= 1 to the number of controls of card j of stack i > ????? put the script of control k of card j of stack i into tScript > ????? -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > ????? -- if line B begins with (after trimming spaces) "unlock screen > with" then > ???????? -- replace line B with "unlock screen with visual effect" > ??????? -- and replace line A with "lock screen for visual effect" > ??? end repeat > ? end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >> Jacque. >> >> Why aren?t you on the forum? >> >> Cant you just loop through each line in your handlers, and find the ones that contain ?lock screen?, both with and without the visual effect thing. Search downstream until you find the ?unlock? line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. >> >> Am I missing this? >> >> Craig >> >>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: >>> >>> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: >>> >>> lock screen >>> -- do any number of things >>> unlock screen with >>> >>> These all need to be changed to: >>> >>> lock screen for visual effect >>> -- do any number of things >>> unlock screen with visual effect >>> >>> The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. >>> >>> I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > > > ------------------------------ > > Message: 4 > Date: Mon, 21 Nov 2022 21:47:57 -0600 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Lock screen challenge > Message-ID: > <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9 at hyperactivesw.com> > Content-Type: text/plain; format=flowed; charset="UTF-8" > > Thanks to both you and Craig. I couldn't think of any other way to do it > either, but was hoping there was something other than brute force. Magic, > maybe. It took LC's search/replace dialog a long time just to find all the > instances, and actually editing them will be longer. But, it's just a one-off. > > Craig, I posted here because I more comfortable with it, and because more > old-timers tend to be on the list. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode > wrote: > >> I was also going to suggest just brute forcing it. Something like: (code >> not complete or syntax checked) >> >> repeat with i=1 to the number of stacks >> repeat with j = 1 to the number of cards in stack i >> repeat with k= 1 to the number of controls of card j of stack i >> put the script of control k of card j of stack i into tScript >> -- look through the lines of tScript for "lock screen", note the >> line number A, then search from there onward for "unlock screen" and >> note the line number B >> -- if line B begins with (after trimming spaces) "unlock screen >> with" then >> -- replace line B with "unlock screen with visual effect" >> -- and replace line A with "lock screen for visual effect" >> end repeat >> end repeat >> end repeat >> >> >> On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >>> Jacque. >>> >>> Why aren?t you on the forum? >>> >>> Cant you just loop through each line in your handlers, and find the ones >>> that contain ?lock screen?, both with and without the visual effect thing. >>> Search downstream until you find the ?unlock? line, That gives you the >>> start and finish lines for each handler. Then you can just replace the >>> start and finish lines with the new ones. >>> >>> Am I missing this? >>> >>> Craig >>> >>>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>>> wrote: >>>> >>>> I'm updating a very old set of stacks that use old HC syntax for "lock >>>> screen". A search with LC's Find utility says there are 723 instances that >>>> may need to be changed. Right now they look like this: >>>> >>>> lock screen >>>> -- do any number of things >>>> unlock screen with >>>> >>>> These all need to be changed to: >>>> >>>> lock screen for visual effect >>>> -- do any number of things >>>> unlock screen with visual effect >>>> >>>> The challenge is that not all "lock screen" commands use a visual effect, >>>> some are simple lock/unlock pairs. I need to automate this. The visual >>>> effects are not all the same. Some handlers have multiple instances of >>>> locking the screen with or without a visual effect. >>>> >>>> I'd use a regex if I could, but back references aren't supported (or are >>>> they now?) I really don't want to do this manually. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ------------------------------ > > End of use-livecode Digest, Vol 230, Issue 17 > ********************************************* From jacque at hyperactivesw.com Wed Nov 23 12:42:50 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 23 Nov 2022 11:42:50 -0600 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> References: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> Message-ID: <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I like to surprise people. :) Basically I was hoping to avoid brute force, but it looks like import/export may be the best way. If I do the stacks only a few at a time I'll only need a dozen passes or so. Part of the problem was determining which locks need changing and which were not visual effects, or which were locked in one handler and unlocked in a handler that might be elsewhere, sometimes even in a different stack. Some manual examination seems required. Fortunately the latter is rare. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 23, 2022 5:58:41 AM info--- via use-livecode wrote: > Hallo Jacqueline, > Well I wouldnt expect you asking such a question..! From klaus at major-k.de Fri Nov 25 12:17:28 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 25 Nov 2022 18:17:28 +0100 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest Message-ID: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> Hi all, I am currently workung through these lessons: Both require that we create a -> CertificateSigningRequest.certSigningRequest via the keychain app that needs to be uploaded to Apple. Question: Can I use the SAME CertificateSigningRequest.certSigningRequest file for the distibution and development profile? 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 matthias_livecode_150811 at m-r-d.de Fri Nov 25 13:11:17 2022 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 25 Nov 2022 19:11:17 +0100 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest In-Reply-To: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> References: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> Message-ID: <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> Hello Klaus, I used the same file for both certificates. Von meinem iPhone gesendet > Am 25.11.2022 um 18:18 schrieb Klaus major-k via use-livecode : > > Hi all, > > I am currently workung through these lessons: > > > > Both require that we create a -> CertificateSigningRequest.certSigningRequest > via the keychain app that needs to be uploaded to Apple. > > Question: > Can I use the SAME CertificateSigningRequest.certSigningRequest file for the distibution > and development profile? > > Thanks for any hint! > > > 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 klaus at major-k.de Fri Nov 25 13:22:23 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 25 Nov 2022 19:22:23 +0100 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest In-Reply-To: <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> References: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> Message-ID: <6AD26CC9-4B3A-467B-A5C7-D0DED1DD1451@major-k.de> Hi Matthias, > Am 25.11.2022 um 19:11 schrieb Matthias Rebbe via use-livecode : > > Hello Klaus, > > I used the same file for both certificates. merci, mon ami! :-) > Von meinem iPhone gesendet >> Am 25.11.2022 um 18:18 schrieb Klaus major-k via use-livecode : >> Hi all, >> I am currently workung through these lessons: >> >> >> Both require that we create a -> CertificateSigningRequest.certSigningRequest >> via the keychain app that needs to be uploaded to Apple. >> Question: >> Can I use the SAME CertificateSigningRequest.certSigningRequest file for the distibution >> and development profile? >> 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 MikeKerner at roadrunner.com Sat Nov 26 10:44:28 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 26 Nov 2022 10:44:28 -0500 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest In-Reply-To: <6AD26CC9-4B3A-467B-A5C7-D0DED1DD1451@major-k.de> References: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> <6AD26CC9-4B3A-467B-A5C7-D0DED1DD1451@major-k.de> Message-ID: and you can use the same ones year-after-year, i believe. On Fri, Nov 25, 2022 at 1:23 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Matthias, > > > Am 25.11.2022 um 19:11 schrieb Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hello Klaus, > > > > I used the same file for both certificates. > > merci, mon ami! :-) > > > Von meinem iPhone gesendet > >> Am 25.11.2022 um 18:18 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > >> Hi all, > >> I am currently workung through these lessons: > >> < > https://lessons.livecode.com/m/4069/l/32957-how-do-i-create-a-distribution-profile-for-ios > > > >> < > https://lessons.livecode.com/m/4069/l/308242-how-do-i-create-a-development-profile-for-ios > > > >> Both require that we create a -> > CertificateSigningRequest.certSigningRequest > >> via the keychain app that needs to be uploaded to Apple. > >> Question: > >> Can I use the SAME CertificateSigningRequest.certSigningRequest file > for the distibution > >> and development profile? > >> Thanks for any hint! > > 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 kee.nethery at elloco.com Sun Nov 27 16:17:58 2022 From: kee.nethery at elloco.com (kee nethery) Date: Sun, 27 Nov 2022 13:17:58 -0800 Subject: IP address and Country In-Reply-To: <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: When we did this, the database table had a start and end IP address range column. The IP addresses were entered into the table as integers without the dots. I’m not sure but I think we might have put a “1” at the beginning of the IP address integers so that everything stayed 13 digits (ie the front zeros in an IP address were not eliminated). StartIP and EndIP columns were indexed. The lookup time was pretty quick. Kee Nethery From harrison at all-auctions.com Sun Nov 27 18:06:53 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Sun, 27 Nov 2022 18:06:53 -0500 Subject: IP address and Country In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: <7FA8A289-B562-4CA0-B317-2B313C3AC0F9@all-auctions.com> Hi Kee, I did solve it, I just forgot to tell the list that I did. Oops. Thanks! Rick > On Nov 27, 2022, at 4:17 PM, kee nethery via use-livecode wrote: > > When we did this, the database table had a start and end IP address range column. > > The IP addresses were entered into the table as integers without the dots. I’m not sure but I think we might have put a “1” at the beginning of the IP address integers so that everything stayed 13 digits (ie the front zeros in an IP address were not eliminated). > > StartIP and EndIP columns were indexed. > > The lookup time was pretty quick. > > Kee Nethery From bobsneidar at iotecdigital.com Mon Nov 28 11:24:49 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 28 Nov 2022 16:24:49 +0000 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <75E10B0C-33BA-46A8-8834-84AE70800D8D@iotecdigital.com> I can imagine a lock/unlock wrapper that registers every lock screen request and will only unlock the screen if called from the same handler or uses the same passed ID as the lock handler. You could have a property for each registered lock to allow or disallow override from another unlock. That may be too comlicated though. Is it possible to check if the screen is locked first? Bob S > On Nov 23, 2022, at 09:42 , J. Landman Gay via use-livecode wrote: > > I like to surprise people. :) Basically I was hoping to avoid brute force, but it looks like import/export may be the best way. If I do the stacks only a few at a time I'll only need a dozen passes or so. > > Part of the problem was determining which locks need changing and which were not visual effects, or which were locked in one handler and unlocked in a handler that might be elsewhere, sometimes even in a different stack. Some manual examination seems required. Fortunately the latter is rare. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 23, 2022 5:58:41 AM info--- via use-livecode wrote: > >> Hallo Jacqueline, >> Well I wouldn’t expect you asking such a question..! > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 28 11:27:03 2022 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 28 Nov 2022 08:27:03 -0800 Subject: App not printing Message-ID: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> I have an app built with LC 9.6.7 (I believe) and this morning my tech support is flooded with people who are unable to print and some reporting error 1002 on Mac but the there are some Windows users reporting they cannot print either. Anybody else seeing this? --- Marty Knapp From rdimola at evergreeninfo.net Mon Nov 28 11:44:33 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 11:44:33 -0500 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: <75E10B0C-33BA-46A8-8834-84AE70800D8D@iotecdigital.com> References: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <75E10B0C-33BA-46A8-8834-84AE70800D8D@iotecdigital.com> Message-ID: <004101d90348$b455a2a0$1d00e7e0$@net> Bob, Yes you can "put the lockscreen" 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 Bob Sneidar via use-livecode Sent: Monday, November 28, 2022 11:25 AM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: use-livecode Digest, Vol 230, Issue 17 I can imagine a lock/unlock wrapper that registers every lock screen request and will only unlock the screen if called from the same handler or uses the same passed ID as the lock handler. You could have a property for each registered lock to allow or disallow override from another unlock. That may be too comlicated though. Is it possible to check if the screen is locked first? Bob S > On Nov 23, 2022, at 09:42 , J. Landman Gay via use-livecode wrote: > > I like to surprise people. :) Basically I was hoping to avoid brute force, but it looks like import/export may be the best way. If I do the stacks only a few at a time I'll only need a dozen passes or so. > > Part of the problem was determining which locks need changing and which were not visual effects, or which were locked in one handler and unlocked in a handler that might be elsewhere, sometimes even in a different stack. Some manual examination seems required. Fortunately the latter is rare. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > | http://www.hyperactivesw.com On November 23, 2022 5:58:41 AM info--- > via use-livecode wrote: > >> Hallo Jacqueline, >> Well I wouldn’t expect you asking such a question..! > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dan at clearvisiontech.com Mon Nov 28 12:24:44 2022 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 28 Nov 2022 17:24:44 +0000 Subject: App not printing In-Reply-To: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> Message-ID: Marty, I had a similar issue. The only way to resolve the issue was to add the printing entitlements. Apps uploaded to the Mac App Store must have the sandbox environment enabled, and for every functionality that needs to communicate with the "outside world" it needs the appropriate entitlement. See section 16 of lesson: https://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store In the entitlements list, you need to add the printing entitlement (com.apple.security.print). Hope that helps! -Dan On 11/28/22, 8:28 AM, "use-livecode on behalf of Marty Knapp via use-livecode" wrote: I have an app built with LC 9.6.7 (I believe) and this morning my tech support is flooded with people who are unable to print and some reporting error 1002 on Mac but the there are some Windows users reporting they cannot print either. Anybody else seeing this? --- Marty Knapp _______________________________________________ use-livecode mailing list use-livecode 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 rdimola at evergreeninfo.net Mon Nov 28 14:09:17 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 14:09:17 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> Message-ID: <004b01d9035c$ecc3f4c0$c64bde40$@net> Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From richmondmathewson at gmail.com Mon Nov 28 14:15:54 2022 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 28 Nov 2022 21:15:54 +0200 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <004b01d9035c$ecc3f4c0$c64bde40$@net> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> Message-ID: You will have your own reasons for wanting to move to Big Sur and not up to MacOS 13. But, from my own experience after Catalina my experience with MacOS was distinctly off-colour unti I hit MacOS 13, which, once you overlook the way they mucked up the System Settings thing, does feel a whole lot more robust that the beta-quality stuff Apple lobbed ourway after Catalina. On Mon, 28 Nov 2022, 21:09 Ralph DiMola via use-livecode, < use-livecode at lists.runrev.com> wrote: > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did > some searches but I can't find anything. Software update only lists Ventura > as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Mon Nov 28 14:26:37 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 14:26:37 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> Message-ID: <005101d9035f$5847feb0$08d7fc10$@net> Richmond, Thanks. I had heard of some Ventura issues so I wanted an established OS to update to in order to run Xcode 14. I guess a time machine final backup and then let Ventura rip as an update? Any issues you've seen? 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 Richmond Mathewson via use-livecode Sent: Monday, November 28, 2022 2:16 PM To: How to use LiveCode Cc: Richmond Mathewson Subject: Re: [OT] Upgrade to Monterey from Big Sur You will have your own reasons for wanting to move to Big Sur and not up to MacOS 13. But, from my own experience after Catalina my experience with MacOS was distinctly off-colour unti I hit MacOS 13, which, once you overlook the way they mucked up the System Settings thing, does feel a whole lot more robust that the beta-quality stuff Apple lobbed ourway after Catalina. On Mon, 28 Nov 2022, 21:09 Ralph DiMola via use-livecode, < use-livecode at lists.runrev.com> wrote: > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I > did some searches but I can't find anything. Software update only > lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 28 14:26:57 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 28 Nov 2022 20:26:57 +0100 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <004b01d9035c$ecc3f4c0$c64bde40$@net> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> Message-ID: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> I think under software updates only the newest os version is listed. The older versions need to be downloaded from the App Store Does this link work for you to download Monterey. https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode : > > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Mon Nov 28 16:43:12 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 16:43:12 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> Message-ID: <005501d90372$6d4d0720$47e71560$@net> Matthias, Thanks. I will give the link a look. I need to run Xcode 14 for the iPhone 14 simulator to do some testing. 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 matthias rebbe via use-livecode Sent: Monday, November 28, 2022 2:27 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: [OT] Upgrade to Monterey from Big Sur I think under software updates only the newest os version is listed. The older versions need to be downloaded from the App Store Does this link work for you to download Monterey. https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode : > > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 28 17:15:39 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 28 Nov 2022 23:15:39 +0100 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <005501d90372$6d4d0720$47e71560$@net> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> <005501d90372$6d4d0720$47e71560$@net> Message-ID: <021A2164-B609-4BD0-95AF-65FEAF7B2B2D@m-r-d.de> Btw. Do you know Virtual Machine Hub? https://sascha-simon.com/en/vm.html And if you need an older recovery image than the one the Virtual Machine Hub offers, you can find download links (from Apple website) here https://ipsw.me/ Maybe this is also a possible solution for you without updating your current system... > Am 28.11.2022 um 22:43 schrieb Ralph DiMola via use-livecode : > > Matthias, > Thanks. > > I will give the link a look. I need to run Xcode 14 for the iPhone 14 > simulator to do some testing. > > 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 matthias rebbe via use-livecode > Sent: Monday, November 28, 2022 2:27 PM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: [OT] Upgrade to Monterey from Big Sur > > I think under software updates only the newest os version is listed. The > older versions need to be downloaded from the App Store Does this link work > for you to download Monterey. > https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > >> Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode > : >> >> Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did > some searches but I can't find anything. Software update only lists Ventura > as an upgrade option. >> >> Thanks! >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Mon Nov 28 19:11:16 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:11:16 +0000 Subject: sqlYoga wierdness Message-ID: Hi all. If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) Here's the code: put sqlquery_createObject("service") into qServiceObjectA sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" sqlquery_set qServiceObjectA, "distinct", true sqlquery_set qServiceObjectA, "joins", \ "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" put dbQuery(qServiceObjectA, "data") into tFoundOrphans setStatusMsg "Deleting service orphans from the service table...", tParentCard if tFoundOrphans is empty then answer info "No orphaned service records found!" as sheet else sqlquery_delete qServiceObjectA Answer info "Orphaned service records have been purged!" as sheet end if The SQL I am shooting for is: SELECT DISTINCT service.siteid FROM service LEFT OUTER JOIN sites ON service.siteid=sites.siteid WHERE sites.siteid IS NULL; This works also in a SQL editor. Bob S From bobsneidar at iotecdigital.com Mon Nov 28 19:17:26 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:17:26 +0000 Subject: sqlYoga wierdness In-Reply-To: References: Message-ID: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> NVM. Of course, the query is going to rename the second siteid column for sites to siteid2. Bob S > On Nov 28, 2022, at 16:11 , Bob Sneidar via use-livecode wrote: > > Hi all. > > If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! > > > sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) > > Here's the code: > > put sqlquery_createObject("service") into qServiceObjectA > sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" > sqlquery_set qServiceObjectA, "distinct", true > sqlquery_set qServiceObjectA, "joins", \ > "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" > sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" > put dbQuery(qServiceObjectA, "data") into tFoundOrphans > setStatusMsg "Deleting service orphans from the service table...", tParentCard > > if tFoundOrphans is empty then > answer info "No orphaned service records found!" as sheet > else > sqlquery_delete qServiceObjectA > Answer info "Orphaned service records have been purged!" as sheet > end if > > The SQL I am shooting for is: > > SELECT DISTINCT > service.siteid > FROM > service > LEFT OUTER JOIN > sites > ON > service.siteid=sites.siteid > WHERE > sites.siteid IS NULL; > > This works also in a SQL editor. > > 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 Mon Nov 28 19:30:00 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:30:00 +0000 Subject: sqlYoga wierdness In-Reply-To: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> References: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> Message-ID: <9ADFD302-B1B2-4934-9677-7F440815CEBF@iotecdigital.com> I don't think there is a way to do this with sqlYoga. I tried "... service.siteid AS siteid1..." and then referring to the columns with their aliases, but that still does not work. Bob S > On Nov 28, 2022, at 16:17 , Bob Sneidar via use-livecode wrote: > > NVM. Of course, the query is going to rename the second siteid column for sites to siteid2. > > Bob S > > >> On Nov 28, 2022, at 16:11 , Bob Sneidar via use-livecode wrote: >> >> Hi all. >> >> If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! >> >> >> sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) >> >> Here's the code: >> >> put sqlquery_createObject("service") into qServiceObjectA >> sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" >> sqlquery_set qServiceObjectA, "distinct", true >> sqlquery_set qServiceObjectA, "joins", \ >> "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" >> sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" >> put dbQuery(qServiceObjectA, "data") into tFoundOrphans >> setStatusMsg "Deleting service orphans from the service table...", tParentCard >> >> if tFoundOrphans is empty then >> answer info "No orphaned service records found!" as sheet >> else >> sqlquery_delete qServiceObjectA >> Answer info "Orphaned service records have been purged!" as sheet >> end if >> >> The SQL I am shooting for is: >> >> SELECT DISTINCT >> service.siteid >> FROM >> service >> LEFT OUTER JOIN >> sites >> ON >> service.siteid=sites.siteid >> WHERE >> sites.siteid IS NULL; >> >> This works also in a SQL editor. >> >> 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 Mon Nov 28 19:37:12 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:37:12 +0000 Subject: sqlYoga wierdness In-Reply-To: <9ADFD302-B1B2-4934-9677-7F440815CEBF@iotecdigital.com> References: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> <9ADFD302-B1B2-4934-9677-7F440815CEBF@iotecdigital.com> Message-ID: <08EF39C1-7877-41F2-AD51-16B82B6F9D44@iotecdigital.com> I see why. sqlquery_delete does not take anything into account except for the where clause. The join and distinct properties are ignored. I will have to recode using some other method. Bob S > On Nov 28, 2022, at 16:30 , Bob Sneidar via use-livecode wrote: > > I don't think there is a way to do this with sqlYoga. I tried "... service.siteid AS siteid1..." and then referring to the columns with their aliases, but that still does not work. > > Bob S > > >> On Nov 28, 2022, at 16:17 , Bob Sneidar via use-livecode wrote: >> >> NVM. Of course, the query is going to rename the second siteid column for sites to siteid2. >> >> Bob S >> >> >>> On Nov 28, 2022, at 16:11 , Bob Sneidar via use-livecode wrote: >>> >>> Hi all. >>> >>> If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! >>> >>> >>> sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) >>> >>> Here's the code: >>> >>> put sqlquery_createObject("service") into qServiceObjectA >>> sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" >>> sqlquery_set qServiceObjectA, "distinct", true >>> sqlquery_set qServiceObjectA, "joins", \ >>> "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" >>> sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" >>> put dbQuery(qServiceObjectA, "data") into tFoundOrphans >>> setStatusMsg "Deleting service orphans from the service table...", tParentCard >>> >>> if tFoundOrphans is empty then >>> answer info "No orphaned service records found!" as sheet >>> else >>> sqlquery_delete qServiceObjectA >>> Answer info "Orphaned service records have been purged!" as sheet >>> end if >>> >>> The SQL I am shooting for is: >>> >>> SELECT DISTINCT >>> service.siteid >>> FROM >>> service >>> LEFT OUTER JOIN >>> sites >>> ON >>> service.siteid=sites.siteid >>> WHERE >>> sites.siteid IS NULL; >>> >>> This works also in a SQL editor. >>> >>> 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 tore.nilsen at me.com Tue Nov 29 03:03:32 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 29 Nov 2022 09:03:32 +0100 Subject: Field content as parametres in a function Message-ID: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> I have come across a puzzling behavior when trying to use the content of a field as parametres in a function, and I am trying to understand why. I put the following in a field called «test»: 1,2,3,4,5 When I then call the function like this: answer testFunction(field «test»), the paramCount() returns 1 If I use the values directly in the script: answer testFunction(1,2,3,4,5), the paramCount() returns 5 as expected I will also get the expected result if a do the following: put "answer testFunction(" & field «test» & ")" into tScript do tScript I guess the reason for this is that in the last example, LiveCode compiles the content of the variable tScript before execution, and that this turns what is first treated as a single block of text into a list of parametres. The reason why I want to understand what is happening is that I am about to teach my students how to write reusable code that will behave correctly for any number of parametres. So my question is if I am on the right track? Best regards Tore Nilsen From tore.nilsen at me.com Tue Nov 29 03:03:32 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 29 Nov 2022 09:03:32 +0100 Subject: Field content as parametres in a function Message-ID: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> I have come across a puzzling behavior when trying to use the content of a field as parametres in a function, and I am trying to understand why. I put the following in a field called «test»: 1,2,3,4,5 When I then call the function like this: answer testFunction(field «test»), the paramCount() returns 1 If I use the values directly in the script: answer testFunction(1,2,3,4,5), the paramCount() returns 5 as expected I will also get the expected result if a do the following: put "answer testFunction(" & field «test» & ")" into tScript do tScript I guess the reason for this is that in the last example, LiveCode compiles the content of the variable tScript before execution, and that this turns what is first treated as a single block of text into a list of parametres. The reason why I want to understand what is happening is that I am about to teach my students how to write reusable code that will behave correctly for any number of parametres. So my question is if I am on the right track? Best regards Tore Nilsen From alex at tweedly.net Tue Nov 29 06:08:17 2022 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 29 Nov 2022 11:08:17 +0000 Subject: Field content as parametres in a function In-Reply-To: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> References: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> Message-ID: <8f61a5ab-f482-8a5d-2c62-e2d34316e665@tweedly.net> Yes, your description is correct (except for saying the behavior is "puzzling" :-) The first case you are passing a single parameter (which happens to have commas in its current content). You could have said " .... paramcount() returns 1 as expected". The second case you pass 5 values. And the third case, as you say, expands the value first, so it becomes a call with 5 parameters. Alex. On 29/11/2022 08:03, Tore Nilsen via use-livecode wrote: > I have come across a puzzling behavior when trying to use the content of a field as parametres in a function, and I am trying to understand why. > > I put the following in a field called test: 1,2,3,4,5 > > When I then call the function like this: > answer testFunction(field test), the paramCount() returns 1 > > If I use the values directly in the script: > answer testFunction(1,2,3,4,5), the paramCount() returns 5 as expected > > I will also get the expected result if a do the following: > > put "answer testFunction(" & field test & ")" into tScript > do tScript > > I guess the reason for this is that in the last example, LiveCode compiles the content of the variable tScript before execution, and that this turns what is first treated as a single block of text into a list of parametres. > > The reason why I want to understand what is happening is that I am about to teach my students how to write reusable code that will behave correctly for any number of parametres. > > So my question is if I am on the right track? > > Best regards > Tore Nilsen > _______________________________________________ > use-livecode mailing list > use-livecode 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 tore.nilsen at me.com Tue Nov 29 06:25:07 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 29 Nov 2022 12:25:07 +0100 Subject: Field content as parametres in a function In-Reply-To: <8f61a5ab-f482-8a5d-2c62-e2d34316e665@tweedly.net> References: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> <8f61a5ab-f482-8a5d-2c62-e2d34316e665@tweedly.net> Message-ID: <32C5D9B7-A0FC-43F2-9FAC-114CC1684303@me.com> > 29. nov. 2022 kl. 12:08 skrev Alex Tweedly via use-livecode : > > Yes, your description is correct (except for saying the behavior is "puzzling" :-) > > The first case you are passing a single parameter (which happens to have commas in its current content). You could have said " .... paramcount() returns 1 as expected". > > The second case you pass 5 values. > > And the third case, as you say, expands the value first, so it becomes a call with 5 parameters. > > Alex. What is «puzzling» to me, among a whole lot of other things I fail to grasp, is why in the first example, the value in field «test» is treated as a single parameter, but in the last example it is treated as five parameters, since nothing has changed with the values in the field itself. I do however accept the reality of it, but I wanted to understand why this is the way it is. My original thinking was that by referencing the field as parameter, the values of the field would then become de facto parameters passed on to the function. I guess it is just another item in the long list of things I do not fully understand. :-) Best regards Tore From brian at milby7.com Tue Nov 29 08:23:48 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 29 Nov 2022 08:23:48 -0500 Subject: Field content as parametres in a function In-Reply-To: <32C5D9B7-A0FC-43F2-9FAC-114CC1684303@me.com> References: <32C5D9B7-A0FC-43F2-9FAC-114CC1684303@me.com> Message-ID: <2AA9C771-8634-4843-8616-A60CB1B29BA7@milby7.com> Your original is the same as: put field «test» into tParam answer testFunction(tParam) So yes, whatever is placed as a parameter to a function is not expanded. Think about doing the same thing with an arbitrary block of text in the field and what would be the expected result. Brian Milby brian at milby7.com > On Nov 29, 2022, at 6:26 AM, Tore Nilsen via use-livecode wrote: > >  > >> 29. nov. 2022 kl. 12:08 skrev Alex Tweedly via use-livecode : >> >> Yes, your description is correct (except for saying the behavior is "puzzling" :-) >> >> The first case you are passing a single parameter (which happens to have commas in its current content). You could have said " .... paramcount() returns 1 as expected". >> >> The second case you pass 5 values. >> >> And the third case, as you say, expands the value first, so it becomes a call with 5 parameters. >> >> Alex. > > What is «puzzling» to me, among a whole lot of other things I fail to grasp, is why in the first example, the value in field «test» is treated as a single parameter, but in the last example it is treated as five parameters, since nothing has changed with the values in the field itself. I do however accept the reality of it, but I wanted to understand why this is the way it is. My original thinking was that by referencing the field as parameter, the values of the field would then become de facto parameters passed on to the function. I guess it is just another item in the long list of things I do not fully understand. :-) > > Best regards > Tore > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Tue Nov 29 10:50:18 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 29 Nov 2022 10:50:18 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> Message-ID: <003801d9040a$4ade3180$e09a9480$@net> Matthias, That worked! Thank you so much. The link sent me to the app store. I clicked "Get" and after the download finished the SW update pref appeared. Then the installation dialog started. Not that it made any difference, the SW update pref then spun for a second and showed the Ventura update again. But the Monterey installer was still on the screen. I clicked "install" and I was off to the races. I was done in about 30-40 minutes. I have an iPhone 14 pro simulator running using Xcode 14.1. I'm now going to see if I can get LC to install an app on it. 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 matthias rebbe via use-livecode Sent: Monday, November 28, 2022 2:27 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: [OT] Upgrade to Monterey from Big Sur I think under software updates only the newest os version is listed. The older versions need to be downloaded from the App Store Does this link work for you to download Monterey. https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode : > > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Nov 29 11:58:04 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Nov 2022 17:58:04 +0100 Subject: Browser widget doesn't display PDF Message-ID: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> Hello, i am currently having problems that a browser widget doesn't display a pdf, regardless if remote or local. I just see a white blank page. Sometime an error message comes up telling me that "PDFViewer could not find a compatible version of Adobe Acrobat or Adobe Reader for displaying this PDF file." Something like that. I get a German error message. The interesting part is, that Safari does not have a problem with displaying the PDF and the folders ~/library/internet-plugins and /library/Internet-plugins both contain the Acrobat plugins. Tried here with LC 9.6.9RC2 and 10DP4 on Ventura 13.0.1. Does anyone has an idea what might be wrong? Regards, Matthias From merakosp at gmail.com Tue Nov 29 12:38:14 2022 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Nov 2022 19:38:14 +0200 Subject: Browser widget doesn't display PDF In-Reply-To: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> References: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> Message-ID: Hello Matthias, See: https://quality.livecode.com/show_bug.cgi?id=18378 https://quality.livecode.com/show_bug.cgi?id=22534 I suggest using a PDF widget instead of a browser widget to display the pdf files, until this bug is fixed. Kind regards, Panos -- On Tue, 29 Nov 2022 at 18:59, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello, > > i am currently having problems that a browser widget doesn't display a > pdf, regardless if remote or local. > > I just see a white blank page. Sometime an error message comes up telling > me that "PDFViewer could not find a compatible version of Adobe Acrobat or > Adobe Reader for displaying this PDF file." > Something like that. I get a German error message. > > The interesting part is, that Safari does not have a problem with > displaying the PDF and the folders ~/library/internet-plugins and > /library/Internet-plugins both contain the Acrobat plugins. > > Tried here with LC 9.6.9RC2 and 10DP4 on Ventura 13.0.1. > > Does anyone has an idea what might be wrong? > > 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 rdimola at evergreeninfo.net Tue Nov 29 14:07:54 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 29 Nov 2022 14:07:54 -0500 Subject: [OT] Upgrade to Monterey from Big Sur Update Simulator/Multiple Xcode versions In-Reply-To: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> Message-ID: <004f01d90425$e59aaa80$b0cfff80$@net> FYI: I was able to run Xcode 14.1 and invoke the iPhone 14 simulator. I tested an LC app building against Xcode 13.2.1. Clicked the test button and BOOM there was the app on the iPhone 14 simulator. Only one little hiccup. I had to select the hardware keyboard then disable then re-enable to get the keyboard to type into LC fields. After that I could test over and over with no problems. Build time and simulator performance is amazingly fast. M1 Mac Mini LC 9.6.9 rc2 Thanks again to all for your help! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From matthias_livecode_150811 at m-r-d.de Tue Nov 29 15:51:03 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Nov 2022 21:51:03 +0100 Subject: Browser widget doesn't display PDF In-Reply-To: References: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> Message-ID: <7C624855-7DB0-4198-AD44-8B2DE2831B42@m-r-d.de> Hello Panos, thanks for reminding me of bug 22534. I should have remember it. That bug report is based on a support request i filed. ;) > Am 29.11.2022 um 18:38 schrieb panagiotis m via use-livecode : > > Hello Matthias, > > See: > > https://quality.livecode.com/show_bug.cgi?id=18378 Thanks, i was not aware of that report. Btw. you are commenting in that report, that you could replicate the problem with a 316 page PDF, but not with a 5 page pdf. In my case the PDF has only 1 page. > https://quality.livecode.com/show_bug.cgi?id=22534 > I knew that one already, because its a bug report based on a support request i filed. ;) To be honest, i almost forget about it. Rereading my comments i remembered that one hast remove the plugins and logoff and login again to get it working with the widget. > I suggest using a PDF widget instead of a browser widget to display the pdf > files, until this bug is fixed. Btw. this might be a workaround for me if i need also the Acrobat plugins, but according to the dictionary the PDF widget is only available with a Pro license. So this is not a workaround for everyone. Anyway, thanks again. Matthias > > Kind regards, > Panos > -- > > On Tue, 29 Nov 2022 at 18:59, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hello, >> >> i am currently having problems that a browser widget doesn't display a >> pdf, regardless if remote or local. >> >> I just see a white blank page. Sometime an error message comes up telling >> me that "PDFViewer could not find a compatible version of Adobe Acrobat or >> Adobe Reader for displaying this PDF file." >> Something like that. I get a German error message. >> >> The interesting part is, that Safari does not have a problem with >> displaying the PDF and the folders ~/library/internet-plugins and >> /library/Internet-plugins both contain the Acrobat plugins. >> >> Tried here with LC 9.6.9RC2 and 10DP4 on Ventura 13.0.1. >> >> Does anyone has an idea what might be wrong? >> >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Nov 30 13:59:27 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Nov 2022 19:59:27 +0100 Subject: correct iphoneSafeAreaInsets in iPad simulator? Message-ID: Hi friends, here two screenshots from my app in the Apple iPad simulator: Same app***, same scripting, same "resizestack" handler taking iphoneSafeAreaInsets() into account and reposition objects accordingly. ***Only difference is that I disabled the group of buttons in the middle in one simulator. Please notice the much larger area of empty space below the navigation widget and above the text field at the top in the screenshot of the iPad Pro (11-inch) (3rd generation). Is this a bug, a feature or just some inconvenience of the simulator? Any insight welcome, thank you! 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 Wed Nov 30 14:03:33 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Nov 2022 20:03:33 +0100 Subject: correct iphoneSafeAreaInsets in iPad simulator? In-Reply-To: References: Message-ID: <986CE0E5-A9D2-49DE-9310-D470012B7579@major-k.de> Additional info: I resize the stack to proportionally to the devices screen dimensions. And that works fine on all tested iPhone simulators. These differences are only on these two iPad simualtors. > Am 30.11.2022 um 19:59 schrieb Klaus major-k via use-livecode : > > Hi friends, > > here two screenshots from my app in the Apple iPad simulator: > > > Same app***, same scripting, same "resizestack" handler taking iphoneSafeAreaInsets() > into account and reposition objects accordingly. > > ***Only difference is that I disabled the group of buttons in the middle in one simulator. > > Please notice the much larger area of empty space below the navigation widget and above > the text field at the top in the screenshot of the iPad Pro (11-inch) (3rd generation). > > Is this a bug, a feature or just some inconvenience of the simulator? > > Any insight welcome, thank you! -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Nov 30 15:40:21 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Nov 2022 21:40:21 +0100 Subject: correct iphoneSafeAreaInsets in iPad simulator? Message-ID: <96F31279-F891-4509-B2F3-785A0DE82D1F@major-k.de> Sorry, here the link that does not automatically compresses an downloads the two images -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From rdimola at evergreeninfo.net Wed Nov 30 16:28:30 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 30 Nov 2022 16:28:30 -0500 Subject: correct iphoneSafeAreaInsets in iPad simulator? In-Reply-To: <986CE0E5-A9D2-49DE-9310-D470012B7579@major-k.de> References: <986CE0E5-A9D2-49DE-9310-D470012B7579@major-k.de> Message-ID: <007201d90502$b4aa6680$1dff3380$@net> Klaus, I see what you mean. I had my resizing SW using a table that I just kept adding to as new models were released. I gave up on that after the iPhone 14 pro was released. I now use iphoneSafeAreaInsets(). It seems to work OK. I will do some testing of one of my apps on the iPad Pro (11-inch) (3rd generation) simulator. Film at 11 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 Klaus major-k via use-livecode Sent: Wednesday, November 30, 2022 2:04 PM To: How to use LiveCode Cc: Klaus major-k Subject: Re: correct iphoneSafeAreaInsets in iPad simulator? Additional info: I resize the stack to proportionally to the devices screen dimensions. And that works fine on all tested iPhone simulators. These differences are only on these two iPad simualtors. > Am 30.11.2022 um 19:59 schrieb Klaus major-k via use-livecode : > > Hi friends, > > here two screenshots from my app in the Apple iPad simulator: > dl=1> > > Same app***, same scripting, same "resizestack" handler taking > iphoneSafeAreaInsets() into account and reposition objects accordingly. > > ***Only difference is that I disabled the group of buttons in the middle in one simulator. > > Please notice the much larger area of empty space below the navigation > widget and above the text field at the top in the screenshot of the iPad Pro (11-inch) (3rd generation). > > Is this a bug, a feature or just some inconvenience of the simulator? > > Any insight welcome, thank you! -- 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 rdimola at evergreeninfo.net Wed Nov 30 16:37:05 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 30 Nov 2022 16:37:05 -0500 Subject: correct iphoneSafeAreaInsets in iPad simulator? In-Reply-To: <96F31279-F891-4509-B2F3-785A0DE82D1F@major-k.de> References: <96F31279-F891-4509-B2F3-785A0DE82D1F@major-k.de> Message-ID: <007601d90503$e7278d30$b576a790$@net> I did not have any problems on iPad Pro (11-inch) (3rd generation) simulator using iphoneSafeAreaInsets(). One thing I did notice that when you change rotation the resizestack handler is not firing. However it does work as expected on the device. LC or simulator bug? Other than that, I have nothing. 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 Klaus major-k via use-livecode Sent: Wednesday, November 30, 2022 3:40 PM To: How to use LiveCode Cc: Klaus major-k Subject: correct iphoneSafeAreaInsets in iPad simulator? Sorry, here the link that does not automatically compresses an downloads the two images -- 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 gbojsza at gmail.com Wed Nov 2 12:43:01 2022 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 2 Nov 2022 12:43:01 -0400 Subject: Script Compiler Message-ID: I haven't been following things for a few months and the Script Compiler beta was coming out sometime in the summer. Has this happened? Is there any delivery date for it? regards, Glen From sean at pidigital.co.uk Wed Nov 2 12:54:23 2022 From: sean at pidigital.co.uk (Sean Cole) Date: Wed, 2 Nov 2022 16:54:23 +0000 Subject: Script Compiler In-Reply-To: References: Message-ID: It's always Summer somewhere ;D Sean Cole *Pi Digital Productions Ltd* On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < use-livecode at lists.runrev.com> wrote: > I haven't been following things for a few months and the Script Compiler > beta was coming out sometime in the summer. > > Has this happened? > > Is there any delivery date for it? > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Wed Nov 2 13:51:52 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 2 Nov 2022 13:51:52 -0400 Subject: Script Compiler In-Reply-To: References: Message-ID: <006101d8eee3$cd980ab0$68c82010$@net> Or in my case 5 o'clock somewhere 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 Sean Cole via use-livecode Sent: Wednesday, November 02, 2022 12:54 PM To: How to use LiveCode Cc: Sean Cole Subject: Re: Script Compiler It's always Summer somewhere ;D Sean Cole *Pi Digital Productions Ltd* On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < use-livecode at lists.runrev.com> wrote: > I haven't been following things for a few months and the Script > Compiler beta was coming out sometime in the summer. > > Has this happened? > > Is there any delivery date for it? > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode 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 richmondmathewson at gmail.com Wed Nov 2 13:58:05 2022 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 2 Nov 2022 19:58:05 +0200 Subject: Script Compiler In-Reply-To: <006101d8eee3$cd980ab0$68c82010$@net> References: <006101d8eee3$cd980ab0$68c82010$@net> Message-ID: I am beginning to worry, as over here in Bulgaria, on 2 November it was 28 degrees centigrade at 3pm; far from normal - summer has just not ended yet - I begin to wonder if it ever will. Richmond. On 2.11.22 19:51, Ralph DiMola via use-livecode wrote: > Or in my case 5 o'clock somewhere > > 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 Sean Cole via use-livecode > Sent: Wednesday, November 02, 2022 12:54 PM > To: How to use LiveCode > Cc: Sean Cole > Subject: Re: Script Compiler > > It's always Summer somewhere ;D > > Sean Cole > *Pi Digital Productions Ltd* > > > On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I haven't been following things for a few months and the Script >> Compiler beta was coming out sometime in the summer. >> >> Has this happened? >> >> Is there any delivery date for it? >> >> regards, >> >> Glen >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Nov 2 13:58:20 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 2 Nov 2022 13:58:20 -0400 Subject: Script Compiler In-Reply-To: <006101d8eee3$cd980ab0$68c82010$@net> References: <006101d8eee3$cd980ab0$68c82010$@net> Message-ID: has not happened. next dp of 10 is supposed to be before christmas. i think this will be after that. in the monthly firesides, mark says they're making progress on it. i would guess late 1Q 23 or early 2Q 23. On Wed, Nov 2, 2022 at 1:52 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Or in my case 5 o'clock somewhere > > 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 Sean Cole via use-livecode > Sent: Wednesday, November 02, 2022 12:54 PM > To: How to use LiveCode > Cc: Sean Cole > Subject: Re: Script Compiler > > It's always Summer somewhere ;D > > Sean Cole > *Pi Digital Productions Ltd* > > > On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I haven't been following things for a few months and the Script > > Compiler beta was coming out sometime in the summer. > > > > Has this happened? > > > > Is there any delivery date for it? > > > > regards, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 panos.merakos at livecode.com Fri Nov 4 10:42:05 2022 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 4 Nov 2022 16:42:05 +0200 Subject: [ANN] Release 9.6.9 RC-2 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.9 RC-2. LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the update of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode built apps including "SSL & Encryption" to be submitted successfully to the Google Play Store. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ This maintenance pre-release will break from convention slightly in that there will definitely be an RC-3 with further bug fixes, including some iOS 16 related fixes we're currently working on as well as adding support for building with the latest Xcode and iOS16 SDK. You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From matthias_livecode_150811 at m-r-d.de Fri Nov 4 11:44:07 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 16:44:07 +0100 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: Message-ID: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Hello Panos, regarding the smaller size of standalone on macOS, iOS and Android mentioned at the link you provided... With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. I really hoped that the file size would go down back to a size my app had before unicode support was included/added to LC (was it V7?). But now the size even increased a little bit. Or am i missing something? Regards, Matthias > Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode : > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.9 RC-2. > > LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the update > of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode > built apps including "SSL & Encryption" to be submitted successfully to the > Google Play Store. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ > > This maintenance pre-release will break from convention slightly in that > there will definitely be an RC-3 with further bug fixes, including some iOS > 16 related fixes we're currently working on as well as adding support for > building with the latest Xcode and iOS16 SDK. > > 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 merakosp at gmail.com Fri Nov 4 11:54:27 2022 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Nov 2022 17:54:27 +0200 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: Hello Matthias, What platform is your standalone for? Is it multi-arch? Kind regards, Panos -- On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Panos, > > regarding the smaller size of standalone on macOS, iOS and Android > mentioned at the link you provided... > > With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. > I really hoped that the file size would go down back to a size my app had > before unicode support was included/added to LC (was it V7?). > > But now the size even increased a little bit. > > Or am i missing something? > > Regards, > > Matthias > > > > Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com>: > > > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.9 RC-2. > > > > LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the > update > > of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode > > built apps including "SSL & Encryption" to be submitted successfully to > the > > Google Play Store. > > > > You can find more details on the bug fixes and improvements of this new > > release here: > > > > > https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ > > > > This maintenance pre-release will break from convention slightly in that > > there will definitely be an RC-3 with further bug fixes, including some > iOS > > 16 related fixes we're currently working on as well as adding support for > > building with the latest Xcode and iOS16 SDK. > > > > 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 matthias_livecode_150811 at m-r-d.de Fri Nov 4 12:06:45 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 17:06:45 +0100 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: For testing I just built for macOS Intel. > Am 04.11.2022 um 16:54 schrieb panagiotis m via use-livecode : > > Hello Matthias, > > What platform is your standalone for? Is it multi-arch? > > Kind regards, > Panos > -- > > On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hello Panos, >> >> regarding the smaller size of standalone on macOS, iOS and Android >> mentioned at the link you provided... >> >> With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. >> I really hoped that the file size would go down back to a size my app had >> before unicode support was included/added to LC (was it V7?). >> >> But now the size even increased a little bit. >> >> Or am i missing something? >> >> Regards, >> >> Matthias >> >> >>> Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 9.6.9 RC-2. >>> >>> LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the >> update >>> of the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode >>> built apps including "SSL & Encryption" to be submitted successfully to >> the >>> Google Play Store. >>> >>> You can find more details on the bug fixes and improvements of this new >>> release here: >>> >>> >> https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ >>> >>> This maintenance pre-release will break from convention slightly in that >>> there will definitely be an RC-3 with further bug fixes, including some >> iOS >>> 16 related fixes we're currently working on as well as adding support for >>> building with the latest Xcode and iOS16 SDK. >>> >>> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 merakosp at gmail.com Fri Nov 4 12:43:52 2022 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Nov 2022 18:43:52 +0200 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: Hello Matthias, This change affects only multi-arch standalones. These standalones (on macOS, iOS and Android) now will share the unicode related data which is required for the engine to run among the different architecture binaries. So such standalones will be smaller than previous versions. Kind regards, Panos -- On Fri, 4 Nov 2022 at 18:07, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > For testing I just built for macOS Intel. > > > > > Am 04.11.2022 um 16:54 schrieb panagiotis m via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hello Matthias, > > > > What platform is your standalone for? Is it multi-arch? > > > > Kind regards, > > Panos > > -- > > > > On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hello Panos, > >> > >> regarding the smaller size of standalone on macOS, iOS and Android > >> mentioned at the link you provided... > >> > >> With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. > >> I really hoped that the file size would go down back to a size my app > had > >> before unicode support was included/added to LC (was it V7?). > >> > >> But now the size even increased a little bit. > >> > >> Or am i missing something? > >> > >> Regards, > >> > >> Matthias > >> > >> > >>> Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < > >> use-livecode at lists.runrev.com>: > >>> > >>> Dear list members, > >>> > >>> We are pleased to announce the release of LiveCode 9.6.9 RC-2. > >>> > >>> LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the > >> update > >>> of the version of OpenSSL used by the engine to 1.1.1q, allowing > LiveCode > >>> built apps including "SSL & Encryption" to be submitted successfully to > >> the > >>> Google Play Store. > >>> > >>> You can find more details on the bug fixes and improvements of this new > >>> release here: > >>> > >>> > >> > https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ > >>> > >>> This maintenance pre-release will break from convention slightly in > that > >>> there will definitely be an RC-3 with further bug fixes, including some > >> iOS > >>> 16 related fixes we're currently working on as well as adding support > for > >>> building with the latest Xcode and iOS16 SDK. > >>> > >>> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 klaus at major-k.de Fri Nov 4 15:13:15 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Nov 2022 20:13:15 +0100 Subject: screen guides (?) disappeard? Message-ID: Hi friends, when and why did this helpful feature disappear? :-( Don't know the exact term, but I mean this: It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Fri Nov 4 15:15:32 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 20:15:32 +0100 Subject: [ANN] Release 9.6.9 RC-2 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: Ah, i see. When the file size increased so much after unicode was added to LC it was promised that there would be a solution/fix or so in future that one could create still smaller standalone if unicode is not needed. But this possibility never came into LC. So i thought it was finally added now to 9.6.9 RC2... :( Regards, Matthias > Am 04.11.2022 um 17:43 schrieb panagiotis m via use-livecode : > > Hello Matthias, > > This change affects only multi-arch standalones. These standalones (on > macOS, iOS and Android) now will share the unicode related data which is > required for the engine to run among the different architecture binaries. > So such standalones will be smaller than previous versions. > > Kind regards, > Panos > -- > > > On Fri, 4 Nov 2022 at 18:07, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> For testing I just built for macOS Intel. >> >> >> >>> Am 04.11.2022 um 16:54 schrieb panagiotis m via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hello Matthias, >>> >>> What platform is your standalone for? Is it multi-arch? >>> >>> Kind regards, >>> Panos >>> -- >>> >>> On Fri, 4 Nov 2022 at 17:45, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hello Panos, >>>> >>>> regarding the smaller size of standalone on macOS, iOS and Android >>>> mentioned at the link you provided... >>>> >>>> With LC 9.6.9 RC1 my standalone is 23.8mb with the RC2 now 23.9mb. >>>> I really hoped that the file size would go down back to a size my app >> had >>>> before unicode support was included/added to LC (was it V7?). >>>> >>>> But now the size even increased a little bit. >>>> >>>> Or am i missing something? >>>> >>>> Regards, >>>> >>>> Matthias >>>> >>>> >>>>> Am 04.11.2022 um 15:42 schrieb panagiotis merakos via use-livecode < >>>> use-livecode at lists.runrev.com>: >>>>> >>>>> Dear list members, >>>>> >>>>> We are pleased to announce the release of LiveCode 9.6.9 RC-2. >>>>> >>>>> LiveCode 9.6.9 RC-2 comes with more than 20 bugfixes, including the >>>> update >>>>> of the version of OpenSSL used by the engine to 1.1.1q, allowing >> LiveCode >>>>> built apps including "SSL & Encryption" to be submitted successfully to >>>> the >>>>> Google Play Store. >>>>> >>>>> You can find more details on the bug fixes and improvements of this new >>>>> release here: >>>>> >>>>> >>>> >> https://livecode.com/livecode-9-6-9-rc-2-security-improvements-smaller-standalones-and-more/ >>>>> >>>>> This maintenance pre-release will break from convention slightly in >> that >>>>> there will definitely be an RC-3 with further bug fixes, including some >>>> iOS >>>>> 16 related fixes we're currently working on as well as adding support >> for >>>>> building with the latest Xcode and iOS16 SDK. >>>>> >>>>> 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 >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Fri Nov 4 15:22:32 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 4 Nov 2022 20:22:32 +0100 Subject: screen guides (?) disappeard? In-Reply-To: References: Message-ID: Was that ever available in LC <10? Wasn't that only added to 10? But i might be wrong. Regards, Matthias > Am 04.11.2022 um 20:13 schrieb Klaus major-k via use-livecode : > > Hi friends, > > when and why did this helpful feature disappear? :-( > > Don't know the exact term, but I mean this: > > > It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. > > > 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 klaus at major-k.de Fri Nov 4 15:35:59 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Nov 2022 20:35:59 +0100 Subject: screen guides (?) disappeard? In-Reply-To: References: Message-ID: Hi Matthias, > Am 04.11.2022 um 20:22 schrieb matthias rebbe via use-livecode : > > Was that ever available in LC <10? I think so. > Wasn't that only added to 10? I don't think so. > But i might be wrong. Same here! :-D > Regards, > Matthias > >> Am 04.11.2022 um 20:13 schrieb Klaus major-k via use-livecode : >> >> Hi friends, >> >> when and why did this helpful feature disappear? :-( >> >> Don't know the exact term, but I mean this: >> >> >> It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. 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 Fri Nov 4 16:53:48 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Nov 2022 21:53:48 +0100 Subject: screen guides (?) disappeard? In-Reply-To: References: Message-ID: <7567C342-20E9-4B51-BE1A-4338036C0FFA@major-k.de> Oh, well... RTFM, Klaus! 8-) Yep, this is new in LC 10. > Am 04.11.2022 um 20:35 schrieb Klaus major-k via use-livecode : > Hi Matthias, >> Am 04.11.2022 um 20:22 schrieb matthias rebbe via use-livecode : >> Was that ever available in LC <10? > I think so. >> Wasn't that only added to 10? > I don't think so. >> But i might be wrong. > Same here! :-D >> Regards, >> Matthias >> >>> Am 04.11.2022 um 20:13 schrieb Klaus major-k via use-livecode : >>> Hi friends, >>> when and why did this helpful feature disappear? :-( >>> Don't know the exact term, but I mean this: >>> >>> It is still present in LC 10 dp4, please bing it back and maybe let us turn it on/off. -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From markclark at mac.com Sun Nov 6 21:27:03 2022 From: markclark at mac.com (Mark Clark) Date: Mon, 07 Nov 2022 02:27:03 -0000 Subject: LC Date Conversions post 2035 In-Reply-To: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> Message-ID: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> I was testing one of the tools I use to handle licensing today and decided to run the series through a few iterations adding 2 years at a time. I noticed that my dates were reverting to the 20th c. Hmm, whoops. After a bit of head scratching I decided it wasn't just my doing. Date conversion sort of works but the output can lead to trouble in the future. I've done a few tests and some lengthy, but if anyone cares to perform the "short test," please do. Change your date to 12/31/2034; then change to 2035. run this: put the date into test convert test to dateitems answer item 1 of test --works in 2034; broken in 2035 Mark From jacque at hyperactivesw.com Mon Nov 7 04:41:07 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Nov 2022 03:41:07 -0600 Subject: LC Date Conversions post 2035 In-Reply-To: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> Message-ID: <18451770b38.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's the centuryCutoff property in action, but it's only supposed to apply to 2-digit years. So I think something is amiss since you supply a 4-digit year. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 6, 2022 8:28:34 PM Mark Clark via use-livecode wrote: > I was testing one of the tools I use to handle licensing today and decided > to run the series through a few iterations adding 2 years at a time. I > noticed that my dates were reverting to the 20th c. Hmm, whoops. > > After a bit of head scratching I decided it wasn't just my doing. > > Date conversion sort of works but the output can lead to trouble in the > future. I've done a few tests and some lengthy, but if anyone cares to > perform the "short test," please do. > > Change your date to 12/31/2034; then change to 2035. > > > > run this: > > put the date into test > convert test to dateitems > > answer item 1 of test --works in 2034; broken in 2035 > > > Mark > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 7 04:43:32 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Nov 2022 03:43:32 -0600 Subject: LC Date Conversions post 2035 In-Reply-To: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> Message-ID: <1845178a948.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's the centuryCutoff in action, but I think something is amiss since it's only supposed to apply to 2-digit years and you supply a 4-digit year. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 6, 2022 8:28:34 PM Mark Clark via use-livecode wrote: > I was testing one of the tools I use to handle licensing today and decided > to run the series through a few iterations adding 2 years at a time. I > noticed that my dates were reverting to the 20th c. Hmm, whoops. > > After a bit of head scratching I decided it wasn't just my doing. > > Date conversion sort of works but the output can lead to trouble in the > future. I've done a few tests and some lengthy, but if anyone cares to > perform the "short test," please do. > > Change your date to 12/31/2034; then change to 2035. > > > > run this: > > put the date into test > convert test to dateitems > > answer item 1 of test --works in 2034; broken in 2035 > > > Mark > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 7 02:49:22 2022 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Mon, 7 Nov 2022 08:49:22 +0100 Subject: LC Date Conversions post 2035 Message-ID: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Had to test this out of curiosity. Indeed, when using 2-digit year, that is the result, as expected and explained in the dictionary entry for centuryCutoff. But how far does the 4-digit conversion work? Here’s what I’ve found: - On Windows 10, it works until year 3000, and stops working on year 3001 (it just returns the input without converting). - On MacOS 12.6 it works at least until year 2.100.000.000 (which is a Sunday… :). By that time we should be expecting LC v14 or something, or maybe that LC rules the galaxy, so I hope that’s sorted by then… :D From markclark at mac.com Mon Nov 7 07:35:44 2022 From: markclark at mac.com (Mark Clark) Date: Mon, 7 Nov 2022 06:35:44 -0600 Subject: LC Date Conversions post 2035 In-Reply-To: References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> <1845178a948.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4525DD1E-3F7E-4141-B9BE-78CBFE57894F@mac.com> Thanks for the quick responses. In this case I did indeed use a 4 digit year as initial input (always), but still managed to shoot myself with a second conversion step. Converted my nicely formed input text to dateitems -- all good. Did my addition for renewal days to item 3. Check. Then I converted that back to date. Uh oh, not check. Should have been long date. If we had it to do all over again I'd say let's make the function date always be the full year and only using the form short date would get you the two digit year. Long date would remain unchanged. Or, ya know, I could just pay better attention! ;) Mark On Nov 7, 2022, at 3:43 AM, J. Landman Gay via use-livecode > wrote: That's the centuryCutoff in action, but I think something is amiss since it's only supposed to apply to 2-digit years and you supply a 4-digit year. From mkoob at rogers.com Mon Nov 7 09:55:31 2022 From: mkoob at rogers.com (Martin Koob) Date: Mon, 7 Nov 2022 09:55:31 -0500 Subject: LC Date Conversions post 2035 In-Reply-To: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> References: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Message-ID: Hi This thread reminded me of some sci-fi show show I was watching which referenced the collapse of society on earth caused by a bug around 2035 or something like that where the computers could not process dates beyond that. I thought this is just a off hand reference to something Y2K. But I did a quick search turned up this: https://en.wikipedia.org/wiki/Year_2038_problem So a signed 32 bit number counting the seconds since Jan 1, 1970 will overflow after 03:14:07 UTC on 19 January 2038. So if it was in referencing that date and time in 2038 that your problem showed up then maybe that was the cause. But that would not explain it if the date things started going wrong was in 2035. But it appears from the tests that Andreas did on Windows 10 and MacOS 12.6 that they have already resolved the Year 2038 problem. Maybe the MacOS is using a 64 bit number now for the Unix time. According to wikipedia "though many modern systems have been upgraded to measure Unix time with signed 64-bit integers which will not overflow for 292 billion years.” Not sure what Window is doing that it is only going to work till 3000. Maybe MicroSoft have decided to EOL Windows then and have plans to release a totally rewritten operating system then. Martin > On Nov 7, 2022, at 2:49 AM, Andreas Bergendal via use-livecode wrote: > > But how far does the 4-digit conversion work? Here’s what I’ve found: > - On Windows 10, it works until year 3000, and stops working on year 3001 (it just returns the input without converting). > - On MacOS 12.6 it works at least until year 2.100.000.000 (which is a Sunday… :). By that time we should be expecting LC v14 or something, or maybe that LC rules the galaxy, so I hope that’s sorted by then… :D From paul at researchware.com Mon Nov 7 10:40:54 2022 From: paul at researchware.com (Paul Dupuis) Date: Mon, 7 Nov 2022 10:40:54 -0500 Subject: LC Date Conversions post 2035 In-Reply-To: References: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Message-ID: <3de42f6b-c232-4422-85d5-500b8ac72937@researchware.com> The results on Windows may also depend upon whether you built a 32 bit standalone or a 64 bit standalone? Or using the 32 or 64 bit version of whatever release of Livecode is being used. On 11/7/2022 9:55 AM, Martin Koob via use-livecode wrote: > Hi > > This thread reminded me of some sci-fi show show I was watching which referenced the collapse of society on earth caused by a bug around 2035 or something like that where the computers could not process dates beyond that. I thought this is just a off hand reference to something Y2K. > > But I did a quick search turned up this: > > https://en.wikipedia.org/wiki/Year_2038_problem > > So a signed 32 bit number counting the seconds since Jan 1, 1970 will overflow after 03:14:07 UTC on 19 January 2038. > > So if it was in referencing that date and time in 2038 that your problem showed up then maybe that was the cause. But that would not explain it if the date things started going wrong was in 2035. > > But it appears from the tests that Andreas did on Windows 10 and MacOS 12.6 that they have already resolved the Year 2038 problem. > > Maybe the MacOS is using a 64 bit number now for the Unix time. According to wikipedia > > "though many modern systems have been upgraded to measure Unix time with signed 64-bit integers which will not overflow for 292 billion years. > > Not sure what Window is doing that it is only going to work till 3000. Maybe MicroSoft have decided to EOL Windows then and have plans to release a totally rewritten operating system then. > > > Martin > > >> On Nov 7, 2022, at 2:49 AM, Andreas Bergendal via use-livecode wrote: >> >> But how far does the 4-digit conversion work? Heres what Ive found: >> - On Windows 10, it works until year 3000, and stops working on year 3001 (it just returns the input without converting). >> - On MacOS 12.6 it works at least until year 2.100.000.000 (which is a Sunday :). By that time we should be expecting LC v14 or something, or maybe that LC rules the galaxy, so I hope thats sorted by then :D > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Mon Nov 7 11:19:28 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 7 Nov 2022 11:19:28 -0500 Subject: LC Date Conversions post 2035 [OT ish] In-Reply-To: <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> References: <93482CF5-7519-45B4-A05C-C711D76DFA18@m-r-d.de> <3B218355-BE3E-489E-9949-348CF8CCB7C6@mac.com> Message-ID: <003801d8f2c4$b90e8d00$2b2ba700$@net> Interesting... On my Outlook the received date is used to sort emails but on my phone the "date" field in the header is used for both sorting and displaying in the list. So on my phone this email will be at the top until 31 Dec 2034. This just reinforces that the interpretation of internet mail headers is still not consistent. (and maybe should have had a little more thought before the barn doors were opened) 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 Mark Clark via use-livecode Sent: Sunday, December 31, 2034 9:25 PM To: How to use LiveCode Cc: Mark Clark Subject: LC Date Conversions post 2035 I was testing one of the tools I use to handle licensing today and decided to run the series through a few iterations adding 2 years at a time. I noticed that my dates were reverting to the 20th c. Hmm, whoops. After a bit of head scratching I decided it wasn't just my doing. Date conversion sort of works but the output can lead to trouble in the future. I've done a few tests and some lengthy, but if anyone cares to perform the "short test," please do. Change your date to 12/31/2034; then change to 2035. run this: put the date into test convert test to dateitems answer item 1 of test --works in 2034; broken in 2035 Mark _______________________________________________ use-livecode mailing list use-livecode 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 Mon Nov 7 12:36:34 2022 From: klaus at major-k.de (Klaus major-k) Date: Mon, 7 Nov 2022 18:36:34 +0100 Subject: ENTER in scripts Message-ID: <228A53D6-CDF9-4A29-ABB9-88E02AEC4E7E@major-k.de> Hi friends, is it only me or does the ENTER key nothing after hitting while in script editor? Means precompile script resp. compile and close script editor window. Works fine in LC 10 dp 4 but not in LC 9.6.9 RC 2!? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From Bernd.Niggemann at uni-wh.de Mon Nov 7 12:45:11 2022 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Mon, 7 Nov 2022 17:45:11 +0000 Subject: ENTER in scripts Message-ID: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> Klaus wrote is it only me or does the ENTER key nothing after hitting while in script editor? https://quality.livecode.com/show_bug.cgi?id=23999 Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. Kind regards Bernd From klaus at major-k.de Mon Nov 7 13:02:31 2022 From: klaus at major-k.de (Klaus major-k) Date: Mon, 7 Nov 2022 19:02:31 +0100 Subject: ENTER in scripts In-Reply-To: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> Message-ID: <45CA096E-A35C-4DC2-8722-08C5B506170A@major-k.de> Hi Bernd, > Am 07.11.2022 um 18:45 schrieb Niggemann, Bernd via use-livecode : > > Klaus wrote > is it only me or does the ENTER key nothing after hitting while in script > editor? > https://quality.livecode.com/show_bug.cgi?id=23999 > Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. > It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. OK, thank you for confirming and reporting this issue! > Kind regards > Bernd Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From mkoob at rogers.com Mon Nov 7 13:07:17 2022 From: mkoob at rogers.com (Martin Koob) Date: Mon, 7 Nov 2022 13:07:17 -0500 Subject: ENTER in scripts In-Reply-To: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> Message-ID: <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? The tool tip for the ‘APPLY’ button says. ‘compile and apply the current script (Enter, cmd+Return)’ I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. So it looks like it only works when there is no focus on a field or other object. In any case it sounds like a bug. The key combination should work whether the script field has focus or not. Since I have never used that key combo before I am not sure whether that behaviour has changed or not. Martin Koob > On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: > > Klaus wrote > > > is it only me or does the ENTER key nothing after hitting while in script > editor? > > > > https://quality.livecode.com/show_bug.cgi?id=23999 > > Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. > It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 7 14:07:30 2022 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 7 Nov 2022 14:07:30 -0500 Subject: ENTER in scripts In-Reply-To: <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> Message-ID: All. "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. Craig > On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: > > Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? > > The tool tip for the ‘APPLY’ button says. > > ‘compile and apply the current script (Enter, cmd+Return)’ > > I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. > > I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. > > If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. > > If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. > > So it looks like it only works when there is no focus on a field or other object. > > > In any case it sounds like a bug. The key combination should work whether the script field has focus or not. > > > Since I have never used that key combo before I am not sure whether that behaviour has changed or not. > > > Martin Koob > > >> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >> >> Klaus wrote >> >> >> is it only me or does the ENTER key nothing after hitting while in script >> editor? >> >> >> >> https://quality.livecode.com/show_bug.cgi?id=23999 >> >> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >> >> Kind regards >> Bernd >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 rdimola at evergreeninfo.net Mon Nov 7 16:29:20 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 7 Nov 2022 16:29:20 -0500 Subject: ENTER in scripts In-Reply-To: References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> Message-ID: <005601d8f2f0$0289d590$079d80b0$@net> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. THANKS! 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 Craig Newman via use-livecode Sent: Monday, November 07, 2022 2:08 PM To: How to use LiveCode Cc: Craig Newman Subject: Re: ENTER in scripts All. "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. Craig > On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: > > Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? > > The tool tip for the ‘APPLY’ button says. > > ‘compile and apply the current script (Enter, cmd+Return)’ > > I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. > > I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. > > If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. > > If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. > > So it looks like it only works when there is no focus on a field or other object. > > > In any case it sounds like a bug. The key combination should work whether the script field has focus or not. > > > Since I have never used that key combo before I am not sure whether that behaviour has changed or not. > > > Martin Koob > > >> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >> >> Klaus wrote >> >> >> is it only me or does the ENTER key nothing after hitting while in >> script editor? >> >> >> >> https://quality.livecode.com/show_bug.cgi?id=23999 >> >> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >> >> Kind regards >> Bernd >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 gcanyon at gmail.com Mon Nov 7 20:48:38 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 7 Nov 2022 17:48:38 -0800 Subject: Not LC-related, but this will give old-timers a blast of nostalgia Message-ID: https://beyondloom.com/decker/tour.html Interestingly, it works almost identically native and on web. You literally save with an .html extension and it's web-able. The language is *not* HyperTalk. From matthias_livecode_150811 at m-r-d.de Tue Nov 8 04:21:57 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 8 Nov 2022 10:21:57 +0100 Subject: Date formats macOS Ventura Message-ID: <6AB6DFA4-F3CF-4541-8350-6F7D8C525A1E@m-r-d.de> Hello, Mark Clark's post 'LC Date Conversions post 2035 [OT ish]" made me play a little bit with 'the date' in LC. I have macOS Ventura installed and noticed that the system date had a 2 digit year in LC. So i went to the Control Pane to customize the date format. Unfortunately I had to realize that you no longer can set a user-defined date format or number format in Ventura. Here in my German version of Ventura i could only choose between dd.MM.yy and yyy-MM-dd. There is no way to customize the date and number format as it was possible with previous versions of macOS. In my case i am in need of the date format dd.MM.yyyy I contacted the Apple support about this and it seems they even were not aware that this was changed in Ventura. They asked me to do a safe boot, create a new user account and finally they wanted me to reinstall Ventura, which i denied, because i was sure, that this has nothing to do with a faulty installation, but with Ventura itself. Anyway, i searched the whole evening yesterday and found a post in the apple forums https://discussions.apple.com/thread/254316210 which has a workaround for this. In short. Method 1 Either edit the file /Users/matthias/Library/Preferences/.GlobalPreferences.plist and add AppleICUDateFormatStrings 1 ##custom date format## and replace ##custom date format## with you desired format. You can even add more format by increasing the value AppleICUDateFormatStrings 1 ##custom date format## 2 ##custom date forma2t## and so on... After saving you have to logout and login again to get the settings active. Method 2 Another way is to use the shell. Using the shell does not need to logout and login again. defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "1" "dd.MM.yyyy" defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "2" "dd.MM.yy" defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "3" "dd MMMM y" defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "4" "EEEE, d MMMM y" After you have set the date format using method 1 or 2, you will not see any "selected" date format in the region settins in the Control Panel, because the Control Panel does not support that anymore. The "field" is empty. As soon as you select a date format in the Control Panel, your previous settings from method 1 or 2 are overwritten and not used anymore. In this case you have to rerun one of the above steps. Maybe this is of help for one or the other. Regards, Matthias From marksmithhfx at gmail.com Tue Nov 8 05:30:10 2022 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Nov 2022 10:30:10 +0000 Subject: Date formats macOS Ventura In-Reply-To: <6AB6DFA4-F3CF-4541-8350-6F7D8C525A1E@m-r-d.de> References: <6AB6DFA4-F3CF-4541-8350-6F7D8C525A1E@m-r-d.de> Message-ID: <20424188-355E-4BBE-ACED-0D70C2D7A93F@gmail.com> Hi Mattias, That is a terrific bit of sleuthing on your part so thanks for sharing. (and lets hope those options come back in future versions. It’s very strange that they would remove them.) Mark > On 8 Nov 2022, at 9:21 am, matthias rebbe via use-livecode wrote: > > Hello, > > Mark Clark's post 'LC Date Conversions post 2035 [OT ish]" made me play a little bit with 'the date' in LC. > > I have macOS Ventura installed and noticed that the system date had a 2 digit year in LC. > > So i went to the Control Pane to customize the date format. Unfortunately I had to realize that you no longer can set a user-defined date format or number format in Ventura. > > Here in my German version of Ventura i could only choose between dd.MM.yy and yyy-MM-dd. There is no way to customize > the date and number format as it was possible with previous versions of macOS. > In my case i am in need of the date format dd.MM.yyyy > > I contacted the Apple support about this and it seems they even were not aware that this was changed in Ventura. They asked me to do a safe boot, > create a new user account and finally they wanted me to reinstall Ventura, which i denied, because i was sure, that this has nothing to do with a faulty installation, but with Ventura itself. > > Anyway, i searched the whole evening yesterday and found a post in the apple forums > https://discussions.apple.com/thread/254316210 > which has a workaround for this. > > In short. > > Method 1 > Either edit the file /Users/matthias/Library/Preferences/.GlobalPreferences.plist > and add > AppleICUDateFormatStrings > > 1 > ##custom date format## > > > and replace ##custom date format## with you desired format. You can even add more format by increasing the value > > AppleICUDateFormatStrings > > 1 > ##custom date format## > 2 > ##custom date forma2t## > > and so on... > > After saving you have to logout and login again to get the settings active. > > Method 2 > Another way is to use the shell. Using the shell does not need to logout and login again. > > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "1" "dd.MM.yyyy" > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "2" "dd.MM.yy" > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "3" "dd MMMM y" > defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "4" "EEEE, d MMMM y" > > > After you have set the date format using method 1 or 2, you will not see any "selected" date format in the region settins in the Control Panel, because the Control Panel does not support that anymore. The "field" is empty. > As soon as you select a date format in the Control Panel, your previous settings from method 1 or 2 are overwritten and not used anymore. In this case you have to rerun one of the above steps. > > Maybe this is of help for one or the other. > > 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 MikeKerner at roadrunner.com Tue Nov 8 09:04:00 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 8 Nov 2022 09:04:00 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <52FA73D4-E568-4D8D-BF5F-FD3A23DE9C2F@andregarzia.com> References: <463275ED-DDD2-449F-B583-56E953B335CB@m-r-d.de> <52FA73D4-E568-4D8D-BF5F-FD3A23DE9C2F@andregarzia.com> Message-ID: any update on ventura? i'm holding off on my dev box. On Wed, Oct 26, 2022 at 7:45 AM Andre Garzia via use-livecode < use-livecode at lists.runrev.com> wrote: > Just to flag a different experience here. I can’t get the simulator to > launch under Ventura on a Macbook Air M1. > > I have Xcode 13.2 installed and have “xcode-select” set to it. The > preferences for mobile development are set correctly and when I try to > launch a mobile app for testing on the simulator it gets stuck in the > “launching app” dialog forever. > > And yes, I tried launching the simulator manually by going inside the > bundle and the simulator is working fine. > > > > > On 25 Oct 2022, at 21:39, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Thanks to all confirming that LC runs fine under Ventura. > > > > I've upgraded now and i am now testing.... > > > > > > Regards, > > Matthias > > > > > >> Am 25.10.2022 um 19:28 schrieb matthias rebbe via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Hi, > >> > >> the topic says it all > >> > >> Does anyone have already experience with Livecode under Ventura? > >> Are there any known problems/bugs or so? > >> > >> 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 MikeKerner at roadrunner.com Tue Nov 8 10:48:23 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 8 Nov 2022 10:48:23 -0500 Subject: megabundle updated Message-ID: fyi, there was an update to the summer megabundle posted, yesterday. -- 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 ahsoftware at sonic.net Tue Nov 8 12:59:52 2022 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 8 Nov 2022 09:59:52 -0800 Subject: megabundle updated In-Reply-To: References: Message-ID: On 11/8/22 07:48, Mike Kerner via use-livecode wrote: > fyi, there was an update to the summer megabundle posted, yesterday. What? With no notification? I assume the Release Notes (heh) will show what's new. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Tue Nov 8 13:24:24 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 8 Nov 2022 13:24:24 -0500 Subject: megabundle updated In-Reply-To: References: Message-ID: SmartCrumbs now exports using LF on Mac. Have not looked at the other pieces yet. Brian Milby brian at milby7.com > On Nov 8, 2022, at 1:01 PM, Mark Wieder via use-livecode wrote: > > On 11/8/22 07:48, Mike Kerner via use-livecode wrote: >> fyi, there was an update to the summer megabundle posted, yesterday. > > What? With no notification? > I assume the Release Notes (heh) will show what's new. > > -- > Mark Wieder > ahsoftware at gmail.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 sean at pidigital.co.uk Tue Nov 8 13:54:58 2022 From: sean at pidigital.co.uk (Sean Cole) Date: Tue, 8 Nov 2022 18:54:58 +0000 Subject: megabundle updated In-Reply-To: References: Message-ID: The zip file is still named 1.0.0 But it is 1.0.27 inside From gcanyon at gmail.com Tue Nov 8 16:22:05 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 8 Nov 2022 13:22:05 -0800 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: I upgraded to Ventura over a week ago. No problems so far with one exception: the OS suggested that I consolidate everything onto iCloud for universal access and backups. I did so. That resulted in oddities like cmd-shift-D now opening iCloud/Desktop instead of something in my home directory. Or more accurately, there *is* a "Desktop" folder in my home directory that appears not to be an alias, but is invisible? Anyway, doing this caused the same thing to happen for the Documents folder. LiveCode apparently can't find the invisible folder, so e.g. it defaulted back to the copy of Navigator included with LiveCode -- which is ancient, no one should use it -- instead of the copy in ~/Documents/My Livecode/Plugins. So far, to fix it I hit cmd-shift-period in the Finder. That shows invisible files. I'm sure there's a way to un-invisible a folder, and hopefully that will fix the issue without causing any issues with what Ventura is trying to do with iCloud. On Tue, Oct 25, 2022 at 10:30 AM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > the topic says it all > > Does anyone have already experience with Livecode under Ventura? > Are there any known problems/bugs or so? > > 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 MikeKerner at roadrunner.com Wed Nov 9 09:36:37 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 9 Nov 2022 09:36:37 -0500 Subject: megabundle updated In-Reply-To: References: Message-ID: >What? With no notification? They have not announced any of the updates, but there have been several. You have to check the release date on the website to tell if there has been an update, and yes, the changelog.txt (but the I think the date for the latest PolyList, for instance, is wrong) On Tue, Nov 8, 2022 at 1:56 PM Sean Cole via use-livecode < use-livecode at lists.runrev.com> wrote: > The zip file is still named 1.0.0 > But it is 1.0.27 inside > _______________________________________________ > use-livecode mailing list > use-livecode 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 gbojsza at gmail.com Wed Nov 9 09:41:00 2022 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 9 Nov 2022 09:41:00 -0500 Subject: YAML support Message-ID: Hello, I was wondering what the current state and recommendations are for working with YAML files and Livecode. The last posts I have found on this was back in 2020 so is anyone currently using Livecode with YAML files. regards, Glen From MikeKerner at roadrunner.com Wed Nov 9 13:11:22 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 9 Nov 2022 13:11:22 -0500 Subject: YAML support In-Reply-To: References: Message-ID: there is a yaml parser built into levure. On Wed, Nov 9, 2022 at 9:42 AM Glen Bojsza via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello, > > I was wondering what the current state and recommendations are for working > with YAML files and Livecode. > > The last posts I have found on this was back in 2020 so is anyone currently > using Livecode with YAML files. > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode 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 gbojsza at gmail.com Wed Nov 9 13:35:11 2022 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 9 Nov 2022 13:35:11 -0500 Subject: YAML support In-Reply-To: References: Message-ID: Thanks I will check it out On Wed, Nov 9, 2022 at 1:13 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > there is a yaml parser built into levure. > > On Wed, Nov 9, 2022 at 9:42 AM Glen Bojsza via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello, > > > > I was wondering what the current state and recommendations are for > working > > with YAML files and Livecode. > > > > The last posts I have found on this was back in 2020 so is anyone > currently > > using Livecode with YAML files. > > > > regards, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 ahsoftware at sonic.net Wed Nov 9 14:19:39 2022 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 9 Nov 2022 11:19:39 -0800 Subject: megabundle updated In-Reply-To: References: Message-ID: On 11/9/22 06:36, Mike Kerner via use-livecode wrote: >> What? With no notification? > They have not announced any of the updates, but there have been several. > You have to check the release date on the website to tell if there has been > an update, and yes, the changelog.txt (but the I think the date for the > latest PolyList, for instance, is wrong) I guess it's just too difficult to change the name of a zip file. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Wed Nov 9 17:14:04 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Nov 2022 22:14:04 +0000 Subject: LC Date Conversions post 2035 In-Reply-To: References: <44512717-BFEE-4C43-BB0B-BF0186B721D2@gmail.com> Message-ID: Probably based on Unix... ;-) Bob S On Nov 7, 2022, at 06:55 , Martin Koob via use-livecode > wrote: Not sure what Window is doing that it is only going to work till 3000. Maybe MicroSoft have decided to EOL Windows then and have plans to release a totally rewritten operating system then. Martin From bobsneidar at iotecdigital.com Wed Nov 9 17:17:34 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Nov 2022 22:17:34 +0000 Subject: ENTER in scripts In-Reply-To: <005601d8f2f0$0289d590$079d80b0$@net> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> Message-ID: <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. Bob S > On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: > > Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. > > THANKS! > > > 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 Craig Newman via use-livecode > Sent: Monday, November 07, 2022 2:08 PM > To: How to use LiveCode > Cc: Craig Newman > Subject: Re: ENTER in scripts > > All. > > "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. > > This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. > > Craig > >> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >> >> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >> >> The tool tip for the ‘APPLY’ button says. >> >> ‘compile and apply the current script (Enter, cmd+Return)’ >> >> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >> >> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >> >> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >> >> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >> >> So it looks like it only works when there is no focus on a field or other object. >> >> >> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >> >> >> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >> >> >> Martin Koob >> >> >>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>> >>> Klaus wrote >>> >>> >>> is it only me or does the ENTER key nothing after hitting while in >>> script editor? >>> >>> >>> >>> https://quality.livecode.com/show_bug.cgi?id=23999 >>> >>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>> >>> Kind regards >>> Bernd >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Wed Nov 9 17:31:08 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Nov 2022 22:31:08 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: FYI I NEVER am going to consolidate all my documents in iCloud. That's like hanging a copy of all my keys in the community center that's open 24 hours a day to everyone. One day someone is going to lock the doors... Bob S On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode > wrote: I upgraded to Ventura over a week ago. No problems so far with one exception: the OS suggested that I consolidate everything onto iCloud for universal access and backups. I did so. That resulted in oddities like cmd-shift-D now opening iCloud/Desktop instead of something in my home directory. Or more accurately, there *is* a "Desktop" folder in my home directory that appears not to be an alias, but is invisible? Anyway, doing this caused the same thing to happen for the Documents folder. LiveCode apparently can't find the invisible folder, so e.g. it defaulted back to the copy of Navigator included with LiveCode -- which is ancient, no one should use it -- instead of the copy in ~/Documents/My Livecode/Plugins. So far, to fix it I hit cmd-shift-period in the Finder. That shows invisible files. I'm sure there's a way to un-invisible a folder, and hopefully that will fix the issue without causing any issues with what Ventura is trying to do with iCloud. From MikeKerner at roadrunner.com Wed Nov 9 18:38:12 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 9 Nov 2022 18:38:12 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: Geoff, that's weird, I don't recall seeing that message on my non-dev machines, but then, again, I was also running the beta on those boxes. On Wed, Nov 9, 2022 at 5:32 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > FYI I NEVER am going to consolidate all my documents in iCloud. That's > like hanging a copy of all my keys in the community center that's open 24 > hours a day to everyone. One day someone is going to lock the doors... > > Bob S > > > On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > I upgraded to Ventura over a week ago. No problems so far with one > exception: the OS suggested that I consolidate everything onto iCloud for > universal access and backups. I did so. That resulted in oddities like > cmd-shift-D now opening iCloud/Desktop instead of something in my home > directory. Or more accurately, there *is* a "Desktop" folder in my home > directory that appears not to be an alias, but is invisible? > > Anyway, doing this caused the same thing to happen for the Documents > folder. LiveCode apparently can't find the invisible folder, so e.g. it > defaulted back to the copy of Navigator included with LiveCode -- which is > ancient, no one should use it -- instead of the copy in ~/Documents/My > Livecode/Plugins. > > So far, to fix it I hit cmd-shift-period in the Finder. That shows > invisible files. I'm sure there's a way to un-invisible a folder, and > hopefully that will fix the issue without causing any issues with what > Ventura is trying to do with iCloud. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jacque at hyperactivesw.com Wed Nov 9 19:59:06 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Nov 2022 18:59:06 -0600 Subject: ENTER in scripts In-Reply-To: <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> Message-ID: <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: > Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I > use tab then cmd-save to format then comile the script. > > Bob S > > >> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode >> wrote: >> >> Well, you learn something exceedingly simple every day. OK I get it. Enter >> is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >> >> THANKS! >> >> >> 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 Craig Newman via use-livecode >> Sent: Monday, November 07, 2022 2:08 PM >> To: How to use LiveCode >> Cc: Craig Newman >> Subject: Re: ENTER in scripts >> >> All. >> >> "Enter" has always worked for me. And focus has always been required to be >> in the SE for it to do so. >> >> This seems logical to me. It would not do for actions specific to certain >> spaces to be affected, or effected, when not in that space. >> >> Craig >> >>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode >>> wrote: >>> >>> Do you mean does pressing the ENTER key does the same thing as clicking the >>> Apply button at the top left of the script editor? >>> >>> The tool tip for the APPLY button says. >>> >>> compile and apply the current script (Enter, cmd+Return) >>> >>> I actually did not know there was a keyboard shortcut for the Apply >>> button. That is a handy tip. >>> >>> I tried it out and at first it did not work. That time the focus was on >>> the script field and the text cursor was there. >>> >>> If I clicked on part of the card outside of the script field then the >>> cmd+Return key combination worked. >>> >>> If I clicked in another object like the find text field or a handler in >>> the list to the left of the text field or on the MatchCase >>> checkbox CMD+Return would not work. >>> >>> So it looks like it only works when there is no focus on a field or other >>> object. >>> >>> >>> In any case it sounds like a bug. The key combination should work whether >>> the script field has focus or not. >>> >>> >>> Since I have never used that key combo before I am not sure whether that >>> behaviour has changed or not. >>> >>> >>> Martin Koob >>> >>> >>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode >>>> wrote: >>>> >>>> Klaus wrote >>>> >>>> >>>> is it only me or does the ENTER key nothing after hitting while in >>>> script editor? >>>> >>>> >>>> >>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>> >>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. >>>> Some of them have some quirks. >>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report >>>> them. >>>> >>>> Kind regards >>>> Bernd >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 mkoob at rogers.com Wed Nov 9 23:18:03 2022 From: mkoob at rogers.com (Martin Koob) Date: Wed, 9 Nov 2022 23:18:03 -0500 Subject: ENTER in scripts In-Reply-To: <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On a Mac Extemed keyboard there is an ENTER Key. Does using it have a different behaviour than using the RETURN key? On my laptop of course there is only an RETURN key. After some searching I did find that Fn + RETURN or cmd + RETURN are equivalent to and ENTER key press. I tried and it does work to apply the script changes, however not while the focus was on a filed in the Script Editor. For me to get the desired behaviour 1. Click on an area on the Script area that is not an object. i.e. the card 2. Press Fn + RETURN or cmd + RETURN and the Script changes would be applied. I am using a Mac Book Pro M1 Max with Mac OS Monterey. Martin > On Nov 9, 2022, at 7:59 PM, J. Landman Gay via use-livecode wrote: > > I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: > >> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >> >> Bob S >> >> >>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>> >>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>> >>> THANKS! >>> >>> >>> 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 Craig Newman via use-livecode >>> Sent: Monday, November 07, 2022 2:08 PM >>> To: How to use LiveCode >>> Cc: Craig Newman >>> Subject: Re: ENTER in scripts >>> >>> All. >>> >>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>> >>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>> >>> Craig >>> >>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>> >>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>> >>>> The tool tip for the ‘APPLY’ button says. >>>> >>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>> >>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>> >>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>> >>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>> >>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>> >>>> So it looks like it only works when there is no focus on a field or other object. >>>> >>>> >>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>> >>>> >>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>> >>>> >>>> Martin Koob >>>> >>>> >>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>> >>>>> Klaus wrote >>>>> >>>>> >>>>> is it only me or does the ENTER key nothing after hitting while in >>>>> script editor? >>>>> >>>>> >>>>> >>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>> >>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>> >>>>> Kind regards >>>>> Bernd >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 rdimola at evergreeninfo.net Thu Nov 10 10:00:51 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 10 Nov 2022 10:00:51 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: <001001d8f515$3ce9c020$b6bd4060$@net> +1 Or stop you car from charging. 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 Bob Sneidar via use-livecode Sent: Wednesday, November 09, 2022 5:31 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Anyone any experience with Livecode under Ventura? FYI I NEVER am going to consolidate all my documents in iCloud. That's like hanging a copy of all my keys in the community center that's open 24 hours a day to everyone. One day someone is going to lock the doors... Bob S On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode > wrote: I upgraded to Ventura over a week ago. No problems so far with one exception: the OS suggested that I consolidate everything onto iCloud for universal access and backups. I did so. That resulted in oddities like cmd-shift-D now opening iCloud/Desktop instead of something in my home directory. Or more accurately, there *is* a "Desktop" folder in my home directory that appears not to be an alias, but is invisible? Anyway, doing this caused the same thing to happen for the Documents folder. LiveCode apparently can't find the invisible folder, so e.g. it defaulted back to the copy of Navigator included with LiveCode -- which is ancient, no one should use it -- instead of the copy in ~/Documents/My Livecode/Plugins. So far, to fix it I hit cmd-shift-period in the Finder. That shows invisible files. I'm sure there's a way to un-invisible a folder, and hopefully that will fix the issue without causing any issues with what Ventura is trying to do with iCloud. _______________________________________________ use-livecode mailing list use-livecode 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 Nov 10 10:58:18 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 15:58:18 +0000 Subject: ENTER in scripts In-Reply-To: <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> It does nothing, but to be fair I am using a Windows xternal keyboard (if there is such a thing these days,) on a MacOS laptop, and both "Enter" keys are called, "Enter." Neither does anything in terms of formatting the SE or compiling. It works for me though. Bob S > On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode wrote: > > I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: > >> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >> >> Bob S >> >> >>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>> >>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>> >>> THANKS! >>> >>> >>> 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 Craig Newman via use-livecode >>> Sent: Monday, November 07, 2022 2:08 PM >>> To: How to use LiveCode >>> Cc: Craig Newman >>> Subject: Re: ENTER in scripts >>> >>> All. >>> >>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>> >>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>> >>> Craig >>> >>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>> >>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>> >>>> The tool tip for the ‘APPLY’ button says. >>>> >>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>> >>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>> >>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>> >>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>> >>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>> >>>> So it looks like it only works when there is no focus on a field or other object. >>>> >>>> >>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>> >>>> >>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>> >>>> >>>> Martin Koob >>>> >>>> >>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>> >>>>> Klaus wrote >>>>> >>>>> >>>>> is it only me or does the ENTER key nothing after hitting while in >>>>> script editor? >>>>> >>>>> >>>>> >>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>> >>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>> >>>>> Kind regards >>>>> Bernd >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 bobsneidar at iotecdigital.com Thu Nov 10 10:59:31 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 15:59:31 +0000 Subject: ENTER in scripts In-Reply-To: References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <753F7103-1327-4795-996B-E278E6DF091B@iotecdigital.com> Neither of these work for me. Bob S > On Nov 9, 2022, at 20:18 , Martin Koob via use-livecode wrote: > > On a Mac Extemed keyboard there is an ENTER Key. Does using it have a different behaviour than using the RETURN key? > > On my laptop of course there is only an RETURN key. After some searching I did find that Fn + RETURN or cmd + RETURN are equivalent to and ENTER key press. > > I tried and it does work to apply the script changes, however not while the focus was on a filed in the Script Editor. > > For me to get the desired behaviour > > 1. Click on an area on the Script area that is not an object. i.e. the card > 2. Press Fn + RETURN or cmd + RETURN and the Script changes would be applied. > > I am using a Mac Book Pro M1 Max with Mac OS Monterey. > > Martin > >> On Nov 9, 2022, at 7:59 PM, J. Landman Gay via use-livecode wrote: >> >> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: >> >>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >>> >>> Bob S >>> >>> >>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>>> >>>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>> >>>> THANKS! >>>> >>>> >>>> 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 Craig Newman via use-livecode >>>> Sent: Monday, November 07, 2022 2:08 PM >>>> To: How to use LiveCode >>>> Cc: Craig Newman >>>> Subject: Re: ENTER in scripts >>>> >>>> All. >>>> >>>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>>> >>>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>>> >>>> Craig >>>> >>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>>> >>>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>>> >>>>> The tool tip for the ‘APPLY’ button says. >>>>> >>>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>>> >>>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>>> >>>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>>> >>>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>>> >>>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>>> >>>>> So it looks like it only works when there is no focus on a field or other object. >>>>> >>>>> >>>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>>> >>>>> >>>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>>> >>>>> >>>>> Martin Koob >>>>> >>>>> >>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>>> >>>>>> Klaus wrote >>>>>> >>>>>> >>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>> script editor? >>>>>> >>>>>> >>>>>> >>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>> >>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>>> >>>>>> Kind regards >>>>>> Bernd >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Nov 10 12:17:06 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Nov 2022 11:17:06 -0600 Subject: ENTER in scripts In-Reply-To: <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> Message-ID: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I wonder if you could remap one to send the Mac key code for Enter. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 10, 2022 10:00:28 AM Bob Sneidar via use-livecode wrote: > It does nothing, but to be fair I am using a Windows xternal keyboard (if > there is such a thing these days,) on a MacOS laptop, and both "Enter" keys > are called, "Enter." Neither does anything in terms of formatting the SE or > compiling. It works for me though. > > Bob S > > >> On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode >> wrote: >> >> I'm on a Mac and I've been using the enter key to compile for years (back >> to MetaCard I think.) Are you sure it does nothing? Watch the dot in the >> script tab and see if it turns green. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode >> wrote: >> >>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I >>> use tab then cmd-save to format then comile the script. >>> >>> Bob S >>> >>> >>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode >>>> wrote: >>>> >>>> Well, you learn something exceedingly simple every day. OK I get it. Enter >>>> is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>> >>>> THANKS! >>>> >>>> >>>> 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 Craig Newman via use-livecode >>>> Sent: Monday, November 07, 2022 2:08 PM >>>> To: How to use LiveCode >>>> Cc: Craig Newman >>>> Subject: Re: ENTER in scripts >>>> >>>> All. >>>> >>>> "Enter" has always worked for me. And focus has always been required to be >>>> in the SE for it to do so. >>>> >>>> This seems logical to me. It would not do for actions specific to certain >>>> spaces to be affected, or effected, when not in that space. >>>> >>>> Craig >>>> >>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode >>>>> wrote: >>>>> >>>>> Do you mean does pressing the ENTER key does the same thing as clicking the >>>>> Apply button at the top left of the script editor? >>>>> >>>>> The tool tip for the APPLY button says. >>>>> >>>>> compile and apply the current script (Enter, cmd+Return) >>>>> >>>>> I actually did not know there was a keyboard shortcut for the Apply >>>>> button. That is a handy tip. >>>>> >>>>> I tried it out and at first it did not work. That time the focus was on >>>>> the script field and the text cursor was there. >>>>> >>>>> If I clicked on part of the card outside of the script field then the >>>>> cmd+Return key combination worked. >>>>> >>>>> If I clicked in another object like the find text field or a handler in >>>>> the list to the left of the text field or on the MatchCase >>>>> checkbox CMD+Return would not work. >>>>> >>>>> So it looks like it only works when there is no focus on a field or other >>>>> object. >>>>> >>>>> >>>>> In any case it sounds like a bug. The key combination should work whether >>>>> the script field has focus or not. >>>>> >>>>> >>>>> Since I have never used that key combo before I am not sure whether that >>>>> behaviour has changed or not. >>>>> >>>>> >>>>> Martin Koob >>>>> >>>>> >>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode >>>>>> wrote: >>>>>> >>>>>> Klaus wrote >>>>>> >>>>>> >>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>> script editor? >>>>>> >>>>>> >>>>>> >>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>> >>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. >>>>>> Some of them have some quirks. >>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report >>>>>> them. >>>>>> >>>>>> Kind regards >>>>>> Bernd >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode 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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Thu Nov 10 13:05:02 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 10 Nov 2022 13:05:02 -0500 Subject: Ask Password Cursor Oddity In-Reply-To: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <003801d8f52e$f8474270$e8d5c750$@net> Riddle me this.. I was building an Android Production app using 9.6.9 rc2 on Win 10. I kept getting errors that the keystore passwords not correct. I tried it 10 times until I noticed that when typing in the keystore and the private passwords when you type the first character the cursor is before not after the first "*". So if you type "test123" the data is entered as "est123T". I tried this in the message box (ask password clear "Please provide the keystore password") the form used the in IDE. Same error. But if you click into the answer's entry field before typing it works as expected. It works correctly in 9.6.7. The "clear" option seems to allow typing without having to click into the field. Can anyone verify if they see the same thing? I also see it on Mac Big Sur. If so I will enter a QCC regression report. Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From gcanyon at gmail.com Thu Nov 10 13:40:52 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 10 Nov 2022 10:40:52 -0800 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: I regard it as a choice of risks -- I'm lazy about backups since...I was going to say the '90s, but really it's forever. Thankfully I've never had a drive go bad, but I have written several novels, and I now have none of them except as memories: one went away with an iMac hard drive I didn't copy properly when I retired it, one went away with a zip drive, one went away with 3 inch floppies, and one went away with 5 inch floppies (and one went away with greenbar paper). I think my odds are better using a cloud service than my own efforts at maintaining things. gc On Wed, Nov 9, 2022 at 2:32 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > FYI I NEVER am going to consolidate all my documents in iCloud. That's > like hanging a copy of all my keys in the community center that's open 24 > hours a day to everyone. One day someone is going to lock the doors... > > Bob S > > > On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > I upgraded to Ventura over a week ago. No problems so far with one > exception: the OS suggested that I consolidate everything onto iCloud for > universal access and backups. I did so. That resulted in oddities like > cmd-shift-D now opening iCloud/Desktop instead of something in my home > directory. Or more accurately, there *is* a "Desktop" folder in my home > directory that appears not to be an alias, but is invisible? > > Anyway, doing this caused the same thing to happen for the Documents > folder. LiveCode apparently can't find the invisible folder, so e.g. it > defaulted back to the copy of Navigator included with LiveCode -- which is > ancient, no one should use it -- instead of the copy in ~/Documents/My > Livecode/Plugins. > > So far, to fix it I hit cmd-shift-period in the Finder. That shows > invisible files. I'm sure there's a way to un-invisible a folder, and > hopefully that will fix the issue without causing any issues with what > Ventura is trying to do with iCloud. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 10 13:51:23 2022 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 10 Nov 2022 13:51:23 -0500 Subject: ENTER in scripts In-Reply-To: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0A7F423A-2144-445F-9C2B-5F14C6F4C279@starfirelighting.com> Hmmm. Odd we have so many different actions. I am on a Mac, with an Apple keyboard. Enter works as advertised. I have a MacAlly keyboard, and Enter works there as well. Focus, as I mentioned and expect, must been the SE. Craig > On Nov 10, 2022, at 12:17 PM, J. Landman Gay via use-livecode wrote: > > I wonder if you could remap one to send the Mac key code for Enter. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 10, 2022 10:00:28 AM Bob Sneidar via use-livecode wrote: > >> It does nothing, but to be fair I am using a Windows xternal keyboard (if there is such a thing these days,) on a MacOS laptop, and both "Enter" keys are called, "Enter." Neither does anything in terms of formatting the SE or compiling. It works for me though. >> >> Bob S >> >> >>> On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode wrote: >>> >>> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: >>> >>>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >>>> >>>> Bob S >>>> >>>> >>>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>>>> >>>>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>>> >>>>> THANKS! >>>>> >>>>> >>>>> 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 Craig Newman via use-livecode >>>>> Sent: Monday, November 07, 2022 2:08 PM >>>>> To: How to use LiveCode >>>>> Cc: Craig Newman >>>>> Subject: Re: ENTER in scripts >>>>> >>>>> All. >>>>> >>>>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>>>> >>>>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>>>> >>>>> Craig >>>>> >>>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>>>> >>>>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>>>> >>>>>> The tool tip for the ‘APPLY’ button says. >>>>>> >>>>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>>>> >>>>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>>>> >>>>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>>>> >>>>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>>>> >>>>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>>>> >>>>>> So it looks like it only works when there is no focus on a field or other object. >>>>>> >>>>>> >>>>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>>>> >>>>>> >>>>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>>>> >>>>>> >>>>>> Martin Koob >>>>>> >>>>>> >>>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>>>> >>>>>>> Klaus wrote >>>>>>> >>>>>>> >>>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>>> script editor? >>>>>>> >>>>>>> >>>>>>> >>>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>>> >>>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>>>> >>>>>>> Kind regards >>>>>>> Bernd >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 marksmithhfx at gmail.com Thu Nov 10 13:55:53 2022 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 10 Nov 2022 18:55:53 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: I tend towards lazy myself, backing up only after the umpteenth prompt from Time machine that I haven’t backed up in XX months. But I am also the anxious type so if I am working on something important (like a paper, a presentation or a program) I’ll just periodically mail myself a copy. That way, if I lose a disk, I can just retrieve copies from whatever mail server I am using. I have on occasion had to do just that, particularly after I retired and failed to backup everything properly before I left my employer. Mark > On 10 Nov 2022, at 6:40 pm, Geoff Canyon via use-livecode wrote: > > I regard it as a choice of risks -- I'm lazy about backups since...I was > going to say the '90s, but really it's forever. Thankfully I've never had a > drive go bad, but I have written several novels, and I now have none of > them except as memories: one went away with an iMac hard drive I didn't > copy properly when I retired it, one went away with a zip drive, one went > away with 3 inch floppies, and one went away with 5 inch floppies (and one > went away with greenbar paper). I think my odds are better using a cloud > service than my own efforts at maintaining things. > > gc > > On Wed, Nov 9, 2022 at 2:32 PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> FYI I NEVER am going to consolidate all my documents in iCloud. That's >> like hanging a copy of all my keys in the community center that's open 24 >> hours a day to everyone. One day someone is going to lock the doors... >> >> Bob S >> >> >> On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode < >> use-livecode at lists.runrev.com> >> wrote: >> >> I upgraded to Ventura over a week ago. No problems so far with one >> exception: the OS suggested that I consolidate everything onto iCloud for >> universal access and backups. I did so. That resulted in oddities like >> cmd-shift-D now opening iCloud/Desktop instead of something in my home >> directory. Or more accurately, there *is* a "Desktop" folder in my home >> directory that appears not to be an alias, but is invisible? >> >> Anyway, doing this caused the same thing to happen for the Documents >> folder. LiveCode apparently can't find the invisible folder, so e.g. it >> defaulted back to the copy of Navigator included with LiveCode -- which is >> ancient, no one should use it -- instead of the copy in ~/Documents/My >> Livecode/Plugins. >> >> So far, to fix it I hit cmd-shift-period in the Finder. That shows >> invisible files. I'm sure there's a way to un-invisible a folder, and >> hopefully that will fix the issue without causing any issues with what >> Ventura is trying to do with iCloud. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 ambassador at fourthworld.com Thu Nov 10 15:34:38 2022 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Nov 2022 12:34:38 -0800 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: <9b533f1f-f094-509f-b3f5-0dc7d13c67f4@fourthworld.com> Portable drives are just $50/terabyte. Time is irreplaceable. -- Richard Gaskin Fourth World Systems Mark Smith wrote: > I tend towards lazy myself, backing up only after the umpteenth prompt > from Time machine that I havent backed up in XX months. But I am also > the anxious type so if I am working on something important (like a > paper, a presentation or a program) Ill just periodically mail myself > a copy. That way, if I lose a disk, I can just retrieve copies from > whatever mail server I am using. From bobsneidar at iotecdigital.com Thu Nov 10 18:32:28 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 23:32:28 +0000 Subject: ENTER in scripts In-Reply-To: <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3A61E01B-23AA-480F-B850-D917895D1B07@uni-wh.de> <7C0EAC42-7433-4F88-8004-D1F0EA254392@rogers.com> <005601d8f2f0$0289d590$079d80b0$@net> <78B0B47D-7EC3-4FFF-9BFA-686D332FD8A8@iotecdigital.com> <1845f0c3390.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B3F10FC-6AE4-4EFE-9F55-61BFE298C790@iotecdigital.com> <184628b9650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <46F246EF-931D-4368-8572-8F42362E076B@iotecdigital.com> I s'pect Windows Keyboards do not send an enter. Bob S > On Nov 10, 2022, at 09:17 , J. Landman Gay via use-livecode wrote: > > I wonder if you could remap one to send the Mac key code for Enter. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 10, 2022 10:00:28 AM Bob Sneidar via use-livecode wrote: > >> It does nothing, but to be fair I am using a Windows xternal keyboard (if there is such a thing these days,) on a MacOS laptop, and both "Enter" keys are called, "Enter." Neither does anything in terms of formatting the SE or compiling. It works for me though. >> >> Bob S >> >> >>> On Nov 9, 2022, at 16:59 , J. Landman Gay via use-livecode wrote: >>> >>> I'm on a Mac and I've been using the enter key to compile for years (back to MetaCard I think.) Are you sure it does nothing? Watch the dot in the script tab and see if it turns green. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On November 9, 2022 4:19:36 PM Bob Sneidar via use-livecode wrote: >>> >>>> Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. >>>> >>>> Bob S >>>> >>>> >>>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode wrote: >>>>> >>>>> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE. >>>>> >>>>> THANKS! >>>>> >>>>> >>>>> 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 Craig Newman via use-livecode >>>>> Sent: Monday, November 07, 2022 2:08 PM >>>>> To: How to use LiveCode >>>>> Cc: Craig Newman >>>>> Subject: Re: ENTER in scripts >>>>> >>>>> All. >>>>> >>>>> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. >>>>> >>>>> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. >>>>> >>>>> Craig >>>>> >>>>>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode wrote: >>>>>> >>>>>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor? >>>>>> >>>>>> The tool tip for the ‘APPLY’ button says. >>>>>> >>>>>> ‘compile and apply the current script (Enter, cmd+Return)’ >>>>>> >>>>>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. That is a handy tip. >>>>>> >>>>>> I tried it out and at first it did not work. That time the focus was on the script field and the text cursor was there. >>>>>> >>>>>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked. >>>>>> >>>>>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox CMD+Return would not work. >>>>>> >>>>>> So it looks like it only works when there is no focus on a field or other object. >>>>>> >>>>>> >>>>>> In any case it sounds like a bug. The key combination should work whether the script field has focus or not. >>>>>> >>>>>> >>>>>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not. >>>>>> >>>>>> >>>>>> Martin Koob >>>>>> >>>>>> >>>>>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode wrote: >>>>>>> >>>>>>> Klaus wrote >>>>>>> >>>>>>> >>>>>>> is it only me or does the ENTER key nothing after hitting while in >>>>>>> script editor? >>>>>>> >>>>>>> >>>>>>> >>>>>>> https://quality.livecode.com/show_bug.cgi?id=23999 >>>>>>> >>>>>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. >>>>>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them. >>>>>>> >>>>>>> Kind regards >>>>>>> Bernd >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Thu Nov 10 18:35:37 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Nov 2022 23:35:37 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: Don't get me wrong, I keep some of my documents in the cloud, especially the important ones, but the conversation was abount having iCloud be the primary storage for ALL your documents. I lost a ton of really good photos when they went from .MAC to me.com. True I was warned, but was not in a position at the time to download all my photo library. Bob S On Nov 10, 2022, at 10:40 , Geoff Canyon via use-livecode > wrote: I regard it as a choice of risks -- I'm lazy about backups since...I was going to say the '90s, but really it's forever. Thankfully I've never had a drive go bad, but I have written several novels, and I now have none of them except as memories: one went away with an iMac hard drive I didn't copy properly when I retired it, one went away with a zip drive, one went away with 3 inch floppies, and one went away with 5 inch floppies (and one went away with greenbar paper). I think my odds are better using a cloud service than my own efforts at maintaining things. gc From irog at mac.com Thu Nov 10 21:28:57 2022 From: irog at mac.com (Roger Guay) Date: Thu, 10 Nov 2022 18:28:57 -0800 Subject: Return of Hilited text of Popup Menu items Message-ID: Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? Thanks for your help! Roger From klaus at major-k.de Fri Nov 11 06:31:55 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Nov 2022 12:31:55 +0100 Subject: Easy Android adaptive icons In-Reply-To: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> Message-ID: <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Hi all, now that I have finally finished my stacks, I will be going to publish the apps in the next time in the Apple Appstore and Google Play store. Yeah! :-) However I still have to learn a lot about "mobile" stuff, like below, hope someone can help me out. > Am 18.10.2022 um 23:19 schrieb J. Landman Gay via use-livecode : > > For anyone struggling with Android adaptive icons, or who like me doesn't want to deal with Android Studio just to make a single icon, I found this: > > https://easyappicon.com/ > > It does work and is quick and easy. The Android icons are all placed in a single folder and I think you can probably just point the Standalone Settings to that folder, though I renamed it "res" in case LC is looking for the Android Studio naming convention. > > It also makes iOS icons which seem to come along automatically. Those are all in a second folder which you can ignore, trash, or use for cross platform development. > > I tried several different online icon utilities and this one worked best for me. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Yep, I also used this for my icons. But now I have no idea what icon to set for what iDevice in LC? See here: Prerendered icon? Que? 8-) Any hints or advice very welcome, thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From scott at elementarysoftware.com Fri Nov 11 08:56:09 2022 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 11 Nov 2022 05:56:09 -0800 Subject: Easy Android adaptive icons In-Reply-To: <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Message-ID: > But now I have no idea what icon to set for what iDevice in LC? If you hover over the […] (used for selecting the file path) you will see a tool tip with the dimensions. (Or select the incorrect size and I believe it will warn you about what size it is expecting.) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ > On Nov 11, 2022, at 3:31 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > now that I have finally finished my stacks, I will be going to publish > the apps in the next time in the Apple Appstore and Google Play store. > Yeah! :-) > > However I still have to learn a lot about "mobile" stuff, like below, hope > someone can help me out. > >> Am 18.10.2022 um 23:19 schrieb J. Landman Gay via use-livecode : >> >> For anyone struggling with Android adaptive icons, or who like me doesn't want to deal with Android Studio just to make a single icon, I found this: >> >> https://easyappicon.com/ >> >> It does work and is quick and easy. The Android icons are all placed in a single folder and I think you can probably just point the Standalone Settings to that folder, though I renamed it "res" in case LC is looking for the Android Studio naming convention. >> >> It also makes iOS icons which seem to come along automatically. Those are all in a second folder which you can ignore, trash, or use for cross platform development. >> >> I tried several different online icon utilities and this one worked best for me. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > Yep, I also used this for my icons. > > But now I have no idea what icon to set for what iDevice in LC? See here: > > Prerendered icon? Que? 8-) > > Any hints or advice very welcome, thank you. > > > 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 craig at starfirelighting.com Fri Nov 11 08:57:13 2022 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Nov 2022 08:57:13 -0500 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: Message-ID: Roger. No messages are sent while a menu is open. Further, a “mouseMove” handler in, say, the card script stops receiving messages while that menu is open. Such a gadget, likely drawn by the underlying OS, seems to be blocking. So, I think, no. Craig > On Nov 10, 2022, at 9:28 PM, Roger Guay via use-livecode wrote: > > Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? > > Thanks for your help! > > 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 klaus at major-k.de Fri Nov 11 09:15:04 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Nov 2022 15:15:04 +0100 Subject: Easy Android adaptive icons In-Reply-To: References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Message-ID: <26980F84-BA87-4BC6-9285-4B7ECDE25CB2@major-k.de> Hi Scott, > Am 11.11.2022 um 14:56 schrieb scott--- via use-livecode : > >> But now I have no idea what icon to set for what iDevice in LC? > If you hover over the […] (used for selecting the file path) you will see a tool tip with the dimensions. (Or select the incorrect size and I believe it will warn you about what size it is expecting.) aha, thank you very much, will do that! > -- > Scott Morrow Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From irog at mac.com Fri Nov 11 09:55:52 2022 From: irog at mac.com (Roger Guay) Date: Fri, 11 Nov 2022 06:55:52 -0800 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: Message-ID: <5DE5F998-7C72-4FC4-A42F-3EFA6EAB22BF@mac.com> Thanks very much Craig. Pretty much what I expected. Fortunately, I’ve discovered I don’t need it, so I’m good! Roger > On Nov 11, 2022, at 5:57 AM, Craig Newman via use-livecode wrote: > > Roger. > > No messages are sent while a menu is open. Further, a “mouseMove” handler in, say, the card script stops receiving messages while that menu is open. > > Such a gadget, likely drawn by the underlying OS, seems to be blocking. So, I think, no. > > Craig > >> On Nov 10, 2022, at 9:28 PM, Roger Guay via use-livecode wrote: >> >> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >> >> Thanks for your help! >> >> 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 From bobsneidar at iotecdigital.com Fri Nov 11 11:11:32 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 16:11:32 +0000 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: Message-ID: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) Bob S On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? Thanks for your help! Roger From irog at mac.com Fri Nov 11 11:19:44 2022 From: irog at mac.com (Roger Guay) Date: Fri, 11 Nov 2022 08:19:44 -0800 Subject: Return of Hilited text of Popup Menu items In-Reply-To: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> Message-ID: <9F8E0523-2980-4B89-BCF3-3B7538E92FCE@mac.com> Thanks for corecting me, I shall never forgit it! Roger > On Nov 11, 2022, at 8:11 AM, Bob Sneidar via use-livecode wrote: > > A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) > > Bob S > > > On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: > > Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? > > Thanks for your help! > > 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 Nov 11 11:34:47 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 16:34:47 +0000 Subject: Nested Datagrid Behaviors is implemented! Message-ID: <62E232E2-2D6D-4D01-9BA0-3E560A2A964A@iotecdigital.com> Hi all. For those of you who were interested in nested datagrid behaviors, it has now been implemented in LC 9.6.9 (rc2). I can confirm it works as advertised. I use to have to replace one of the script only stacks in LC with a modified one of my own, but now no more. Thanks LC Dev team, you are greatly appreciated! Bob S From craig at starfirelighting.com Fri Nov 11 11:56:13 2022 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Nov 2022 11:56:13 -0500 Subject: Return of Hilited text of Popup Menu items In-Reply-To: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> Message-ID: And a corsair is what a pirate aspires to. Craig > On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: > > A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) > > Bob S > > > On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: > > Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? > > Thanks for your help! > > 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 Nov 11 12:03:05 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 17:03:05 +0000 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> Message-ID: <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> Or the greatest WWII fighter plane ever made. > On Nov 11, 2022, at 08:56 , Craig Newman via use-livecode wrote: > > And a corsair is what a pirate aspires to. > > Craig > >> On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: >> >> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) >> >> Bob S >> >> >> On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: >> >> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >> >> Thanks for your help! >> >> 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 From craig at starfirelighting.com Fri Nov 11 12:15:06 2022 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Nov 2022 12:15:06 -0500 Subject: Return of Hilited text of Popup Menu items In-Reply-To: <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> Message-ID: Nope Grumman F6F. > On Nov 11, 2022, at 12:03 PM, Bob Sneidar via use-livecode wrote: > > Or the greatest WWII fighter plane ever made. > >> On Nov 11, 2022, at 08:56 , Craig Newman via use-livecode wrote: >> >> And a corsair is what a pirate aspires to. >> >> Craig >> >>> On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: >>> >>> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) >>> >>> Bob S >>> >>> >>> On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: >>> >>> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >>> >>> Thanks for your help! >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 11 12:25:25 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Nov 2022 17:25:25 +0000 Subject: Return of Hilited text of Popup Menu items In-Reply-To: References: <144D0CCE-B70F-400C-91D7-FA66748934A3@iotecdigital.com> <91FEF21D-DF8B-4718-82AE-DEC523E8C572@iotecdigital.com> Message-ID: <5476762B-F5E3-4D06-A5B4-854E6EC5445B@iotecdigital.com> If they mounted 4 20mm cannons on the Hellcat, I might agree. Bob S > On Nov 11, 2022, at 09:15 , Craig Newman via use-livecode wrote: > > Nope > > Grumman F6F. > >> On Nov 11, 2022, at 12:03 PM, Bob Sneidar via use-livecode wrote: >> >> Or the greatest WWII fighter plane ever made. >> >>> On Nov 11, 2022, at 08:56 , Craig Newman via use-livecode wrote: >>> >>> And a corsair is what a pirate aspires to. >>> >>> Craig >>> >>>> On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> A Curser is what I was as a sailor. A Cursor is the icon on your monitor that indicates where the mouse is located. ;-) >>>> >>>> Bob S >>>> >>>> >>>> On Nov 10, 2022, at 18:28 , Roger Guay via use-livecode > wrote: >>>> >>>> Is there a way to return the hilited menu items of a popup menu button as the curser is scrolled through the menu items? >>>> >>>> Thanks for your help! >>>> >>>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Nov 11 16:45:33 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Nov 2022 15:45:33 -0600 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: Message-ID: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: > I think my odds are better using a cloud > service than my own efforts at maintaining things. I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. I haven't lost any data since the original catastrophe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Nov 11 16:48:24 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Nov 2022 15:48:24 -0600 Subject: Easy Android adaptive icons In-Reply-To: <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> Message-ID: <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> On 11/11/22 5:31 AM, Klaus major-k via use-livecode wrote: > But now I have no idea what icon to set for what iDevice in LC? See here: > > Prerendered icon? Que? 8-) You don't need prerendered if you are just using a basic image. Apple will render the icon for you. If you hover the mouse over the "..." next to the icon path field, it will tell you the size it expects for that icon. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Sat Nov 12 05:33:36 2022 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Nov 2022 11:33:36 +0100 Subject: Easy Android adaptive icons In-Reply-To: <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> Message-ID: Hi Jacque, > Am 11.11.2022 um 22:48 schrieb J. Landman Gay via use-livecode : > > On 11/11/22 5:31 AM, Klaus major-k via use-livecode wrote: >> But now I have no idea what icon to set for what iDevice in LC? See here: >> >> Prerendered icon? Que? 8-) > > You don't need prerendered if you are just using a basic image. ah, so prerendered means an ".icns" file, thank you. > Apple will render the icon for you. > If you hover the mouse over the "..." next to the icon path field, it will tell you the size it expects for that icon. OK, merci, mon amie! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Sat Nov 12 13:24:04 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Nov 2022 12:24:04 -0600 Subject: Easy Android adaptive icons In-Reply-To: References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> Message-ID: <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Not quite. Prerendered means that you have already added glow and shine to the icons. If you want Apple to render the icon according to the style of the phone's current OS, leave prerendered unchecked and Apple will draw the shine effect for you. IPhones don't use .icns files. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 12, 2022 4:35:13 AM Klaus major-k via use-livecode wrote: > > ah, so prerendered means an ".icns" file, thank you. From klaus at major-k.de Sat Nov 12 14:08:00 2022 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Nov 2022 20:08:00 +0100 Subject: Easy Android adaptive icons In-Reply-To: <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque, > Am 12.11.2022 um 19:24 schrieb J. Landman Gay via use-livecode : > > Not quite. Prerendered means that you have already added glow and shine to the icons. If you want Apple to render the icon according to the style of the phone's current OS, leave prerendered unchecked and Apple will draw the shine effect for you. IPhones don't use .icns files. AHA! Thanks for the info. I always learn something new. :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 12, 2022 4:35:13 AM Klaus major-k via use-livecode wrote: >> >> ah, so prerendered means an ".icns" file, thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Sat Nov 12 17:33:30 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Nov 2022 16:33:30 -0600 Subject: About that Enter key Message-ID: Enter does not trigger and doesn't compile for me in the script editor on LC 9.6.9 rc 2. It works in other versions. If you're not having any luck with it, try an older version. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From marksmithhfx at gmail.com Sun Nov 13 03:02:41 2022 From: marksmithhfx at gmail.com (Mark Smith) Date: Sun, 13 Nov 2022 08:02:41 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> Message-ID: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode wrote: > > On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >> I think my odds are better using a cloud >> service than my own efforts at maintaining things. > > I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. > > I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. > > The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. > > BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. > > I haven't lost any data since the original catastrophe. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 jacque at hyperactivesw.com Sun Nov 13 14:22:08 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Nov 2022 13:22:08 -0600 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: <18472712300.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> There is no scheduling, it's all automatic. Time Machine backs up once an hour, then combines the back ups once a day, then once a week, then once a month. When the disk is full it deletes the oldest to make room. With a multi-terrabyte drive that doesn't happen often. It alternates each backup every hour between my two drives. You can add any number of drives and it will rotate every hour among them. The UI combines all the backups into a single visual report so you don't need to figure out which drive stores it. If you don't like the visual display you can use the Finder and grab any backup from there. For convenience, TM creates an alias to the most recent backup on each drive. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 13, 2022 2:05:04 AM Mark Smith via use-livecode wrote: > Brilliant. Im inspired. (I presume you can program Time Machine to use > drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > >> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode >> wrote: >> >> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >>> I think my odds are better using a cloud >>> service than my own efforts at maintaining things. >> >> I do both local and cloud backups. If you haven't set up Time Machine I >> highly recommend it. I have two backup drives on my Mac and Time Machine >> alternates backups between them. I never have to think about it, and it's >> saved me more times than I can count, especially when I save a stack and >> later find out I introduced problems. I just grab the last working copy and >> get back to work. When I travel, I put one of the drives in a safe place at >> home and take the other one with me, just in case. That came in handy once >> when I had to review a script to answer a client's question while I was out >> of town. SSD drives are just a little larger than a cigarette pack, >> inexpensive, and easy to carry. >> >> I also have Google Drive set up to automatically backup a few important >> folders including my client folder. That way I have essentially three >> backups of the important stuff. The good part is that I don't have to do >> anything at all, the copies take care of themselves. >> >> The initial setup happened a couple of decades ago when I lost everything. >> My Mac's hard drive failed suddenly and my entire digital life went with >> it. I'm obsessive now. It's entirely possible to be lazy about backups and >> still have them. >> >> BTW, one or the other backup drives has failed a couple of times over the >> years. I take the dead one offline and Time Machine will continue to backup >> to the other one until I can get a replacement. This happens about every >> 3-5 years. >> >> I haven't lost any data since the original catastrophe. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From matthias_livecode_150811 at m-r-d.de Sun Nov 13 17:36:00 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 13 Nov 2022 23:36:00 +0100 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> As Jacque has written, but in Ventura you can decide if the backup shall be done only manually, every hour, every day or every week. And if you have defined more than one drive for the Time Machine backups and if you have them all connected at the same time to your computer then the first backup is done first on the first one, then the next backup on the second one and so on and then again on the first drive. If you have defined more than one drive for the backup, but you only attach one drive at a time, then the backup is written to that drive. If you attach an other of the defined drives and remove the other one, then the backup is written the newly attached drive. I for example have always 1 "real" drive attached and i also use my Synology NAS as a second drive for the Time Machine backups. Regards, Matthias > Am 13.11.2022 um 09:02 schrieb Mark Smith via use-livecode : > > Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > >> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode wrote: >> >> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >>> I think my odds are better using a cloud >>> service than my own efforts at maintaining things. >> >> I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. >> >> I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. >> >> The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. >> >> BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. >> >> I haven't lost any data since the original catastrophe. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From matthias_livecode_150811 at m-r-d.de Sun Nov 13 17:41:01 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 13 Nov 2022 23:41:01 +0100 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> Message-ID: I forgot to mention that the part with the "multiple drives defined for Time Machine" is valid for all macOS versions, not just Ventura. > Am 13.11.2022 um 23:36 schrieb matthias rebbe via use-livecode : > > As Jacque has written, but > > in Ventura you can decide if the backup shall be done only manually, every hour, every day or every week. > > And if you have defined more than one drive for the Time Machine backups and if you have them all connected at the same time to your computer then the first backup is done first on the first one, then the next backup on the second one and so on and then again on the first drive. > > If you have defined more than one drive for the backup, but you only attach one drive at a time, then the backup is written to that drive. If you attach an other of the defined drives and remove the other one, then the backup is written the newly attached drive. > > I for example have always 1 "real" drive attached and i also use my Synology NAS as a second drive for the Time Machine backups. > > > Regards, > Matthias > > > >> Am 13.11.2022 um 09:02 schrieb Mark Smith via use-livecode : >> >> Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). >> >>> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode wrote: >>> >>> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: >>>> I think my odds are better using a cloud >>>> service than my own efforts at maintaining things. >>> >>> I do both local and cloud backups. If you haven't set up Time Machine I highly recommend it. I have two backup drives on my Mac and Time Machine alternates backups between them. I never have to think about it, and it's saved me more times than I can count, especially when I save a stack and later find out I introduced problems. I just grab the last working copy and get back to work. When I travel, I put one of the drives in a safe place at home and take the other one with me, just in case. That came in handy once when I had to review a script to answer a client's question while I was out of town. SSD drives are just a little larger than a cigarette pack, inexpensive, and easy to carry. >>> >>> I also have Google Drive set up to automatically backup a few important folders including my client folder. That way I have essentially three backups of the important stuff. The good part is that I don't have to do anything at all, the copies take care of themselves. >>> >>> The initial setup happened a couple of decades ago when I lost everything. My Mac's hard drive failed suddenly and my entire digital life went with it. I'm obsessive now. It's entirely possible to be lazy about backups and still have them. >>> >>> BTW, one or the other backup drives has failed a couple of times over the years. I take the dead one offline and Time Machine will continue to backup to the other one until I can get a replacement. This happens about every 3-5 years. >>> >>> I haven't lost any data since the original catastrophe. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 14 07:51:16 2022 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 14 Nov 2022 07:51:16 -0500 Subject: itemoffset & wholematches Message-ID: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Hi list, I have a variable with a content of 3 lines as follows : 1 sombre brun profond 2 flou incertain 3 inexplor mystrieux inconnu The separator between words is tab. I want to check if a certain word is among the items as a whole. The following script returns "6" : set itemdel to tab set the wholematches to false put itemoffset("incertain",myVar) The following script returns "0" : set itemdel to tab set the wholematches to true put itemoffset("incertain",myVar) The following script returns "7" : set itemdel to tab set the wholematches to true replace return with tab in myVar put itemoffset("incertain",myVar) Scripts 1 & 3 are logical, but any logical explanation for the result of script 2 ? Does it mean that the return char after the word is considered as part of the word ? Thanks in advance. jbv From MikeKerner at roadrunner.com Mon Nov 14 09:00:04 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 09:00:04 -0500 Subject: itemoffset & wholematches In-Reply-To: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: you set the itemDelimiter to tab. the is part of the item. From MikeKerner at roadrunner.com Mon Nov 14 09:03:54 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 09:03:54 -0500 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: the easy way to fix this problem: replace cr with tab in myVar -- but if the line endings matter, this isn't great On Mon, Nov 14, 2022 at 9:00 AM Mike Kerner wrote: > you set the itemDelimiter to tab. the is part of the item. > -- 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 MikeKerner at roadrunner.com Mon Nov 14 09:12:23 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 09:12:23 -0500 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> <71EFC10D-4213-41F9-959B-A7724EA9915B@m-r-d.de> Message-ID: just one note that has bitten me, about using these cloud backup services: they are not great at storing databases (which includes git repos, since the git tree is just a db). there are db's that take snapshots as part of their backup process (then you backup the snapshot, not the db). backing up a db via cloud storage (again, including a git repo) will eventually burn you. you can fix it, but it can take hours. but with time machine/retrospect/etc. - no issues. On Sun, Nov 13, 2022 at 5:41 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I forgot to mention that the part with the "multiple drives defined for > Time Machine" is valid for all macOS versions, not just Ventura. > > > > Am 13.11.2022 um 23:36 schrieb matthias rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > As Jacque has written, but > > > > in Ventura you can decide if the backup shall be done only manually, > every hour, every day or every week. > > > > And if you have defined more than one drive for the Time Machine > backups and if you have them all connected at the same time to your > computer then the first backup is done first on the first one, then the > next backup on the second one and so on and then again on the first drive. > > > > If you have defined more than one drive for the backup, but you only > attach one drive at a time, then the backup is written to that drive. If > you attach an other of the defined drives and remove the other one, then > the backup is written the newly attached drive. > > > > I for example have always 1 "real" drive attached and i also use my > Synology NAS as a second drive for the Time Machine backups. > > > > > > Regards, > > Matthias > > > > > > > >> Am 13.11.2022 um 09:02 schrieb Mark Smith via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Brilliant. I’m inspired. (I presume you can program Time Machine to use > drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > >> > >>> On 11 Nov 2022, at 9:45 pm, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> On 11/10/22 12:40 PM, Geoff Canyon via use-livecode wrote: > >>>> I think my odds are better using a cloud > >>>> service than my own efforts at maintaining things. > >>> > >>> I do both local and cloud backups. If you haven't set up Time Machine > I highly recommend it. I have two backup drives on my Mac and Time Machine > alternates backups between them. I never have to think about it, and it's > saved me more times than I can count, especially when I save a stack and > later find out I introduced problems. I just grab the last working copy and > get back to work. When I travel, I put one of the drives in a safe place at > home and take the other one with me, just in case. That came in handy once > when I had to review a script to answer a client's question while I was out > of town. SSD drives are just a little larger than a cigarette pack, > inexpensive, and easy to carry. > >>> > >>> I also have Google Drive set up to automatically backup a few > important folders including my client folder. That way I have essentially > three backups of the important stuff. The good part is that I don't have to > do anything at all, the copies take care of themselves. > >>> > >>> The initial setup happened a couple of decades ago when I lost > everything. My Mac's hard drive failed suddenly and my entire digital life > went with it. I'm obsessive now. It's entirely possible to be lazy about > backups and still have them. > >>> > >>> BTW, one or the other backup drives has failed a couple of times over > the years. I take the dead one offline and Time Machine will continue to > backup to the other one until I can get a replacement. This happens about > every 3-5 years. > >>> > >>> I haven't lost any data since the original catastrophe. > >>> > >>> -- > >>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>> HyperActive Software | http://www.hyperactivesw.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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Mon Nov 14 11:56:11 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 16:56:11 +0000 Subject: Easy Android adaptive icons In-Reply-To: References: <212acc76-a61a-e162-dde4-75d2c6a8ef62@hyperactivesw.com> <43208CB6-C7F1-44FC-9DE0-F2AE152784EC@major-k.de> <62eaab6c-1615-b0fa-668c-c26cd29a13c7@hyperactivesw.com> <1846d159da0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <047B895D-5F30-4BB2-9F3C-3ABC513E663B@iotecdigital.com> I am always learning new things as well, only on account of I forget so much. Bob S On Nov 12, 2022, at 11:08 , Klaus major-k via use-livecode > wrote: Hi Jacque, Am 12.11.2022 um 19:24 schrieb J. Landman Gay via use-livecode >: Not quite. Prerendered means that you have already added glow and shine to the icons. If you want Apple to render the icon according to the style of the phone's current OS, leave prerendered unchecked and Apple will draw the shine effect for you. IPhones don't use .icns files. AHA! Thanks for the info. I always learn something new. :-) -- Jacqueline Landman Gay | jacque at hyperactivesw.com From bobsneidar at iotecdigital.com Mon Nov 14 11:58:19 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 16:58:19 +0000 Subject: About that Enter key In-Reply-To: References: Message-ID: Ahah! For my part, I just recently updated to RC2 because of the Nested Datagrid Behavior fix. (Thanks again LC). But it really doesn't matter to me as I am in the habit of using Tab to format the script, and Save as a means of compiling and saving at the same time. Bob S > On Nov 12, 2022, at 14:33 , J. Landman Gay via use-livecode wrote: > > Enter does not trigger and doesn't compile for me in the script editor on LC 9.6.9 rc 2. It works in other versions. If you're not having any luck with it, try an older version. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 bobsneidar at iotecdigital.com Mon Nov 14 12:00:56 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 17:00:56 +0000 Subject: itemoffset & wholematches In-Reply-To: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Why not just use is among the items? Bob S > On Nov 14, 2022, at 04:51 , jbv via use-livecode wrote: > > Hi list, > > I have a variable with a content of 3 lines as follows : > 1 sombre brun profond > 2 flou incertain > 3 inexploré mystérieux inconnu > > The separator between words is tab. > I want to check if a certain word is among the items as a whole. > > The following script returns "6" : > set itemdel to tab > set the wholematches to false > put itemoffset("incertain",myVar) > > The following script returns "0" : > set itemdel to tab > set the wholematches to true > put itemoffset("incertain",myVar) > > The following script returns "7" : > set itemdel to tab > set the wholematches to true > replace return with tab in myVar > put itemoffset("incertain",myVar) > > Scripts 1 & 3 are logical, but any logical explanation > for the result of script 2 ? Does it mean that the return > char after the word is considered as part of the word ? > > Thanks 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 bobsneidar at iotecdigital.com Mon Nov 14 12:05:05 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 17:05:05 +0000 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: There is a utility that can actually modify the schedule. I downloaded it and am using it at home, but currently I am at work. I'll try to remember to check that when I get home, but you can google it. Bob S On Nov 13, 2022, at 24:02 , Mark Smith via use-livecode > wrote: Brilliant. I’m inspired. (I presume you can program Time Machine to use drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). From merakosp at gmail.com Mon Nov 14 12:19:16 2022 From: merakosp at gmail.com (panagiotis m) Date: Mon, 14 Nov 2022 19:19:16 +0200 Subject: Anyone any experience with Livecode under Ventura? In-Reply-To: References: <82b1327b-44ff-c8d9-4d10-d319031c199e@hyperactivesw.com> <8D14F17F-2147-4C00-9637-CCBDB294C761@gmail.com> Message-ID: Hello all, We received a report about "Close and remove from memory" not working on MacOS Ventura (https://quality.livecode.com/show_bug.cgi?id=24008). I have not upgraded yet - so I was wondering if anyone has seen this issue on MacOS Ventura? Kind regards, Panos -- On Mon, 14 Nov 2022 at 19:06, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > There is a utility that can actually modify the schedule. I downloaded it > and am using it at home, but currently I am at work. I'll try to remember > to check that when I get home, but you can google it. > > Bob S > > > On Nov 13, 2022, at 24:02 , Mark Smith via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > Brilliant. I’m inspired. (I presume you can program Time Machine to use > drive A on Mon, Wed, Fri, drive B on Tues, Thurs, Sat kind of thing?). > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 14 13:15:52 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Nov 2022 13:15:52 -0500 Subject: itemoffset & wholematches In-Reply-To: <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: that still won't work if the text is the last item of a line. in the example, below, i've taken his original, replaced the tabs with commas, and for the purpose of being able to read what's going on, substituted the cr for a backslash, and added a line to substitute it back for the test. *put* "1,sombre,burn,profound\2,flou,incertain\3,inexploré,mystériux,inconnu" into myVar *replace* "\" with cr in myVar *put* "profound" is among the items of myVar On Mon, Nov 14, 2022 at 12:01 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Why not just use is among the items? > > Bob S > > > > On Nov 14, 2022, at 04:51 , jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi list, > > > > I have a variable with a content of 3 lines as follows : > > 1 sombre brun profond > > 2 flou incertain > > 3 inexploré mystérieux inconnu > > > > The separator between words is tab. > > I want to check if a certain word is among the items as a whole. > > > > The following script returns "6" : > > set itemdel to tab > > set the wholematches to false > > put itemoffset("incertain",myVar) > > > > The following script returns "0" : > > set itemdel to tab > > set the wholematches to true > > put itemoffset("incertain",myVar) > > > > The following script returns "7" : > > set itemdel to tab > > set the wholematches to true > > replace return with tab in myVar > > put itemoffset("incertain",myVar) > > > > Scripts 1 & 3 are logical, but any logical explanation > > for the result of script 2 ? Does it mean that the return > > char after the word is considered as part of the word ? > > > > Thanks 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 > -- 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 Mon Nov 14 13:43:19 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 18:43:19 +0000 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: oic. Odd use case. I suppose a lineOffset function followed by is among the items could be used. If he needs the lines to remain intact he could also replace cr with tab & cr first. Bob S On Nov 14, 2022, at 10:15 , Mike Kerner via use-livecode > wrote: that still won't work if the text is the last item of a line. From alex at tweedly.net Mon Nov 14 14:45:20 2022 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 14 Nov 2022 19:45:20 +0000 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: That would deal with the last item in a line - but not the first. Should do    replace CR with TAB & CR & TAB in ... and reverse later if needed. Alex. On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: > oic. Odd use case. I suppose a lineOffset function followed by is among the items could be used. If he needs the lines to remain intact he could also replace cr with tab & cr first. > > Bob S > > > On Nov 14, 2022, at 10:15 , Mike Kerner via use-livecode > wrote: > > that still won't work if the text is the last item of a line. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 14 14:57:49 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 19:57:49 +0000 Subject: Auto-Complete Message-ID: <074F850B-52F5-4E8B-99FE-1787B647E382@iotecdigital.com> I've probably asked this before, or someone has, but while I really like the suggestions when editing a script, I decidedly do NOT like the auto-encapsulation of things, by which I mean if I type a quote, it happens another quote right after. If I type a left square bracket, it appends a right square bracket right after. I know this is supposed to help me, but in reality it keeps getting in my way. I end up having to correct my scripts because I typed an extra quote or square bracket. Is there a way to keep the popup suggestions without the auto-completing quotes, brackets and parenthesis? Bob S From bobsneidar at iotecdigital.com Mon Nov 14 15:01:02 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Nov 2022 20:01:02 +0000 Subject: Auto-Complete In-Reply-To: <074F850B-52F5-4E8B-99FE-1787B647E382@iotecdigital.com> References: <074F850B-52F5-4E8B-99FE-1787B647E382@iotecdigital.com> Message-ID: <6588D23A-7B7A-419C-827A-0D10296429AA@iotecdigital.com> As usual, nvm. I found it in the SE Edit Menu. I think Jacque answered this for me before. Bob S > On Nov 14, 2022, at 11:57 , Bob Sneidar wrote: > > I've probably asked this before, or someone has, but while I really like the suggestions when editing a script, I decidedly do NOT like the auto-encapsulation of things, by which I mean if I type a quote, it happens another quote right after. If I type a left square bracket, it appends a right square bracket right after. > > I know this is supposed to help me, but in reality it keeps getting in my way. I end up having to correct my scripts because I typed an extra quote or square bracket. > > Is there a way to keep the popup suggestions without the auto-completing quotes, brackets and parenthesis? > > Bob S > From jacque at hyperactivesw.com Mon Nov 14 15:07:25 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Nov 2022 14:07:25 -0600 Subject: itemoffset & wholematches In-Reply-To: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> Message-ID: <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> How about a one-liner: put wordOffset("incertain",myVar) If the words ever have punctuation attached, use trueWordOffset. On 11/14/22 6:51 AM, jbv via use-livecode wrote: > Hi list, > > I have a variable with a content of 3 lines as follows : > 1    sombre    brun    profond > 2    flou    incertain > 3    inexploré    mystérieux    inconnu > > The separator between words is tab. > I want to check if a certain word is among the items as a whole. > > The following script returns "6" : >    set itemdel to tab >    set the wholematches to false >    put itemoffset("incertain",myVar) > > The following script returns "0" : >    set itemdel to tab >    set the wholematches to true >    put itemoffset("incertain",myVar) > > The following script returns "7" : >    set itemdel to tab >    set the wholematches to true >    replace return with tab in myVar >    put itemoffset("incertain",myVar) > > Scripts 1 & 3 are logical, but any logical explanation > for the result of script 2 ? Does it mean that the return > char after the word is considered as part of the word ? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Mon Nov 14 19:50:15 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Mon, 14 Nov 2022 19:50:15 -0500 Subject: IP address and Country In-Reply-To: <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> Message-ID: <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Greetings LiveCoders, I’m trying to set up an LC Server routine to retrieve the country name where the user is supposedly located by using the user’s IP Address and a cross-reference table. I’m sure someone here must have done something similar in the past and I was wondering what the best method would be for processing the data. I can set up either an IP4 or IP6 database, or one that has both, but the number of records to search is over 400,000 for just IP4. Is one easier than the other to implement? What problems have people run into trying to do this in the past, and what should I do? Suggestions? Thanks, Rick From bobsneidar at iotecdigital.com Mon Nov 14 19:57:53 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 15 Nov 2022 00:57:53 +0000 Subject: IP address and Country In-Reply-To: <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: Is that a fixed thing? Can it ever change? Seems like there must be a web site for that. I found https://www.ipvoid.com/ip-to-country/. They may license the tool that does this. Bob S On Nov 14, 2022, at 16:50 , harrison--- via use-livecode > wrote: Greetings LiveCoders, I’m trying to set up an LC Server routine to retrieve the country name where the user is supposedly located by using the user’s IP Address and a cross-reference table. I’m sure someone here must have done something similar in the past and I was wondering what the best method would be for processing the data. I can set up either an IP4 or IP6 database, or one that has both, but the number of records to search is over 400,000 for just IP4. Is one easier than the other to implement? What problems have people run into trying to do this in the past, and what should I do? Suggestions? Thanks, Rick _______________________________________________ use-livecode mailing list use-livecode 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 harrison at all-auctions.com Mon Nov 14 21:34:45 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Mon, 14 Nov 2022 21:34:45 -0500 Subject: IP address and Country In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> Hi Bob, Yes, that website illustrates what I’m trying to do, but I really need my own code for this. Thanks for the suggestion anyway. Rick > On Nov 14, 2022, at 7:57 PM, Bob Sneidar via use-livecode wrote: > > Is that a fixed thing? Can it ever change? Seems like there must be a web site for that. I found https://www.ipvoid.com/ip-to-country/ . They may license the tool that does this. > > Bob S From mkoob at rogers.com Mon Nov 14 23:22:15 2022 From: mkoob at rogers.com (Martin Koob) Date: Mon, 14 Nov 2022 23:22:15 -0500 Subject: IP address and Country In-Reply-To: <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> Message-ID: You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. Here is an example I found of one site. https://ipapi.co/api/#introduction HTTP Request GET https://ipapi.co/{ip}/{format}/ URL Parameters Parameter Description ip An IP address for which you want to retrieve the location format Data format of response, possible values are json, jsonp, xml, csv, yaml E.g. https://ipapi.co/8.8.8.8/json/ It is free for up to 30K requests per month, after that there is a fee. https://ipapi.co/#pricing Martin Koob > On Nov 14, 2022, at 9:34 PM, harrison--- via use-livecode wrote: > > Hi Bob, > > Yes, that website illustrates what I’m trying to do, but > I really need my own code for this. > > Thanks for the suggestion anyway. > > Rick > >> On Nov 14, 2022, at 7:57 PM, Bob Sneidar via use-livecode wrote: >> >> Is that a fixed thing? Can it ever change? Seems like there must be a web site for that. I found https://www.ipvoid.com/ip-to-country/ . They may license the tool that does this. >> >> 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 jbv at souslelogo.com Tue Nov 15 04:33:39 2022 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 15 Nov 2022 04:33:39 -0500 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> Message-ID: <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> Hi guys, Thank you all for your answers. Actually I thought that some "hierarchy"remained (items inside lines) when using itemoffset, but obviously I was wrong. I have about 60000 variables to check, so I need my script to be as fast as possible. I use "replace CR with TAB & CR & TAB in ...", but as I need to get the exact itemoffset digit, I also need to count how many items I have added and substract that number from the result, which is quite cumbersome and slow... To Jacqueline : Thanks fro the suggestion, but I have to stick with items and itemoffset, for some items can contain more that 1 word, like "pied de biche"... Le 2022-11-14 14:45, Alex Tweedly via use-livecode a crit : > That would deal with the last item in a line - but not the first. > > Should do > >    replace CR with TAB & CR & TAB in ... > > and reverse later if needed. > > Alex. > > On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: >> oic. Odd use case. I suppose a lineOffset function followed by is >> among the items could be used. If he needs the lines to remain intact >> he could also replace cr with tab & cr first. >> From klaus at major-k.de Tue Nov 15 04:55:15 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 10:55:15 +0100 Subject: mergAV uses GLOBAL coordinates? Message-ID: Hi all, I do not won an iPhone, but some users told me that scanning a barcode will show the previewarea way off from where I definde it. Here part of my script: -------------------------------- on mergAVMediaAccess pType, pGranted mergAVCamSet "microphone", empty mergAVCamCreate ## See below... mergAVCamSet "rect",the rect of graphic "qr_ios" ... ---------------------------------- See what happens here: The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in any script that could cause this! So does mergAV use GLOBAL coordinates? Any insight very welcome, thank you! 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 Tue Nov 15 05:14:49 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 11:14:49 +0100 Subject: mergAV uses GLOBAL coordinates? Message-ID: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> Hi all, I do not OWN an iPhone, ... Sorry. -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tore.nilsen at me.com Tue Nov 15 05:19:46 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Nov 2022 11:19:46 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> References: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> Message-ID: <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> > 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode : > > I do not OWN an iPhone, … But you won one? And you have not received it yet? And therefore you cannot make any tests yourself? Best regards Tore Nilsem From klaus at major-k.de Tue Nov 15 05:38:12 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 11:38:12 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> References: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> Message-ID: <71A42C41-5149-4BBD-BA8C-81B5578E0353@major-k.de> Hi Tore, > Am 15.11.2022 um 11:19 schrieb Tore Nilsen via use-livecode : > >> 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode : >> I do not OWN an iPhone, … > But you won one? And you have not received it yet? And therefore you cannot make any tests yourself? no, no and no, that was just a typo! 8-) > Best regards > Tore Nilsem Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tore.nilsen at me.com Tue Nov 15 06:15:49 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Nov 2022 12:15:49 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <71A42C41-5149-4BBD-BA8C-81B5578E0353@major-k.de> References: <9EFB6FF0-8D39-47A2-AE6F-366B306DBF7B@major-k.de> <6776DD85-576E-48E9-9282-AFCF22B265DA@me.com> <71A42C41-5149-4BBD-BA8C-81B5578E0353@major-k.de> Message-ID: <64A7C39E-22AD-4306-9B56-C9DA182FD4A8@me.com> > 15. nov. 2022 kl. 11:38 skrev Klaus major-k via use-livecode : > > Hi Tore, > >> Am 15.11.2022 um 11:19 schrieb Tore Nilsen via use-livecode : >> >>> 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode : >>> I do not OWN an iPhone, … >> But you won one? And you have not received it yet? And therefore you cannot make any tests yourself? > > no, no and no, that was just a typo! 8-) > >> Best regards >> Tore Nilsem > > Best > > Klaus > ;-) Tore From brian at milby7.com Tue Nov 15 07:32:00 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 15 Nov 2022 07:32:00 -0500 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: References: Message-ID: <9BC9162B-E1BC-4B7C-A25B-029F50D1AD9F@milby7.com> What fullscreenmode are you using on that card? Brian Milby brian at milby7.com > On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > I do not won an iPhone, but some users told me that > scanning a barcode will show the previewarea way off > from where I definde it. > > Here part of my script: > -------------------------------- > on mergAVMediaAccess pType, pGranted > mergAVCamSet "microphone", empty > mergAVCamCreate > > ## See below... > mergAVCamSet "rect",the rect of graphic "qr_ios" > ... > ---------------------------------- > See what happens here: > > The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in > any script that could cause this! > > So does mergAV use GLOBAL coordinates? > > Any insight very welcome, thank you! > > > 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 Tue Nov 15 07:50:57 2022 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 15 Nov 2022 12:50:57 +0000 Subject: itemoffset & wholematches In-Reply-To: <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> Message-ID: Hi, I don't know if this will be faster, slower, or what !?! Something like ....   put myVar into tCopy   replace CR with TAB in tCopy   put itemoffset("incertain", tCopy) into tmp   put the number of chars in item 1 to (tmp-1) of tCopy into tCharCount   put the number of items in char 1 to tCharCount of myVar into theRealAnswer Or, depending on what you do next, just go on using charOffset rather than itemOffset for the following code. Alex. On 15/11/2022 09:33, jbv via use-livecode wrote: > Hi guys, > Thank you all for your answers. > > Actually I thought that some "hierarchy"remained (items inside lines) > when using itemoffset, but obviously I was wrong. > I have about 60000 variables to check, so I need my script to be as > fast as possible. I use "replace CR with TAB & CR & TAB in ...", but > as I need to get the exact itemoffset digit, I also need to count > how many items I have added and substract that number from the > result, which is quite cumbersome and slow... > > To Jacqueline : > Thanks fro the suggestion, but I have to stick with items and > itemoffset, for some items can contain more that 1 word, like > "pied de biche"... > > Le 2022-11-14 14:45, Alex Tweedly via use-livecode a crit : >> That would deal with the last item in a line - but not the first. >> >> Should do >> >>    replace CR with TAB & CR & TAB in ... >> >> and reverse later if needed. >> >> Alex. >> >> On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: >>> oic. Odd use case. I suppose a lineOffset function followed by is >>> among the items could be used. If he needs the lines to remain >>> intact he could also replace cr with tab & cr first. >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 15 07:54:18 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 13:54:18 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <9BC9162B-E1BC-4B7C-A25B-029F50D1AD9F@milby7.com> References: <9BC9162B-E1BC-4B7C-A25B-029F50D1AD9F@milby7.com> Message-ID: Hi Brian, > Am 15.11.2022 um 13:32 schrieb Brian Milby via use-livecode : > > What fullscreenmode are you using on that card? I use "showall". However I resized the stack proportionally to the aspect ration of the device, so it "behaves" like fullscreenmode "exactfit". > Brian Milby > brian at milby7.com > >> On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode wrote: >> >> Hi all, >> >> I do not won an iPhone, but some users told me that >> scanning a barcode will show the previewarea way off >> from where I definde it. >> >> Here part of my script: >> -------------------------------- >> on mergAVMediaAccess pType, pGranted >> mergAVCamSet "microphone", empty >> mergAVCamCreate >> >> ## See below... >> mergAVCamSet "rect",the rect of graphic "qr_ios" >> ... >> ---------------------------------- >> See what happens here: >> >> The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in >> any script that could cause this! >> >> So does mergAV use GLOBAL coordinates? >> >> Any insight very welcome, thank you! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From brian at milby7.com Tue Nov 15 08:29:50 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 15 Nov 2022 08:29:50 -0500 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: References: Message-ID: I know that inside any native control, things are drawn at native resolution. A good way to see this is a browser widget. So I’m thinking that that is going to apply in the other direction too. You will need to convert your card coordinates to native coordinates to place the control. I might could play with the math, but it wouldn’t be until much later this evening. If you are already adjusting the aspect ratio, then you probably have a resizeStack handler. It may be easier to just go the next step to using native coordinates. Brian Milby brian at milby7.com > On Nov 15, 2022, at 7:54 AM, Klaus major-k via use-livecode wrote: > > Hi Brian, > >> Am 15.11.2022 um 13:32 schrieb Brian Milby via use-livecode : >> >> What fullscreenmode are you using on that card? > > I use "showall". > However I resized the stack proportionally to the aspect ration of the device, > so it "behaves" like fullscreenmode "exactfit". > >> Brian Milby >> brian at milby7.com >> >>>> On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode wrote: >>> >>> Hi all, >>> >>> I do not won an iPhone, but some users told me that >>> scanning a barcode will show the previewarea way off >>> from where I definde it. >>> >>> Here part of my script: >>> -------------------------------- >>> on mergAVMediaAccess pType, pGranted >>> mergAVCamSet "microphone", empty >>> mergAVCamCreate >>> >>> ## See below... >>> mergAVCamSet "rect",the rect of graphic "qr_ios" >>> ... >>> ---------------------------------- >>> See what happens here: >>> >>> The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in >>> any script that could cause this! >>> >>> So does mergAV use GLOBAL coordinates? >>> >>> Any insight very welcome, thank you! > > 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 klaus at major-k.de Tue Nov 15 08:38:19 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 14:38:19 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: References: Message-ID: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> Hi Brian, > Am 15.11.2022 um 14:29 schrieb Brian Milby via use-livecode : > > I know that inside any native control, things are drawn at native resolution. A good way to see this is a browser widget. So I’m thinking that that is going to apply in the other direction too. You will need to convert your card coordinates to native coordinates to place the control. Then this should go into the dictiuonary with 128 point fontsize! > I might could play with the math, but it wouldn’t be until much later this evening. thanks, already got it: ------------------------------------------ ## KM ... put the topleft of grc "qr_ios" into tRect1 put the bottomright of grc "qr_ios" into tRect2 put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect mergAVCamSet "rect",tRect ## KM ... ----------------------------------------- > If you are already adjusting the aspect ratio, then you probably have a resizeStack handler. How did you know? :-D > It may be easier to just go the next step to using native coordinates. I did, now I'm wating for a feedback of my tester > Brian Milby > brian at milby7.com 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 Nov 15 11:11:15 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 15 Nov 2022 16:11:15 +0000 Subject: itemoffset & wholematches In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> Message-ID: <7D7B08E5-B0BE-4AA3-9054-ADDE3A990244@iotecdigital.com> If the data always contains the same number of items, I again highly recommend pushing everything to a memory based sqLite file then doing queries on it. Bob S On Nov 15, 2022, at 04:50 , Alex Tweedly via use-livecode > wrote: Hi, I don't know if this will be faster, slower, or what !?! Something like .... put myVar into tCopy replace CR with TAB in tCopy put itemoffset("incertain", tCopy) into tmp put the number of chars in item 1 to (tmp-1) of tCopy into tCharCount put the number of items in char 1 to tCharCount of myVar into theRealAnswer Or, depending on what you do next, just go on using charOffset rather than itemOffset for the following code. Alex. On 15/11/2022 09:33, jbv via use-livecode wrote: Hi guys, Thank you all for your answers. Actually I thought that some "hierarchy"remained (items inside lines) when using itemoffset, but obviously I was wrong. I have about 60000 variables to check, so I need my script to be as fast as possible. I use "replace CR with TAB & CR & TAB in ...", but as I need to get the exact itemoffset digit, I also need to count how many items I have added and substract that number from the result, which is quite cumbersome and slow... To Jacqueline : Thanks fro the suggestion, but I have to stick with items and itemoffset, for some items can contain more that 1 word, like "pied de biche"... Le 2022-11-14 14:45, Alex Tweedly via use-livecode a écrit : That would deal with the last item in a line - but not the first. Should do replace CR with TAB & CR & TAB in ... and reverse later if needed. Alex. On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote: oic. Odd use case. I suppose a lineOffset function followed by is among the items could be used. If he needs the lines to remain intact he could also replace cr with tab & cr first. _______________________________________________ use-livecode mailing list use-livecode 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 Tue Nov 15 11:23:09 2022 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 15 Nov 2022 11:23:09 -0500 Subject: itemoffset & wholematches In-Reply-To: <7D7B08E5-B0BE-4AA3-9054-ADDE3A990244@iotecdigital.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <9FD87195-DE0F-42E1-BED5-0ABEFDC81EBE@iotecdigital.com> <8175f89fa5ae157e2b3d23518e3dafea@souslelogo.com> <7D7B08E5-B0BE-4AA3-9054-ADDE3A990244@iotecdigital.com> Message-ID: <99f14b8bacf80e4d4951dbbf02cc9ae2@souslelogo.com> Again guys, thank you for your suggestions. But finally I gave up using itemoffset and worked with arrays instead, which is much much faster : my script processes the 60000 variables in less than 15 secs. From harrison at all-auctions.com Tue Nov 15 12:12:13 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Tue, 15 Nov 2022 12:12:13 -0500 Subject: IP address and Country In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> Message-ID: <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> Hi Martin, Thanks for the information, but what I really want is a LiveCode solution that doesn’t depend on third parties. I have the database. I was asking if other people here had come up with a fast LiveCode solution. If all else fails, I will look into one of the third party suggestions, but third parties can change their code or suddenly disappear off of the internet. I don’t want my website breaking all the time due to such dependencies. Thanks again, Rick > On Nov 14, 2022, at 11:22 PM, Martin Koob wrote: > > You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. > > Here is an example I found of one site. > > https://ipapi.co/api/#introduction > > HTTP Request > > GET https://ipapi.co/{ip}/{format}/ > > URL Parameters > > Parameter Description > ip An IP address for which you want to retrieve the location > format Data format of response, possible values are json, jsonp, xml, csv, yaml > > E.g. > > https://ipapi.co/8.8.8.8/json/ > > It is free for up to 30K requests per month, after that there is a fee. > > https://ipapi.co/#pricing > > Martin Koob From alex at tweedly.net Tue Nov 15 13:35:33 2022 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 15 Nov 2022 18:35:33 +0000 Subject: IP address and Country In-Reply-To: <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> Message-ID: <6721fdde-ba00-7aef-c3ae-7b063a8581fd@tweedly.net> Hi Rick, I had missed the fact that you said you already had the database - that makes it a much easier problem :-) While I don't have any Livecode code for this, I do have some C code for a (probably) very similar problem. If you can describe the format of your database, and the query you want to make, I'll see if what I have is a good starting place, and then convert the C code if practical. Thanks, Alex. On 15/11/2022 17:12, harrison--- via use-livecode wrote: > Hi Martin, > > Thanks for the information, but what I really want is a LiveCode solution > that doesnt depend on third parties. > > I have the database. I was asking if other people here > had come up with a fast LiveCode solution. > > If all else fails, I will look into one of the third party suggestions, > but third parties can change their code or suddenly disappear > off of the internet. I dont want my website breaking all the time > due to such dependencies. > > Thanks again, > > Rick > > >> On Nov 14, 2022, at 11:22 PM, Martin Koob wrote: >> >> You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. >> >> Here is an example I found of one site. >> >> https://ipapi.co/api/#introduction >> >> HTTP Request >> >> GET https://ipapi.co/{ip}/{format}/ >> >> URL Parameters >> >> Parameter Description >> ip An IP address for which you want to retrieve the location >> format Data format of response, possible values are json, jsonp, xml, csv, yaml >> >> E.g. >> >> https://ipapi.co/8.8.8.8/json/ >> >> It is free for up to 30K requests per month, after that there is a fee. >> >> https://ipapi.co/#pricing >> >> Martin Koob > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nov 15 14:17:13 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 20:17:13 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> References: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> Message-ID: <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> Hi Brian, I now have the proof that mergAV DOES in fact needs global coordinates. Thanks for that, Matthias! This (as found in the dictionary) gives you the offset: ... mergAVCamSet "rect",the rect of graphic "qr_ios" ... However THIS is neccessary to make it work correctly: ... put the topleft of grc "qr_ios" into tRect1 put the bottomright of grc "qr_ios" into tRect2 put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect mergAVCamSet "rect",tRect ... I really wonder why noone noticed this before!? Will create a bug report for thhis later this evening. > Am 15.11.2022 um 14:38 schrieb Klaus major-k via use-livecode : > > Hi Brian, > >> Am 15.11.2022 um 14:29 schrieb Brian Milby via use-livecode : >> >> I know that inside any native control, things are drawn at native resolution. A good way to see this is a browser widget. So I’m thinking that that is going to apply in the other direction too. You will need to convert your card coordinates to native coordinates to place the control. > Then this should go into the dictionary with 128 point fontsize! THIS! >> I might could play with the math, but it wouldn’t be until much later this evening. > ... >> Brian Milby >> brian at milby7.com 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 Tue Nov 15 14:42:21 2022 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Nov 2022 20:42:21 +0100 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> References: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> Message-ID: <78B682C8-9756-4BA1-A0BF-FE54A9205D23@major-k.de> Hi all, looks like this is a known bug: > Am 15.11.2022 um 20:17 schrieb Klaus major-k via use-livecode : > > Hi Brian, > > I now have the proof that mergAV DOES in fact needs global coordinates. > Thanks for that, Matthias! > > This (as found in the dictionary) gives you the offset: > ... > mergAVCamSet "rect",the rect of graphic "qr_ios" > ... > > However THIS is neccessary to make it work correctly: > ... > put the topleft of grc "qr_ios" into tRect1 > put the bottomright of grc "qr_ios" into tRect2 > put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect > mergAVCamSet "rect",tRect > ... > I really wonder why noone noticed this before!? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From harrison at all-auctions.com Tue Nov 15 17:31:03 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Tue, 15 Nov 2022 17:31:03 -0500 Subject: IP address and Country In-Reply-To: <6721fdde-ba00-7aef-c3ae-7b063a8581fd@tweedly.net> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> <601F63AC-ED0A-4299-81BC-014EFBEFEE55@all-auctions.com> <9561DD3B-E923-4E45-90AF-6A8EA19A12F1@all-auctions.com> <6721fdde-ba00-7aef-c3ae-7b063a8581fd@tweedly.net> Message-ID: Hi Alex, Sorry, it’s been a really busy day here. I can’t get back to this problem until tomorrow. Don’t drag out your C code just yet, I have some ideas to try. Thanks, Rick > On Nov 15, 2022, at 1:35 PM, Alex Tweedly via use-livecode wrote: > > Hi Rick, > > I had missed the fact that you said you already had the database - that makes it a much easier problem :-) > > While I don't have any Livecode code for this, I do have some C code for a (probably) very similar problem. > > If you can describe the format of your database, and the query you want to make, I'll see if what I have is a good starting place, and then convert the C code if practical. > > Thanks, > > Alex. > > On 15/11/2022 17:12, harrison--- via use-livecode wrote: >> Hi Martin, >> >> Thanks for the information, but what I really want is a LiveCode solution >> that doesn’t depend on third parties. >> >> I have the database. I was asking if other people here >> had come up with a fast LiveCode solution. >> >> If all else fails, I will look into one of the third party suggestions, >> but third parties can change their code or suddenly disappear >> off of the internet. I don’t want my website breaking all the time >> due to such dependencies. >> >> Thanks again, >> >> Rick >> >> >>> On Nov 14, 2022, at 11:22 PM, Martin Koob wrote: >>> >>> You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info. >>> >>> Here is an example I found of one site. >>> >>> https://ipapi.co/api/#introduction >>> >>> HTTP Request >>> >>> GET https://ipapi.co/{ip}/{format}/ >>> >>> URL Parameters >>> >>> Parameter Description >>> ip An IP address for which you want to retrieve the location >>> format Data format of response, possible values are json, jsonp, xml, csv, yaml >>> >>> E.g. >>> >>> https://ipapi.co/8.8.8.8/json/ >>> >>> It is free for up to 30K requests per month, after that there is a fee. >>> >>> https://ipapi.co/#pricing >>> >>> Martin Koob >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 klaus at major-k.de Wed Nov 16 06:47:47 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Nov 2022 12:47:47 +0100 Subject: Can we install "command Line Tools 14.1" on Mac? Message-ID: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> Hi all, I know that LC is not compatible with Xcode 14. But what about the command line tools? Is it safe to install the latest version 14.1? 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 Wed Nov 16 09:58:33 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 16 Nov 2022 09:58:33 -0500 Subject: mergAV uses GLOBAL coordinates? In-Reply-To: <78B682C8-9756-4BA1-A0BF-FE54A9205D23@major-k.de> References: <7776E83F-722F-4A1A-9C0E-BD9BF8804E67@major-k.de> <55CBB259-9E2C-4DB2-B02E-5124CA4FC1E0@major-k.de> <78B682C8-9756-4BA1-A0BF-FE54A9205D23@major-k.de> Message-ID: just checking into this thread, for the first time. you already figured out the important part: it uses global coords. the example code that i have includes taking that into account. it's actually part of a larger routine that sets all the mergav props for barcode scanning. On Tue, Nov 15, 2022 at 2:42 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > looks like this is a known bug: > > > > Am 15.11.2022 um 20:17 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Brian, > > > > I now have the proof that mergAV DOES in fact needs global coordinates. > > Thanks for that, Matthias! > > > > This (as found in the dictionary) gives you the offset: > > ... > > mergAVCamSet "rect",the rect of graphic "qr_ios" > > ... > > > > However THIS is neccessary to make it work correctly: > > ... > > put the topleft of grc "qr_ios" into tRect1 > > put the bottomright of grc "qr_ios" into tRect2 > > put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect > > mergAVCamSet "rect",tRect > > ... > > I really wonder why noone noticed this before!? > > 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 rdimola at evergreeninfo.net Wed Nov 16 10:21:25 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 16 Nov 2022 10:21:25 -0500 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> Message-ID: <001f01d8f9cf$1a726240$4f5726c0$@net> You can install any number of Xcode versions. Just point the build tools to 13.2.1. In terminal Xcode-select --print-path Will show the current selected path to xcode.app for building sudo xcode-select --switch PathToXcode13 will set the build tools path 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 Klaus major-k via use-livecode Sent: Wednesday, November 16, 2022 6:48 AM To: How to use LiveCode Cc: Klaus major-k Subject: Can we install "command Line Tools 14.1" on Mac? Hi all, I know that LC is not compatible with Xcode 14. But what about the command line tools? Is it safe to install the latest version 14.1? 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 klaus at major-k.de Wed Nov 16 10:24:33 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Nov 2022 16:24:33 +0100 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <001f01d8f9cf$1a726240$4f5726c0$@net> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> Message-ID: <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> Hi Ralph, > Am 16.11.2022 um 16:21 schrieb Ralph DiMola via use-livecode : > > You can install any number of Xcode versions. Just point the build tools to > 13.2.1. > In terminal > Xcode-select --print-path > Will show the current selected path to xcode.app for building > sudo xcode-select --switch PathToXcode13 > will set the build tools path yes, thank you, but that was not my question. 8-) I was asking abou the Xcode "Command Line Tools". > 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 Klaus major-k via use-livecode > Sent: Wednesday, November 16, 2022 6:48 AM > To: How to use LiveCode > Cc: Klaus major-k > Subject: Can we install "command Line Tools 14.1" on Mac? > > Hi all, > > I know that LC is not compatible with Xcode 14. > > But what about the command line tools? > Is it safe to install the latest version 14.1? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From rdimola at evergreeninfo.net Wed Nov 16 11:13:19 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 16 Nov 2022 11:13:19 -0500 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> Message-ID: <002301d8f9d6$5a86c950$0f945bf0$@net> Didn't test but I don't see why not as long as there is a 13.2.1 to build LC apps against. Panos? 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 Klaus major-k via use-livecode Sent: Wednesday, November 16, 2022 10:25 AM To: How to use LiveCode Cc: Klaus major-k Subject: Re: Can we install "command Line Tools 14.1" on Mac? Hi Ralph, > Am 16.11.2022 um 16:21 schrieb Ralph DiMola via use-livecode : > > You can install any number of Xcode versions. Just point the build > tools to 13.2.1. > In terminal > Xcode-select --print-path > Will show the current selected path to xcode.app for building sudo > xcode-select --switch PathToXcode13 will set the build tools path yes, thank you, but that was not my question. 8-) I was asking abou the Xcode "Command Line Tools". > 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 Klaus major-k via use-livecode > Sent: Wednesday, November 16, 2022 6:48 AM > To: How to use LiveCode > Cc: Klaus major-k > Subject: Can we install "command Line Tools 14.1" on Mac? > > Hi all, > > I know that LC is not compatible with Xcode 14. > > But what about the command line tools? > Is it safe to install the latest version 14.1? 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 merakosp at gmail.com Wed Nov 16 11:24:10 2022 From: merakosp at gmail.com (panagiotis m) Date: Wed, 16 Nov 2022 18:24:10 +0200 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: <002301d8f9d6$5a86c950$0f945bf0$@net> References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> <002301d8f9d6$5a86c950$0f945bf0$@net> Message-ID: Hello all, Yes, you can install any version of the command line tools you wish, but for LiveCode you need the version that is included in Xcode 13.2.x. So to use a different version you can do: sudo xcode-select -s /path/to/the/new/version/of/command/line/tools But before using LiveCode, make sure you revert to using version 13.2.x. You can also choose the version of the command line tools to be used by launching any version of Xcode and go to Xcode -> Preferences -> Locations -> Command Line Tools @Klaus May I ask why you are interested in the command line tools v14.1? Do you need them for another app? Kind regards, Panos -- On Wed, 16 Nov 2022 at 18:13, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Didn't test but I don't see why not as long as there is a 13.2.1 to build > LC > apps against. > Panos? > > 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 Klaus major-k via use-livecode > Sent: Wednesday, November 16, 2022 10:25 AM > To: How to use LiveCode > Cc: Klaus major-k > Subject: Re: Can we install "command Line Tools 14.1" on Mac? > > Hi Ralph, > > > Am 16.11.2022 um 16:21 schrieb Ralph DiMola via use-livecode > : > > > > You can install any number of Xcode versions. Just point the build > > tools to 13.2.1. > > In terminal > > Xcode-select --print-path > > Will show the current selected path to xcode.app for building sudo > > xcode-select --switch PathToXcode13 will set the build tools path > > yes, thank you, but that was not my question. 8-) I was asking abou the > Xcode "Command Line Tools". > > > 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 Klaus major-k via use-livecode > > Sent: Wednesday, November 16, 2022 6:48 AM > > To: How to use LiveCode > > Cc: Klaus major-k > > Subject: Can we install "command Line Tools 14.1" on Mac? > > > > Hi all, > > > > I know that LC is not compatible with Xcode 14. > > > > But what about the command line tools? > > Is it safe to install the latest version 14.1? > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Nov 16 11:28:11 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Nov 2022 17:28:11 +0100 Subject: Can we install "command Line Tools 14.1" on Mac? In-Reply-To: References: <837E6FD7-05BE-492A-9FAB-083F56958E06@major-k.de> <001f01d8f9cf$1a726240$4f5726c0$@net> <2E2D5ED4-7392-4B3E-B199-8408D85DF730@major-k.de> <002301d8f9d6$5a86c950$0f945bf0$@net> Message-ID: Hi Panos, > Am 16.11.2022 um 17:24 schrieb panagiotis m via use-livecode : > > Hello all, > > Yes, you can install any version of the command line tools you wish, but > for LiveCode you need the version that is included in Xcode 13.2.x. > So to use a different version you can do: > sudo xcode-select -s /path/to/the/new/version/of/command/line/tools > But before using LiveCode, make sure you revert to using version 13.2.x. > You can also choose the version of the command line tools to be used by > launching any version of Xcode and go to Xcode -> Preferences -> Locations > -> Command Line Tools > @Klaus > May I ask why you are interested in the command line tools v14.1? Do you > need them for another app? no, it is just the Finder that annoys me every day with the info that there are new command line tools and if I wish to install them. :-) > Kind regards, > Panos > -- > > > > On Wed, 16 Nov 2022 at 18:13, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Didn't test but I don't see why not as long as there is a 13.2.1 to build >> LC >> apps against. >> Panos? >> >> Ralph DiMola Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Mon Nov 21 16:24:15 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Nov 2022 15:24:15 -0600 Subject: Lock screen challenge Message-ID: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: lock screen -- do any number of things unlock screen with These all need to be changed to: lock screen for visual effect -- do any number of things unlock screen with visual effect The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From craig at starfirelighting.com Mon Nov 21 16:30:57 2022 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 21 Nov 2022 16:30:57 -0500 Subject: Lock screen challenge In-Reply-To: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Jacque. Why aren’t you on the forum? Cant you just loop through each line in your handlers, and find the ones that contain “lock screen”, both with and without the visual effect thing. Search downstream until you find the “unlock” line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. Am I missing this? Craig > On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: > > I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. > > I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 paul at researchware.com Mon Nov 21 16:43:08 2022 From: paul at researchware.com (Paul Dupuis) Date: Mon, 21 Nov 2022 16:43:08 -0500 Subject: Lock screen challenge In-Reply-To: <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Message-ID: I was also going to suggest just brute forcing it. Something like: (code not complete or syntax checked) repeat with i=1 to the number of stacks   repeat with j = 1 to the number of cards in stack i     repeat with k= 1 to the number of controls of card j of stack i       put the script of control k of card j of stack i into tScript       -- look through the lines of tScript for "lock screen", note the line number A, then search from there onward for "unlock screen" and note the line number B       -- if line B begins with (after trimming spaces) "unlock screen with" then          -- replace line B with "unlock screen with visual effect"         -- and replace line A with "lock screen for visual effect"     end repeat   end repeat end repeat On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: > Jacque. > > Why arent you on the forum? > > Cant you just loop through each line in your handlers, and find the ones that contain lock screen, both with and without the visual effect thing. Search downstream until you find the unlock line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. > > Am I missing this? > > Craig > >> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: >> >> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From jacque at hyperactivesw.com Mon Nov 21 22:47:57 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Nov 2022 21:47:57 -0600 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Message-ID: <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks to both you and Craig. I couldn't think of any other way to do it either, but was hoping there was something other than brute force. Magic, maybe. It took LC's search/replace dialog a long time just to find all the instances, and actually editing them will be longer. But, it's just a one-off. Craig, I posted here because I more comfortable with it, and because more old-timers tend to be on the list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode wrote: > I was also going to suggest just brute forcing it. Something like: (code > not complete or syntax checked) > > repeat with i=1 to the number of stacks > repeat with j = 1 to the number of cards in stack i > repeat with k= 1 to the number of controls of card j of stack i > put the script of control k of card j of stack i into tScript > -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > -- if line B begins with (after trimming spaces) "unlock screen > with" then > -- replace line B with "unlock screen with visual effect" > -- and replace line A with "lock screen for visual effect" > end repeat > end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >> Jacque. >> >> Why arent you on the forum? >> >> Cant you just loop through each line in your handlers, and find the ones >> that contain lock screen, both with and without the visual effect thing. >> Search downstream until you find the unlock line, That gives you the >> start and finish lines for each handler. Then you can just replace the >> start and finish lines with the new ones. >> >> Am I missing this? >> >> Craig >> >>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>> wrote: >>> >>> I'm updating a very old set of stacks that use old HC syntax for "lock >>> screen". A search with LC's Find utility says there are 723 instances that >>> may need to be changed. Right now they look like this: >>> >>> lock screen >>> -- do any number of things >>> unlock screen with >>> >>> These all need to be changed to: >>> >>> lock screen for visual effect >>> -- do any number of things >>> unlock screen with visual effect >>> >>> The challenge is that not all "lock screen" commands use a visual effect, >>> some are simple lock/unlock pairs. I need to automate this. The visual >>> effects are not all the same. Some handlers have multiple instances of >>> locking the screen with or without a visual effect. >>> >>> I'd use a regex if I could, but back references aren't supported (or are >>> they now?) I really don't want to do this manually. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jmac at consensustech.com Tue Nov 22 12:43:51 2022 From: jmac at consensustech.com (Jim MacConnell) Date: Tue, 22 Nov 2022 09:43:51 -0800 Subject: Lock screen challenge In-Reply-To: <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1D4FC6D4-D503-4A9D-B3A0-CD8C1B8799F7@consensustech.com> I resemble that remark! j > On Nov 21, 2022, at 7:47 PM, J. Landman Gay via use-livecode wrote: > > more old-timers From gcanyon at gmail.com Tue Nov 22 16:08:34 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:08:34 -0800 Subject: Lock screen challenge In-Reply-To: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: A random thought: if you converted to script-only stack behaviors first, then you would have a bunch of text files you can use whatever tool you like on. gc On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm updating a very old set of stacks that use old HC syntax for "lock > screen". A search with > LC's Find utility says there are 723 instances that may need to be > changed. Right now they look > like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, > some are simple > lock/unlock pairs. I need to automate this. The visual effects are not all > the same. Some > handlers have multiple instances of locking the screen with or without a > visual effect. > > I'd use a regex if I could, but back references aren't supported (or are > they now?) I really > don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 gcanyon at gmail.com Tue Nov 22 16:11:49 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:11:49 -0800 Subject: Lock screen challenge In-Reply-To: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: Navigator has support for test-based filtering of controls, and can copy/paste scripts, but it doesn't support copying/pasting to more than one control at a time. That would be an interesting problem to solve. What's your time frame? gc On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm updating a very old set of stacks that use old HC syntax for "lock > screen". A search with > LC's Find utility says there are 723 instances that may need to be > changed. Right now they look > like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, > some are simple > lock/unlock pairs. I need to automate this. The visual effects are not all > the same. Some > handlers have multiple instances of locking the screen with or without a > visual effect. > > I'd use a regex if I could, but back references aren't supported (or are > they now?) I really > don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 gcanyon at gmail.com Tue Nov 22 16:18:14 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:18:14 -0800 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: My first thought is to export all scripts to a single file, with customized headers for each object (maybe with a user-definable format). Then look for that same format when pasting, to restore/update the scripts. Does that make sense? Or would it be better to have an export function to create individual files, one ofr each control, with the script in the file? That's probably more robust, but not everyone knows how to make bulk changes to a bunch of text files. On Tue, Nov 22, 2022 at 1:11 PM Geoff Canyon wrote: > Navigator has support for test-based filtering of controls, and can > copy/paste scripts, but it doesn't support copying/pasting to more than one > control at a time. That would be an interesting problem to solve. What's > your time frame? > > gc > > On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I'm updating a very old set of stacks that use old HC syntax for "lock >> screen". A search with >> LC's Find utility says there are 723 instances that may need to be >> changed. Right now they look >> like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, >> some are simple >> lock/unlock pairs. I need to automate this. The visual effects are not >> all the same. Some >> handlers have multiple instances of locking the screen with or without a >> visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are >> they now?) I really >> don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 brian at milby7.com Tue Nov 22 16:27:13 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 22 Nov 2022 16:27:13 -0500 Subject: Lock screen challenge In-Reply-To: References: Message-ID: One option to use an external editor would be ScriptTracker. You could export the scripts, do your bulk changes, and then import them back. Brian Milby brian at milby7.com > On Nov 22, 2022, at 4:10 PM, Geoff Canyon via use-livecode wrote: > > A random thought: if you converted to script-only stack behaviors first, > then you would have a bunch of text files you can use whatever tool you > like on. > > gc > >> On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> I'm updating a very old set of stacks that use old HC syntax for "lock >> screen". A search with >> LC's Find utility says there are 723 instances that may need to be >> changed. Right now they look >> like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, >> some are simple >> lock/unlock pairs. I need to automate this. The visual effects are not all >> the same. Some >> handlers have multiple instances of locking the screen with or without a >> visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are >> they now?) I really >> don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 From gcanyon at gmail.com Tue Nov 22 16:29:30 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:29:30 -0800 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> Message-ID: One small point on this: it doesn't matter since we're dealing with HC files here, but in LC there can be backgrounds that don't appear on any card. So it would be necessary to add: repeat with j = 1 to the number of backgrounds in stack i repeat with k= 1 to the number of controls of background j of stack i Note that this *doesn't* guarantee a single loop through all the controls. The code would need to handle controls in groups that appear on multiple cards. In Navigator I needed something like this. I created this, some of which I wrote years ago, and no warranty is expressed or implied: function allIDsOfStack stackID local tReturnIDList put empty into tReturnIDList repeat for each line bgID in backgroundIDsOf(stackID) put allControlIDsOf(bgID) after tReturnIDList end repeat repeat for each line cdID in cardIDsOf(stackID) put nonGroupChildControlIDsOf(cdID) after tReturnIDList end repeat return (the long id of stackID) & cr & tReturnIDList end allIDsOfStack function allControlIDsOf pContainerID local cIDend, cIDendString, controlIDList, controlList if not exists(pContainerID) then return empty put the long id of pContainerID into pContainerID --breakpoint switch word 1 of the name of pContainerID case "stack" return allIDsOfMainstack(pContainerID) case "card" put the controlIDs of pContainerID into controlList if controlList is empty then return pContainerID & cr repeat for each line cID in controlList put (the long id of control id cID of pContainerID) & cr after controlIDList end repeat return pContainerID & cr & controlIDList case "group" if word -6 of pContainerID is "card" then put -7 into cIDend else put -10 into cIDend put (word cIDend + 5 to -1 of pContainerID) & cr into cIDendString put the controlIDs of pContainerID into controlList if controlList is empty then return pContainerID & cr repeat for each line cID in controlList put "control" && (word 2 to cIDend of the long id of control id cID of pContainerID) && cIDendString after controlIDList end repeat return pContainerID & cr & controlIDList default --return "control" && word 2 to -1 of pContainerID return pContainerID end switch end allControlIDsOf function allUniqueIDsOf pControlList,includeBehaviors local tReturn, tWorking, X -- returns all the controls within put format("group,1\ncard,2\nstack,3") into X split X using cr and comma put canonicalIDsOf(pControlList) into pControlList sort lines of pControlList descending by X[word 1 of each] --answer pControlList repeat for each line cID in pControlList --put the long id of cID into cID if tReturn[cID] is not empty then next repeat --put true into tReturn[cID] if includeBehaviors then put canonicalIDsOf(allControlIDsOf(cID),false) into tWorking put addBehaviorChains(tWorking) into tBehaviors if tBehaviors is not empty then put cr & tBehaviors after tWorking split tWorking by cr as set else put canonicalIDsOf(allControlIDsOf(cID),true) into tWorking end if --answer tWorking --split tWorking by cr as set union tReturn with tWorking end repeat --answer the number of lines of the keys of tReturn return the keys of tReturn end allUniqueIDsOf function nonGroupChildControlIDsOf pContainerID local controlIDList, tReturnIDList put empty into tReturnIDList put the long id of pContainerID into pContainerID put the childControlIDs of pContainerID into controlIDList if controlIDList is empty then return pContainerID & cr put "control id " before controlIDList replace cr with " of" && pContainerID & cr & "control id " in controlIDList repeat for each line controlID in (controlIDList && "of" && pContainerID) if word 1 of the name of controlID is not "group" then put controlID & cr after tReturnIDList end repeat return pContainerID & cr & tReturnIDList end nonGroupChildControlIDsOf function canonicalIDsOf cIDList, returnArray local cID, cIDend, R repeat for each line cIDx in cIDList put the long id of cIDx into cID if word 5 of cID is "group" then if word -6 of cID is "card" then put -7 into cIDend else put -10 into cIDend put 1 into R[word 1 to cIDend of cID && word cIDend + 5 to -1 of cID] else put 1 into R[cID] end if end repeat if returnArray is true then return R else return (the keys of R) & cr end canonicalIDsOf function backgroundIDsOf stackID local backgroundIDList, bgID put empty into backgroundIDList repeat with i = 1 to 999999999 if not (there is a background i of stackID) then return backgroundIDList put (the long id of background i of stackID) into bgID if word 5 of bgID is not "group" then put bgID & cr after backgroundIDList end repeat end backgroundIDsOf function backgroundsOf stackID,bFilter,returnType,typeModifier if returnType = "short name" and bFilter = "backgroundNames" then return the backgroundNames of stackID put empty into R repeat with i = 1 to 999999999 if not (there is a background i of stackID) then return char 1 to -2 of R if not (bFilter = "all" \ or bFilter = "backgroundNames" and the backgroundBehavior of background i of stackID \ or bFilter = "base" and word 5 of the long id of background i of stackID is not "group") then next repeat switch case word 1 of returnType = "name" switch typeModifier case empty; put "background" && Q(the short name of background i of stackID) after R; break case "short"; put (the short name of background i of stackID) after R; break case "long"; put "background" && (word 2 to -1 of the long name of background i of stackID) after R; break end switch if returnType = "name" then break put tab after R case word 1 of returnType = "id" switch typeModifier case empty; put (the id of background i of stackID) after R; break case "short"; put (the short id of background i of stackID) after R; break case "long"; put (the long id of background i of stackID) after R; break end switch end switch put cr after R end repeat end backgroundsOf function cardsOf stackID repeat with i = 1 to 999999 if not (there is a card i of stackID) then return char 1 to -2 of R put (the short name of card i of stackID) & tab & (the short id of card i of stackID) & cr after R end repeat end cardsOf function backgroundIDsOf stackID local backgroundIDList, bgID try repeat with i = 1 to 999999999 put (the long id of background i of stackID) into bgID if word 5 of bgID is not "group" then put bgID & cr after backgroundIDList end repeat catch someErr end try return backgroundIDList end backgroundIDsOf function cardIDsOf stackID local cardIDList put "card id" && the cardIDs of stackID into cardIDList replace cr with " of" && the name of stackID & cr & "card id " in cardIDList return cardIDList && "of" && the name of stackID & cr end cardIDsOf On Mon, Nov 21, 2022 at 1:44 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > I was also going to suggest just brute forcing it. Something like: (code > not complete or syntax checked) > > repeat with i=1 to the number of stacks > repeat with j = 1 to the number of cards in stack i > repeat with k= 1 to the number of controls of card j of stack i > put the script of control k of card j of stack i into tScript > -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > -- if line B begins with (after trimming spaces) "unlock screen > with" then > -- replace line B with "unlock screen with visual effect" > -- and replace line A with "lock screen for visual effect" > end repeat > end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: > > Jacque. > > > > Why aren’t you on the forum? > > > > Cant you just loop through each line in your handlers, and find the ones > that contain “lock screen”, both with and without the visual effect thing. > Search downstream until you find the “unlock” line, That gives you the > start and finish lines for each handler. Then you can just replace the > start and finish lines with the new ones. > > > > Am I missing this? > > > > Craig > > > >> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I'm updating a very old set of stacks that use old HC syntax for "lock > screen". A search with LC's Find utility says there are 723 instances that > may need to be changed. Right now they look like this: > >> > >> lock screen > >> -- do any number of things > >> unlock screen with > >> > >> These all need to be changed to: > >> > >> lock screen for visual effect > >> -- do any number of things > >> unlock screen with visual effect > >> > >> The challenge is that not all "lock screen" commands use a visual > effect, some are simple lock/unlock pairs. I need to automate this. The > visual effects are not all the same. Some handlers have multiple instances > of locking the screen with or without a visual effect. > >> > >> I'd use a regex if I could, but back references aren't supported (or > are they now?) I really don't want to do this manually. > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Nov 22 16:31:17 2022 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 22 Nov 2022 13:31:17 -0800 Subject: Lock screen challenge In-Reply-To: References: Message-ID: Yep, that makes sense. Looks nice! On Tue, Nov 22, 2022 at 1:28 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > One option to use an external editor would be ScriptTracker. You could > export the scripts, do your bulk changes, and then import them back. > > Brian Milby > brian at milby7.com > > > On Nov 22, 2022, at 4:10 PM, Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > A random thought: if you converted to script-only stack behaviors first, > > then you would have a bunch of text files you can use whatever tool you > > like on. > > > > gc > > > >> On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >> I'm updating a very old set of stacks that use old HC syntax for "lock > >> screen". A search with > >> LC's Find utility says there are 723 instances that may need to be > >> changed. Right now they look > >> like this: > >> > >> lock screen > >> -- do any number of things > >> unlock screen with > >> > >> These all need to be changed to: > >> > >> lock screen for visual effect > >> -- do any number of things > >> unlock screen with visual effect > >> > >> The challenge is that not all "lock screen" commands use a visual > effect, > >> some are simple > >> lock/unlock pairs. I need to automate this. The visual effects are not > all > >> the same. Some > >> handlers have multiple instances of locking the screen with or without a > >> visual effect. > >> > >> I'd use a regex if I could, but back references aren't supported (or are > >> they now?) I really > >> don't want to do this manually. > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Tue Nov 22 16:50:15 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 22 Nov 2022 16:50:15 -0500 Subject: Lock screen challenge In-Reply-To: <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <005601d8febc$6acf58f0$406e0ad0$@net> Not to be Johnny Rain Cloud... What if handler "A" locks and it calls either hander "B" OR handler "C" to unlock? 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 J. Landman Gay via use-livecode Sent: Monday, November 21, 2022 10:48 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Lock screen challenge Thanks to both you and Craig. I couldn't think of any other way to do it either, but was hoping there was something other than brute force. Magic, maybe. It took LC's search/replace dialog a long time just to find all the instances, and actually editing them will be longer. But, it's just a one-off. Craig, I posted here because I more comfortable with it, and because more old-timers tend to be on the list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode wrote: > I was also going to suggest just brute forcing it. Something like: > (code not complete or syntax checked) > > repeat with i=1 to the number of stacks > repeat with j = 1 to the number of cards in stack i > repeat with k= 1 to the number of controls of card j of stack i > put the script of control k of card j of stack i into tScript > -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > -- if line B begins with (after trimming spaces) "unlock screen > with" then > -- replace line B with "unlock screen with visual effect" > -- and replace line A with "lock screen for visual effect" > end repeat > end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >> Jacque. >> >> Why aren’t you on the forum? >> >> Cant you just loop through each line in your handlers, and find the >> ones that contain “lock screen”, both with and without the visual effect thing. >> Search downstream until you find the “unlock” line, That gives you >> the start and finish lines for each handler. Then you can just >> replace the start and finish lines with the new ones. >> >> Am I missing this? >> >> Craig >> >>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>> wrote: >>> >>> I'm updating a very old set of stacks that use old HC syntax for >>> "lock screen". A search with LC's Find utility says there are 723 >>> instances that may need to be changed. Right now they look like this: >>> >>> lock screen >>> -- do any number of things >>> unlock screen with >>> >>> These all need to be changed to: >>> >>> lock screen for visual effect >>> -- do any number of things >>> unlock screen with visual effect >>> >>> The challenge is that not all "lock screen" commands use a visual >>> effect, some are simple lock/unlock pairs. I need to automate this. >>> The visual effects are not all the same. Some handlers have multiple >>> instances of locking the screen with or without a visual effect. >>> >>> I'd use a regex if I could, but back references aren't supported (or >>> are they now?) I really don't want to do this manually. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Nov 22 19:04:55 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Nov 2022 18:04:55 -0600 Subject: Lock screen challenge In-Reply-To: <005601d8febc$6acf58f0$406e0ad0$@net> References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2@starfirelighting.com> <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <005601d8febc$6acf58f0$406e0ad0$@net> Message-ID: <80ad1bc4-aa58-0036-db1f-fd09522c7cf9@hyperactivesw.com> Yup. That happens, and I thought of it. I'm still trying to figure out how to approach this. On 11/22/22 3:50 PM, Ralph DiMola via use-livecode wrote: > Not to be Johnny Rain Cloud... What if handler "A" locks and it calls either hander "B" OR handler "C" to unlock? > > 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 J. Landman Gay via use-livecode > Sent: Monday, November 21, 2022 10:48 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: Lock screen challenge > > Thanks to both you and Craig. I couldn't think of any other way to do it either, but was hoping there was something other than brute force. Magic, maybe. It took LC's search/replace dialog a long time just to find all the instances, and actually editing them will be longer. But, it's just a one-off. > > Craig, I posted here because I more comfortable with it, and because more old-timers tend to be on the list. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode wrote: > >> I was also going to suggest just brute forcing it. Something like: >> (code not complete or syntax checked) >> >> repeat with i=1 to the number of stacks >> repeat with j = 1 to the number of cards in stack i >> repeat with k= 1 to the number of controls of card j of stack i >> put the script of control k of card j of stack i into tScript >> -- look through the lines of tScript for "lock screen", note the >> line number A, then search from there onward for "unlock screen" and >> note the line number B >> -- if line B begins with (after trimming spaces) "unlock screen >> with" then >> -- replace line B with "unlock screen with visual effect" >> -- and replace line A with "lock screen for visual effect" >> end repeat >> end repeat >> end repeat >> >> >> On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >>> Jacque. >>> >>> Why aren’t you on the forum? >>> >>> Cant you just loop through each line in your handlers, and find the >>> ones that contain “lock screen”, both with and without the visual effect thing. >>> Search downstream until you find the “unlock” line, That gives you >>> the start and finish lines for each handler. Then you can just >>> replace the start and finish lines with the new ones. >>> >>> Am I missing this? >>> >>> Craig >>> >>>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>>> wrote: >>>> >>>> I'm updating a very old set of stacks that use old HC syntax for >>>> "lock screen". A search with LC's Find utility says there are 723 >>>> instances that may need to be changed. Right now they look like this: >>>> >>>> lock screen >>>> -- do any number of things >>>> unlock screen with >>>> >>>> These all need to be changed to: >>>> >>>> lock screen for visual effect >>>> -- do any number of things >>>> unlock screen with visual effect >>>> >>>> The challenge is that not all "lock screen" commands use a visual >>>> effect, some are simple lock/unlock pairs. I need to automate this. >>>> The visual effects are not all the same. Some handlers have multiple >>>> instances of locking the screen with or without a visual effect. >>>> >>>> I'd use a regex if I could, but back references aren't supported (or >>>> are they now?) I really don't want to do this manually. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 22 19:40:28 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Nov 2022 18:40:28 -0600 Subject: Lock screen challenge In-Reply-To: References: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf@hyperactivesw.com> Message-ID: <61fd15fe-477d-2925-30d4-000834a9bceb@hyperactivesw.com> On 11/22/22 3:08 PM, Geoff Canyon via use-livecode wrote: > A random thought: if you converted to script-only stack behaviors first, > then you would have a bunch of text files you can use whatever tool you > like on. This project is a huge HC world. There are a lot of stacks, hundreds of cards, and probably thousands of controls. It's written the old HC way, so behaviors probably wouldn't help; almost every control is independent and performs a different action. I've already converted the few common actions to a backscript, but there's nothing much to hang a behavior on. > Navigator has support for test-based filtering of controls, and can > copy/paste scripts, but it doesn't support copying/pasting to more than one > control at a time. That would be an interesting problem to solve. What's > your time frame? Indeterminate, but not infinite. ;) I won't need to copy scripts though, every one of them is different. It's truly old-style HC. In fact, I'm still running with HCAddressing set to true, which breaks the property inspector a lot. My next task is to get rid of that. > My first thought is to export all scripts to a single file, with customized > headers for each object (maybe with a user-definable format). Then look for > that same format when pasting, to restore/update the scripts. Does that > make sense? Or would it be better to have an export function to create > individual files, one ofr each control, with the script in the file? That's > probably more robust, but not everyone knows how to make bulk changes to a > bunch of text files. Either way would probably work for most things, though if you exported all the controls in this project to a single file, you'd have a 20 MB novel. TBH, I already have a handler somewhere that writes out all scripts in a stack with headers; an old HC friend wrote it 30 years ago and it still works. Maybe I can dig that up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 22 19:41:12 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Nov 2022 18:41:12 -0600 Subject: Lock screen challenge In-Reply-To: References: Message-ID: <21f2e393-e94b-3ecb-2378-ba82fcd95c10@hyperactivesw.com> On 11/22/22 3:27 PM, Brian Milby via use-livecode wrote: > One option to use an external editor would be ScriptTracker. You could export the scripts, do your bulk changes, and then import them back. That's worth a thought. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From info at dicod.com Wed Nov 23 06:55:59 2022 From: info at dicod.com (info at dicod.com) Date: Wed, 23 Nov 2022 12:55:59 +0100 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: References: Message-ID: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> Hallo Jacqueline, Well I wouldn’t expect you asking such a question..! Scanning all the concerned script, get nScript and set nScript … put replacetexte (nScript, „screen“, „screen with visual effect“) into nScript … or for safer result (to turn around eventual individual „screen" chunk) of varying blank width) something like this should also works: …. put 0 into n0 Repeat put wordoffset(„screen", nScript, n0) into n00 If n00 is 0 then exit repeat Add n00 to n0 If „lock“ is char -4 to -1 of word n0-1 of nScript then put „ visual effect" after word n0 of nScript End repeat …. Safer seems not to be possible! Jean-Jacques Wagner (Involved since 20 years in only one for ever lasting patent process) > Am 22.11.2022 um 18:00 schrieb use-livecode-request at lists.runrev.com: > > Send use-livecode mailing list submissions to > use-livecode at lists.runrev.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.runrev.com/mailman/listinfo/use-livecode > or, via email, send a message with subject or body 'help' to > use-livecode-request at lists.runrev.com > > You can reach the person managing the list at > use-livecode-owner at lists.runrev.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of use-livecode digest..." > > > you can find the archives for this list at: > > http://lists.runrev.com/pipermail/use-livecode/ > > and search them using this link: > > http://www.google.com/advanced_search?q=site:lists.runrev.com > > > Today's Topics: > > 1. Lock screen challenge (J. Landman Gay) > 2. Re: Lock screen challenge (Craig Newman) > 3. Re: Lock screen challenge (Paul Dupuis) > 4. Re: Lock screen challenge (J. Landman Gay) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 21 Nov 2022 15:24:15 -0600 > From: "J. Landman Gay" > To: LiveCode Mailing List > Subject: Lock screen challenge > Message-ID: <45bc51f7-cafc-c8a3-f09c-c2a3ade3fbcf at hyperactivesw.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with > LC's Find utility says there are 723 instances that may need to be changed. Right now they look > like this: > > lock screen > -- do any number of things > unlock screen with > > These all need to be changed to: > > lock screen for visual effect > -- do any number of things > unlock screen with visual effect > > The challenge is that not all "lock screen" commands use a visual effect, some are simple > lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some > handlers have multiple instances of locking the screen with or without a visual effect. > > I'd use a regex if I could, but back references aren't supported (or are they now?) I really > don't want to do this manually. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > ------------------------------ > > Message: 2 > Date: Mon, 21 Nov 2022 16:30:57 -0500 > From: Craig Newman > To: How to use LiveCode > Subject: Re: Lock screen challenge > Message-ID: > <03E5E47A-10E5-4A74-9AD7-8BCF95B0A9D2 at starfirelighting.com> > Content-Type: text/plain; charset=utf-8 > > Jacque. > > Why aren?t you on the forum? > > Cant you just loop through each line in your handlers, and find the ones that contain ?lock screen?, both with and without the visual effect thing. Search downstream until you find the ?unlock? line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. > > Am I missing this? > > Craig > >> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: >> >> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: >> >> lock screen >> -- do any number of things >> unlock screen with >> >> These all need to be changed to: >> >> lock screen for visual effect >> -- do any number of things >> unlock screen with visual effect >> >> The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. >> >> I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 > > > > > ------------------------------ > > Message: 3 > Date: Mon, 21 Nov 2022 16:43:08 -0500 > From: Paul Dupuis > To: use-livecode at lists.runrev.com > Subject: Re: Lock screen challenge > Message-ID: > Content-Type: text/plain; charset=UTF-8; format=flowed > > I was also going to suggest just brute forcing it. Something like: (code > not complete or syntax checked) > > repeat with i=1 to the number of stacks > ? repeat with j = 1 to the number of cards in stack i > ??? repeat with k= 1 to the number of controls of card j of stack i > ????? put the script of control k of card j of stack i into tScript > ????? -- look through the lines of tScript for "lock screen", note the > line number A, then search from there onward for "unlock screen" and > note the line number B > ????? -- if line B begins with (after trimming spaces) "unlock screen > with" then > ???????? -- replace line B with "unlock screen with visual effect" > ??????? -- and replace line A with "lock screen for visual effect" > ??? end repeat > ? end repeat > end repeat > > > On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >> Jacque. >> >> Why aren?t you on the forum? >> >> Cant you just loop through each line in your handlers, and find the ones that contain ?lock screen?, both with and without the visual effect thing. Search downstream until you find the ?unlock? line, That gives you the start and finish lines for each handler. Then you can just replace the start and finish lines with the new ones. >> >> Am I missing this? >> >> Craig >> >>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode wrote: >>> >>> I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with LC's Find utility says there are 723 instances that may need to be changed. Right now they look like this: >>> >>> lock screen >>> -- do any number of things >>> unlock screen with >>> >>> These all need to be changed to: >>> >>> lock screen for visual effect >>> -- do any number of things >>> unlock screen with visual effect >>> >>> The challenge is that not all "lock screen" commands use a visual effect, some are simple lock/unlock pairs. I need to automate this. The visual effects are not all the same. Some handlers have multiple instances of locking the screen with or without a visual effect. >>> >>> I'd use a regex if I could, but back references aren't supported (or are they now?) I really don't want to do this manually. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.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 > > > > > ------------------------------ > > Message: 4 > Date: Mon, 21 Nov 2022 21:47:57 -0600 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Lock screen challenge > Message-ID: > <1849d7319c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9 at hyperactivesw.com> > Content-Type: text/plain; format=flowed; charset="UTF-8" > > Thanks to both you and Craig. I couldn't think of any other way to do it > either, but was hoping there was something other than brute force. Magic, > maybe. It took LC's search/replace dialog a long time just to find all the > instances, and actually editing them will be longer. But, it's just a one-off. > > Craig, I posted here because I more comfortable with it, and because more > old-timers tend to be on the list. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 21, 2022 3:45:16 PM Paul Dupuis via use-livecode > wrote: > >> I was also going to suggest just brute forcing it. Something like: (code >> not complete or syntax checked) >> >> repeat with i=1 to the number of stacks >> repeat with j = 1 to the number of cards in stack i >> repeat with k= 1 to the number of controls of card j of stack i >> put the script of control k of card j of stack i into tScript >> -- look through the lines of tScript for "lock screen", note the >> line number A, then search from there onward for "unlock screen" and >> note the line number B >> -- if line B begins with (after trimming spaces) "unlock screen >> with" then >> -- replace line B with "unlock screen with visual effect" >> -- and replace line A with "lock screen for visual effect" >> end repeat >> end repeat >> end repeat >> >> >> On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote: >>> Jacque. >>> >>> Why aren?t you on the forum? >>> >>> Cant you just loop through each line in your handlers, and find the ones >>> that contain ?lock screen?, both with and without the visual effect thing. >>> Search downstream until you find the ?unlock? line, That gives you the >>> start and finish lines for each handler. Then you can just replace the >>> start and finish lines with the new ones. >>> >>> Am I missing this? >>> >>> Craig >>> >>>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode >>>> wrote: >>>> >>>> I'm updating a very old set of stacks that use old HC syntax for "lock >>>> screen". A search with LC's Find utility says there are 723 instances that >>>> may need to be changed. Right now they look like this: >>>> >>>> lock screen >>>> -- do any number of things >>>> unlock screen with >>>> >>>> These all need to be changed to: >>>> >>>> lock screen for visual effect >>>> -- do any number of things >>>> unlock screen with visual effect >>>> >>>> The challenge is that not all "lock screen" commands use a visual effect, >>>> some are simple lock/unlock pairs. I need to automate this. The visual >>>> effects are not all the same. Some handlers have multiple instances of >>>> locking the screen with or without a visual effect. >>>> >>>> I'd use a regex if I could, but back references aren't supported (or are >>>> they now?) I really don't want to do this manually. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ------------------------------ > > End of use-livecode Digest, Vol 230, Issue 17 > ********************************************* From jacque at hyperactivesw.com Wed Nov 23 12:42:50 2022 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 23 Nov 2022 11:42:50 -0600 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> References: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> Message-ID: <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I like to surprise people. :) Basically I was hoping to avoid brute force, but it looks like import/export may be the best way. If I do the stacks only a few at a time I'll only need a dozen passes or so. Part of the problem was determining which locks need changing and which were not visual effects, or which were locked in one handler and unlocked in a handler that might be elsewhere, sometimes even in a different stack. Some manual examination seems required. Fortunately the latter is rare. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 23, 2022 5:58:41 AM info--- via use-livecode wrote: > Hallo Jacqueline, > Well I wouldnt expect you asking such a question..! From klaus at major-k.de Fri Nov 25 12:17:28 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 25 Nov 2022 18:17:28 +0100 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest Message-ID: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> Hi all, I am currently workung through these lessons: Both require that we create a -> CertificateSigningRequest.certSigningRequest via the keychain app that needs to be uploaded to Apple. Question: Can I use the SAME CertificateSigningRequest.certSigningRequest file for the distibution and development profile? 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 matthias_livecode_150811 at m-r-d.de Fri Nov 25 13:11:17 2022 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 25 Nov 2022 19:11:17 +0100 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest In-Reply-To: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> References: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> Message-ID: <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> Hello Klaus, I used the same file for both certificates. Von meinem iPhone gesendet > Am 25.11.2022 um 18:18 schrieb Klaus major-k via use-livecode : > > Hi all, > > I am currently workung through these lessons: > > > > Both require that we create a -> CertificateSigningRequest.certSigningRequest > via the keychain app that needs to be uploaded to Apple. > > Question: > Can I use the SAME CertificateSigningRequest.certSigningRequest file for the distibution > and development profile? > > Thanks for any hint! > > > 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 klaus at major-k.de Fri Nov 25 13:22:23 2022 From: klaus at major-k.de (Klaus major-k) Date: Fri, 25 Nov 2022 19:22:23 +0100 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest In-Reply-To: <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> References: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> Message-ID: <6AD26CC9-4B3A-467B-A5C7-D0DED1DD1451@major-k.de> Hi Matthias, > Am 25.11.2022 um 19:11 schrieb Matthias Rebbe via use-livecode : > > Hello Klaus, > > I used the same file for both certificates. merci, mon ami! :-) > Von meinem iPhone gesendet >> Am 25.11.2022 um 18:18 schrieb Klaus major-k via use-livecode : >> Hi all, >> I am currently workung through these lessons: >> >> >> Both require that we create a -> CertificateSigningRequest.certSigningRequest >> via the keychain app that needs to be uploaded to Apple. >> Question: >> Can I use the SAME CertificateSigningRequest.certSigningRequest file for the distibution >> and development profile? >> 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 MikeKerner at roadrunner.com Sat Nov 26 10:44:28 2022 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 26 Nov 2022 10:44:28 -0500 Subject: iOS Profiles and CertificateSigningRequest.certSigningRequest In-Reply-To: <6AD26CC9-4B3A-467B-A5C7-D0DED1DD1451@major-k.de> References: <668C4138-A6A4-49C9-ADB5-40B33BE92E93@major-k.de> <26C0CC8A-3DE8-4CF6-A1C2-FE02D965829C@m-r-d.de> <6AD26CC9-4B3A-467B-A5C7-D0DED1DD1451@major-k.de> Message-ID: and you can use the same ones year-after-year, i believe. On Fri, Nov 25, 2022 at 1:23 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Matthias, > > > Am 25.11.2022 um 19:11 schrieb Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hello Klaus, > > > > I used the same file for both certificates. > > merci, mon ami! :-) > > > Von meinem iPhone gesendet > >> Am 25.11.2022 um 18:18 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > >> Hi all, > >> I am currently workung through these lessons: > >> < > https://lessons.livecode.com/m/4069/l/32957-how-do-i-create-a-distribution-profile-for-ios > > > >> < > https://lessons.livecode.com/m/4069/l/308242-how-do-i-create-a-development-profile-for-ios > > > >> Both require that we create a -> > CertificateSigningRequest.certSigningRequest > >> via the keychain app that needs to be uploaded to Apple. > >> Question: > >> Can I use the SAME CertificateSigningRequest.certSigningRequest file > for the distibution > >> and development profile? > >> Thanks for any hint! > > 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 kee.nethery at elloco.com Sun Nov 27 16:17:58 2022 From: kee.nethery at elloco.com (kee nethery) Date: Sun, 27 Nov 2022 13:17:58 -0800 Subject: IP address and Country In-Reply-To: <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: When we did this, the database table had a start and end IP address range column. The IP addresses were entered into the table as integers without the dots. I’m not sure but I think we might have put a “1” at the beginning of the IP address integers so that everything stayed 13 digits (ie the front zeros in an IP address were not eliminated). StartIP and EndIP columns were indexed. The lookup time was pretty quick. Kee Nethery From harrison at all-auctions.com Sun Nov 27 18:06:53 2022 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Sun, 27 Nov 2022 18:06:53 -0500 Subject: IP address and Country In-Reply-To: References: <9a6a572f85579807e6dd145e4cd9065d@souslelogo.com> <570ddc66-a205-e48a-8993-4a016036ddcd@hyperactivesw.com> <4E3258AF-D0BE-43BB-89FD-223607B06A33@all-auctions.com> Message-ID: <7FA8A289-B562-4CA0-B317-2B313C3AC0F9@all-auctions.com> Hi Kee, I did solve it, I just forgot to tell the list that I did. Oops. Thanks! Rick > On Nov 27, 2022, at 4:17 PM, kee nethery via use-livecode wrote: > > When we did this, the database table had a start and end IP address range column. > > The IP addresses were entered into the table as integers without the dots. I’m not sure but I think we might have put a “1” at the beginning of the IP address integers so that everything stayed 13 digits (ie the front zeros in an IP address were not eliminated). > > StartIP and EndIP columns were indexed. > > The lookup time was pretty quick. > > Kee Nethery From bobsneidar at iotecdigital.com Mon Nov 28 11:24:49 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 28 Nov 2022 16:24:49 +0000 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <75E10B0C-33BA-46A8-8834-84AE70800D8D@iotecdigital.com> I can imagine a lock/unlock wrapper that registers every lock screen request and will only unlock the screen if called from the same handler or uses the same passed ID as the lock handler. You could have a property for each registered lock to allow or disallow override from another unlock. That may be too comlicated though. Is it possible to check if the screen is locked first? Bob S > On Nov 23, 2022, at 09:42 , J. Landman Gay via use-livecode wrote: > > I like to surprise people. :) Basically I was hoping to avoid brute force, but it looks like import/export may be the best way. If I do the stacks only a few at a time I'll only need a dozen passes or so. > > Part of the problem was determining which locks need changing and which were not visual effects, or which were locked in one handler and unlocked in a handler that might be elsewhere, sometimes even in a different stack. Some manual examination seems required. Fortunately the latter is rare. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 23, 2022 5:58:41 AM info--- via use-livecode wrote: > >> Hallo Jacqueline, >> Well I wouldn’t expect you asking such a question..! > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 28 11:27:03 2022 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 28 Nov 2022 08:27:03 -0800 Subject: App not printing Message-ID: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> I have an app built with LC 9.6.7 (I believe) and this morning my tech support is flooded with people who are unable to print and some reporting error 1002 on Mac but the there are some Windows users reporting they cannot print either. Anybody else seeing this? --- Marty Knapp From rdimola at evergreeninfo.net Mon Nov 28 11:44:33 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 11:44:33 -0500 Subject: use-livecode Digest, Vol 230, Issue 17 In-Reply-To: <75E10B0C-33BA-46A8-8834-84AE70800D8D@iotecdigital.com> References: <23108887-188D-49E7-A2E9-6B257C91D524@dicod.com> <184a595d190.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <75E10B0C-33BA-46A8-8834-84AE70800D8D@iotecdigital.com> Message-ID: <004101d90348$b455a2a0$1d00e7e0$@net> Bob, Yes you can "put the lockscreen" 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 Bob Sneidar via use-livecode Sent: Monday, November 28, 2022 11:25 AM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: use-livecode Digest, Vol 230, Issue 17 I can imagine a lock/unlock wrapper that registers every lock screen request and will only unlock the screen if called from the same handler or uses the same passed ID as the lock handler. You could have a property for each registered lock to allow or disallow override from another unlock. That may be too comlicated though. Is it possible to check if the screen is locked first? Bob S > On Nov 23, 2022, at 09:42 , J. Landman Gay via use-livecode wrote: > > I like to surprise people. :) Basically I was hoping to avoid brute force, but it looks like import/export may be the best way. If I do the stacks only a few at a time I'll only need a dozen passes or so. > > Part of the problem was determining which locks need changing and which were not visual effects, or which were locked in one handler and unlocked in a handler that might be elsewhere, sometimes even in a different stack. Some manual examination seems required. Fortunately the latter is rare. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > | http://www.hyperactivesw.com On November 23, 2022 5:58:41 AM info--- > via use-livecode wrote: > >> Hallo Jacqueline, >> Well I wouldn’t expect you asking such a question..! > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dan at clearvisiontech.com Mon Nov 28 12:24:44 2022 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 28 Nov 2022 17:24:44 +0000 Subject: App not printing In-Reply-To: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> Message-ID: Marty, I had a similar issue. The only way to resolve the issue was to add the printing entitlements. Apps uploaded to the Mac App Store must have the sandbox environment enabled, and for every functionality that needs to communicate with the "outside world" it needs the appropriate entitlement. See section 16 of lesson: https://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store In the entitlements list, you need to add the printing entitlement (com.apple.security.print). Hope that helps! -Dan On 11/28/22, 8:28 AM, "use-livecode on behalf of Marty Knapp via use-livecode" wrote: I have an app built with LC 9.6.7 (I believe) and this morning my tech support is flooded with people who are unable to print and some reporting error 1002 on Mac but the there are some Windows users reporting they cannot print either. Anybody else seeing this? --- Marty Knapp _______________________________________________ use-livecode mailing list use-livecode 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 rdimola at evergreeninfo.net Mon Nov 28 14:09:17 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 14:09:17 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> Message-ID: <004b01d9035c$ecc3f4c0$c64bde40$@net> Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From richmondmathewson at gmail.com Mon Nov 28 14:15:54 2022 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 28 Nov 2022 21:15:54 +0200 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <004b01d9035c$ecc3f4c0$c64bde40$@net> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> Message-ID: You will have your own reasons for wanting to move to Big Sur and not up to MacOS 13. But, from my own experience after Catalina my experience with MacOS was distinctly off-colour unti I hit MacOS 13, which, once you overlook the way they mucked up the System Settings thing, does feel a whole lot more robust that the beta-quality stuff Apple lobbed ourway after Catalina. On Mon, 28 Nov 2022, 21:09 Ralph DiMola via use-livecode, < use-livecode at lists.runrev.com> wrote: > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did > some searches but I can't find anything. Software update only lists Ventura > as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Mon Nov 28 14:26:37 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 14:26:37 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> Message-ID: <005101d9035f$5847feb0$08d7fc10$@net> Richmond, Thanks. I had heard of some Ventura issues so I wanted an established OS to update to in order to run Xcode 14. I guess a time machine final backup and then let Ventura rip as an update? Any issues you've seen? 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 Richmond Mathewson via use-livecode Sent: Monday, November 28, 2022 2:16 PM To: How to use LiveCode Cc: Richmond Mathewson Subject: Re: [OT] Upgrade to Monterey from Big Sur You will have your own reasons for wanting to move to Big Sur and not up to MacOS 13. But, from my own experience after Catalina my experience with MacOS was distinctly off-colour unti I hit MacOS 13, which, once you overlook the way they mucked up the System Settings thing, does feel a whole lot more robust that the beta-quality stuff Apple lobbed ourway after Catalina. On Mon, 28 Nov 2022, 21:09 Ralph DiMola via use-livecode, < use-livecode at lists.runrev.com> wrote: > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I > did some searches but I can't find anything. Software update only > lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 28 14:26:57 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 28 Nov 2022 20:26:57 +0100 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <004b01d9035c$ecc3f4c0$c64bde40$@net> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> Message-ID: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> I think under software updates only the newest os version is listed. The older versions need to be downloaded from the App Store Does this link work for you to download Monterey. https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode : > > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Mon Nov 28 16:43:12 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Nov 2022 16:43:12 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> Message-ID: <005501d90372$6d4d0720$47e71560$@net> Matthias, Thanks. I will give the link a look. I need to run Xcode 14 for the iPhone 14 simulator to do some testing. 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 matthias rebbe via use-livecode Sent: Monday, November 28, 2022 2:27 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: [OT] Upgrade to Monterey from Big Sur I think under software updates only the newest os version is listed. The older versions need to be downloaded from the App Store Does this link work for you to download Monterey. https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode : > > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 28 17:15:39 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 28 Nov 2022 23:15:39 +0100 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <005501d90372$6d4d0720$47e71560$@net> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> <005501d90372$6d4d0720$47e71560$@net> Message-ID: <021A2164-B609-4BD0-95AF-65FEAF7B2B2D@m-r-d.de> Btw. Do you know Virtual Machine Hub? https://sascha-simon.com/en/vm.html And if you need an older recovery image than the one the Virtual Machine Hub offers, you can find download links (from Apple website) here https://ipsw.me/ Maybe this is also a possible solution for you without updating your current system... > Am 28.11.2022 um 22:43 schrieb Ralph DiMola via use-livecode : > > Matthias, > Thanks. > > I will give the link a look. I need to run Xcode 14 for the iPhone 14 > simulator to do some testing. > > 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 matthias rebbe via use-livecode > Sent: Monday, November 28, 2022 2:27 PM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: [OT] Upgrade to Monterey from Big Sur > > I think under software updates only the newest os version is listed. The > older versions need to be downloaded from the App Store Does this link work > for you to download Monterey. > https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > >> Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode > : >> >> Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did > some searches but I can't find anything. Software update only lists Ventura > as an upgrade option. >> >> Thanks! >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Mon Nov 28 19:11:16 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:11:16 +0000 Subject: sqlYoga wierdness Message-ID: Hi all. If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) Here's the code: put sqlquery_createObject("service") into qServiceObjectA sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" sqlquery_set qServiceObjectA, "distinct", true sqlquery_set qServiceObjectA, "joins", \ "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" put dbQuery(qServiceObjectA, "data") into tFoundOrphans setStatusMsg "Deleting service orphans from the service table...", tParentCard if tFoundOrphans is empty then answer info "No orphaned service records found!" as sheet else sqlquery_delete qServiceObjectA Answer info "Orphaned service records have been purged!" as sheet end if The SQL I am shooting for is: SELECT DISTINCT service.siteid FROM service LEFT OUTER JOIN sites ON service.siteid=sites.siteid WHERE sites.siteid IS NULL; This works also in a SQL editor. Bob S From bobsneidar at iotecdigital.com Mon Nov 28 19:17:26 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:17:26 +0000 Subject: sqlYoga wierdness In-Reply-To: References: Message-ID: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> NVM. Of course, the query is going to rename the second siteid column for sites to siteid2. Bob S > On Nov 28, 2022, at 16:11 , Bob Sneidar via use-livecode wrote: > > Hi all. > > If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! > > > sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) > > Here's the code: > > put sqlquery_createObject("service") into qServiceObjectA > sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" > sqlquery_set qServiceObjectA, "distinct", true > sqlquery_set qServiceObjectA, "joins", \ > "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" > sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" > put dbQuery(qServiceObjectA, "data") into tFoundOrphans > setStatusMsg "Deleting service orphans from the service table...", tParentCard > > if tFoundOrphans is empty then > answer info "No orphaned service records found!" as sheet > else > sqlquery_delete qServiceObjectA > Answer info "Orphaned service records have been purged!" as sheet > end if > > The SQL I am shooting for is: > > SELECT DISTINCT > service.siteid > FROM > service > LEFT OUTER JOIN > sites > ON > service.siteid=sites.siteid > WHERE > sites.siteid IS NULL; > > This works also in a SQL editor. > > 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 Mon Nov 28 19:30:00 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:30:00 +0000 Subject: sqlYoga wierdness In-Reply-To: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> References: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> Message-ID: <9ADFD302-B1B2-4934-9677-7F440815CEBF@iotecdigital.com> I don't think there is a way to do this with sqlYoga. I tried "... service.siteid AS siteid1..." and then referring to the columns with their aliases, but that still does not work. Bob S > On Nov 28, 2022, at 16:17 , Bob Sneidar via use-livecode wrote: > > NVM. Of course, the query is going to rename the second siteid column for sites to siteid2. > > Bob S > > >> On Nov 28, 2022, at 16:11 , Bob Sneidar via use-livecode wrote: >> >> Hi all. >> >> If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! >> >> >> sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) >> >> Here's the code: >> >> put sqlquery_createObject("service") into qServiceObjectA >> sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" >> sqlquery_set qServiceObjectA, "distinct", true >> sqlquery_set qServiceObjectA, "joins", \ >> "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" >> sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" >> put dbQuery(qServiceObjectA, "data") into tFoundOrphans >> setStatusMsg "Deleting service orphans from the service table...", tParentCard >> >> if tFoundOrphans is empty then >> answer info "No orphaned service records found!" as sheet >> else >> sqlquery_delete qServiceObjectA >> Answer info "Orphaned service records have been purged!" as sheet >> end if >> >> The SQL I am shooting for is: >> >> SELECT DISTINCT >> service.siteid >> FROM >> service >> LEFT OUTER JOIN >> sites >> ON >> service.siteid=sites.siteid >> WHERE >> sites.siteid IS NULL; >> >> This works also in a SQL editor. >> >> 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 Mon Nov 28 19:37:12 2022 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Nov 2022 00:37:12 +0000 Subject: sqlYoga wierdness In-Reply-To: <9ADFD302-B1B2-4934-9677-7F440815CEBF@iotecdigital.com> References: <24AC754B-BD83-467B-8A76-DB81D906BBC2@iotecdigital.com> <9ADFD302-B1B2-4934-9677-7F440815CEBF@iotecdigital.com> Message-ID: <08EF39C1-7877-41F2-AD51-16B82B6F9D44@iotecdigital.com> I see why. sqlquery_delete does not take anything into account except for the where clause. The join and distinct properties are ignored. I will have to recode using some other method. Bob S > On Nov 28, 2022, at 16:30 , Bob Sneidar via use-livecode wrote: > > I don't think there is a way to do this with sqlYoga. I tried "... service.siteid AS siteid1..." and then referring to the columns with their aliases, but that still does not work. > > Bob S > > >> On Nov 28, 2022, at 16:17 , Bob Sneidar via use-livecode wrote: >> >> NVM. Of course, the query is going to rename the second siteid column for sites to siteid2. >> >> Bob S >> >> >>> On Nov 28, 2022, at 16:11 , Bob Sneidar via use-livecode wrote: >>> >>> Hi all. >>> >>> If anyone has any experience in using sqlYoga for joins, I have a curious issue. The following code produces a variable tFoundOrphans containing a list of service record IDs with no corresponding siteid in the Sites table, so I know the query object works. However, when I use sqlquery_delete with the same object, I get an error! >>> >>> >>> sqlyoga_executesql_err,0,0,Unknown column 'sites.siteid' in 'where clause' (DELETE FROM service WHERE sites.siteid IS NULL) >>> >>> Here's the code: >>> >>> put sqlquery_createObject("service") into qServiceObjectA >>> sqlquery_set qServiceObjectA, "select clause", "service.siteid, sites.siteid" >>> sqlquery_set qServiceObjectA, "distinct", true >>> sqlquery_set qServiceObjectA, "joins", \ >>> "LEFT OUTER JOIN sites ON service.siteid=sites.siteid" >>> sqlquery_set qServiceObjectA, "conditions", "sites.siteid IS NULL" >>> put dbQuery(qServiceObjectA, "data") into tFoundOrphans >>> setStatusMsg "Deleting service orphans from the service table...", tParentCard >>> >>> if tFoundOrphans is empty then >>> answer info "No orphaned service records found!" as sheet >>> else >>> sqlquery_delete qServiceObjectA >>> Answer info "Orphaned service records have been purged!" as sheet >>> end if >>> >>> The SQL I am shooting for is: >>> >>> SELECT DISTINCT >>> service.siteid >>> FROM >>> service >>> LEFT OUTER JOIN >>> sites >>> ON >>> service.siteid=sites.siteid >>> WHERE >>> sites.siteid IS NULL; >>> >>> This works also in a SQL editor. >>> >>> 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 tore.nilsen at me.com Tue Nov 29 03:03:32 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 29 Nov 2022 09:03:32 +0100 Subject: Field content as parametres in a function Message-ID: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> I have come across a puzzling behavior when trying to use the content of a field as parametres in a function, and I am trying to understand why. I put the following in a field called «test»: 1,2,3,4,5 When I then call the function like this: answer testFunction(field «test»), the paramCount() returns 1 If I use the values directly in the script: answer testFunction(1,2,3,4,5), the paramCount() returns 5 as expected I will also get the expected result if a do the following: put "answer testFunction(" & field «test» & ")" into tScript do tScript I guess the reason for this is that in the last example, LiveCode compiles the content of the variable tScript before execution, and that this turns what is first treated as a single block of text into a list of parametres. The reason why I want to understand what is happening is that I am about to teach my students how to write reusable code that will behave correctly for any number of parametres. So my question is if I am on the right track? Best regards Tore Nilsen From tore.nilsen at me.com Tue Nov 29 03:03:32 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 29 Nov 2022 09:03:32 +0100 Subject: Field content as parametres in a function Message-ID: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> I have come across a puzzling behavior when trying to use the content of a field as parametres in a function, and I am trying to understand why. I put the following in a field called «test»: 1,2,3,4,5 When I then call the function like this: answer testFunction(field «test»), the paramCount() returns 1 If I use the values directly in the script: answer testFunction(1,2,3,4,5), the paramCount() returns 5 as expected I will also get the expected result if a do the following: put "answer testFunction(" & field «test» & ")" into tScript do tScript I guess the reason for this is that in the last example, LiveCode compiles the content of the variable tScript before execution, and that this turns what is first treated as a single block of text into a list of parametres. The reason why I want to understand what is happening is that I am about to teach my students how to write reusable code that will behave correctly for any number of parametres. So my question is if I am on the right track? Best regards Tore Nilsen From alex at tweedly.net Tue Nov 29 06:08:17 2022 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 29 Nov 2022 11:08:17 +0000 Subject: Field content as parametres in a function In-Reply-To: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> References: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> Message-ID: <8f61a5ab-f482-8a5d-2c62-e2d34316e665@tweedly.net> Yes, your description is correct (except for saying the behavior is "puzzling" :-) The first case you are passing a single parameter (which happens to have commas in its current content). You could have said " .... paramcount() returns 1 as expected". The second case you pass 5 values. And the third case, as you say, expands the value first, so it becomes a call with 5 parameters. Alex. On 29/11/2022 08:03, Tore Nilsen via use-livecode wrote: > I have come across a puzzling behavior when trying to use the content of a field as parametres in a function, and I am trying to understand why. > > I put the following in a field called test: 1,2,3,4,5 > > When I then call the function like this: > answer testFunction(field test), the paramCount() returns 1 > > If I use the values directly in the script: > answer testFunction(1,2,3,4,5), the paramCount() returns 5 as expected > > I will also get the expected result if a do the following: > > put "answer testFunction(" & field test & ")" into tScript > do tScript > > I guess the reason for this is that in the last example, LiveCode compiles the content of the variable tScript before execution, and that this turns what is first treated as a single block of text into a list of parametres. > > The reason why I want to understand what is happening is that I am about to teach my students how to write reusable code that will behave correctly for any number of parametres. > > So my question is if I am on the right track? > > Best regards > Tore Nilsen > _______________________________________________ > use-livecode mailing list > use-livecode 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 tore.nilsen at me.com Tue Nov 29 06:25:07 2022 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 29 Nov 2022 12:25:07 +0100 Subject: Field content as parametres in a function In-Reply-To: <8f61a5ab-f482-8a5d-2c62-e2d34316e665@tweedly.net> References: <4CB9D78E-CAA4-4536-93D1-BEA11037216F@me.com> <8f61a5ab-f482-8a5d-2c62-e2d34316e665@tweedly.net> Message-ID: <32C5D9B7-A0FC-43F2-9FAC-114CC1684303@me.com> > 29. nov. 2022 kl. 12:08 skrev Alex Tweedly via use-livecode : > > Yes, your description is correct (except for saying the behavior is "puzzling" :-) > > The first case you are passing a single parameter (which happens to have commas in its current content). You could have said " .... paramcount() returns 1 as expected". > > The second case you pass 5 values. > > And the third case, as you say, expands the value first, so it becomes a call with 5 parameters. > > Alex. What is «puzzling» to me, among a whole lot of other things I fail to grasp, is why in the first example, the value in field «test» is treated as a single parameter, but in the last example it is treated as five parameters, since nothing has changed with the values in the field itself. I do however accept the reality of it, but I wanted to understand why this is the way it is. My original thinking was that by referencing the field as parameter, the values of the field would then become de facto parameters passed on to the function. I guess it is just another item in the long list of things I do not fully understand. :-) Best regards Tore From brian at milby7.com Tue Nov 29 08:23:48 2022 From: brian at milby7.com (Brian Milby) Date: Tue, 29 Nov 2022 08:23:48 -0500 Subject: Field content as parametres in a function In-Reply-To: <32C5D9B7-A0FC-43F2-9FAC-114CC1684303@me.com> References: <32C5D9B7-A0FC-43F2-9FAC-114CC1684303@me.com> Message-ID: <2AA9C771-8634-4843-8616-A60CB1B29BA7@milby7.com> Your original is the same as: put field «test» into tParam answer testFunction(tParam) So yes, whatever is placed as a parameter to a function is not expanded. Think about doing the same thing with an arbitrary block of text in the field and what would be the expected result. Brian Milby brian at milby7.com > On Nov 29, 2022, at 6:26 AM, Tore Nilsen via use-livecode wrote: > >  > >> 29. nov. 2022 kl. 12:08 skrev Alex Tweedly via use-livecode : >> >> Yes, your description is correct (except for saying the behavior is "puzzling" :-) >> >> The first case you are passing a single parameter (which happens to have commas in its current content). You could have said " .... paramcount() returns 1 as expected". >> >> The second case you pass 5 values. >> >> And the third case, as you say, expands the value first, so it becomes a call with 5 parameters. >> >> Alex. > > What is «puzzling» to me, among a whole lot of other things I fail to grasp, is why in the first example, the value in field «test» is treated as a single parameter, but in the last example it is treated as five parameters, since nothing has changed with the values in the field itself. I do however accept the reality of it, but I wanted to understand why this is the way it is. My original thinking was that by referencing the field as parameter, the values of the field would then become de facto parameters passed on to the function. I guess it is just another item in the long list of things I do not fully understand. :-) > > Best regards > Tore > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Tue Nov 29 10:50:18 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 29 Nov 2022 10:50:18 -0500 Subject: [OT] Upgrade to Monterey from Big Sur In-Reply-To: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> Message-ID: <003801d9040a$4ade3180$e09a9480$@net> Matthias, That worked! Thank you so much. The link sent me to the app store. I clicked "Get" and after the download finished the SW update pref appeared. Then the installation dialog started. Not that it made any difference, the SW update pref then spun for a second and showed the Ventura update again. But the Monterey installer was still on the screen. I clicked "install" and I was off to the races. I was done in about 30-40 minutes. I have an iPhone 14 pro simulator running using Xcode 14.1. I'm now going to see if I can get LC to install an app on it. 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 matthias rebbe via use-livecode Sent: Monday, November 28, 2022 2:27 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: [OT] Upgrade to Monterey from Big Sur I think under software updates only the newest os version is listed. The older versions need to be downloaded from the App Store Does this link work for you to download Monterey. https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 > Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode : > > Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some searches but I can't find anything. Software update only lists Ventura as an upgrade option. > > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Nov 29 11:58:04 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Nov 2022 17:58:04 +0100 Subject: Browser widget doesn't display PDF Message-ID: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> Hello, i am currently having problems that a browser widget doesn't display a pdf, regardless if remote or local. I just see a white blank page. Sometime an error message comes up telling me that "PDFViewer could not find a compatible version of Adobe Acrobat or Adobe Reader for displaying this PDF file." Something like that. I get a German error message. The interesting part is, that Safari does not have a problem with displaying the PDF and the folders ~/library/internet-plugins and /library/Internet-plugins both contain the Acrobat plugins. Tried here with LC 9.6.9RC2 and 10DP4 on Ventura 13.0.1. Does anyone has an idea what might be wrong? Regards, Matthias From merakosp at gmail.com Tue Nov 29 12:38:14 2022 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Nov 2022 19:38:14 +0200 Subject: Browser widget doesn't display PDF In-Reply-To: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> References: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> Message-ID: Hello Matthias, See: https://quality.livecode.com/show_bug.cgi?id=18378 https://quality.livecode.com/show_bug.cgi?id=22534 I suggest using a PDF widget instead of a browser widget to display the pdf files, until this bug is fixed. Kind regards, Panos -- On Tue, 29 Nov 2022 at 18:59, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello, > > i am currently having problems that a browser widget doesn't display a > pdf, regardless if remote or local. > > I just see a white blank page. Sometime an error message comes up telling > me that "PDFViewer could not find a compatible version of Adobe Acrobat or > Adobe Reader for displaying this PDF file." > Something like that. I get a German error message. > > The interesting part is, that Safari does not have a problem with > displaying the PDF and the folders ~/library/internet-plugins and > /library/Internet-plugins both contain the Acrobat plugins. > > Tried here with LC 9.6.9RC2 and 10DP4 on Ventura 13.0.1. > > Does anyone has an idea what might be wrong? > > 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 rdimola at evergreeninfo.net Tue Nov 29 14:07:54 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 29 Nov 2022 14:07:54 -0500 Subject: [OT] Upgrade to Monterey from Big Sur Update Simulator/Multiple Xcode versions In-Reply-To: <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> References: <1CA19C8D-C3BA-4386-AA33-8238EF7CC480@gmail.com> <004b01d9035c$ecc3f4c0$c64bde40$@net> <031A199F-00F9-47A8-8AC3-33122A4FB56A@m-r-d.de> Message-ID: <004f01d90425$e59aaa80$b0cfff80$@net> FYI: I was able to run Xcode 14.1 and invoke the iPhone 14 simulator. I tested an LC app building against Xcode 13.2.1. Clicked the test button and BOOM there was the app on the iPhone 14 simulator. Only one little hiccup. I had to select the hardware keyboard then disable then re-enable to get the keyboard to type into LC fields. After that I could test over and over with no problems. Build time and simulator performance is amazingly fast. M1 Mac Mini LC 9.6.9 rc2 Thanks again to all for your help! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From matthias_livecode_150811 at m-r-d.de Tue Nov 29 15:51:03 2022 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Nov 2022 21:51:03 +0100 Subject: Browser widget doesn't display PDF In-Reply-To: References: <705DD1C9-938F-48F3-A020-66F2F173FE0D@m-r-d.de> Message-ID: <7C624855-7DB0-4198-AD44-8B2DE2831B42@m-r-d.de> Hello Panos, thanks for reminding me of bug 22534. I should have remember it. That bug report is based on a support request i filed. ;) > Am 29.11.2022 um 18:38 schrieb panagiotis m via use-livecode : > > Hello Matthias, > > See: > > https://quality.livecode.com/show_bug.cgi?id=18378 Thanks, i was not aware of that report. Btw. you are commenting in that report, that you could replicate the problem with a 316 page PDF, but not with a 5 page pdf. In my case the PDF has only 1 page. > https://quality.livecode.com/show_bug.cgi?id=22534 > I knew that one already, because its a bug report based on a support request i filed. ;) To be honest, i almost forget about it. Rereading my comments i remembered that one hast remove the plugins and logoff and login again to get it working with the widget. > I suggest using a PDF widget instead of a browser widget to display the pdf > files, until this bug is fixed. Btw. this might be a workaround for me if i need also the Acrobat plugins, but according to the dictionary the PDF widget is only available with a Pro license. So this is not a workaround for everyone. Anyway, thanks again. Matthias > > Kind regards, > Panos > -- > > On Tue, 29 Nov 2022 at 18:59, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hello, >> >> i am currently having problems that a browser widget doesn't display a >> pdf, regardless if remote or local. >> >> I just see a white blank page. Sometime an error message comes up telling >> me that "PDFViewer could not find a compatible version of Adobe Acrobat or >> Adobe Reader for displaying this PDF file." >> Something like that. I get a German error message. >> >> The interesting part is, that Safari does not have a problem with >> displaying the PDF and the folders ~/library/internet-plugins and >> /library/Internet-plugins both contain the Acrobat plugins. >> >> Tried here with LC 9.6.9RC2 and 10DP4 on Ventura 13.0.1. >> >> Does anyone has an idea what might be wrong? >> >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Nov 30 13:59:27 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Nov 2022 19:59:27 +0100 Subject: correct iphoneSafeAreaInsets in iPad simulator? Message-ID: Hi friends, here two screenshots from my app in the Apple iPad simulator: Same app***, same scripting, same "resizestack" handler taking iphoneSafeAreaInsets() into account and reposition objects accordingly. ***Only difference is that I disabled the group of buttons in the middle in one simulator. Please notice the much larger area of empty space below the navigation widget and above the text field at the top in the screenshot of the iPad Pro (11-inch) (3rd generation). Is this a bug, a feature or just some inconvenience of the simulator? Any insight welcome, thank you! 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 Wed Nov 30 14:03:33 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Nov 2022 20:03:33 +0100 Subject: correct iphoneSafeAreaInsets in iPad simulator? In-Reply-To: References: Message-ID: <986CE0E5-A9D2-49DE-9310-D470012B7579@major-k.de> Additional info: I resize the stack to proportionally to the devices screen dimensions. And that works fine on all tested iPhone simulators. These differences are only on these two iPad simualtors. > Am 30.11.2022 um 19:59 schrieb Klaus major-k via use-livecode : > > Hi friends, > > here two screenshots from my app in the Apple iPad simulator: > > > Same app***, same scripting, same "resizestack" handler taking iphoneSafeAreaInsets() > into account and reposition objects accordingly. > > ***Only difference is that I disabled the group of buttons in the middle in one simulator. > > Please notice the much larger area of empty space below the navigation widget and above > the text field at the top in the screenshot of the iPad Pro (11-inch) (3rd generation). > > Is this a bug, a feature or just some inconvenience of the simulator? > > Any insight welcome, thank you! -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Nov 30 15:40:21 2022 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Nov 2022 21:40:21 +0100 Subject: correct iphoneSafeAreaInsets in iPad simulator? Message-ID: <96F31279-F891-4509-B2F3-785A0DE82D1F@major-k.de> Sorry, here the link that does not automatically compresses an downloads the two images -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From rdimola at evergreeninfo.net Wed Nov 30 16:28:30 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 30 Nov 2022 16:28:30 -0500 Subject: correct iphoneSafeAreaInsets in iPad simulator? In-Reply-To: <986CE0E5-A9D2-49DE-9310-D470012B7579@major-k.de> References: <986CE0E5-A9D2-49DE-9310-D470012B7579@major-k.de> Message-ID: <007201d90502$b4aa6680$1dff3380$@net> Klaus, I see what you mean. I had my resizing SW using a table that I just kept adding to as new models were released. I gave up on that after the iPhone 14 pro was released. I now use iphoneSafeAreaInsets(). It seems to work OK. I will do some testing of one of my apps on the iPad Pro (11-inch) (3rd generation) simulator. Film at 11 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 Klaus major-k via use-livecode Sent: Wednesday, November 30, 2022 2:04 PM To: How to use LiveCode Cc: Klaus major-k Subject: Re: correct iphoneSafeAreaInsets in iPad simulator? Additional info: I resize the stack to proportionally to the devices screen dimensions. And that works fine on all tested iPhone simulators. These differences are only on these two iPad simualtors. > Am 30.11.2022 um 19:59 schrieb Klaus major-k via use-livecode : > > Hi friends, > > here two screenshots from my app in the Apple iPad simulator: > dl=1> > > Same app***, same scripting, same "resizestack" handler taking > iphoneSafeAreaInsets() into account and reposition objects accordingly. > > ***Only difference is that I disabled the group of buttons in the middle in one simulator. > > Please notice the much larger area of empty space below the navigation > widget and above the text field at the top in the screenshot of the iPad Pro (11-inch) (3rd generation). > > Is this a bug, a feature or just some inconvenience of the simulator? > > Any insight welcome, thank you! -- 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 rdimola at evergreeninfo.net Wed Nov 30 16:37:05 2022 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 30 Nov 2022 16:37:05 -0500 Subject: correct iphoneSafeAreaInsets in iPad simulator? In-Reply-To: <96F31279-F891-4509-B2F3-785A0DE82D1F@major-k.de> References: <96F31279-F891-4509-B2F3-785A0DE82D1F@major-k.de> Message-ID: <007601d90503$e7278d30$b576a790$@net> I did not have any problems on iPad Pro (11-inch) (3rd generation) simulator using iphoneSafeAreaInsets(). One thing I did notice that when you change rotation the resizestack handler is not firing. However it does work as expected on the device. LC or simulator bug? Other than that, I have nothing. 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 Klaus major-k via use-livecode Sent: Wednesday, November 30, 2022 3:40 PM To: How to use LiveCode Cc: Klaus major-k Subject: correct iphoneSafeAreaInsets in iPad simulator? Sorry, here the link that does not automatically compresses an downloads the two images -- 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