From richmondmathewson at gmail.com Mon Nov 1 06:51:29 2021 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 1 Nov 2021 12:51:29 +0200 Subject: Forums taking the weekend off Message-ID: <82e05936-c9ef-1560-5d14-b12d1c0d0dae@gmail.com> The Forums seem to have "gone west" about 10 minutes ago. Richmond. From craig at starfirelighting.com Mon Nov 1 10:21:47 2021 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 1 Nov 2021 10:21:47 -0400 Subject: Message Tracer/IDE Crash Recipes In-Reply-To: <7f9b6152-b6cb-25bb-af7c-508823ebd4e6@pair.com> References: <7f9b6152-b6cb-25bb-af7c-508823ebd4e6@pair.com> Message-ID: Curry. I never minimize the SE, if that is the required starting point of the bug. Craig > On Oct 29, 2021, at 10:48 PM, Curry Kenworthy via use-livecode wrote: > > > Craig: > > > The project will run fine for months, in constant use, > > but then crash. Not reproducible as far as I can tell. > > > Just crashed, Again, working in the IDE, > > SE open, fixing and enhancing. > > Here's another bug that may "hint" at similar IDE behavior, > although it doesn't give me a crash: > > Bug 22597 - Invisible Menu bug > https://quality.livecode.com/show_bug.cgi?id=22597 > > That bug also happens when SE is open, or minimized. > It causes menus to be invisible but still functioning. > > It can happen from a few minutes to a few days > of an LC IDE session. Very unpredictable. > > That reminds me of the hard-to-recipe crash bugs > that also happen after a "random" amount of time. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Mon Nov 1 11:49:08 2021 From: curry at pair.com (Curry Kenworthy) Date: Mon, 1 Nov 2021 11:49:08 -0400 Subject: Message Tracer/IDE Crash Recipes In-Reply-To: References: Message-ID: Craig: > I never minimize the SE, if that is the required > starting point of the bug. Given a recipe, that's not a conclusion we can draw; all we know is that this recipe triggers the bug. Could a variation also trigger the bug? Maybe; try it. The point is: here I successfully recipe'd a bug that was as difficult to pin down as your crash, taking a similar "random" amount of time to trigger. My recipe was Confirmed and reproduced by the team. It wasn't easy; that recipe took a while to perfect. Since yours happened again just the other day, you should submit a bug report while it's fresh. Just do your best; maybe someone else will see it and help figure out a better recipe. Let's eradicate more bugs! :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From tom at makeshyft.com Mon Nov 1 15:06:53 2021 From: tom at makeshyft.com (Tom Glod) Date: Mon, 1 Nov 2021 15:06:53 -0400 Subject: widget store In-Reply-To: References: Message-ID: I think thats it Mike. I would be shocked to find out there is another one widget store. What does tmc2 do ? On Sun, Oct 31, 2021 at 12:33 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > since the lc extension store is essentially empty, does anyone have a > widget store, somewhere? > i want to leave tmc2 behind, but i keep finding out just how painful the > alternative is. > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From matthias_livecode_150811 at m-r-d.de Mon Nov 1 15:43:39 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 1 Nov 2021 20:43:39 +0100 Subject: widget store In-Reply-To: References: Message-ID: When i read "tmc2" i think of tmControl 2 from Tactilemedia. A UI kit for Livecode. Here's a short introduction of it https://www.youtube.com/watch?v=_8DtrVpwrds A really great tool and it is really a pity that it is not maintained anymore. Matthias > Am 01.11.2021 um 20:06 schrieb Tom Glod via use-livecode : > > I think thats it Mike. I would be shocked to find out there is another one > widget store. > What does tmc2 do ? > > On Sun, Oct 31, 2021 at 12:33 PM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> since the lc extension store is essentially empty, does anyone have a >> widget store, somewhere? >> i want to leave tmc2 behind, but i keep finding out just how painful the >> alternative is. >> >> -- >> 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 >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Nov 1 16:15:55 2021 From: mkoob at rogers.com (Martin Koob) Date: Mon, 1 Nov 2021 16:15:55 -0400 Subject: widget store In-Reply-To: References: Message-ID: <9E9B2888-7289-4EE0-8354-D6DC5D03B1C3@rogers.com> Hi Just checked the website for tmControl 2. http://tmtools.tactilemedia.com/tmcontrol2/index.html It says it is on vacation. Scott Rossi was the person behind TactileMedia tactilemedia.com/ Martin > On Nov 1, 2021, at 3:43 PM, matthias rebbe via use-livecode wrote: > > When i read "tmc2" i think of tmControl 2 from Tactilemedia. A UI kit for Livecode. > Here's a short introduction of it https://www.youtube.com/watch?v=_8DtrVpwrds > > A really great tool and it is really a pity that it is not maintained anymore. > > Matthias > > >> Am 01.11.2021 um 20:06 schrieb Tom Glod via use-livecode : >> >> I think thats it Mike. I would be shocked to find out there is another one >> widget store. >> What does tmc2 do ? >> >> On Sun, Oct 31, 2021 at 12:33 PM Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> since the lc extension store is essentially empty, does anyone have a >>> widget store, somewhere? >>> i want to leave tmc2 behind, but i keep finding out just how painful the >>> alternative is. >>> >>> -- >>> 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 >>> >> >> >> -- >> Tom Glod >> Founder & Developer >> MakeShyft R.D.A (www.makeshyft.com) >> Mobile:647.562.9411 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 1 16:57:17 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 1 Nov 2021 20:57:17 +0000 Subject: widget store In-Reply-To: References: Message-ID: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> TM Align is a really handy tool for aligning/spacing objects on your card. It has a few things the property inspector alignment tab does not do, and you don't have to keep re-selecting the alignment tab in the property editor every time you close and re-open it. Scott sent me the latest one he has (or told me where to get it) so mine so far as I know still works. I haven't done any design work in quite a while. Bob S > On Nov 1, 2021, at 12:06 , Tom Glod via use-livecode wrote: > > I think thats it Mike. I would be shocked to find out there is another one > widget store. > What does tmc2 do ? From irog at mac.com Mon Nov 1 17:08:33 2021 From: irog at mac.com (Roger Guay) Date: Mon, 1 Nov 2021 14:08:33 -0700 Subject: widget store In-Reply-To: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> Message-ID: <6DD8EF5C-F984-46E5-963C-F07D1B6DD492@mac.com> tmAlign still works in LC 9.6.4 and Mac OS 12. I love it and use it all the time. Roger > On Nov 1, 2021, at 1:57 PM, Bob Sneidar via use-livecode wrote: > > TM Align is a really handy tool for aligning/spacing objects on your card. It has a few things the property inspector alignment tab does not do, and you don't have to keep re-selecting the alignment tab in the property editor every time you close and re-open it. > > Scott sent me the latest one he has (or told me where to get it) so mine so far as I know still works. I haven't done any design work in quite a while. > > Bob S > > >> On Nov 1, 2021, at 12:06 , Tom Glod via use-livecode wrote: >> >> I think thats it Mike. I would be shocked to find out there is another one >> widget store. >> What does tmc2 do ? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 1 17:45:52 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 1 Nov 2021 21:45:52 +0000 Subject: Count Up Timer? Message-ID: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> Anyone ever done a count up timer? For example, if we supply the seconds of 1605553200, we want to display the number of years, months, days, hours, minutes and seconds since that time. For example, "How long have you been alive?". This needs to be precise – need to account for leap years, days in month, etc. Save me!! :) -Dan From matthias_livecode_150811 at m-r-d.de Mon Nov 1 18:21:06 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 1 Nov 2021 23:21:06 +0100 Subject: widget store In-Reply-To: <6DD8EF5C-F984-46E5-963C-F07D1B6DD492@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <6DD8EF5C-F984-46E5-963C-F07D1B6DD492@mac.com> Message-ID: <427F5B91-A5B6-4C26-93A0-E5D60DAC2BF6@m-r-d.de> Yes, that is also a great plugin from Scott. I used it also all the time. So much more options than the align menu of the ide. Matthias > Am 01.11.2021 um 22:08 schrieb Roger Guay via use-livecode : > > tmAlign still works in LC 9.6.4 and Mac OS 12. I love it and use it all the time. > > Roger > >> On Nov 1, 2021, at 1:57 PM, Bob Sneidar via use-livecode wrote: >> >> TM Align is a really handy tool for aligning/spacing objects on your card. It has a few things the property inspector alignment tab does not do, and you don't have to keep re-selecting the alignment tab in the property editor every time you close and re-open it. >> >> Scott sent me the latest one he has (or told me where to get it) so mine so far as I know still works. I haven't done any design work in quite a while. >> >> Bob S >> >> >>> On Nov 1, 2021, at 12:06 , Tom Glod via use-livecode wrote: >>> >>> I think thats it Mike. I would be shocked to find out there is another one >>> widget store. >>> What does tmc2 do ? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Nov 1 18:28:31 2021 From: livfoss at mac.com (Graham Samuel) Date: Mon, 1 Nov 2021 22:28:31 +0000 Subject: Anyone using/playing with .fit files? In-Reply-To: References: <9D018E54-22C1-4FDE-B07F-FA93C986134F@mac.com> Message-ID: <804CC06A-3EA1-4916-B481-46A27D59B18B@mac.com> Thanks Sean - very helpful. I’ll look into it shortly. Graham > On 31 Oct 2021, at 22:43, Sean Cole via use-livecode wrote: > > Hi Graham, > > You could use the FitCSVTool For OSX ( > https://developer.garmin.com/fit/fitcsvtool/osx/) and use a command line > call from LC to convert the .fit file internally and make use of the data > within. That's the way I would go personally. > > Sean > > > On Sun, 31 Oct 2021 at 15:36, Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I’ve just come across these files which are generated by sport apps (such >> as Garmin and Specialized) and also have health applications. The format >> appears to be open and was I think originated by Garmin. The SDK is >> available but not too friendly to a Mac/LC person. >> >> My interest is in extracting suitable data for a .gpx file to show routes >> and other stats related to bike rides. I believe I could code this in LC >> but I wondered if anyone else had tried it. >> >> TIA >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Mon Nov 1 18:28:29 2021 From: tom at makeshyft.com (Tom Glod) Date: Mon, 1 Nov 2021 18:28:29 -0400 Subject: Count Up Timer? In-Reply-To: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> References: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> Message-ID: Hey Dan, I'm pretty sure this handler works. But it only does Days, Hours,Minutes and Seconds. I'm sure you can add to it. (human readable section) Cheers, Tom -------------------------------------------------------------------------- *function* TimeDisplay HowMany,DisplayHow *if* DisplayHow = "Duration" *then* *//************************************************************** *if* AppStarterStackSettings["default"]["Time Unit"] = "seconds" *then* *return* round(HowMany / 1000,3) & "s" *else* *if* AppStarterStackSettings["default"]["Time Unit"] = "milliseconds" *then* *return* HowMany & "ms" *else* *if* AppStarterStackSettings["default"]["Time Unit"] = "microseconds" *then* *end* *if* *else* *if* DisplayHow = "Human Readable" *then* *//************************************************************** *local* final_output = " days ::" *local* running_second_count *local* next_calculation *set* itemdelimiter to "." *-- we are looking at boths sides of the decimal place* *put* round(HowMany / 1000) into HowMany *-- convert to seconds* *// 86,400 seconds in an day* *// 3600 in an hour* *// 60 seonds in a minute* *// replace counts as you go* *-- days* *put* HowMany / 86400 into next_calculation *if* next_calculation < 1 *then* *put* HowMany into running_second_count *replace* "" with "0" in final_output *else* *// how many days?* *replace* "" with item 1 of next_calculation in final_output *put* (HowMany) - (item 1 of next_calculation * 86400) into running_second_count *end* *if* *-- hours* *put* running_second_count / 3600 into next_calculation *if* next_calculation < 1 *then* *replace* "" with "00" in final_output *else* *// how many hours?* *if* the number of characters in item 1 of next_calculation = 1 *then* *replace* "" with "0" & item 1 of next_calculation in final_output *else* *replace* "" with item 1 of next_calculation in final_output *end* *if* *put* (running_second_count) - (item 1 of next_calculation * 3600) into running_second_count *end* *if* *-- minutes* *put* running_second_count / 60 into next_calculation *if* next_calculation < 1 *then* *replace* "" with "00" in final_output *else* *// how many minutes?* *if* the number of characters in item 1 of next_calculation = 1 *then* *replace* "" with "0" & item 1 of next_calculation in final_output *else* *replace* "" with item 1 of next_calculation in final_output *end* *if* *put* (running_second_count) - (item 1 of next_calculation * 60) into running_second_count *end* *if* *-- seconds* *put* running_second_count into next_calculation *if* next_calculation < 1 *then* *replace* "" with "00" in final_output *else* *// how many minutes?* *if* the number of characters in item 1 of next_calculation = 1 *then* *replace* "" with "0" & next_calculation in final_output *else* *replace* "" with next_calculation in final_output *end* *if* *end* *if* *end* *if* *//************************************************************** *return* final_output *end* TimeDisplay --------------------------------------------------------------- On Mon, Nov 1, 2021 at 5:47 PM Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Anyone ever done a count up timer? For example, if we supply the seconds > of 1605553200, we want to display the number of years, months, days, hours, > minutes and seconds since that time. For example, "How long have you been > alive?". This needs to be precise – need to account for leap years, days > in month, etc. > > Save me!! :) > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From marksmithhfx at gmail.com Mon Nov 1 18:29:48 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 1 Nov 2021 22:29:48 +0000 Subject: Count Up Timer? In-Reply-To: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> References: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> Message-ID: You want the convert command. convert 1605553200 from seconds to dateitems gives you 2020,11,16,19,0,0,2 (lookup dateitems). convert the date && the time to seconds gives the date/time right now = 1635805440, then do the same as step one with that gives you 2021,11,1,22,24,0,2. Do a little subtraction and you get 1 yr, 0 months, 15 days, 3 hours, 24 mins, 0 secs. > On Nov 1, 2021, at 9:45 PM, Dan Friedman via use-livecode wrote: > > Anyone ever done a count up timer? For example, if we supply the seconds of 1605553200, we want to display the number of years, months, days, hours, minutes and seconds since that time. For example, "How long have you been alive?". This needs to be precise – need to account for leap years, days in month, etc. > > Save me!! :) > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Tue Nov 2 06:19:15 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Tue, 2 Nov 2021 10:19:15 +0000 Subject: OT: Facebook -> Meta (Damaged Infinity!) Message-ID: <822C5183-65EA-4334-8993-1F3BB6C3DB4B@uni-wh.de> > Jim Lambert via use-livecode Sun, 31 Oct 2021 10:44:22 -0700 > > MarkW wrote: > > From a Boingboing user comment... > > > > META: Making Evil Totally Acceptable > LOL LOL LOL If you want to see infinity in action https://forums.livecode.com/viewtopic.php?f=10&t=36412&e=1&view=unread#p210094 as W. Allen remarked: eternity can be pretty long, especially towards the end. Kind regards Bernd From iphonelagi at gmail.com Tue Nov 2 07:28:13 2021 From: iphonelagi at gmail.com (Eraklis Pittas) Date: Tue, 2 Nov 2021 11:28:13 +0000 Subject: OT: Facebook -> Meta (Damaged Infinity!) In-Reply-To: <822C5183-65EA-4334-8993-1F3BB6C3DB4B@uni-wh.de> References: <822C5183-65EA-4334-8993-1F3BB6C3DB4B@uni-wh.de> Message-ID: He was a lying POS then and he is a lying POS now https://www.dropbox.com/s/xdnjbt9mswp1aul/zuckerberg%2017%20years%20ago.mp4?dl=0 Regards Lagi On Tue, 2 Nov 2021 at 10:20, Niggemann, Bernd via use-livecode < use-livecode at lists.runrev.com> wrote: > > Jim Lambert via use-livecode Sun, 31 Oct 2021 10:44:22 -0700 > > > > MarkW wrote: > > > From a Boingboing user comment... > > > > > > META: Making Evil Totally Acceptable > > > LOL LOL LOL > > If you want to see infinity in action > > > https://forums.livecode.com/viewtopic.php?f=10&t=36412&e=1&view=unread#p210094 > > as W. Allen remarked: eternity can be pretty long, especially towards the > end. > > 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 > -- KIndest Regards Lagi From craig at starfirelighting.com Tue Nov 2 09:08:20 2021 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 2 Nov 2021 09:08:20 -0400 Subject: Count Up Timer? In-Reply-To: References: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> Message-ID: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> Sheesh. This is just another great example why the Forum is so much better a venue than this list. It would take a lot of work to reformat the OP’s code example into something workable in the SE. Craig > On Nov 1, 2021, at 6:29 PM, Mark Smith via use-livecode wrote: > > You want the convert command. convert 1605553200 from seconds to dateitems gives you 2020,11,16,19,0,0,2 (lookup dateitems). convert the date && the time to seconds gives the date/time right now = 1635805440, then do the same as step one with that gives you 2021,11,1,22,24,0,2. Do a little subtraction and you get 1 yr, 0 months, 15 days, 3 hours, 24 mins, 0 secs. > >> On Nov 1, 2021, at 9:45 PM, Dan Friedman via use-livecode wrote: >> >> Anyone ever done a count up timer? For example, if we supply the seconds of 1605553200, we want to display the number of years, months, days, hours, minutes and seconds since that time. For example, "How long have you been alive?". This needs to be precise – need to account for leap years, days in month, etc. >> >> Save me!! :) >> >> -Dan >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Tue Nov 2 10:33:18 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 2 Nov 2021 10:33:18 -0400 Subject: Count Up Timer? In-Reply-To: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> Message-ID: Craig: > This is just another great example why the Forum > is so much better a venue than this list. My view is exactly opposite; I like a List soooo much better. A forum is handy for searches, so a nice place to visit now and then. But I wouldn't want to live there! :D > It would take a lot of work to reformat the OPs code example > into something workable in the SE. I thought the OP was Dan, but you mean Tom's function? Just a matter of not pasting **styled** text for code. Even then, it's easily put right with a few commands. Mark's example is easy to follow too. List is a great venue! Always part of the LC experience. But I'm glad we have both to suit everyone. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From ahsoftware at sonic.net Tue Nov 2 11:43:13 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 2 Nov 2021 08:43:13 -0700 Subject: Count Up Timer? In-Reply-To: References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> Message-ID: On 11/2/21 7:33 AM, Curry Kenworthy via use-livecode wrote: > A forum is handy for searches, > so a nice place to visit now and then. > But I wouldn't want to live there! :D Heh. My thoughts as well. > > > It would take a lot of work to reformat the OPs code example > > into something workable in the SE. > > I thought the OP was Dan, but you mean Tom's function? > Just a matter of not pasting **styled** text for code. > Even then, it's easily put right with a few commands. > Mark's example is easy to follow too. But I think neither of these will solve the OP's question unless the person was born after 1 January 1970. -- Mark Wieder ahsoftware at gmail.com From craig at starfirelighting.com Tue Nov 2 11:48:25 2021 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 2 Nov 2021 11:48:25 -0400 Subject: Count Up Timer? In-Reply-To: References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> Message-ID: <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> Mark. “... unless the person was born after 1 January 1970." Check out the thread “When was the big bang?” on the forum: https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 Craig > On Nov 2, 2021, at 11:43 AM, Mark Wieder via use-livecode wrote: > > On 11/2/21 7:33 AM, Curry Kenworthy via use-livecode wrote: > >> A forum is handy for searches, >> so a nice place to visit now and then. >> But I wouldn't want to live there! :D > > Heh. My thoughts as well. > >> > It would take a lot of work to reformat the OP’s code example >> > into something workable in the SE. >> I thought the OP was Dan, but you mean Tom's function? >> Just a matter of not pasting **styled** text for code. >> Even then, it's easily put right with a few commands. >> Mark's example is easy to follow too. > > But I think neither of these will solve the OP's question unless the person was born after 1 January 1970. > > -- > 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 2 11:56:41 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Tue, 2 Nov 2021 15:56:41 +0000 Subject: Count Up Timer? In-Reply-To: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> References: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> Message-ID: Tidy. Took 10 seconds: -------------------------------------------------------------------------- function TimeDisplay HowMany,DisplayHow if DisplayHow = "Duration" then // if AppStarterStackSettings["default"]["Time Unit"] = "seconds" then return round(HowMany / 1000,3) & "s" else if AppStarterStackSettings["default"]["Time Unit"] = "milliseconds" then return HowMany & "ms" else if AppStarterStackSettings["default"]["Time Unit"] = "microseconds" then end if else if DisplayHow = "Human Readable" then // local final_output = " days ::" local running_second_count local next_calculation set itemdelimiter to "." -- we are looking at boths sides of the decimal place put round(HowMany / 1000) into HowMany -- convert to seconds // 86,400 seconds in an day // 3600 in an hour // 60 seonds in a minute // replace counts as you go -- days put HowMany / 86400 into next_calculation if next_calculation < 1 then put HowMany into running_second_count replace "" with "0" in final_output else // how many days? replace "" with item 1 of next_calculation in final_output put (HowMany) - (item 1 of next_calculation * 86400) into running_second_count end if -- hours put running_second_count / 3600 into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many hours? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & item 1 of next_calculation in final_output else replace "" with item 1 of next_calculation in final_output end if put (running_second_count) - (item 1 of next_calculation * 3600) into running_second_count end if -- minutes put running_second_count / 60 into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many minutes? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & item 1 of next_calculation in final_output else replace "" with item 1 of next_calculation in final_output end if put (running_second_count) - (item 1 of next_calculation * 60) into running_second_count end if -- seconds put running_second_count into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many minutes? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & next_calculation in final_output else replace "" with next_calculation in final_output end if end if end if // return final_output end TimeDisplay --------------------------------------------------------------- From bobsneidar at iotecdigital.com Tue Nov 2 12:03:03 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 2 Nov 2021 16:03:03 +0000 Subject: Count Up Timer? In-Reply-To: <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> Message-ID: <4BC9AE2B-0890-4258-9360-000EEB674F90@iotecdigital.com> And then if you want to convert to the Babalonian calendar of 360 days in a year, well that is just right out. Bob S > On Nov 2, 2021, at 08:48 , Craig Newman via use-livecode wrote: > > Mark. > > “... unless the person was born after 1 January 1970." > > Check out the thread “When was the big bang?” on the forum: > > https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 > > Craig > >> On Nov 2, 2021, at 11:43 AM, Mark Wieder via use-livecode wrote: >> >> On 11/2/21 7:33 AM, Curry Kenworthy via use-livecode wrote: >> >>> A forum is handy for searches, >>> so a nice place to visit now and then. >>> But I wouldn't want to live there! :D >> >> Heh. My thoughts as well. >> >>>> It would take a lot of work to reformat the OP’s code example >>>> into something workable in the SE. >>> I thought the OP was Dan, but you mean Tom's function? >>> Just a matter of not pasting **styled** text for code. >>> Even then, it's easily put right with a few commands. >>> Mark's example is easy to follow too. >> >> But I think neither of these will solve the OP's question unless the person was born after 1 January 1970. >> >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Nov 2 12:07:15 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 2 Nov 2021 09:07:15 -0700 Subject: Count Up Timer? In-Reply-To: <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> Message-ID: <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote: > Mark. > > ... unless the person was born after 1 January 1970." > > Check out the thread When was the big bang? on the forum: > > https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 LOL. "one bit for (the) apple." -- Mark Wieder ahsoftware at gmail.com From MikeKerner at roadrunner.com Tue Nov 2 12:24:14 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 2 Nov 2021 12:24:14 -0400 Subject: widget store In-Reply-To: <427F5B91-A5B6-4C26-93A0-E5D60DAC2BF6@m-r-d.de> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <6DD8EF5C-F984-46E5-963C-F07D1B6DD492@mac.com> <427F5B91-A5B6-4C26-93A0-E5D60DAC2BF6@m-r-d.de> Message-ID: It is really weird that we are in a widget desert, like LCB has been ignored. I looked at LCB a couple of times, like when I was trying to fix some of the issues with the treeView widget before I just got tired of fighting with it. On Mon, Nov 1, 2021 at 6:22 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes, > that is also a great plugin from Scott. I used it also all the time. So > much more options than the align menu of the ide. > > Matthias > > > > Am 01.11.2021 um 22:08 schrieb Roger Guay via use-livecode < > use-livecode at lists.runrev.com>: > > > > tmAlign still works in LC 9.6.4 and Mac OS 12. I love it and use it all > the time. > > > > Roger > > > >> On Nov 1, 2021, at 1:57 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> TM Align is a really handy tool for aligning/spacing objects on your > card. It has a few things the property inspector alignment tab does not do, > and you don't have to keep re-selecting the alignment tab in the property > editor every time you close and re-open it. > >> > >> Scott sent me the latest one he has (or told me where to get it) so > mine so far as I know still works. I haven't done any design work in quite > a while. > >> > >> Bob S > >> > >> > >>> On Nov 1, 2021, at 12:06 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> I think thats it Mike. I would be shocked to find out there is > another one > >>> widget store. > >>> What does tmc2 do ? > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 tom at makeshyft.com Tue Nov 2 13:14:33 2021 From: tom at makeshyft.com (Tom Glod) Date: Tue, 2 Nov 2021 13:14:33 -0400 Subject: Count Up Timer? In-Reply-To: <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> Message-ID: Oh man ..I forgot about the formatting thing. In my client it shows up formatted with color. Does it work ok if it is pasted plain text? On Tue, Nov 2, 2021 at 12:08 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote: > > Mark. > > > > “... unless the person was born after 1 January 1970." > > > > Check out the thread “When was the big bang?” on the forum: > > > > > https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 > > LOL. "one bit for (the) apple." > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From sean at pidigital.co.uk Tue Nov 2 13:27:54 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Tue, 2 Nov 2021 17:27:54 +0000 Subject: Count Up Timer? In-Reply-To: References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> Message-ID: Tom, It is. I would copy it into TextEdit (Plaintext), Atom or BBEdit first to strip any formatting properly, then copy paste from there to mail. :) It happens. Nothing to worry about and only a minor inconvenience. Good code, though :) Sean On Tue, 2 Nov 2021 at 17:14, Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Oh man ..I forgot about the formatting thing. > In my client it shows up formatted with color. > Does it work ok if it is pasted plain text? > > On Tue, Nov 2, 2021 at 12:08 PM Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote: > > > Mark. > > > > > > “... unless the person was born after 1 January 1970." > > > > > > Check out the thread “When was the big bang?” on the forum: > > > > > > > > > https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 > > > > LOL. "one bit for (the) apple." > > > > -- > > 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 > > > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jeff at siphonophore.com Tue Nov 2 14:28:47 2021 From: jeff at siphonophore.com (Jeff Reynolds) Date: Tue, 2 Nov 2021 14:28:47 -0400 Subject: OT: Facebook -> Meta (Damaged Infinity!) Message-ID: I think this needs to be a contest… > MarkW wrote: > From a Boingboing user comment... > > META: Making Evil Totally Acceptable Jeff From richmondmathewson at gmail.com Tue Nov 2 14:52:33 2021 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 2 Nov 2021 20:52:33 +0200 Subject: OT: Facebook -> Meta (Damaged Infinity!) In-Reply-To: References: Message-ID: META Making Easy To Abandon Mainly Eaten Towards the Afternoon Richmond. On 2.11.21 20:28, Jeff Reynolds via use-livecode wrote: > I think this needs to be a contest > >> MarkW wrote: >> From a Boingboing user comment... >> >> META: Making Evil Totally Acceptable > Jeff > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Nov 2 15:07:07 2021 From: mkoob at rogers.com (KOOB) Date: Tue, 2 Nov 2021 15:07:07 -0400 Subject: OT: Facebook -> Meta (Damaged Infinity!) In-Reply-To: References: Message-ID: I’m in META: May Eventually Tank Anyway. Martin Sent from my iPad > On Nov 2, 2021, at 2:30 PM, Jeff Reynolds via use-livecode wrote: > > I think this needs to be a contest… > >> MarkW wrote: >> From a Boingboing user comment... >> >> META: Making Evil Totally Acceptable > > Jeff > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Nov 2 15:43:09 2021 From: mkoob at rogers.com (Martin Koob) Date: Tue, 2 Nov 2021 15:43:09 -0400 Subject: New MacBook Pro Display Notch In-Reply-To: References: Message-ID: Hi I saw a MacRumors.com article about this issue. https://www.macrumors.com/2021/10/28/scale-to-fit-below-built-in-camera-setting-notch/ They gave another link to some recently released Apple documentation that explains to users how to enable the ‘Scale to fit below built-in camera’ mode that prevents your menu bar from being partially obscured by the notch. How to adjust an app's settings to appear below the camera area on your 14-inch or 16-inch MacBook Pro https://support.apple.com/en-us/HT212842 This is something you can point your users who are encountering the problem. Martin > On Oct 19, 2021, at 4:06 PM, Mike Kerner via use-livecode wrote: > > I'm not sure this will be a problem, unless you are trying to display > something in the menubar, since that's where the notch is going to be. > > On Tue, Oct 19, 2021 at 5:14 AM Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I should have thought the simplest way round this problem was to work on >> the assumption that from now on >> ALL Apple displays will have a notch and "cut one's stack" to >> accommodate that. >> >> Of course this is only relevant to people who want to annoy end-users by >> providing full-screen window apps. >> >> On 19.10.21 11:55, HENRY LOWE via use-livecode wrote: >>> The new 14 and 16 inch MacBook Pro models announced by Apple yesterday >> include a display notch to house the 1080P front facing camera. Clearly >> this may cause problems for apps that display content in the screen area >> occupied by the new notch. >>> >>> In response Apple has created a new “compatibility mode” for apps >> running on Macs with a notch. When this mode is active, the system changes >> the active area of the display to avoid the camera housing. This mode can >> be turned on/off by the user via a checkbox in the app’s get info panel or >> it can be activated or deactivated by the developer via a new ‘info.plist’ >> key. >>> >>> Link to Apple developer documentation on how to turn on / off this mode >> using the new ‘info.plist’ key is below: >>> >>> >> https://developer.apple.com/documentation/bundleresources/information_property_list/nsprefersdisplaysafeareacompatibilitymode >>> >>> Henry >>> >>> Ascriva Health Informatics >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 craig at starfirelighting.com Tue Nov 2 16:20:06 2021 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 2 Nov 2021 16:20:06 -0400 Subject: Count Up Timer? In-Reply-To: References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> Message-ID: <74E4BBC8-89AA-458F-9E84-083AB34D42F8@starfirelighting.com> When I was very young I used to run a gadget like this on a field with styled text: on mouseUp get fld 1 repeat for each char tChar in it put numToChar(charToNum(tChar)) after accum end repeat put accum into fld 2 end mouseUp But you do not have to do all that: on mouseUp get fld 1 put it into fld 2 end mouseUp I suppose when you put styled text into a variable, unless you play with the HTMLText, only plain text can be held there. Craig > On Nov 2, 2021, at 1:27 PM, Sean Cole via use-livecode wrote: > > Tom, > It is. > I would copy it into TextEdit (Plaintext), Atom or BBEdit first to strip > any formatting properly, then copy paste from there to mail. :) > It happens. Nothing to worry about and only a minor inconvenience. > Good code, though :) > Sean > > > On Tue, 2 Nov 2021 at 17:14, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Oh man ..I forgot about the formatting thing. >> In my client it shows up formatted with color. >> Does it work ok if it is pasted plain text? >> >> On Tue, Nov 2, 2021 at 12:08 PM Mark Wieder via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote: >>>> Mark. >>>> >>>> “... unless the person was born after 1 January 1970." >>>> >>>> Check out the thread “When was the big bang?” on the forum: >>>> >>>> >>> >> https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 >>> >>> LOL. "one bit for (the) apple." >>> >>> -- >>> 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 >>> >> >> >> -- >> Tom Glod >> Founder & Developer >> MakeShyft R.D.A (www.makeshyft.com) >> Mobile:647.562.9411 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Nov 2 16:40:03 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 2 Nov 2021 20:40:03 +0000 Subject: OT: Facebook -> Meta (Damaged Infinity!) In-Reply-To: References: Message-ID: <944E6803-6514-496D-A476-257FA3E69256@iotecdigital.com> My Efficacy Tumbling Anon Bob S From francois.chaplais at mines-paristech.fr Tue Nov 2 16:41:43 2021 From: francois.chaplais at mines-paristech.fr (francois.chaplais) Date: Tue, 2 Nov 2021 21:41:43 +0100 Subject: Bug survey Message-ID: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> I wanted to answer the LC bug survey. The problem is that there is probably no bug number for my problem. So here it what I wanted to answer to the first question in the survey: ———————————————————— I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27'' iMac, Intel Chip, 8 cores i7, 64 Gigs RAM, 4 TB SSD, etc.. I have the latest stable build of Livecode (9.6.4 | Build 15551). When I want to activate a menu item in the Livecode menubar, it constantly takes more than one second to react. The Livecode menu. The File menu. Using the menu to quit Livecode is for the intrepid. This is the first impression that I have of the current Livecode app, and it discourages me to even try this version. This should be a no brainer for a 2021 app. ———————————————————— Best regards, François From MikeKerner at roadrunner.com Tue Nov 2 16:44:46 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 2 Nov 2021 16:44:46 -0400 Subject: Bug survey In-Reply-To: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> Message-ID: sounds like you should be filing a bug report. that also sounds like strange behavior. On Tue, Nov 2, 2021 at 4:42 PM francois.chaplais via use-livecode < use-livecode at lists.runrev.com> wrote: > I wanted to answer the LC bug survey. > > The problem is that there is probably no bug number for my problem. > > So here it what I wanted to answer to the first question in the survey: > > ———————————————————— > > I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27'' iMac, Intel Chip, 8 > cores i7, 64 Gigs RAM, 4 TB SSD, etc.. > > I have the latest stable build of Livecode (9.6.4 | Build 15551). > > When I want to activate a menu item in the Livecode menubar, it constantly > takes more than one second to react. The Livecode menu. The File menu. > Using the menu to quit Livecode is for the intrepid. > > This is the first impression that I have of the current Livecode app, and > it discourages me to even try this version. > > This should be a no brainer for a 2021 app. > > ———————————————————— > > > Best regards, > > François > _______________________________________________ > use-livecode mailing list > use-livecode 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 2 16:46:54 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 2 Nov 2021 16:46:54 -0400 Subject: mobile accelerometer Message-ID: is anyone using the mobile accelerometer functionality? i am thinking of adding it to our shop floor app to stop updates while forklifts are moving. -- 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 matthias_livecode_150811 at m-r-d.de Tue Nov 2 17:03:31 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 2 Nov 2021 22:03:31 +0100 Subject: Bug survey In-Reply-To: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> Message-ID: <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> François, i noticed something similar and asked about here in September: >> i am currently noticing a massive slow down of the LC 9.6.4 IDE menu. Not right away after opening Livecode IDE, but after some time of usage. I never noticed that in 9.6.3. Clicking on an main menu entry takes then about 2 or 3 seconds until i can see the submenu But I am not sure if this is really only an LC problem or due to the fact that i upgraded to Big Sur around the same time as LC 9.6.4 was released. Currently i only notice this slow down of the menu in 9.6.4 and i am not able to see this in 9.6.3. But maybe i am a little bit to impatient and my testing is too short. In the activity monitor i cannot see anything unusual. Now large memory consumption of LC and no high CPU usage. After a restart of LC the IDE menu behaves normal, but some time later it slows down. Is anyone else experiencing the same or a similar behavior?" << Until now i did not find any solution for this. I really do not know what is causing this and i have no recipe how to reproduce this bug. It just happens... But if you would file a bug, i would add a comment for this and we would be already 2 that have this problem. Maybe there are more people with this. Matthias > Am 02.11.2021 um 21:41 schrieb francois.chaplais via use-livecode : > > I wanted to answer the LC bug survey. > > The problem is that there is probably no bug number for my problem. > > So here it what I wanted to answer to the first question in the survey: > > ———————————————————— > > I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27'' iMac, Intel Chip, 8 cores i7, 64 Gigs RAM, 4 TB SSD, etc.. > > I have the latest stable build of Livecode (9.6.4 | Build 15551). > > When I want to activate a menu item in the Livecode menubar, it constantly takes more than one second to react. The Livecode menu. The File menu. Using the menu to quit Livecode is for the intrepid. > > This is the first impression that I have of the current Livecode app, and it discourages me to even try this version. > > This should be a no brainer for a 2021 app. > > ———————————————————— > > > Best regards, > > François > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Tue Nov 2 17:36:31 2021 From: tom at makeshyft.com (Tom Glod) Date: Tue, 2 Nov 2021 17:36:31 -0400 Subject: Count Up Timer? In-Reply-To: <74E4BBC8-89AA-458F-9E84-083AB34D42F8@starfirelighting.com> References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> <74E4BBC8-89AA-458F-9E84-083AB34D42F8@starfirelighting.com> Message-ID: Ok, thanks Sean, here it is in plain text for anyone who wants to use it. function TimeDisplay HowMany,DisplayHow if DisplayHow = "Duration" then //************************************************************* if AppStarterStackSettings["default"]["Time Unit"] = "seconds" then return round(HowMany / 1000,3) & "s" else if AppStarterStackSettings["default"]["Time Unit"] = "milliseconds" then return HowMany & "ms" else if AppStarterStackSettings["default"]["Time Unit"] = "microseconds" then end if else if DisplayHow = "Human Readable" then //************************************************************* local final_output = " days ::" local running_second_count local next_calculation set itemdelimiter to "." -- we are looking at boths sides of the decimal place put round(HowMany / 1000) into HowMany -- convert to seconds // 86,400 seconds in an day // 3600 in an hour // 60 seonds in a minute // replace counts as you go -- days put HowMany / 86400 into next_calculation if next_calculation < 1 then put HowMany into running_second_count replace "" with "0" in final_output else // how many days? replace "" with item 1 of next_calculation in final_output put (HowMany) - (item 1 of next_calculation * 86400) into running_second_count end if -- hours put running_second_count / 3600 into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many hours? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & item 1 of next_calculation in final_output else replace "" with item 1 of next_calculation in final_output end if put (running_second_count) - (item 1 of next_calculation * 3600) into running_second_count end if -- minutes put running_second_count / 60 into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many minutes? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & item 1 of next_calculation in final_output else replace "" with item 1 of next_calculation in final_output end if put (running_second_count) - (item 1 of next_calculation * 60) into running_second_count end if -- seconds put running_second_count into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many minutes? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & next_calculation in final_output else replace "" with next_calculation in final_output end if end if end if //************************************************************* return final_output end TimeDisplay From irog at mac.com Tue Nov 2 18:27:44 2021 From: irog at mac.com (Roger Guay) Date: Tue, 2 Nov 2021 15:27:44 -0700 Subject: Lemniscate Polygon In-Reply-To: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> Message-ID: <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Dear List, Bernd has produced an absolutely beautiful animation using a Lemniskate polygon that was previously provided by Hermann Hoch. Can anyone provide some help on how to create this polygon mathematically? Since the equation for a Lemniskate involves the SqRt of negative numbers, which is not allowed in LC, I am stumped. You can find Bernd’s animation here: https://forums.livecode.com/viewtopic.php?f=10&t=36412 Thanks, Roger From paul at researchware.com Tue Nov 2 18:43:12 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 2 Nov 2021 18:43:12 -0400 Subject: Lemniscate Polygon In-Reply-To: <1888B91D-67C0-4611-893D-39257FC04030@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: For the infinity symbol polygon, wouldn't a possible way to do this is by modeling a tear drop (see http://paulbourke.net/geometry/teardrop/ which does not require imaginary numbers) and duplicating the points with opposite signs for the other half? On 11/2/2021 6:27 PM, Roger Guay via use-livecode wrote: > Dear List, > > Bernd has produced an absolutely beautiful animation using a Lemniskate polygon that was previously provided by Hermann Hoch. Can anyone provide some help on how to create this polygon mathematically? Since the equation for a Lemniskate involves the SqRt of negative numbers, which is not allowed in LC, I am stumped. > > You can find Bernds animation here: https://forums.livecode.com/viewtopic.php?f=10&t=36412 > > Thanks, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Nov 2 19:07:46 2021 From: dochawk at gmail.com (doc hawk) Date: Tue, 2 Nov 2021 16:07:46 -0700 Subject: mobile accelerometer In-Reply-To: References: Message-ID: <0B094CAB-84F7-4CCB-8A71-C4A4420ADF75@gmail.com> mike mumbled, > > is anyone using the mobile accelerometer functionality? > i am thinking of adding it to our shop floor app to stop updates while > forklifts are moving. I used it a few years ago to move something around the screen by tilting. It was rather straightforward: just read the things and use the related trigonometry (to figure out the angle it is held at in X & Y). However, the accelerometers will *not* tell you whether or not something is moving—once speed is reached, the acceleration drops to “zero” (gravity will still be detected). It could tell you that motion started, though, and you could lockout for however many minutes after any acceleration. Or, you could numerically integrate to get an estimate of speed, and later measure decelerations. But wouldn’t it be simpler to just let updates happen off-shift? From irog at mac.com Tue Nov 2 19:15:28 2021 From: irog at mac.com (Roger Guay) Date: Tue, 2 Nov 2021 16:15:28 -0700 Subject: Lemniscate Polygon In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: <0E8C88DF-7A73-4E94-B5DE-26539C60D9AD@mac.com> Yes, I suppose so. Even easier would be to modify the points of a polygon generated from R = 10*sin(theta)*cos(theta) in polar coordinates (a four leaf clover type), but I’m hoping to avoid that. Thanks, Roger > On Nov 2, 2021, at 3:43 PM, Paul Dupuis via use-livecode wrote: > > For the infinity symbol polygon, wouldn't a possible way to do this is by modeling a tear drop (see http://paulbourke.net/geometry/teardrop/ which does not require imaginary numbers) and duplicating the points with opposite signs for the other half? > > On 11/2/2021 6:27 PM, Roger Guay via use-livecode wrote: >> Dear List, >> >> Bernd has produced an absolutely beautiful animation using a Lemniskate polygon that was previously provided by Hermann Hoch. Can anyone provide some help on how to create this polygon mathematically? Since the equation for a Lemniskate involves the SqRt of negative numbers, which is not allowed in LC, I am stumped. >> >> You can find Bernd’s animation here: https://forums.livecode.com/viewtopic.php?f=10&t=36412 >> >> Thanks, >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Wed Nov 3 03:29:30 2021 From: mark at livecode.com (Mark Waddingham) Date: Wed, 03 Nov 2021 07:29:30 +0000 Subject: Lemniscate Polygon In-Reply-To: <1888B91D-67C0-4611-893D-39257FC04030@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: Hi Roger, On 2021-11-02 22:27, Roger Guay via use-livecode wrote: > Dear List, > > Bernd has produced an absolutely beautiful animation using a > Lemniskate polygon that was previously provided by Hermann Hoch. Can > anyone provide some help on how to create this polygon mathematically? > Since the equation for a Lemniskate involves the SqRt of negative > numbers, which is not allowed in LC, I am stumped. > > You can find Bernds animation here: > https://forums.livecode.com/viewtopic.php?f=10&t=36412 > In general lemniscates are defined as the roots of a specific kind of quartic (power four) polynomials of the pattern: (x^2 + y^2)^2 - cx^2 - dy^2 = 0 So the algorithms for solving them you are probably finding are more general 'quartic polynomial' solvers - just like solving quadratic equations, the full set of solutions can only be computed if you flip into the complex plane (i.e. where sqrt(-1) exists) rather than the real plane. However, there is at least one type of Lemniscate for which there is a nice parametric form - Bernoulli's lemniscate, which is a slightly simpler equation: (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 According to https://mathworld.wolfram.com/Lemniscate.html, this can be parameterized as: x = (a * cos(t)) / (1 + sin(t)^2) y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) Its not clear what the range of t is from the article, but I suspect it will be -pi <= t <= pi (or any 2*pi length range). So a simple repeat loop where N is the number of steps you want to take, and A is the 'scale' of the lemniscate should give you the points you want: repeat with t = -pi to pi step (2*pi / N) put A * cos(t) / (1 + sin(t)^2) into X put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y put X, Y & return after POINTS end repeat Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Wed Nov 3 04:30:44 2021 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 3 Nov 2021 10:30:44 +0200 Subject: Lemniscate Polygon In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: <68c1efbb-6d85-8e74-9647-745431f1a08c@gmail.com> Hmm: didn't like putA * cos(t) / (1 + sin(t)^2) intoX at all. Mainly because A had not been defined . . . OK: all hunky-dory with  put 200 into A Richmond On 3.11.21 9:29, Mark Waddingham via use-livecode wrote: > Hi Roger, > > On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >> Dear List, >> >> Bernd has produced an absolutely beautiful animation using a >> Lemniskate polygon that was previously provided by Hermann Hoch. Can >> anyone provide some help on how to create this polygon mathematically? >> Since the equation for a Lemniskate involves the SqRt of negative >> numbers, which is not allowed in LC, I am stumped. >> >> You can find Bernds animation here: >> https://forums.livecode.com/viewtopic.php?f=10&t=36412 >> > > In general lemniscates are defined as the roots of a specific kind of > quartic (power four) polynomials of the pattern: > >     (x^2 + y^2)^2 - cx^2 - dy^2 = 0 > > So the algorithms for solving them you are probably finding are more > general 'quartic polynomial' solvers - just like solving quadratic > equations, the full set of solutions can only be computed if you flip > into the complex plane (i.e. where sqrt(-1) exists) rather than the > real plane. > > However, there is at least one type of Lemniscate for which there is a > nice parametric form - Bernoulli's lemniscate, which is a slightly > simpler equation: > >     (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 > > According to https://mathworld.wolfram.com/Lemniscate.html, this can > be parameterized as: > >     x = (a * cos(t)) / (1 + sin(t)^2) > >     y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) > > Its not clear what the range of t is from the article, but I suspect > it will be -pi <= t <= pi (or any 2*pi length range). > > So a simple repeat loop where N is the number of steps you want to > take, and A is the 'scale' of the lemniscate should give you the > points you want: > >     repeat with t = -pi to pi step (2*pi / N) >        put A * cos(t) / (1 + sin(t)^2) into X >        put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y >        put X, Y & return after POINTS >     end repeat > > Warmest Regards, > > Mark. > From richmondmathewson at gmail.com Wed Nov 3 04:39:05 2021 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 3 Nov 2021 10:39:05 +0200 Subject: Lemniscate Polygon In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> https://forums.livecode.com/viewtopic.php?f=7&t=36429 Richmond. On 3.11.21 9:29, Mark Waddingham via use-livecode wrote: > Hi Roger, > > On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >> Dear List, >> >> Bernd has produced an absolutely beautiful animation using a >> Lemniskate polygon that was previously provided by Hermann Hoch. Can >> anyone provide some help on how to create this polygon mathematically? >> Since the equation for a Lemniskate involves the SqRt of negative >> numbers, which is not allowed in LC, I am stumped. >> >> You can find Bernds animation here: >> https://forums.livecode.com/viewtopic.php?f=10&t=36412 >> > > In general lemniscates are defined as the roots of a specific kind of > quartic (power four) polynomials of the pattern: > >     (x^2 + y^2)^2 - cx^2 - dy^2 = 0 > > So the algorithms for solving them you are probably finding are more > general 'quartic polynomial' solvers - just like solving quadratic > equations, the full set of solutions can only be computed if you flip > into the complex plane (i.e. where sqrt(-1) exists) rather than the > real plane. > > However, there is at least one type of Lemniscate for which there is a > nice parametric form - Bernoulli's lemniscate, which is a slightly > simpler equation: > >     (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 > > According to https://mathworld.wolfram.com/Lemniscate.html, this can > be parameterized as: > >     x = (a * cos(t)) / (1 + sin(t)^2) > >     y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) > > Its not clear what the range of t is from the article, but I suspect > it will be -pi <= t <= pi (or any 2*pi length range). > > So a simple repeat loop where N is the number of steps you want to > take, and A is the 'scale' of the lemniscate should give you the > points you want: > >     repeat with t = -pi to pi step (2*pi / N) >        put A * cos(t) / (1 + sin(t)^2) into X >        put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y >        put X, Y & return after POINTS >     end repeat > > Warmest Regards, > > Mark. > From irog at mac.com Wed Nov 3 10:03:47 2021 From: irog at mac.com (Roger Guay) Date: Wed, 3 Nov 2021 07:03:47 -0700 Subject: Lemniscate Polygon In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: <02C034FD-9F0D-43A0-B510-9A55EDF461B7@mac.com> Thank you, Mark. That was exactly the answer I was looking for! Roger > On Nov 3, 2021, at 12:29 AM, Mark Waddingham via use-livecode wrote: > > Hi Roger, > > On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >> Dear List, >> Bernd has produced an absolutely beautiful animation using a >> Lemniskate polygon that was previously provided by Hermann Hoch. Can >> anyone provide some help on how to create this polygon mathematically? >> Since the equation for a Lemniskate involves the SqRt of negative >> numbers, which is not allowed in LC, I am stumped. >> You can find Bernd’s animation here: >> https://forums.livecode.com/viewtopic.php?f=10&t=36412 >> > > In general lemniscates are defined as the roots of a specific kind of quartic (power four) polynomials of the pattern: > > (x^2 + y^2)^2 - cx^2 - dy^2 = 0 > > So the algorithms for solving them you are probably finding are more general 'quartic polynomial' solvers - just like solving quadratic equations, the full set of solutions can only be computed if you flip into the complex plane (i.e. where sqrt(-1) exists) rather than the real plane. > > However, there is at least one type of Lemniscate for which there is a nice parametric form - Bernoulli's lemniscate, which is a slightly simpler equation: > > (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 > > According to https://mathworld.wolfram.com/Lemniscate.html, this can be parameterized as: > > x = (a * cos(t)) / (1 + sin(t)^2) > > y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) > > Its not clear what the range of t is from the article, but I suspect it will be -pi <= t <= pi (or any 2*pi length range). > > So a simple repeat loop where N is the number of steps you want to take, and A is the 'scale' of the lemniscate should give you the points you want: > > repeat with t = -pi to pi step (2*pi / N) > put A * cos(t) / (1 + sin(t)^2) into X > put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y > put X, Y & return after POINTS > end repeat > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Wed Nov 3 10:11:11 2021 From: irog at mac.com (Roger Guay) Date: Wed, 3 Nov 2021 07:11:11 -0700 Subject: Lemniscate Polygon In-Reply-To: <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> Message-ID: <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> And thank you, Richmond for implementing what for me was overnight. Very nice clean and simple code too!! Roger > On Nov 3, 2021, at 1:39 AM, Richmond via use-livecode wrote: > > https://forums.livecode.com/viewtopic.php?f=7&t=36429 > > Richmond. > > On 3.11.21 9:29, Mark Waddingham via use-livecode wrote: >> Hi Roger, >> >> On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >>> Dear List, >>> >>> Bernd has produced an absolutely beautiful animation using a >>> Lemniskate polygon that was previously provided by Hermann Hoch. Can >>> anyone provide some help on how to create this polygon mathematically? >>> Since the equation for a Lemniskate involves the SqRt of negative >>> numbers, which is not allowed in LC, I am stumped. >>> >>> You can find Bernd’s animation here: >>> https://forums.livecode.com/viewtopic.php?f=10&t=36412 >>> >> >> In general lemniscates are defined as the roots of a specific kind of quartic (power four) polynomials of the pattern: >> >> (x^2 + y^2)^2 - cx^2 - dy^2 = 0 >> >> So the algorithms for solving them you are probably finding are more general 'quartic polynomial' solvers - just like solving quadratic equations, the full set of solutions can only be computed if you flip into the complex plane (i.e. where sqrt(-1) exists) rather than the real plane. >> >> However, there is at least one type of Lemniscate for which there is a nice parametric form - Bernoulli's lemniscate, which is a slightly simpler equation: >> >> (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 >> >> According to https://mathworld.wolfram.com/Lemniscate.html, this can be parameterized as: >> >> x = (a * cos(t)) / (1 + sin(t)^2) >> >> y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) >> >> Its not clear what the range of t is from the article, but I suspect it will be -pi <= t <= pi (or any 2*pi length range). >> >> So a simple repeat loop where N is the number of steps you want to take, and A is the 'scale' of the lemniscate should give you the points you want: >> >> repeat with t = -pi to pi step (2*pi / N) >> put A * cos(t) / (1 + sin(t)^2) into X >> put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y >> put X, Y & return after POINTS >> end repeat >> >> Warmest Regards, >> >> 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 bobsneidar at iotecdigital.com Wed Nov 3 11:25:20 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 3 Nov 2021 15:25:20 +0000 Subject: Lemniscate Polygon In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: <56F12106-7097-4631-83FD-1BA7EE01F9EE@iotecdigital.com> Ok, you googled that, didn't you?? ;-) Bob S > On Nov 3, 2021, at 24:29 , Mark Waddingham via use-livecode wrote: > > Hi Roger, > > On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >> Dear List, >> Bernd has produced an absolutely beautiful animation using a >> Lemniskate polygon that was previously provided by Hermann Hoch. Can >> anyone provide some help on how to create this polygon mathematically? >> Since the equation for a Lemniskate involves the SqRt of negative >> numbers, which is not allowed in LC, I am stumped. >> You can find Bernd’s animation here: >> https://forums.livecode.com/viewtopic.php?f=10&t=36412 >> > > In general lemniscates are defined as the roots of a specific kind of quartic (power four) polynomials of the pattern: > > (x^2 + y^2)^2 - cx^2 - dy^2 = 0 > > So the algorithms for solving them you are probably finding are more general 'quartic polynomial' solvers - just like solving quadratic equations, the full set of solutions can only be computed if you flip into the complex plane (i.e. where sqrt(-1) exists) rather than the real plane. > > However, there is at least one type of Lemniscate for which there is a nice parametric form - Bernoulli's lemniscate, which is a slightly simpler equation: > > (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 > > According to https://mathworld.wolfram.com/Lemniscate.html, this can be parameterized as: > > x = (a * cos(t)) / (1 + sin(t)^2) > > y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) > > Its not clear what the range of t is from the article, but I suspect it will be -pi <= t <= pi (or any 2*pi length range). > > So a simple repeat loop where N is the number of steps you want to take, and A is the 'scale' of the lemniscate should give you the points you want: > > repeat with t = -pi to pi step (2*pi / N) > put A * cos(t) / (1 + sin(t)^2) into X > put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y > put X, Y & return after POINTS > end repeat > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps From MikeKerner at roadrunner.com Wed Nov 3 12:18:17 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Nov 2021 12:18:17 -0400 Subject: mobile accelerometer In-Reply-To: <0B094CAB-84F7-4CCB-8A71-C4A4420ADF75@gmail.com> References: <0B094CAB-84F7-4CCB-8A71-C4A4420ADF75@gmail.com> Message-ID: Right - it's the deceleration and delay that I'm hoping I can use to determine that the forklift has stopped moving. And yes, there are simpler ways to do everything - but if I was going for simple, I would have stationary, wired workstations running our ERP software, not a mobile app running on the truck. On Tue, Nov 2, 2021 at 7:09 PM doc hawk via use-livecode < use-livecode at lists.runrev.com> wrote: > > mike mumbled, > > > > is anyone using the mobile accelerometer functionality? > > i am thinking of adding it to our shop floor app to stop updates while > > forklifts are moving. > > I used it a few years ago to move something around the screen by tilting. > It was rather straightforward: just read the things and use the related > trigonometry (to figure out the angle it is held at in X & Y). > > However, the accelerometers will *not* tell you whether or not something > is moving—once speed is reached, the acceleration drops to “zero” (gravity > will still be detected). > > It could tell you that motion started, though, and you could lockout for > however many minutes after any acceleration. > > Or, you could numerically integrate to get an estimate of speed, and later > measure decelerations. > > But wouldn’t it be simpler to just let updates happen off-shift? > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Nov 3 12:57:25 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Nov 2021 12:57:25 -0400 Subject: win 11 Message-ID: anyone screwing with win 11 and lc? -- 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 Wed Nov 3 16:42:43 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 3 Nov 2021 20:42:43 +0000 Subject: Popup Menus Message-ID: <9F08BDF1-B663-4192-B44C-BFCDFE1C2176@iotecdigital.com> Hi all. This is a little difficult to explain. I have a popup menu. The first item in the text of the menu is "New Customer..." so that if I popup the menu then let go somewhere OUTSIDE the rect or the popped up items, menuPick is STILL triggered and the first item in the text of the popup button is the parameter passed to it. This means that even if a user clicks off a popped menu, the handler is still triggered. I think this is a bug, and popup menus ought not work that way, but neither here nor there. A workaround would be to detect if the mouseLoc was within the rect of the menu options that pop up when the menu is clicked, but alas the rect of the popup menu is only the size of the button, and does NOT include the options that appear when the button is clicked. Is there any way to get that rect? I suppose I could calculate it based on the max(, ) given the line height and width of the button, but that is a bit of a kludge. Bob S From MikeKerner at roadrunner.com Wed Nov 3 17:03:45 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Nov 2021 17:03:45 -0400 Subject: Bug survey In-Reply-To: <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> Message-ID: Does anyone remember the bug number for the mobile event ordering issue? I can't find it in the bug db and it just bit me so I was going to email LC to modify my list. This is the bug where (on mobile) events don't necessarily thread, so if you are in the middle of a handler and you try to jump out by branching to another card (or handler) the current one will continue to execute. I think it also included an issue with event timing being borked on mobile. On Tue, Nov 2, 2021 at 5:04 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > François, > > i noticed something similar and asked about here in September: > > >> > i am currently noticing a massive slow down of the LC 9.6.4 IDE menu. Not > right away after opening Livecode IDE, but after some time of usage. > I never noticed that in 9.6.3. Clicking on an main menu entry takes then > about 2 or 3 seconds until i can see the submenu > But I am not sure if this is really only an LC problem or due to the fact > that i upgraded to Big Sur around the same time as LC 9.6.4 was released. > Currently i only notice this slow down of the menu in 9.6.4 and i am not > able to see this in 9.6.3. But maybe i am a little bit to impatient and my > testing is too short. > In the activity monitor i cannot see anything unusual. Now large memory > consumption of LC and no high CPU usage. > After a restart of LC the IDE menu behaves normal, but some time later it > slows down. > Is anyone else experiencing the same or a similar behavior?" > << > > Until now i did not find any solution for this. I really do not know what > is causing this and i have no recipe how to reproduce this bug. It just > happens... > > But if you would file a bug, i would add a comment for this and we would > be already 2 that have this problem. Maybe there are more people with this. > > > Matthias > > > > > Am 02.11.2021 um 21:41 schrieb francois.chaplais via use-livecode < > use-livecode at lists.runrev.com>: > > > > I wanted to answer the LC bug survey. > > > > The problem is that there is probably no bug number for my problem. > > > > So here it what I wanted to answer to the first question in the survey: > > > > ———————————————————— > > > > I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27'' iMac, Intel Chip, 8 > cores i7, 64 Gigs RAM, 4 TB SSD, etc.. > > > > I have the latest stable build of Livecode (9.6.4 | Build 15551). > > > > When I want to activate a menu item in the Livecode menubar, it > constantly takes more than one second to react. The Livecode menu. The File > menu. Using the menu to quit Livecode is for the intrepid. > > > > This is the first impression that I have of the current Livecode app, > and it discourages me to even try this version. > > > > This should be a no brainer for a 2021 app. > > > > ———————————————————— > > > > > > Best regards, > > > > François > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Nov 3 17:42:22 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Nov 2021 17:42:22 -0400 Subject: Bug survey In-Reply-To: References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> Message-ID: oh yeah, and another one I forgot about because I've just dealt with it for so long: silent error fails on mobile - again I don't see it in the bug db any more. On Wed, Nov 3, 2021 at 5:03 PM Mike Kerner wrote: > Does anyone remember the bug number for the mobile event ordering issue? I > can't find it in the bug db and it just bit me so I was going to email LC > to modify my list. > This is the bug where (on mobile) events don't necessarily thread, so if > you are in the middle of a handler and you try to jump out by branching to > another card (or handler) the current one will continue to execute. I think > it also included an issue with event timing being borked on mobile. > > On Tue, Nov 2, 2021 at 5:04 PM matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> François, >> >> i noticed something similar and asked about here in September: >> >> >> >> i am currently noticing a massive slow down of the LC 9.6.4 IDE menu. Not >> right away after opening Livecode IDE, but after some time of usage. >> I never noticed that in 9.6.3. Clicking on an main menu entry takes then >> about 2 or 3 seconds until i can see the submenu >> But I am not sure if this is really only an LC problem or due to the fact >> that i upgraded to Big Sur around the same time as LC 9.6.4 was released. >> Currently i only notice this slow down of the menu in 9.6.4 and i am not >> able to see this in 9.6.3. But maybe i am a little bit to impatient and my >> testing is too short. >> In the activity monitor i cannot see anything unusual. Now large memory >> consumption of LC and no high CPU usage. >> After a restart of LC the IDE menu behaves normal, but some time later it >> slows down. >> Is anyone else experiencing the same or a similar behavior?" >> << >> >> Until now i did not find any solution for this. I really do not know what >> is causing this and i have no recipe how to reproduce this bug. It just >> happens... >> >> But if you would file a bug, i would add a comment for this and we would >> be already 2 that have this problem. Maybe there are more people with this. >> >> >> Matthias >> >> >> >> > Am 02.11.2021 um 21:41 schrieb francois.chaplais via use-livecode < >> use-livecode at lists.runrev.com>: >> > >> > I wanted to answer the LC bug survey. >> > >> > The problem is that there is probably no bug number for my problem. >> > >> > So here it what I wanted to answer to the first question in the survey: >> > >> > ———————————————————— >> > >> > I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27'' iMac, Intel Chip, >> 8 cores i7, 64 Gigs RAM, 4 TB SSD, etc.. >> > >> > I have the latest stable build of Livecode (9.6.4 | Build 15551). >> > >> > When I want to activate a menu item in the Livecode menubar, it >> constantly takes more than one second to react. The Livecode menu. The File >> menu. Using the menu to quit Livecode is for the intrepid. >> > >> > This is the first impression that I have of the current Livecode app, >> and it discourages me to even try this version. >> > >> > This should be a no brainer for a 2021 app. >> > >> > ———————————————————— >> > >> > >> > Best regards, >> > >> > François >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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." > -- 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 3 17:47:39 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 3 Nov 2021 16:47:39 -0500 Subject: Bug survey In-Reply-To: References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> Message-ID: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> On 11/3/21 4:03 PM, Mike Kerner via use-livecode wrote: > This is the bug where (on mobile) events don't necessarily thread, so if > you are in the middle of a handler and you try to jump out by branching to > another card (or handler) the current one will continue to execute. I think > it also included an issue with event timing being borked on mobile. I may not understand correctly, but in general this is normal behavior. When you go to another card or handler, those messages are sent and then the original handler continues. If you don't want a continuation, add an "exit" command after the "go". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Wed Nov 3 18:58:04 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 3 Nov 2021 22:58:04 +0000 Subject: Popup Menus In-Reply-To: <9F08BDF1-B663-4192-B44C-BFCDFE1C2176@iotecdigital.com> References: <9F08BDF1-B663-4192-B44C-BFCDFE1C2176@iotecdigital.com> Message-ID: <43FC1000-148A-4C87-9F3D-1ABADDB787E0@iotecdigital.com> NVM I solved it. The code may be useful to others. The function popupRect() will return the popup area, not including the button rect, of a button whose longid you pass to it: on menuPick put the mouseLoc into tMouseLoc put popupRect(the long id of me) into tPopupRect if tMouseLoc is not within tPopupRect then \ return false end menuPick function popupRect pButtonID put the rect of pButtonID into tMyRect put min(the menuLines of pButtonID,the number of lines of the text of pButtonID) into tVisibleLines put the effective textHeight of pButtonID into tLineHeight put tLineHeight * tVisibleLines into tEffectiveOptionsHeight add tEffectiveOptionsHeight to item 4 of tMyRect subtract 18 from item 3 of tMyRect add the effective height of pButtonID to item 2 of tMyRect return tMyRect end popupRect Bob S (ps. This should go into the MasterLibrary) > On Nov 3, 2021, at 13:42 , Bob Sneidar via use-livecode wrote: > > Hi all. This is a little difficult to explain. > > I have a popup menu. The first item in the text of the menu is "New Customer..." so that if I popup the menu then let go somewhere OUTSIDE the rect or the popped up items, menuPick is STILL triggered and the first item in the text of the popup button is the parameter passed to it. > > This means that even if a user clicks off a popped menu, the handler is still triggered. I think this is a bug, and popup menus ought not work that way, but neither here nor there. > > A workaround would be to detect if the mouseLoc was within the rect of the menu options that pop up when the menu is clicked, but alas the rect of the popup menu is only the size of the button, and does NOT include the options that appear when the button is clicked. > > Is there any way to get that rect? I suppose I could calculate it based on the max(, ) given the line height and width of the button, but that is a bit of a kludge. > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Thu Nov 4 07:18:21 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 4 Nov 2021 07:18:21 -0400 Subject: Script Editor Disassociation Bug - Seen it lately? In-Reply-To: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> References: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> Message-ID: I'm checking up on the Script Editor Disassociation Bug, described in this thread: Paul, Bob, Ben, Mark (and Hermann) commented at the time, having experienced the same bug or something very similar. Me: > sometimes the Script Editor window seems to disassociate > from the object being edited. Thus after this bug is triggered, > any typed script changes may not really be applied and saved, > although they are shown as applied. Next LC session, those > changes are gone; the stack code is still as it was > prior to the bug being triggered and prior to editing the script. Interestingly, the comments involved all IDE platforms! I couldn't find a bug report on it; likely never had a recipe. Still interested though! I'd like to recipe or report it. But first: Has anyone seen this bug lately? (On LC 9.6.3 or later.) Especially Paul, Bob, Ben, Mark? My experience: I saw it several times when screensharing with a client, so I saw it happen on Mac. It may have happened to me once? But I think the trigger required certain habits I don't have! That is the key to a recipe; only those actions cause it. Probably one's method of applying and saving changes after editing a script; Apply first, versus just save, from the SE (in the edited tab) or from the stack, etc. The little details of how we Apply and Save. For me the required actions would be like a "mistake" since my habit and discipline usually avoid them. So I'm going to keep an eye out for it, but only if it still exists! (???) (I can ask the client again too.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From paul at researchware.com Thu Nov 4 08:26:07 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 4 Nov 2021 08:26:07 -0400 Subject: Script Editor Disassociation Bug - Seen it lately? In-Reply-To: References: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> Message-ID: <41c370da-674f-bc09-1ca1-c3ffb90cdcaf@researchware.com> On 11/4/2021 7:18 AM, Curry Kenworthy via use-livecode wrote: > > I'm checking up on the Script Editor Disassociation Bug, > described in this thread: > > > > > > But first: Has anyone seen this bug lately? (On LC 9.6.3 or later.) > Especially Paul, Bob, Ben, Mark? > I have not noticed recently - not in the 9.6.x series. I am not saying it might not be present, but I can not recall running into it since back in the 9.0.x time frame. My vague recollection was I encountered it when the property inspector was open and the project browser was open and I selected a different object (although whether I selected the new object in the project browser or by clicking on the object in a stack I can't recall. As I said in my original post, it was intermittent at best, so it was probably some specific sequence of object selection actions that I was doing sometimes unconsciously that led to the disassociation. At any rate, it may be "fixed" in current releases. From MikeKerner at roadrunner.com Thu Nov 4 10:15:33 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 4 Nov 2021 10:15:33 -0400 Subject: Bug survey In-Reply-To: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> Message-ID: No, this is something different. There was a bug report on mobile related to event ordering, but I can't find it. I originally worked around it (like the error causing silent aborts), but it just jumped back up at me, again, and reminded me that I didn't put it on my list. On Wed, Nov 3, 2021 at 5:48 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 11/3/21 4:03 PM, Mike Kerner via use-livecode wrote: > > This is the bug where (on mobile) events don't necessarily thread, so if > > you are in the middle of a handler and you try to jump out by branching > to > > another card (or handler) the current one will continue to execute. I > think > > it also included an issue with event timing being borked on mobile. > > I may not understand correctly, but in general this is normal behavior. > When you go to another > card or handler, those messages are sent and then the original handler > continues. If you don't > want a continuation, add an "exit" command after the "go". > > -- > 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 > -- 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 Thu Nov 4 11:06:24 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Nov 2021 15:06:24 +0000 Subject: Script Editor Disassociation Bug - Seen it lately? In-Reply-To: References: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> Message-ID: I have not seen this to my remembrance. Bob S > On Nov 4, 2021, at 04:18 , Curry Kenworthy via use-livecode wrote: > > I'm checking up on the Script Editor Disassociation Bug, > described in this thread: > > > > Paul, Bob, Ben, Mark (and Hermann) commented at the time, > having experienced the same bug or something very similar. From ahsoftware at sonic.net Thu Nov 4 13:22:03 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 4 Nov 2021 10:22:03 -0700 Subject: Script Editor Disassociation Bug - Seen it lately? In-Reply-To: References: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> Message-ID: <516db115-1fe1-d6b0-d196-84a62b0148c0@sonic.net> On 11/4/21 4:18 AM, Curry Kenworthy via use-livecode wrote: > > I'm checking up on the Script Editor Disassociation Bug, > described in this thread: > > By way of not adding any more data points to your survey (sorry), I can say that I haven't seen this happening lately. But since I'm not sure what the conditions for invoking the bug were in the first place, I don't think the absence of the problem necessarily means it's solved. So \_()_/ -- Mark Wieder ahsoftware at gmail.com From curry at pair.com Thu Nov 4 13:58:07 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 4 Nov 2021 13:58:07 -0400 Subject: Script Editor Disassociation Bug - Seen it lately? In-Reply-To: <41c370da-674f-bc09-1ca1-c3ffb90cdcaf@researchware.com> References: <41c370da-674f-bc09-1ca1-c3ffb90cdcaf@researchware.com> Message-ID: <23b5e210-3aee-047b-6689-3479d214ca02@pair.com> Paul: > I have not noticed recently - not in the 9.6.x series. Good! Paul: > probably some specific sequence of object selection actions Right, so actions during selection and/or script saving. Bob: > I have not seen this to my remembrance. Also good! Mark: > I don't think the absence of the problem > necessarily means it's solved. True. I'm happy no one has seen it lately; hopefully it's gone and on to other bugs. (But yeah, I still need to check with the client, plus there was a possibly related bug still Open.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From Bernd.Niggemann at uni-wh.de Thu Nov 4 14:34:49 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 4 Nov 2021 18:34:49 +0000 Subject: Script Editor Disassociation Bug - Seen it lately? Message-ID: <6C185029-E282-4578-B565-FDA87623B6BD@uni-wh.de> On 11/4/21 4:18 AM, Curry Kenworthy via use-livecode wrote: I'm checking up on the Script Editor Disassociation Bug, described in this thread: I don't know if this is a dissociation of the Script Editor but bug 22555 can fool you into thinking that the script is compiled although it is not. It only occurs if you have "Live Errors" unchecked. It is in "Edit" -> "Options" when Script Editor is open. https://quality.livecode.com/show_bug.cgi?id=22555 I think that one is easy to fix and a proposed fix is in the bug report and has been made a pull-request https://github.com/livecode/livecode-ide/pull/2117 Of course my proposed fix might not be the right fix but it works. Kind regards Bernd From roland.huettmann at gmail.com Thu Nov 4 15:48:31 2021 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 4 Nov 2021 20:48:31 +0100 Subject: Win 11 Message-ID: @Mike Kerner I am using Win 11. I had no issues so far. All works as expected, but I have only be using the IDE. Now, after switching to a 1 TB SSD and 16 MB Ram, also the script editor becomes usable under Windows. What a difference... Wow. Have fun ) Roland From bobsneidar at iotecdigital.com Thu Nov 4 16:19:53 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Nov 2021 20:19:53 +0000 Subject: Win 11 In-Reply-To: References: Message-ID: <0C48E319-5530-4318-937A-39755F5B01FE@iotecdigital.com> Hi Roland. I am wondering if you have had the opportunity to see LC running under MacOS? I have, and would like input from others using Win11 AND MacOS to chime in. Bob S > On Nov 4, 2021, at 12:48 , R.H. via use-livecode wrote: > > @Mike Kerner > > I am using Win 11. I had no issues so far. All works as expected, but I > have only be using the IDE. > > Now, after switching to a 1 TB SSD and 16 MB Ram, also the script editor > becomes usable under Windows. What a difference... Wow. > > Have fun ) > > Roland > ______________ From irog at mac.com Thu Nov 4 16:49:29 2021 From: irog at mac.com (Roger Guay) Date: Thu, 4 Nov 2021 13:49:29 -0700 Subject: Control of Text Fields. In-Reply-To: <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> Message-ID: I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? Thanks, Roger From bobsneidar at iotecdigital.com Thu Nov 4 18:22:17 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Nov 2021 22:22:17 +0000 Subject: Control of Text Fields. In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> Message-ID: <7BB8CBB8-EDCF-49ED-8393-300569550C3E@iotecdigital.com> OK I tried sending put the selectedChunk in one second in an openField handler in a field. What I get... (you may want to sit down for this...) is: Bob Carol That exists precicely NO WHERE IN MY APPLICATION!!!!! Bob S > On Nov 4, 2021, at 13:49 , Roger Guay via use-livecode wrote: > > I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? > > Thanks, > Roger From bobsneidar at iotecdigital.com Thu Nov 4 18:25:31 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Nov 2021 22:25:31 +0000 Subject: Control of Text Fields. In-Reply-To: <7BB8CBB8-EDCF-49ED-8393-300569550C3E@iotecdigital.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <7BB8CBB8-EDCF-49ED-8393-300569550C3E@iotecdigital.com> Message-ID: I just searched for Carol in ANYTHING in ALL OBJECTS in my stack. The word Carol is in nothing. Memory corruption anyone??? Bob S > On Nov 4, 2021, at 15:22 , Bob Sneidar via use-livecode wrote: > > OK I tried sending put the selectedChunk in one second in an openField handler in a field. What I get... (you may want to sit down for this...) is: > > Bob > Carol > > That exists precicely NO WHERE IN MY APPLICATION!!!!! > > Bob S > > >> On Nov 4, 2021, at 13:49 , Roger Guay via use-livecode wrote: >> >> I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? >> >> Thanks, >> Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Nov 4 18:53:44 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 4 Nov 2021 15:53:44 -0700 Subject: Control of Text Fields. In-Reply-To: References: Message-ID: <41d44a21-03d9-8317-5dbc-b2eb877b912d@fourthworld.com> Possibly memory corruption, but unlikely. More likely a plugin or IDE element with test code hanging around. If only there was a way to trace message handlers so you could see where the culprit lies... http://lists.runrev.com/pipermail/use-livecode/2021-October/266125.html :) -- Richard Gaskin Fourth World Systems Bob Sneidar wrote: > I just searched for Carol in ANYTHING in ALL OBJECTS in my stack. The word Carol is in nothing. Memory corruption anyone??? > > Bob S > > >> On Nov 4, 2021, at 15:22 , Bob Sneidar via use-livecode wrote: >> >> OK I tried sending put the selectedChunk in one second in an openField handler in a field. What I get... (you may want to sit down for this...) is: >> >> Bob >> Carol >> >> That exists precicely NO WHERE IN MY APPLICATION!!!!! >> >> Bob S From irog at mac.com Thu Nov 4 19:00:00 2021 From: irog at mac.com (Roger Guay) Date: Thu, 4 Nov 2021 16:00:00 -0700 Subject: Control of Text Fields. In-Reply-To: <41d44a21-03d9-8317-5dbc-b2eb877b912d@fourthworld.com> References: <41d44a21-03d9-8317-5dbc-b2eb877b912d@fourthworld.com> Message-ID: I think you guys have accidentally hijacked my thread. Roger > On Nov 4, 2021, at 3:53 PM, Richard Gaskin via use-livecode wrote: > > Possibly memory corruption, but unlikely. More likely a plugin or IDE element with test code hanging around. > > If only there was a way to trace message handlers so you could see where the culprit lies... > > http://lists.runrev.com/pipermail/use-livecode/2021-October/266125.html > > :) > > -- > Richard Gaskin > Fourth World Systemsaccidentally > > > Bob Sneidar wrote: > >> I just searched for Carol in ANYTHING in ALL OBJECTS in my stack. The word Carol is in nothing. Memory corruption anyone??? >> Bob S >>> On Nov 4, 2021, at 15:22 , Bob Sneidar via use-livecode wrote: >>> OK I tried sending put the selectedChunk in one second in an openField handler in a field. What I get... (you may want to sit down for this...) is: Bob >>> Carol >>> That exists precicely NO WHERE IN MY APPLICATION!!!!! 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 alex at tweedly.net Thu Nov 4 20:53:56 2021 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 5 Nov 2021 00:53:56 +0000 Subject: Control of Text Fields. In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> Message-ID: <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> Hi Roger, I'm not sure I properly understand your question. here's a code snippet the moves the insertion point (in this sample, typing an 'f' moves it forward, 'b' moves it back). (Note this also works if there is some text selected - it moves the insertion to just after the selection, just like the arrow key does). > on keydown p >    local t >    switch p >       case  "f" >          put word 4 of the selectedchunk into t >          select after char (t+1) of me >          break >       case "b" >          put word 2 of the selectedchunk into t >          select before char (t-1) of me >          break >    end  switch > end keydown To then delete the char in front of it, you'd do something like    put empty into char (t+1) of me Hope that's close enough to what you were asking, or at least gives you a starting place  :-), Alex. On 04/11/2021 20:49, Roger Guay via use-livecode wrote: > I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? > > Thanks, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Thu Nov 4 21:39:48 2021 From: irog at mac.com (Roger Guay) Date: Thu, 4 Nov 2021 18:39:48 -0700 Subject: Control of Text Fields. In-Reply-To: <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> Message-ID: <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> Thanks, Alex. Sorry I didn’t make myself clear. I’m building a calculator stack with forward and back arrow buttons and a Delete button. What's the script for these buttons? Roger > On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode wrote: > > Hi Roger, > > I'm not sure I properly understand your question. > > here's a code snippet the moves the insertion point (in this sample, typing an 'f' moves it forward, 'b' moves it back). (Note this also works if there is some text selected - it moves the insertion to just after the selection, just like the arrow key does). > >> on keydown p >> local t >> switch p >> case "f" >> put word 4 of the selectedchunk into t >> select after char (t+1) of me >> break >> case "b" >> put word 2 of the selectedchunk into t >> select before char (t-1) of me >> break >> end switch >> end keydown > To then delete the char in front of it, you'd do something like > > put empty into char (t+1) of me > > Hope that's close enough to what you were asking, or at least gives you a starting place :-), > > Alex. > > On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >> I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? >> >> Thanks, >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Nov 5 03:33:58 2021 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 5 Nov 2021 09:33:58 +0200 Subject: Control of Text Fields. In-Reply-To: <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> Message-ID: Surely the script depends on what you want those buttons to do. On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < use-livecode at lists.runrev.com> wrote: > Thanks, Alex. Sorry I didn’t make myself clear. I’m building a calculator > stack with forward and back arrow buttons and a Delete button. What's the > script for these buttons? > > Roger > > > On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Roger, > > > > I'm not sure I properly understand your question. > > > > here's a code snippet the moves the insertion point (in this sample, > typing an 'f' moves it forward, 'b' moves it back). (Note this also works > if there is some text selected - it moves the insertion to just after the > selection, just like the arrow key does). > > > >> on keydown p > >> local t > >> switch p > >> case "f" > >> put word 4 of the selectedchunk into t > >> select after char (t+1) of me > >> break > >> case "b" > >> put word 2 of the selectedchunk into t > >> select before char (t-1) of me > >> break > >> end switch > >> end keydown > > To then delete the char in front of it, you'd do something like > > > > put empty into char (t+1) of me > > > > Hope that's close enough to what you were asking, or at least gives you > a starting place :-), > > > > Alex. > > > > On 04/11/2021 20:49, Roger Guay via use-livecode wrote: > >> I simply want to be able to move the insertion iBeam in a focused field > left and right, one char at a time (just like the left and right arrows > keys), and then to delete the char in front of it (just like the Delete > key). The dictionary was again of no use to me. Can someone please provide > sample scripts? > >> > >> Thanks, > >> Roger > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curry at pair.com Fri Nov 5 07:05:35 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 5 Nov 2021 07:05:35 -0400 Subject: LC 9.6.5 RC 2 Speed Test Message-ID: My first LC 9.6.5 RC 2 Speed Test - Results on Windows 10, current WordLib.... - LC 9.6.3: A.docx - 0.073 seconds B.docx - 0.518 seconds C.docx - 0.321 seconds D.docx - 0.314 seconds E.docx - 9.202 seconds - LC 9.6.5 RC 2: A.docx - 0.05 seconds B.docx - 0.484 seconds C.docx - 0.284 seconds D.docx - 0.289 seconds E.docx - 7.196 seconds LC 6.7.11: A.docx - 0.057 seconds B.docx - 0.362 seconds C.docx - 0.114 seconds D.docx - 0.338 seconds E.docx - 2.991 seconds Ratings: - LC 9.6.5 RC 2 vs LC 9.6.3: 5 Wins, 0 Losses - LC 9.6.5 RC 2 vs LC 6.7.11: 2 Wins, 3 Losses Conclusion: Good progress; if we follow up on these gains and locate other areas needing optimization, LC 10/11 can be pretty fleet of foot! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From mark at livecode.com Fri Nov 5 07:30:32 2021 From: mark at livecode.com (Mark Waddingham) Date: Fri, 05 Nov 2021 11:30:32 +0000 Subject: LC 9.6.5 RC 2 Speed Test In-Reply-To: References: Message-ID: On 2021-11-05 11:05, Curry Kenworthy via use-livecode wrote: > My first LC 9.6.5 RC 2 Speed Test - > > Results on Windows 10, current WordLib.... > > Ratings: > > - LC 9.6.5 RC 2 vs LC 9.6.3: 5 Wins, 0 Losses > - LC 9.6.5 RC 2 vs LC 6.7.11: 2 Wins, 3 Losses > > Conclusion: > > Good progress; if we follow up on these gains > and locate other areas needing optimization, > LC 10/11 can be pretty fleet of foot! Well that is pleasing to see. Is there any chance you can package up the files used to test along with the stack and submit as an issue to BZ? That way we can take a look to see what is causing the significant differences with C and E, in particular? Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From curry at pair.com Fri Nov 5 08:32:29 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 5 Nov 2021 08:32:29 -0400 Subject: LC 9.6.5 RC 2 Speed Test In-Reply-To: References: Message-ID: <36417094-e1d4-719f-2f25-d0f9d405bcb5@pair.com> Mark: > Is there any chance you can package up the files used to test > along with the stack and submit as an issue to BZ? > That way we can take a look to see what is causing > the significant differences with C and E, in particular? Absolutely; thanks! I'll do that within the next few days. (Should I use the old speed bug 21561 or a new one?) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From mark at livecode.com Fri Nov 5 08:48:33 2021 From: mark at livecode.com (Mark Waddingham) Date: Fri, 05 Nov 2021 12:48:33 +0000 Subject: LC 9.6.5 RC 2 Speed Test In-Reply-To: <36417094-e1d4-719f-2f25-d0f9d405bcb5@pair.com> References: <36417094-e1d4-719f-2f25-d0f9d405bcb5@pair.com> Message-ID: <94d161e06e5f765390d0c9ce1932ae51@livecode.com> On 2021-11-05 12:32, Curry Kenworthy via use-livecode wrote: > Absolutely; thanks! > I'll do that within the next few days. > > (Should I use the old speed bug 21561 or a new one?) If you just add it as another example stack to Bug 21561 that would be fine - there's a good chance its multiple actual issues (just as the existing stack is/was) :) Thanks in advance! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From alex at tweedly.net Fri Nov 5 09:39:30 2021 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 5 Nov 2021 13:39:30 +0000 Subject: Control of Text Fields. In-Reply-To: <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> Message-ID: <845d1db6-07d0-4aba-3be5-0322cb58eabc@tweedly.net> OK, so I was close, but didn't get the cigar. Here's an expanded snippet. The input is in a field called "fInput", the buttons are all in a group, and handled by the group script (saves having many tiny almost identical scripts). The script  uses the name of the target - but since I would never, ever have a control named as a number, the digit buttons use their label instead. If the user cannot select a chunk of text then some of this could be shortened. > on mouseup >    if the target = me then >       -- click in the background in the group >       exit mouseup >    end if >    local tChunk >    focus on fld "fInput" >    put the selectedchunk into tChunk >    if the label of the target is a number then >       put the label of the target into the selectedchunk >       exit mouseUp >    end if >    local tFirst, tLast >    put word 2 of tChunk into tFirst >    put word 4 of tChunk into tLast >    switch the short name of the target >       case "go left" >          select before char (min(tFirst, tLast)) of fld "fInput" >          break >       case  "go right" >          select after char (max(tFirst, tLast)) of fld "fInput" >          break >       case "Del" >          -- remove the selection, or the char *after* the ibeam >          if tFirst <= tLast then >             put empty into char tFirst to tLast of fld "fInput" >          else >             put empty into char (tFirst) of fld "fInput" >          end if >          break >       case "BS" >          -- remove the selection, or the char *before* the ibeam >          if tFirst <= tLast then >             put empty into char tFirst to tLast of fld "fInput" >          else >             put empty into char (tFirst-1) of fld "fInput" >          end if >          break >          -- all the other keys !! >       default >    end switch > end mouseup Alex. On 05/11/2021 01:39, Roger Guay via use-livecode wrote: > Thanks, Alex. Sorry I didnt make myself clear. Im building a calculator stack with forward and back arrow buttons and a Delete button. What's the script for these buttons? > > Roger > >> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode wrote: >> >> Hi Roger, >> >> I'm not sure I properly understand your question. >> >> here's a code snippet the moves the insertion point (in this sample, typing an 'f' moves it forward, 'b' moves it back). (Note this also works if there is some text selected - it moves the insertion to just after the selection, just like the arrow key does). >> >>> on keydown p >>> local t >>> switch p >>> case "f" >>> put word 4 of the selectedchunk into t >>> select after char (t+1) of me >>> break >>> case "b" >>> put word 2 of the selectedchunk into t >>> select before char (t-1) of me >>> break >>> end switch >>> end keydown >> To then delete the char in front of it, you'd do something like >> >> put empty into char (t+1) of me >> >> Hope that's close enough to what you were asking, or at least gives you a starting place :-), >> >> Alex. >> >> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>> I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? >>> >>> Thanks, >>> Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Nov 5 09:59:49 2021 From: irog at mac.com (Roger Guay) Date: Fri, 5 Nov 2021 06:59:49 -0700 Subject: Control of Text Fields. In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> Message-ID: <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. Roger > On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: > > Surely the script depends on what you want those buttons to do. > > On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> Thanks, Alex. Sorry I didn’t make myself clear. I’m building a calculator >> stack with forward and back arrow buttons and a Delete button. What's the >> script for these buttons? >> >> Roger >> >>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi Roger, >>> >>> I'm not sure I properly understand your question. >>> >>> here's a code snippet the moves the insertion point (in this sample, >> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >> if there is some text selected - it moves the insertion to just after the >> selection, just like the arrow key does). >>> >>>> on keydown p >>>> local t >>>> switch p >>>> case "f" >>>> put word 4 of the selectedchunk into t >>>> select after char (t+1) of me >>>> break >>>> case "b" >>>> put word 2 of the selectedchunk into t >>>> select before char (t-1) of me >>>> break >>>> end switch >>>> end keydown >>> To then delete the char in front of it, you'd do something like >>> >>> put empty into char (t+1) of me >>> >>> Hope that's close enough to what you were asking, or at least gives you >> a starting place :-), >>> >>> Alex. >>> >>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>> I simply want to be able to move the insertion iBeam in a focused field >> left and right, one char at a time (just like the left and right arrows >> keys), and then to delete the char in front of it (just like the Delete >> key). The dictionary was again of no use to me. Can someone please provide >> sample scripts? >>>> >>>> Thanks, >>>> Roger >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Nov 5 12:02:58 2021 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 5 Nov 2021 18:02:58 +0200 Subject: Control of Text Fields. In-Reply-To: <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> Message-ID: I am sorry for that misunderstanding: I had a fairly fixed idea of what constituted a calculator in my head, and what you seem to want with your back, forward and delete keys seems more "word-processory". Richmond. On 5.11.21 15:59, Roger Guay via use-livecode wrote: > I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. > > Roger > >> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >> >> Surely the script depends on what you want those buttons to do. >> >> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >> use-livecode at lists.runrev.com> wrote: >> >>> Thanks, Alex. Sorry I didnt make myself clear. Im building a calculator >>> stack with forward and back arrow buttons and a Delete button. What's the >>> script for these buttons? >>> >>> Roger >>> >>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> Hi Roger, >>>> >>>> I'm not sure I properly understand your question. >>>> >>>> here's a code snippet the moves the insertion point (in this sample, >>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>> if there is some text selected - it moves the insertion to just after the >>> selection, just like the arrow key does). >>>>> on keydown p >>>>> local t >>>>> switch p >>>>> case "f" >>>>> put word 4 of the selectedchunk into t >>>>> select after char (t+1) of me >>>>> break >>>>> case "b" >>>>> put word 2 of the selectedchunk into t >>>>> select before char (t-1) of me >>>>> break >>>>> end switch >>>>> end keydown >>>> To then delete the char in front of it, you'd do something like >>>> >>>> put empty into char (t+1) of me >>>> >>>> Hope that's close enough to what you were asking, or at least gives you >>> a starting place :-), >>>> Alex. >>>> >>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>> I simply want to be able to move the insertion iBeam in a focused field >>> left and right, one char at a time (just like the left and right arrows >>> keys), and then to delete the char in front of it (just like the Delete >>> key). The dictionary was again of no use to me. Can someone please provide >>> sample scripts? >>>>> Thanks, >>>>> Roger >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri Nov 5 12:29:54 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 5 Nov 2021 12:29:54 -0400 Subject: LC 9.6.5 RC 2 Speed Test In-Reply-To: <94d161e06e5f765390d0c9ce1932ae51@livecode.com> References: <94d161e06e5f765390d0c9ce1932ae51@livecode.com> Message-ID: Mark: > Is there any chance you can package up the files used to test > along with the stack and submit as an issue to BZ? > That way we can take a look to see what is causing > the significant differences with C and E, in particular? Here it is! I just posted the set of test files (and results again with file names included) plus the test stack download link to the existing speed bug here: https://quality.livecode.com/show_bug.cgi?id=21561 Thanks again.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From sean at pidigital.co.uk Fri Nov 5 12:40:02 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Fri, 5 Nov 2021 16:40:02 +0000 Subject: M1 Mac Windows 10 ARM in Parallels and LC Message-ID: Hi all, Has anyone yet had experience running LC in a Windows 10 ARM edition within Parallels Desktop? This, I feel, would be good knowledge for us all to be aware of. I'm going through the process of working out my next upgrade to the MacBook Pro M1Max. But a contributing factor is: wether this would be able to swap out all of my other systems to just the one (which would be beneficial to my working environment). If not I would have to keep a separate windows system I can hook into via VNC (albeit without the useful direct bridging between the two) or an offsite Windows server (which will be slower but still usable). Technically, the Windows ARM is only beta and may even get dropped potentially. It can run x86 apps (virtualised, I think) but not x64. LC is still x86 as far as I am aware. But I don't know what other caveats may become evident once it is up and running. Hence the question. If no one else has tried this out I may well end up just biting the bullet and take one for the team to find out. But it would be great to know before hand what to expect. Thanks in advance. Sean From richmondmathewson at gmail.com Fri Nov 5 12:54:34 2021 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 5 Nov 2021 18:54:34 +0200 Subject: Control of Text Fields. In-Reply-To: <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> Message-ID: <65a9ff89-a166-d084-fe6e-8ed3d673e5e5@gmail.com> Why do you need to emulate them? Will you NOT have access to a physical keyboard? Here's the script of a stupid button to DELETE one number in a calculator read-out: Richmond. On 5.11.21 15:59, Roger Guay via use-livecode wrote: > I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. > > Roger > >> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >> >> Surely the script depends on what you want those buttons to do. >> >> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >> use-livecode at lists.runrev.com> wrote: >> >>> Thanks, Alex. Sorry I didnt make myself clear. Im building a calculator >>> stack with forward and back arrow buttons and a Delete button. What's the >>> script for these buttons? >>> >>> Roger >>> >>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> Hi Roger, >>>> >>>> I'm not sure I properly understand your question. >>>> >>>> here's a code snippet the moves the insertion point (in this sample, >>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>> if there is some text selected - it moves the insertion to just after the >>> selection, just like the arrow key does). >>>>> on keydown p >>>>> local t >>>>> switch p >>>>> case "f" >>>>> put word 4 of the selectedchunk into t >>>>> select after char (t+1) of me >>>>> break >>>>> case "b" >>>>> put word 2 of the selectedchunk into t >>>>> select before char (t-1) of me >>>>> break >>>>> end switch >>>>> end keydown >>>> To then delete the char in front of it, you'd do something like >>>> >>>> put empty into char (t+1) of me >>>> >>>> Hope that's close enough to what you were asking, or at least gives you >>> a starting place :-), >>>> Alex. >>>> >>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>> I simply want to be able to move the insertion iBeam in a focused field >>> left and right, one char at a time (just like the left and right arrows >>> keys), and then to delete the char in front of it (just like the Delete >>> key). The dictionary was again of no use to me. Can someone please provide >>> sample scripts? >>>>> Thanks, >>>>> Roger >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Fri Nov 5 12:58:04 2021 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 5 Nov 2021 17:58:04 +0100 Subject: win 11 Message-ID: @ Bob Sneidar Hi Bob, well, I am sorry, but I am not using any Apple systems, so I cannot test on a Mac... I can test on Win-10 and Win-11. I have some old equipment (Win-10) and some newer Win-11. Nobody in serious business still uses Win-8, Win-7, and before. If at all, then people switch to Linux for older equipment. And I would do so as well. So, if anybody needs some testing, and if time allows, I can offer my help with Windows 10,11. Kind regards ... Roland From richmondmathewson at gmail.com Fri Nov 5 13:15:12 2021 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 5 Nov 2021 19:15:12 +0200 Subject: Control of Text Fields. In-Reply-To: <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> Message-ID: <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> Pissed around a bit: https://forums.livecode.com/viewtopic.php?f=7&t=36444 Love, Richmond. On 5.11.21 15:59, Roger Guay via use-livecode wrote: > I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. > > Roger > >> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >> >> Surely the script depends on what you want those buttons to do. >> >> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >> use-livecode at lists.runrev.com> wrote: >> >>> Thanks, Alex. Sorry I didnt make myself clear. Im building a calculator >>> stack with forward and back arrow buttons and a Delete button. What's the >>> script for these buttons? >>> >>> Roger >>> >>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> Hi Roger, >>>> >>>> I'm not sure I properly understand your question. >>>> >>>> here's a code snippet the moves the insertion point (in this sample, >>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>> if there is some text selected - it moves the insertion to just after the >>> selection, just like the arrow key does). >>>>> on keydown p >>>>> local t >>>>> switch p >>>>> case "f" >>>>> put word 4 of the selectedchunk into t >>>>> select after char (t+1) of me >>>>> break >>>>> case "b" >>>>> put word 2 of the selectedchunk into t >>>>> select before char (t-1) of me >>>>> break >>>>> end switch >>>>> end keydown >>>> To then delete the char in front of it, you'd do something like >>>> >>>> put empty into char (t+1) of me >>>> >>>> Hope that's close enough to what you were asking, or at least gives you >>> a starting place :-), >>>> Alex. >>>> >>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>> I simply want to be able to move the insertion iBeam in a focused field >>> left and right, one char at a time (just like the left and right arrows >>> keys), and then to delete the char in front of it (just like the Delete >>> key). The dictionary was again of no use to me. Can someone please provide >>> sample scripts? >>>>> Thanks, >>>>> Roger >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Fri Nov 5 13:54:49 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 5 Nov 2021 13:54:49 -0400 Subject: MobileScroller become unresponsive after several minutes of inactivity. Message-ID: Hi Folks, I've got a text field in a group with a mobile scroller created for a group. I scroll the group instead of the field. It all works well. But after a while the scroller stops being responsive, and does not scroll the group anymore. Other parts of my app like nav buttons still work as expected. Has anyone ever run into that? TIA -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Fri Nov 5 14:12:11 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 5 Nov 2021 14:12:11 -0400 Subject: MobileScroller become unresponsive after several minutes of inactivity. In-Reply-To: References: Message-ID: Correction........it also does this after i simply "move" the phone. I limited the orientation to portrait..... and that didn't help to narrow the problem down. And this happens on every MobileScroller I have. Otherwise it works great ...just can't wiggle the phone. Any ideas? On Fri, Nov 5, 2021 at 1:54 PM Tom Glod wrote: > Hi Folks, > > I've got a text field in a group with a mobile scroller created for a > group. > I scroll the group instead of the field. > It all works well. > But after a while the scroller stops being responsive, and does not scroll > the group anymore. > Other parts of my app like nav buttons still work as expected. > > Has anyone ever run into that? > > TIA > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From irog at mac.com Fri Nov 5 14:37:17 2021 From: irog at mac.com (Roger Guay) Date: Fri, 5 Nov 2021 11:37:17 -0700 Subject: Control of Text Fields. In-Reply-To: <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> Message-ID: <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> Very good, Richmond. It’s impressive how quickly you piss around! And, it’s close but no cigar . The arrow keys on the keyboard move the ibeam in a field w/o highlighting any text. And, the Delete key deletes the char in front of the iBeam. I thought this would be easy to duplicate in LC, but maybe not??. Why do I want to emulate these keys? Well at this point, It has become a challenge and I like challenges. BTW, the calculator that I am inspired to replicate is found in Mac Good Grapher which is bundled with the Mac. The Good Grapher Calculator has back and forward buttons and a Delete button that operate exactly as the keyboard ones Thanks for playing with this, Roger > On Nov 5, 2021, at 10:15 AM, Richmond via use-livecode wrote: > > Pissed around a bit: > > https://forums.livecode.com/viewtopic.php?f=7&t=36444 > > Love, Richmond. > > On 5.11.21 15:59, Roger Guay via use-livecode wrote: >> I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. >> >> Roger >> >>> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >>> >>> Surely the script depends on what you want those buttons to do. >>> >>> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Thanks, Alex. Sorry I didn’t make myself clear. I’m building a calculator >>>> stack with forward and back arrow buttons and a Delete button. What's the >>>> script for these buttons? >>>> >>>> Roger >>>> >>>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> Hi Roger, >>>>> >>>>> I'm not sure I properly understand your question. >>>>> >>>>> here's a code snippet the moves the insertion point (in this sample, >>>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>>> if there is some text selected - it moves the insertion to just after the >>>> selection, just like the arrow key does). >>>>>> on keydown p >>>>>> local t >>>>>> switch p >>>>>> case "f" >>>>>> put word 4 of the selectedchunk into t >>>>>> select after char (t+1) of me >>>>>> break >>>>>> case "b" >>>>>> put word 2 of the selectedchunk into t >>>>>> select before char (t-1) of me >>>>>> break >>>>>> end switch >>>>>> end keydown >>>>> To then delete the char in front of it, you'd do something like >>>>> >>>>> put empty into char (t+1) of me >>>>> >>>>> Hope that's close enough to what you were asking, or at least gives you >>>> a starting place :-), >>>>> Alex. >>>>> >>>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>>> I simply want to be able to move the insertion iBeam in a focused field >>>> left and right, one char at a time (just like the left and right arrows >>>> keys), and then to delete the char in front of it (just like the Delete >>>> key). The dictionary was again of no use to me. Can someone please provide >>>> sample scripts? >>>>>> Thanks, >>>>>> Roger >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Nov 5 14:45:46 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 5 Nov 2021 14:45:46 -0400 Subject: M1 Mac Windows 10 ARM in Parallels and LC In-Reply-To: References: Message-ID: remind me next week. my MBP just arrived, yesterday, and after 20 hours in migration assistant, is finally in use. I got a dev edition of win 11 installed in parallels, but i have not tried anything else with it, yet. i also have not figured out how to get the apps to transfer because you can't just open your intel vm in the arm vm, which means getting programs to move won't be trivial. On Fri, Nov 5, 2021 at 12:41 PM Sean Cole via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > Has anyone yet had experience running LC in a Windows 10 ARM edition within > Parallels Desktop? > > This, I feel, would be good knowledge for us all to be aware of. > > I'm going through the process of working out my next upgrade to the MacBook > Pro M1Max. But a contributing factor is: wether this would be able to swap > out all of my other systems to just the one (which would be beneficial to > my working environment). If not I would have to keep a separate windows > system I can hook into via VNC (albeit without the useful direct bridging > between the two) or an offsite Windows server (which will be slower but > still usable). > > Technically, the Windows ARM is only beta and may even get dropped > potentially. It can run x86 apps (virtualised, I think) but not x64. LC is > still x86 as far as I am aware. But I don't know what other caveats may > become evident once it is up and running. Hence the question. > > If no one else has tried this out I may well end up just biting the bullet > and take one for the team to find out. But it would be great to know before > hand what to expect. > > Thanks in advance. > > Sean > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Nov 5 14:46:36 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 5 Nov 2021 14:46:36 -0400 Subject: M1 Mac Windows 10 ARM in Parallels and LC In-Reply-To: References: Message-ID: and i don't think you can get the win 10 installer for arm any longer. i think it's been discontinued and you can only get 11, now. On Fri, Nov 5, 2021 at 2:45 PM Mike Kerner wrote: > remind me next week. my MBP just arrived, yesterday, and after 20 hours in > migration assistant, is finally in use. > I got a dev edition of win 11 installed in parallels, but i have not tried > anything else with it, yet. > i also have not figured out how to get the apps to transfer because you > can't just open your intel vm in the arm vm, which means getting programs > to move won't be trivial. > > On Fri, Nov 5, 2021 at 12:41 PM Sean Cole via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> Has anyone yet had experience running LC in a Windows 10 ARM edition >> within >> Parallels Desktop? >> >> This, I feel, would be good knowledge for us all to be aware of. >> >> I'm going through the process of working out my next upgrade to the >> MacBook >> Pro M1Max. But a contributing factor is: wether this would be able to swap >> out all of my other systems to just the one (which would be beneficial to >> my working environment). If not I would have to keep a separate windows >> system I can hook into via VNC (albeit without the useful direct bridging >> between the two) or an offsite Windows server (which will be slower but >> still usable). >> >> Technically, the Windows ARM is only beta and may even get dropped >> potentially. It can run x86 apps (virtualised, I think) but not x64. LC is >> still x86 as far as I am aware. But I don't know what other caveats may >> become evident once it is up and running. Hence the question. >> >> If no one else has tried this out I may well end up just biting the bullet >> and take one for the team to find out. But it would be great to know >> before >> hand what to expect. >> >> Thanks in advance. >> >> Sean >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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." > -- 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 tom at makeshyft.com Fri Nov 5 14:47:40 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 5 Nov 2021 14:47:40 -0400 Subject: MobileScroller become unresponsive after several minutes of inactivity. In-Reply-To: References: Message-ID: Scratch all that....I solved the issue, I had not commented out a deletescroller on orientationchanged. :) On Fri, Nov 5, 2021 at 2:12 PM Tom Glod wrote: > Correction........it also does this after i simply "move" the phone. > I limited the orientation to portrait..... and that didn't help to narrow > the problem down. > And this happens on every MobileScroller I have. Otherwise it works great > ...just can't wiggle the phone. > > Any ideas? > > On Fri, Nov 5, 2021 at 1:54 PM Tom Glod wrote: > >> Hi Folks, >> >> I've got a text field in a group with a mobile scroller created for a >> group. >> I scroll the group instead of the field. >> It all works well. >> But after a while the scroller stops being responsive, and does not >> scroll the group anymore. >> Other parts of my app like nav buttons still work as expected. >> >> Has anyone ever run into that? >> >> TIA >> >> -- >> Tom Glod >> Founder & Developer >> MakeShyft R.D.A (www.makeshyft.com) >> Mobile:647.562.9411 >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From richmondmathewson at gmail.com Fri Nov 5 15:02:54 2021 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 5 Nov 2021 21:02:54 +0200 Subject: Control of Text Fields. In-Reply-To: <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> Message-ID: <9ce32a9a-b77e-eff8-35c8-889c56c347b8@gmail.com> On 5.11.21 20:37, Roger Guay via use-livecode wrote: > Very good, Richmond. Its impressive how quickly you piss around! And, its close but no cigar . The arrow keys on the keyboard move the ibeam in a field w/o highlighting any text. And, the Delete key deletes the char in front of the iBeam. Then, surely you want to implement the FORWARD delete key: 65535 > I thought this would be easy to duplicate in LC, but maybe not??. > > Why do I want to emulate these keys? Well at this point, It has become a challenge and I like challenges. BTW, the calculator that I am inspired to replicate is found in Mac Good Grapher which is bundled with the Mac. The Good Grapher Calculator has back and forward buttons and a Delete button that operate exactly as the keyboard ones > > Thanks for playing with this, > > Roger > >> On Nov 5, 2021, at 10:15 AM, Richmond via use-livecode wrote: >> >> Pissed around a bit: >> >> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >> >> Love, Richmond. >> >> On 5.11.21 15:59, Roger Guay via use-livecode wrote: >>> I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. >>> >>> Roger >>> >>>> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >>>> >>>> Surely the script depends on what you want those buttons to do. >>>> >>>> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Thanks, Alex. Sorry I didnt make myself clear. Im building a calculator >>>>> stack with forward and back arrow buttons and a Delete button. What's the >>>>> script for these buttons? >>>>> >>>>> Roger >>>>> >>>>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>> Hi Roger, >>>>>> >>>>>> I'm not sure I properly understand your question. >>>>>> >>>>>> here's a code snippet the moves the insertion point (in this sample, >>>>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>>>> if there is some text selected - it moves the insertion to just after the >>>>> selection, just like the arrow key does). >>>>>>> on keydown p >>>>>>> local t >>>>>>> switch p >>>>>>> case "f" >>>>>>> put word 4 of the selectedchunk into t >>>>>>> select after char (t+1) of me >>>>>>> break >>>>>>> case "b" >>>>>>> put word 2 of the selectedchunk into t >>>>>>> select before char (t-1) of me >>>>>>> break >>>>>>> end switch >>>>>>> end keydown >>>>>> To then delete the char in front of it, you'd do something like >>>>>> >>>>>> put empty into char (t+1) of me >>>>>> >>>>>> Hope that's close enough to what you were asking, or at least gives you >>>>> a starting place :-), >>>>>> Alex. >>>>>> >>>>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>>>> I simply want to be able to move the insertion iBeam in a focused field >>>>> left and right, one char at a time (just like the left and right arrows >>>>> keys), and then to delete the char in front of it (just like the Delete >>>>> key). The dictionary was again of no use to me. Can someone please provide >>>>> sample scripts? >>>>>>> Thanks, >>>>>>> Roger >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Nov 5 15:49:22 2021 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 5 Nov 2021 19:49:22 +0000 Subject: Control of Text Fields. In-Reply-To: <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> Message-ID: <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> Hi Roger. Don't know if you've seen the script I posted around 6 hour ago ("expanded snippet"). It does the correct forward / backward key movements, and also implements both "backspace" (delete the char to the left of the iBeam) and "delete" (remove the char to the right of the ibeam) as well as properly handling the case where there is a text selection rather than just an ibeam (i.e. both delete the selection, but not any characters outside that selection). Alex.. On 05/11/2021 18:37, Roger Guay via use-livecode wrote: > Very good, Richmond. Its impressive how quickly you piss around! And, its close but no cigar . The arrow keys on the keyboard move the ibeam in a field w/o highlighting any text. And, the Delete key deletes the char in front of the iBeam. I thought this would be easy to duplicate in LC, but maybe not??. > > Why do I want to emulate these keys? Well at this point, It has become a challenge and I like challenges. BTW, the calculator that I am inspired to replicate is found in Mac Good Grapher which is bundled with the Mac. The Good Grapher Calculator has back and forward buttons and a Delete button that operate exactly as the keyboard ones > > Thanks for playing with this, > > Roger > >> On Nov 5, 2021, at 10:15 AM, Richmond via use-livecode wrote: >> >> Pissed around a bit: >> >> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >> >> Love, Richmond. >> >> On 5.11.21 15:59, Roger Guay via use-livecode wrote: >>> I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. >>> >>> Roger >>> >>>> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >>>> >>>> Surely the script depends on what you want those buttons to do. >>>> >>>> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Thanks, Alex. Sorry I didnt make myself clear. Im building a calculator >>>>> stack with forward and back arrow buttons and a Delete button. What's the >>>>> script for these buttons? >>>>> >>>>> Roger >>>>> >>>>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>> Hi Roger, >>>>>> >>>>>> I'm not sure I properly understand your question. >>>>>> >>>>>> here's a code snippet the moves the insertion point (in this sample, >>>>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>>>> if there is some text selected - it moves the insertion to just after the >>>>> selection, just like the arrow key does). >>>>>>> on keydown p >>>>>>> local t >>>>>>> switch p >>>>>>> case "f" >>>>>>> put word 4 of the selectedchunk into t >>>>>>> select after char (t+1) of me >>>>>>> break >>>>>>> case "b" >>>>>>> put word 2 of the selectedchunk into t >>>>>>> select before char (t-1) of me >>>>>>> break >>>>>>> end switch >>>>>>> end keydown >>>>>> To then delete the char in front of it, you'd do something like >>>>>> >>>>>> put empty into char (t+1) of me >>>>>> >>>>>> Hope that's close enough to what you were asking, or at least gives you >>>>> a starting place :-), >>>>>> Alex. >>>>>> >>>>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>>>> I simply want to be able to move the insertion iBeam in a focused field >>>>> left and right, one char at a time (just like the left and right arrows >>>>> keys), and then to delete the char in front of it (just like the Delete >>>>> key). The dictionary was again of no use to me. Can someone please provide >>>>> sample scripts? >>>>>>> Thanks, >>>>>>> Roger >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Nov 5 16:18:22 2021 From: irog at mac.com (Roger Guay) Date: Fri, 5 Nov 2021 13:18:22 -0700 Subject: Control of Text Fields. In-Reply-To: <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> Message-ID: <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> Alex, I did not see that and it is not in my mailbox. Would you please send it again? Thanks, Roger > On Nov 5, 2021, at 12:49 PM, Alex Tweedly via use-livecode wrote: > > Hi Roger. Don't know if you've seen the script I posted around 6 hour ago ("expanded snippet"). > > It does the correct forward / backward key movements, and also implements both "backspace" (delete the char to the left of the iBeam) and "delete" (remove the char to the right of the ibeam) as well as properly handling the case where there is a text selection rather than just an ibeam (i.e. both delete the selection, but not any characters outside that selection). > > Alex.. > > > On 05/11/2021 18:37, Roger Guay via use-livecode wrote: >> Very good, Richmond. It’s impressive how quickly you piss around! And, it’s close but no cigar . The arrow keys on the keyboard move the ibeam in a field w/o highlighting any text. And, the Delete key deletes the char in front of the iBeam. I thought this would be easy to duplicate in LC, but maybe not??. >> >> Why do I want to emulate these keys? Well at this point, It has become a challenge and I like challenges. BTW, the calculator that I am inspired to replicate is found in Mac Good Grapher which is bundled with the Mac. The Good Grapher Calculator has back and forward buttons and a Delete button that operate exactly as the keyboard ones >> >> Thanks for playing with this, >> >> Roger >> >>> On Nov 5, 2021, at 10:15 AM, Richmond via use-livecode wrote: >>> >>> Pissed around a bit: >>> >>> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >>> >>> Love, Richmond. >>> >>> On 5.11.21 15:59, Roger Guay via use-livecode wrote: >>>> I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. >>>> >>>> Roger >>>> >>>>> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >>>>> >>>>> Surely the script depends on what you want those buttons to do. >>>>> >>>>> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>>> Thanks, Alex. Sorry I didn’t make myself clear. I’m building a calculator >>>>>> stack with forward and back arrow buttons and a Delete button. What's the >>>>>> script for these buttons? >>>>>> >>>>>> Roger >>>>>> >>>>>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> Hi Roger, >>>>>>> >>>>>>> I'm not sure I properly understand your question. >>>>>>> >>>>>>> here's a code snippet the moves the insertion point (in this sample, >>>>>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>>>>> if there is some text selected - it moves the insertion to just after the >>>>>> selection, just like the arrow key does). >>>>>>>> on keydown p >>>>>>>> local t >>>>>>>> switch p >>>>>>>> case "f" >>>>>>>> put word 4 of the selectedchunk into t >>>>>>>> select after char (t+1) of me >>>>>>>> break >>>>>>>> case "b" >>>>>>>> put word 2 of the selectedchunk into t >>>>>>>> select before char (t-1) of me >>>>>>>> break >>>>>>>> end switch >>>>>>>> end keydown >>>>>>> To then delete the char in front of it, you'd do something like >>>>>>> >>>>>>> put empty into char (t+1) of me >>>>>>> >>>>>>> Hope that's close enough to what you were asking, or at least gives you >>>>>> a starting place :-), >>>>>>> Alex. >>>>>>> >>>>>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>>>>> I simply want to be able to move the insertion iBeam in a focused field >>>>>> left and right, one char at a time (just like the left and right arrows >>>>>> keys), and then to delete the char in front of it (just like the Delete >>>>>> key). The dictionary was again of no use to me. Can someone please provide >>>>>> sample scripts? >>>>>>>> Thanks, >>>>>>>> Roger >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Nov 5 16:58:25 2021 From: irog at mac.com (Roger Guay) Date: Fri, 5 Nov 2021 13:58:25 -0700 Subject: Control of Text Fields. In-Reply-To: <9ce32a9a-b77e-eff8-35c8-889c56c347b8@gmail.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9ce32a9a-b77e-eff8-35c8-889c56c347b8@gmail.com> Message-ID: Is that unicode? If so how do I use it? Never done that before. Roger > On Nov 5, 2021, at 12:02 PM, Richmond via use-livecode wrote: > > Then, surely you want to implement the FORWARD delete key: 65535 From alex at tweedly.net Fri Nov 5 17:08:11 2021 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 5 Nov 2021 21:08:11 +0000 Subject: Control of Text Fields. In-Reply-To: <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> Message-ID: <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> On 05/11/2021 20:18, Roger Guay via use-livecode wrote: > Alex, I did not see that and it is not in my mailbox. Would you please send it again? > > Thanks, > Roger Here it is again, below. Or download the sample stack at https://tweedly.org/downloads/calcbuttons.livecode  - not as pretty as Richmond's, doesn't even have all the digits ...) Previously I said: Here's an expanded snippet. The input is in a field called "fInput", the buttons are all in a group, and handled by the group script (saves having many tiny almost identical scripts). The script  uses the name of the target - but since I would never, ever have a control named as a number, the digit buttons use their label instead. If the user cannot select a chunk of text then some of this could be shortened. > on mouseup >    if the target = me then >       -- click in the background in the group >       exit mouseup >    end if >    local tChunk >    focus on fld "fInput" >    put the selectedchunk into tChunk >    if the label of the target is a number then >       put the label of the target into the selectedchunk >       exit mouseUp >    end if >    local tFirst, tLast >    put word 2 of tChunk into tFirst >    put word 4 of tChunk into tLast >    switch the short name of the target >       case "go left" >          select before char (min(tFirst, tLast)) of fld "fInput" >          break >       case  "go right" >          select after char (max(tFirst, tLast)) of fld "fInput" >          break >       case "Del" >          -- remove the selection, or the char *after* the ibeam >          if tFirst <= tLast then >             put empty into char tFirst to tLast of fld "fInput" >          else >             put empty into char (tFirst) of fld "fInput" >          end if >          break >       case "BS" >          -- remove the selection, or the char *before* the ibeam >          if tFirst <= tLast then >             put empty into char tFirst to tLast of fld "fInput" >          else >             put empty into char (tFirst-1) of fld "fInput" >          end if >          break >          -- all the other keys !! >       default >    end switch > end mouseup Alex. From klaus at major-k.de Fri Nov 5 17:08:19 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 5 Nov 2021 22:08:19 +0100 Subject: Control of Text Fields. In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9ce32a9a-b77e-eff8-35c8-889c56c347b8@gmail.com> Message-ID: <1A55826D-670C-46AF-B621-B11A81EBF450@major-k.de> Hi Roger, > Am 05.11.2021 um 21:58 schrieb Roger Guay via use-livecode : > > Is that unicode? If so how do I use it? Never done that before. no, that is the RAWKEY code for that erm. key. :-) Use it in a "rawkeydown/up" handler. > Roger > >> On Nov 5, 2021, at 12:02 PM, Richmond via use-livecode wrote: >> Then, surely you want to implement the FORWARD delete key: 65535 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 5 18:03:16 2021 From: irog at mac.com (Roger Guay) Date: Fri, 5 Nov 2021 15:03:16 -0700 Subject: Control of Text Fields. In-Reply-To: <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> Message-ID: Thank you so much, Alex. This indeed does the trick. And thanks also to Richmond and Klaus for spending time on this. Roger > On Nov 5, 2021, at 2:08 PM, Alex Tweedly via use-livecode wrote: > > > On 05/11/2021 20:18, Roger Guay via use-livecode wrote: >> Alex, I did not see that and it is not in my mailbox. Would you please send it again? >> >> Thanks, >> Roger > > Here it is again, below. > > Or download the sample stack at https://tweedly.org/downloads/calcbuttons.livecode > > - not as pretty as Richmond's, doesn't even have all the digits ...) > > Previously I said: > > Here's an expanded snippet. The input is in a field called "fInput", the buttons are all in a group, and handled by the group script (saves having many tiny almost identical scripts). > > The script uses the name of the target - but since I would never, ever have a control named as a number, the digit buttons use their label instead. > > If the user cannot select a chunk of text then some of this could be shortened. > > >> on mouseup >> if the target = me then >> -- click in the background in the group >> exit mouseup >> end if >> local tChunk >> focus on fld "fInput" >> put the selectedchunk into tChunk >> if the label of the target is a number then >> put the label of the target into the selectedchunk >> exit mouseUp >> end if >> local tFirst, tLast >> put word 2 of tChunk into tFirst >> put word 4 of tChunk into tLast >> switch the short name of the target >> case "go left" >> select before char (min(tFirst, tLast)) of fld "fInput" >> break >> case "go right" >> select after char (max(tFirst, tLast)) of fld "fInput" >> break >> case "Del" >> -- remove the selection, or the char *after* the ibeam >> if tFirst <= tLast then >> put empty into char tFirst to tLast of fld "fInput" >> else >> put empty into char (tFirst) of fld "fInput" >> end if >> break >> case "BS" >> -- remove the selection, or the char *before* the ibeam >> if tFirst <= tLast then >> put empty into char tFirst to tLast of fld "fInput" >> else >> put empty into char (tFirst-1) of fld "fInput" >> end if >> break >> -- all the other keys !! >> default >> end switch >> end mouseup > > Alex. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Nov 6 15:04:46 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 6 Nov 2021 21:04:46 +0200 Subject: Control of Text Fields. In-Reply-To: <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> Message-ID: <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> My competing version is now "up": https://forums.livecode.com/viewtopic.php?f=7&t=36444&p=210241#p210241 Richmond. On 5.11.21 23:08, Alex Tweedly via use-livecode wrote: > > On 05/11/2021 20:18, Roger Guay via use-livecode wrote: >> Alex, I did not see that and it is not in my mailbox. Would you >> please send it again? >> >> Thanks, >> Roger > > Here it is again, below. > > Or download the sample stack at > https://tweedly.org/downloads/calcbuttons.livecode > >  - not as pretty as Richmond's, doesn't even have all the digits ...) > > Previously I said: > > Here's an expanded snippet. The input is in a field called "fInput", > the buttons are all in a group, and handled by the group script (saves > having many tiny almost identical scripts). > > The script  uses the name of the target - but since I would never, > ever have a control named as a number, the digit buttons use their > label instead. > > If the user cannot select a chunk of text then some of this could be > shortened. > > >> on mouseup >>    if the target = me then >>       -- click in the background in the group >>       exit mouseup >>    end if >>    local tChunk >>    focus on fld "fInput" >>    put the selectedchunk into tChunk >>    if the label of the target is a number then >>       put the label of the target into the selectedchunk >>       exit mouseUp >>    end if >>    local tFirst, tLast >>    put word 2 of tChunk into tFirst >>    put word 4 of tChunk into tLast >>    switch the short name of the target >>       case "go left" >>          select before char (min(tFirst, tLast)) of fld "fInput" >>          break >>       case  "go right" >>          select after char (max(tFirst, tLast)) of fld "fInput" >>          break >>       case "Del" >>          -- remove the selection, or the char *after* the ibeam >>          if tFirst <= tLast then >>             put empty into char tFirst to tLast of fld "fInput" >>          else >>             put empty into char (tFirst) of fld "fInput" >>          end if >>          break >>       case "BS" >>          -- remove the selection, or the char *before* the ibeam >>          if tFirst <= tLast then >>             put empty into char tFirst to tLast of fld "fInput" >>          else >>             put empty into char (tFirst-1) of fld "fInput" >>          end if >>          break >>          -- all the other keys !! >>       default >>    end switch >> end mouseup > > Alex. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sat Nov 6 20:44:11 2021 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 7 Nov 2021 00:44:11 +0000 Subject: Control of Text Fields. In-Reply-To: <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> Message-ID: <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> On 06/11/2021 19:04, Richmond via use-livecode wrote: > My competing version is now "up": > > https://forums.livecode.com/viewtopic.php?f=7&t=36444&p=210241#p210241 > > Richmond. Don't you mean "my cooperating version ..."; surely the use-list is about helpful cooperatin and collaborative suggestions, not about competing :-) But having said that:  your "left-arrow' emulation gets it wrong if there is a chunk selection active. left-arrow should position the iBeam to the left of the selection, while this code positions it to the left of the rightmost character of the selection. Alex. > > On 5.11.21 23:08, Alex Tweedly via use-livecode wrote: >> >> On 05/11/2021 20:18, Roger Guay via use-livecode wrote: >>> Alex, I did not see that and it is not in my mailbox. Would you >>> please send it again? >>> >>> Thanks, >>> Roger >> >> Here it is again, below. >> >> Or download the sample stack at >> https://tweedly.org/downloads/calcbuttons.livecode >> >>  - not as pretty as Richmond's, doesn't even have all the digits ...) >> >> Previously I said: >> >> Here's an expanded snippet. The input is in a field called "fInput", >> the buttons are all in a group, and handled by the group script >> (saves having many tiny almost identical scripts). >> >> The script  uses the name of the target - but since I would never, >> ever have a control named as a number, the digit buttons use their >> label instead. >> >> If the user cannot select a chunk of text then some of this could be >> shortened. >> >> >>> on mouseup >>>    if the target = me then >>>       -- click in the background in the group >>>       exit mouseup >>>    end if >>>    local tChunk >>>    focus on fld "fInput" >>>    put the selectedchunk into tChunk >>>    if the label of the target is a number then >>>       put the label of the target into the selectedchunk >>>       exit mouseUp >>>    end if >>>    local tFirst, tLast >>>    put word 2 of tChunk into tFirst >>>    put word 4 of tChunk into tLast >>>    switch the short name of the target >>>       case "go left" >>>          select before char (min(tFirst, tLast)) of fld "fInput" >>>          break >>>       case  "go right" >>>          select after char (max(tFirst, tLast)) of fld "fInput" >>>          break >>>       case "Del" >>>          -- remove the selection, or the char *after* the ibeam >>>          if tFirst <= tLast then >>>             put empty into char tFirst to tLast of fld "fInput" >>>          else >>>             put empty into char (tFirst) of fld "fInput" >>>          end if >>>          break >>>       case "BS" >>>          -- remove the selection, or the char *before* the ibeam >>>          if tFirst <= tLast then >>>             put empty into char tFirst to tLast of fld "fInput" >>>          else >>>             put empty into char (tFirst-1) of fld "fInput" >>>          end if >>>          break >>>          -- all the other keys !! >>>       default >>>    end switch >>> end mouseup >> >> Alex. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Nov 7 04:01:44 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 7 Nov 2021 11:01:44 +0200 Subject: Control of Text Fields. In-Reply-To: <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> Message-ID: <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> I did not mean "competing" in the sense of "b*gger you", I meant it in the sense of healthy competition. "But having said that:  your "left-arrow' emulation gets it wrong if there is a chunk selection active." Quite possible as I spent about 15 minutes on that yesterday between raking up dead leaves, drilling through the metal head of a broken rake to screw it onto a wooden handle, and a whole slew of other things such as talking to my son in Lilongwe re setting up discarded PCs out there (Malawi) with Xubuntu and a programming suite that has recently been effectively abandoned. I have a sackload of kids writing that has just arrived via Viber that has to be addressed: after which I'll have a look at my "half cock job" and see if I can tweak it. Richmond. On 7.11.21 2:44, Alex Tweedly via use-livecode wrote: > > On 06/11/2021 19:04, Richmond via use-livecode wrote: >> My competing version is now "up": >> >> https://forums.livecode.com/viewtopic.php?f=7&t=36444&p=210241#p210241 >> >> Richmond. > > Don't you mean "my cooperating version ..."; surely the use-list is > about helpful cooperatin and collaborative suggestions, not about > competing :-) > > > But having said that:  your "left-arrow' emulation gets it wrong if > there is a chunk selection active. > > left-arrow should position the iBeam to the left of the selection, > while this code positions it to the left of the rightmost character of > the selection. > > Alex. > >> >> On 5.11.21 23:08, Alex Tweedly via use-livecode wrote: >>> >>> On 05/11/2021 20:18, Roger Guay via use-livecode wrote: >>>> Alex, I did not see that and it is not in my mailbox. Would you >>>> please send it again? >>>> >>>> Thanks, >>>> Roger >>> >>> Here it is again, below. >>> >>> Or download the sample stack at >>> https://tweedly.org/downloads/calcbuttons.livecode >>> >>>  - not as pretty as Richmond's, doesn't even have all the digits ...) >>> >>> Previously I said: >>> >>> Here's an expanded snippet. The input is in a field called "fInput", >>> the buttons are all in a group, and handled by the group script >>> (saves having many tiny almost identical scripts). >>> >>> The script  uses the name of the target - but since I would never, >>> ever have a control named as a number, the digit buttons use their >>> label instead. >>> >>> If the user cannot select a chunk of text then some of this could be >>> shortened. >>> >>> >>>> on mouseup >>>>    if the target = me then >>>>       -- click in the background in the group >>>>       exit mouseup >>>>    end if >>>>    local tChunk >>>>    focus on fld "fInput" >>>>    put the selectedchunk into tChunk >>>>    if the label of the target is a number then >>>>       put the label of the target into the selectedchunk >>>>       exit mouseUp >>>>    end if >>>>    local tFirst, tLast >>>>    put word 2 of tChunk into tFirst >>>>    put word 4 of tChunk into tLast >>>>    switch the short name of the target >>>>       case "go left" >>>>          select before char (min(tFirst, tLast)) of fld "fInput" >>>>          break >>>>       case  "go right" >>>>          select after char (max(tFirst, tLast)) of fld "fInput" >>>>          break >>>>       case "Del" >>>>          -- remove the selection, or the char *after* the ibeam >>>>          if tFirst <= tLast then >>>>             put empty into char tFirst to tLast of fld "fInput" >>>>          else >>>>             put empty into char (tFirst) of fld "fInput" >>>>          end if >>>>          break >>>>       case "BS" >>>>          -- remove the selection, or the char *before* the ibeam >>>>          if tFirst <= tLast then >>>>             put empty into char tFirst to tLast of fld "fInput" >>>>          else >>>>             put empty into char (tFirst-1) of fld "fInput" >>>>          end if >>>>          break >>>>          -- all the other keys !! >>>>       default >>>>    end switch >>>> end mouseup >>> >>> Alex. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Nov 7 06:20:14 2021 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 7 Nov 2021 11:20:14 +0000 Subject: Control of Text Fields. In-Reply-To: <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> Message-ID: On 07/11/2021 09:01, Richmond via use-livecode wrote: > I did not mean "competing" in the sense of "b*gger you", I meant it in > the > sense of healthy competition. > Yeah, so did I. And if it came across any other way, then I wholeheartedly apologise. Sorry Richmond. Alex. From richmondmathewson at gmail.com Sun Nov 7 06:36:45 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 7 Nov 2021 13:36:45 +0200 Subject: Control of Text Fields. In-Reply-To: References: <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> Message-ID: <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> No hard feelings. See what I have got up to over on the Forums, and https://forums.livecode.com/viewtopic.php?f=7&t=36444 PLEASE, feel free to pull the thing to bits. Love, Richmond. On 7.11.21 13:20, Alex Tweedly via use-livecode wrote: > > On 07/11/2021 09:01, Richmond via use-livecode wrote: >> I did not mean "competing" in the sense of "b*gger you", I meant it >> in the >> sense of healthy competition. >> > Yeah, so did I. > > And if it came across any other way, then I wholeheartedly apologise. > > Sorry Richmond. > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Sun Nov 7 11:50:26 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun, 7 Nov 2021 16:50:26 +0000 Subject: How to restrain impatient tsNet? Message-ID: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. But under 9.6.5, in spite of this setting, it craps out within a minute with the message tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? TIA, Ben From mark at livecode.com Sun Nov 7 12:50:53 2021 From: mark at livecode.com (Mark Waddingham) Date: Sun, 7 Nov 2021 17:50:53 +0000 Subject: How to restrain impatient tsNet? In-Reply-To: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> References: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> Message-ID: I think tsNetSetTimeouts is what you need :) Warmest Regards, Mark Sent from my iPhone > On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote: > >  > I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). > > I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. > > By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. > > But under 9.6.5, in spite of this setting, it craps out within a minute with the message > tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds > > Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 7 14:28:51 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 7 Nov 2021 20:28:51 +0100 Subject: How to restrain impatient tsNet? In-Reply-To: References: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> Message-ID: <4B05D53E-44D6-489C-A259-93022C3DE3D0@m-r-d.de> Ben, i am not sure if you are already aware of this, but in case you ever want to test your app without tsNet in LC 9.5.x or higher or you want to create it with LC 9.5.x or higher but without using tsNET you could unload tsNet in LC IDE before testing or creating the standalone. LC then uses only the 'standard' libUrl library. To disable tsNET execute this in the message box dispatch "revunloadlibrary" to stack tsnetliburl Please keep in mind that you have to unselect tsNet in the Inclusions section of the standalone builder in case you've set the standalone settings to manually select the inclusions. To enable tsNET again execute this in the message box dispatch "revloadlibrary" to stack tsnetliburl Regards, Matthias > Am 07.11.2021 um 18:50 schrieb Mark Waddingham via use-livecode : > > I think tsNetSetTimeouts is what you need :) > > Warmest Regards, > > Mark > > Sent from my iPhone > >> On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote: >> >>  >> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). >> >> I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. >> >> By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. >> >> But under 9.6.5, in spite of this setting, it craps out within a minute with the message >> tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds >> >> Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? >> >> TIA, >> >> Ben >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Sun Nov 7 16:54:30 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun, 7 Nov 2021 21:54:30 +0000 Subject: How to restrain impatient tsNet? In-Reply-To: <4B05D53E-44D6-489C-A259-93022C3DE3D0@m-r-d.de> References: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> <4B05D53E-44D6-489C-A259-93022C3DE3D0@m-r-d.de> Message-ID: <13378ad4-77b4-a14e-f319-046af060f9b9@cogapp.com> Thanks Mark and Matthias! Ben On 07/11/2021 19:28, matthias rebbe via use-livecode wrote: > Ben, > > i am not sure if you are already aware of this, but in case you ever want to test your app without tsNet in LC 9.5.x or higher or you want to create it with LC 9.5.x or higher but without using tsNET you could unload tsNet in LC IDE before testing or creating the standalone. LC then uses only the 'standard' libUrl library. > > To disable tsNET execute this in the message box > dispatch "revunloadlibrary" to stack tsnetliburl > > Please keep in mind that you have to unselect tsNet in the Inclusions section of the standalone builder in case you've set the standalone settings to manually select the inclusions. > > > To enable tsNET again execute this in the message box > dispatch "revloadlibrary" to stack tsnetliburl > > > Regards, > Matthias > > >> Am 07.11.2021 um 18:50 schrieb Mark Waddingham via use-livecode : >> >> I think tsNetSetTimeouts is what you need :) >> >> Warmest Regards, >> >> Mark >> >> Sent from my iPhone >> >>> On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote: >>> >>> >>> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). >>> >>> I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. >>> >>> By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. >>> >>> But under 9.6.5, in spite of this setting, it craps out within a minute with the message >>> tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds >>> >>> Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? >>> >>> TIA, >>> >>> Ben >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Nov 7 20:51:33 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 8 Nov 2021 01:51:33 +0000 Subject: Control of Text Fields. In-Reply-To: <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> References: <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> Message-ID: <460bf669-107e-e0d8-0e52-c8e38dedc5b0@tweedly.net> On 07/11/2021 11:36, Richmond via use-livecode wrote: > No hard feelings. > > See what I have got up to over on the Forums, and > > https://forums.livecode.com/viewtopic.php?f=7&t=36444 > > PLEASE, feel free to pull the thing to bits. > I don't want to "pull the thing to bits". Like you, I enjoy seeing "competing" multitude of ways to do things - I can learn from them all. But I did have a quick look, so I'll just point out a small number of nitpicks. 1. the whole 'locktext' thing is weird, and causes various anomalies. When I first open the stack, and click in the field, I can type digits and have them appear in the field, as you'd expect. But once I've clicked on an 'arrow-emulator' the field becomes locked and one can no longer type in characters.  Clicking *outside* the field will then free it up again, so typing becomes possible. 2. disappearing iBeam. If I position the ibeam in the middle of the text in the field, and use one of the arrow emulator buttons, the iBeam  moves properly - but then disappears (perhaps when the 'locktext' is set true). 3. incorrect entry position. As in 2 above, although the ibeam was last seen in the correct place after using the ">" button to move it to the right, if I then click on a digit button, that digit appears at the end of the field, not where it should have gone 4. Incorrect arrow key emulation (same problem as I mentioned in the previous email). If you select a chunk of text in the field, then use the left-arrow emulator button, the ibeam is positioned before the *last* character of the selection, instead of before the first. There were a couple of others, omitted for brevity. I've created a modified version your stack with my suggested handlers, and will attempt to upload it to the forum later. Then there was another issue which I haven't tackled - it would mean changing lots of very similar tiny scripts, and is too tedious. 5. character input should replace any selection Just like in a regular field, if there is an active selection, typing a character (or clicking a digit button, should *replace* it, not simply add the newly typed (or clicked) digit. I've taken my earlier handler suggestion, and broken the bits of code out into individual button scripts, which removes the apparent complexity that you disliked earlier. As far as I know, no problems have yet been found with that approach. As one example, the code for left-arrow emulator would be >  on mouseUp >    focus on field "fWORK" >    put word 2 of the selectedchunk into tFirst >    put word 4 of the selectedchunk into tLast >    select before char (min(tFirst, tLast)) of fld "fWORK" > end mouseUp I've uploaded this revised version on the forum thread. Best wishes,  Alex From dan at clearvisiontech.com Mon Nov 8 00:18:41 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 8 Nov 2021 05:18:41 +0000 Subject: DataGrid Edit Mode and Fixed Control Height Message-ID: So, using the edit mode of a data grid is great! When enabled, I can drag the hamburger icon to reoder the rows... easy! But, if I set the "fixed control height" of the data grid to false, the hamburger icon no longer appears! Same with the select icon for each row. I have messed with the properties and code and can't seem to figure out how to get the draggable icon to appear when "fixed control height" is false. Anyone know the solution or is this a limitation of the data grid? Thanks in advance, -Dan From richmondmathewson at gmail.com Mon Nov 8 06:15:32 2021 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 8 Nov 2021 13:15:32 +0200 Subject: Clicking around . . . Message-ID: <64fee512-6544-419d-347e-c30fa8354195@gmail.com> Well . . . this is a sort of side-effect at my fooling around with calculators: If I have a field on a card that has the lockText set to true and I click outwith the stack that lockText is set to false . . . I feel this should NOT happen: Probably because if I click outside a LibreOffice document, a GIMP document or a TextEdit document (the 3 apps I use most often apart from LiveCode) that click does NOT affect those documents at all. Richmond. From alex at tweedly.net Mon Nov 8 07:39:01 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 8 Nov 2021 12:39:01 +0000 Subject: Clicking around . . . In-Reply-To: <64fee512-6544-419d-347e-c30fa8354195@gmail.com> References: <64fee512-6544-419d-347e-c30fa8354195@gmail.com> Message-ID: Hi Richmond, I of course agree that shouldn't happen - but I've not been able to reproduce it. I tried : create new stack create field put text into it, then position insertion cursor within that text      (ibeam is flashing) use Property Inspector to set locktext to true     (ibeam is no longer visible) click outside the stack     (no change - ibeam still invisible) click back inside stack (but outside field)     (no change - ibeam still invisible) click inside field     (no change - ibeam still invisible) check in Property Inspector - locktext is still true. Can you maybe try those steps - or say exactly what steps you did to see the problem in the first place. (btw - MacOs 10.13.6, LC 9.6.4) Alex. On 08/11/2021 11:15, Richmond via use-livecode wrote: > Well . . . this is a sort of side-effect at my fooling around with > calculators: > > If I have a field on a card that has the lockText set to true and > I click outwith the stack that lockText is set to false . . . > > I feel this should NOT happen: > > Probably because if I click outside a LibreOffice document, a GIMP > document or a TextEdit document > > (the 3 apps I use most often apart from LiveCode) > > that click does NOT affect those documents at all. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 8 11:33:40 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Nov 2021 10:33:40 -0600 Subject: Clicking around . . . In-Reply-To: <64fee512-6544-419d-347e-c30fa8354195@gmail.com> References: <64fee512-6544-419d-347e-c30fa8354195@gmail.com> Message-ID: <17d0065eea0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I don't have your script handy but didn't you set it to lock on closefield? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 8, 2021 5:18:06 AM Richmond via use-livecode wrote: > Well . . . this is a sort of side-effect at my fooling around with > calculators: > > If I have a field on a card that has the lockText set to true and > I click outwith the stack that lockText is set to false . . . > > I feel this should NOT happen: > > Probably because if I click outside a LibreOffice document, a GIMP > document or a TextEdit document > > (the 3 apps I use most often apart from LiveCode) > > that click does NOT affect those documents at all. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 8 12:44:20 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Nov 2021 12:44:20 -0500 Subject: How to restrain impatient tsNet? In-Reply-To: <13378ad4-77b4-a14e-f319-046af060f9b9@cogapp.com> References: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> <4B05D53E-44D6-489C-A259-93022C3DE3D0@m-r-d.de> <13378ad4-77b4-a14e-f319-046af060f9b9@cogapp.com> Message-ID: <004301d7d4c8$456ae4e0$d040aea0$@net> Ben, One more thing. Function GetNetworkType below will return the network type. The handler NetworkType will report the status and version. command NetworkType if GetNetworkType() = "Sockets" then answer "tsNet is disabled" else answer "tsNet in use. Version==>"& tsNetVersion() end if end NetworkType function GetNetworkType local tLibUrlDriver try put the behavior of stack"revLibUrl" into tLibUrlDriver end try if tLibUrlDriver is empty then return "Sockets" else return "tsNet" end if end GetNetworkType 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 Ben Rubinstein via use-livecode Sent: Sunday, November 07, 2021 4:55 PM To: use-livecode at lists.runrev.com Cc: Ben Rubinstein Subject: Re: How to restrain impatient tsNet? Thanks Mark and Matthias! Ben On 07/11/2021 19:28, matthias rebbe via use-livecode wrote: > Ben, > > i am not sure if you are already aware of this, but in case you ever want to test your app without tsNet in LC 9.5.x or higher or you want to create it with LC 9.5.x or higher but without using tsNET you could unload tsNet in LC IDE before testing or creating the standalone. LC then uses only the 'standard' libUrl library. > > To disable tsNET execute this in the message box > dispatch "revunloadlibrary" to stack tsnetliburl > > Please keep in mind that you have to unselect tsNet in the Inclusions section of the standalone builder in case you've set the standalone settings to manually select the inclusions. > > > To enable tsNET again execute this in the message box > dispatch "revloadlibrary" to stack tsnetliburl > > > Regards, > Matthias > > >> Am 07.11.2021 um 18:50 schrieb Mark Waddingham via use-livecode : >> >> I think tsNetSetTimeouts is what you need :) >> >> Warmest Regards, >> >> Mark >> >> Sent from my iPhone >> >>> On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote: >>> >>>  >>> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). >>> >>> I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. >>> >>> By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. >>> >>> But under 9.6.5, in spite of this setting, it craps out within a minute with the message >>> tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds >>> >>> Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? >>> >>> TIA, >>> >>> Ben >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Tue Nov 9 07:06:31 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 9 Nov 2021 12:06:31 +0000 Subject: How to restrain impatient tsNet? In-Reply-To: <004301d7d4c8$456ae4e0$d040aea0$@net> References: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> <4B05D53E-44D6-489C-A259-93022C3DE3D0@m-r-d.de> <13378ad4-77b4-a14e-f319-046af060f9b9@cogapp.com> <004301d7d4c8$456ae4e0$d040aea0$@net> Message-ID: <62bf4be8-d077-5dea-032b-eb19de8db191@cogapp.com> Thanks Ralph. tsNetSetTimeouts sorted me out, Mark was too polite to say RTFM... I really thought I had! Ben On 08/11/2021 17:44, Ralph DiMola via use-livecode wrote: > Ben, > > One more thing. Function GetNetworkType below will return the network type. The handler NetworkType will report the status and version. > > command NetworkType > > if GetNetworkType() = "Sockets" then > > answer "tsNet is disabled" > > else > > answer "tsNet in use. Version==>"& tsNetVersion() > > end if > > end NetworkType > > > function GetNetworkType > > local tLibUrlDriver > > try > > put the behavior of stack"revLibUrl" into tLibUrlDriver > > end try > > if tLibUrlDriver is empty then > > return "Sockets" > > else > > return "tsNet" > > end if > > end GetNetworkType > > 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 Ben Rubinstein via use-livecode > Sent: Sunday, November 07, 2021 4:55 PM > To: use-livecode at lists.runrev.com > Cc: Ben Rubinstein > Subject: Re: How to restrain impatient tsNet? > > Thanks Mark and Matthias! > > Ben > > On 07/11/2021 19:28, matthias rebbe via use-livecode wrote: >> Ben, >> >> i am not sure if you are already aware of this, but in case you ever want to test your app without tsNet in LC 9.5.x or higher or you want to create it with LC 9.5.x or higher but without using tsNET you could unload tsNet in LC IDE before testing or creating the standalone. LC then uses only the 'standard' libUrl library. >> >> To disable tsNET execute this in the message box >> dispatch "revunloadlibrary" to stack tsnetliburl >> >> Please keep in mind that you have to unselect tsNet in the Inclusions section of the standalone builder in case you've set the standalone settings to manually select the inclusions. >> >> >> To enable tsNET again execute this in the message box >> dispatch "revloadlibrary" to stack tsnetliburl >> >> >> Regards, >> Matthias >> >> >>> Am 07.11.2021 um 18:50 schrieb Mark Waddingham via use-livecode : >>> >>> I think tsNetSetTimeouts is what you need :) >>> >>> Warmest Regards, >>> >>> Mark >>> >>> Sent from my iPhone >>> >>>> On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote: >>>> >>>> >>>> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). >>>> >>>> I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. >>>> >>>> By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. >>>> >>>> But under 9.6.5, in spite of this setting, it craps out within a minute with the message >>>> tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds >>>> >>>> Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? >>>> >>>> TIA, >>>> >>>> Ben >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 9 16:59:29 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 9 Nov 2021 16:59:29 -0500 Subject: Mobile Brower Widget Error Accessing Local Files LC 9.6.5 (rc 2) Message-ID: <00a601d7d5b5$14f052d0$3ed0f870$@net> I am getting "e\net::ERR_ACCESS_DENIED" when accessing a local html files in the "specialFolderPath("temporary")" folder. I put an answer in the app to display all the files and they are indeed there. The files are in a sub folder of the temp folder. This is for Android. I haven't tried iOS yet. I know we've been here before but I thought using the temp folder solved it. Is this a regression or have I missed something? Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From paul at researchware.com Tue Nov 9 18:41:49 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 9 Nov 2021 18:41:49 -0500 Subject: HTML5 Deployment Message-ID: I am trying to deploy and HTML app. Standalone building was straightforward and I now have a folder of stuff. MyApp.html standalone.zip standalone-commercial-9.6.3.html.mem standalone-commercial-9.6.3.js The HTML5 panel in the Standalone Builder says to see the "HTML5 Deployment Guide in the Dictionary. In LC 9..6.3, there is no such guide in the dictionary. I have tried searching Livecode.com with no luck. Where can the deployment guide be found? From matthias_livecode_150811 at m-r-d.de Tue Nov 9 19:06:31 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 10 Nov 2021 01:06:31 +0100 Subject: HTML5 Deployment In-Reply-To: References: Message-ID: <67908B3B-DD63-4911-AA77-45600B435BAB@m-r-d.de> Paul, if you open the Livecode Dictionary, then you can see 2 tabs in the left upper corner. One is labeled "API" and one is labeled "Guide". Click on "Guide" and then select "Deploying Your Application" and then "HTML5 Deployment settings". There you should find a bunch of information. Hope this helps. Matthias > Am 10.11.2021 um 00:41 schrieb Paul Dupuis via use-livecode : > > I am trying to deploy and HTML app. Standalone building was straightforward and I now have a folder of stuff. > > MyApp.html > standalone.zip > standalone-commercial-9.6.3.html.mem > standalone-commercial-9.6.3.js > > The HTML5 panel in the Standalone Builder says to see the "HTML5 Deployment Guide in the Dictionary. In LC 9..6.3, there is no such guide in the dictionary. I have tried searching Livecode.com with no luck. > > Where can the deployment guide be found? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Nov 9 20:18:32 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 9 Nov 2021 20:18:32 -0500 Subject: AW: HTML5 Deployment In-Reply-To: <67908B3B-DD63-4911-AA77-45600B435BAB@m-r-d.de> References: <67908B3B-DD63-4911-AA77-45600B435BAB@m-r-d.de> Message-ID: <4009e0eb-b1a0-fc7b-06a6-34ca2853efd9@researchware.com> Found it. Thank you Mathias! On 11/9/2021 7:06 PM, matthias rebbe via use-livecode wrote: > Paul, if you open the Livecode Dictionary, then you can see 2 tabs in the left upper corner. One is labeled "API" and one is labeled "Guide". > > Click on "Guide" and then select "Deploying Your Application" and then "HTML5 Deployment settings". > There you should find a bunch of information. > > Hope this helps. > > Matthias > >> Am 10.11.2021 um 00:41 schrieb Paul Dupuis via use-livecode : >> >> I am trying to deploy and HTML app. Standalone building was straightforward and I now have a folder of stuff. >> >> MyApp.html >> standalone.zip >> standalone-commercial-9.6.3.html.mem >> standalone-commercial-9.6.3.js >> >> The HTML5 panel in the Standalone Builder says to see the "HTML5 Deployment Guide in the Dictionary. In LC 9..6.3, there is no such guide in the dictionary. I have tried searching Livecode.com with no luck. >> >> Where can the deployment guide be found? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Tue Nov 9 22:38:38 2021 From: irog at mac.com (Roger Guay) Date: Tue, 9 Nov 2021 19:38:38 -0800 Subject: Control of Text Fields. In-Reply-To: <460bf669-107e-e0d8-0e52-c8e38dedc5b0@tweedly.net> References: <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> <460bf669-107e-e0d8-0e52-c8e38dedc5b0@tweedly.net> Message-ID: <0032B6F8-3389-46C7-B627-B1C61471527E@mac.com> Alex and Richmond, This discussion has been very helpful. Thank you! Please see my latest post on the forums where I offer my Formulator stack that seems to work, partly I think because I don’t lock the text of the multiple fields in my stack. Who woulda thunk? https://forums.livecode.com/viewtopic.php?f=7&t=36444 Cheers, Roger > On Nov 7, 2021, at 5:51 PM, Alex Tweedly via use-livecode wrote: > > > On 07/11/2021 11:36, Richmond via use-livecode wrote: >> No hard feelings. >> >> See what I have got up to over on the Forums, and >> >> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >> >> PLEASE, feel free to pull the thing to bits. >> > I don't want to "pull the thing to bits". Like you, I enjoy seeing "competing" multitude of ways to do things - I can learn from them all. > > But I did have a quick look, so I'll just point out a small number of nitpicks. > > 1. the whole 'locktext' thing is weird, and causes various anomalies. > When I first open the stack, and click in the field, I can type digits and have them appear in the field, as you'd expect. But once I've clicked on an 'arrow-emulator' the field becomes locked and one can no longer type in characters. Clicking *outside* the field will then free it up again, so typing becomes possible. > > 2. disappearing iBeam. > > If I position the ibeam in the middle of the text in the field, and use one of the arrow emulator buttons, the iBeam moves properly - but then disappears (perhaps when the 'locktext' is set true). > > 3. incorrect entry position. > > As in 2 above, although the ibeam was last seen in the correct place after using the ">" button to move it to the right, if I then click on a digit button, that digit appears at the end of the field, not where it should have gone > > 4. Incorrect arrow key emulation (same problem as I mentioned in the previous email). > > If you select a chunk of text in the field, then use the left-arrow emulator button, the ibeam is positioned before the *last* character of the selection, instead of before the first. > > > There were a couple of others, omitted for brevity. I've created a modified version your stack with my suggested handlers, and will attempt to upload it to the forum later. > > Then there was another issue which I haven't tackled - it would mean changing lots of very similar tiny scripts, and is too tedious. > > 5. character input should replace any selection > > Just like in a regular field, if there is an active selection, typing a character (or clicking a digit button, should *replace* it, not simply add the newly typed (or clicked) digit. > > > I've taken my earlier handler suggestion, and broken the bits of code out into individual button scripts, which removes the apparent complexity that you disliked earlier. As far as I know, no problems have yet been found with that approach. As one example, the code for left-arrow emulator would be > >> on mouseUp >> focus on field "fWORK" >> put word 2 of the selectedchunk into tFirst >> put word 4 of the selectedchunk into tLast >> select before char (min(tFirst, tLast)) of fld "fWORK" >> end mouseUp > I've uploaded this revised version on the forum thread. > > Best wishes, Alex > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Tue Nov 9 23:37:24 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Wed, 10 Nov 2021 15:37:24 +1100 Subject: Object property management Message-ID: <5F2923C3-7105-4F22-83BE-80A1E4BB5BCA@optusnet.com.au> I have uploaded a plugin tool nsFormatMapper 2.0 to RunRevOnline. It is designed to help with maintaining uniformity of UI elements such as colours and text properties. It works rather like the Format Paint brush in Word or Pages. You get all the required property types from an object, and set those properties in another via drag and drop. You can also save sets of properties for use as favourites. Properties transferrable included color, text, button and field properties, graphic effects, gradients and blending. Hope some developers find it useful. Neville From matthias_livecode_150811 at m-r-d.de Wed Nov 10 07:16:42 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 10 Nov 2021 13:16:42 +0100 Subject: Object property management In-Reply-To: <5F2923C3-7105-4F22-83BE-80A1E4BB5BCA@optusnet.com.au> References: <5F2923C3-7105-4F22-83BE-80A1E4BB5BCA@optusnet.com.au> Message-ID: Neville, thanks for that. Took me some time to find it in RevOnline. I've already tried it and it looks very interesting. I will 'play" more with it later today when time allows. Btw. for those who are trying to find it in RevOnline.... Search for nsPropertyMapper Regards, Matthias > Am 10.11.2021 um 05:37 schrieb Neville Smythe via use-livecode : > > I have uploaded a plugin tool nsFormatMapper 2.0 to RunRevOnline. It is designed to help with maintaining uniformity of UI elements such as colours and text properties. It works rather like the Format Paint brush in Word or Pages. You get all the required property types from an object, and set those properties in another via drag and drop. You can also save sets of properties for use as favourites. Properties transferrable included color, text, button and field properties, graphic effects, gradients and blending. Hope some developers find it useful. > > Neville > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Nov 10 09:28:52 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 10 Nov 2021 14:28:52 +0000 Subject: Control of Text Fields. In-Reply-To: <0032B6F8-3389-46C7-B627-B1C61471527E@mac.com> References: <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> <460bf669-107e-e0d8-0e52-c8e38dedc5b0@tweedly.net> <0032B6F8-3389-46C7-B627-B1C61471527E@mac.com> Message-ID: <87574dec-6a63-9d06-1b25-1e3efc583d9b@tweedly.net> "focusedObject" - wow, who knew ? :-) So it's been helpful for me. (Some day I really will read the dictionary thoroughly). Alex. On 10/11/2021 03:38, Roger Guay via use-livecode wrote: > Alex and Richmond, > > This discussion has been very helpful. Thank you! Please see my latest post on the forums where I offer my Formulator stack that seems to work, partly I think because I dont lock the text of the multiple fields in my stack. Who woulda thunk? > > https://forums.livecode.com/viewtopic.php?f=7&t=36444 > > Cheers, > > Roger > > >> On Nov 7, 2021, at 5:51 PM, Alex Tweedly via use-livecode wrote: >> >> >> On 07/11/2021 11:36, Richmond via use-livecode wrote: >>> No hard feelings. >>> >>> See what I have got up to over on the Forums, and >>> >>> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >>> >>> PLEASE, feel free to pull the thing to bits. >>> >> I don't want to "pull the thing to bits". Like you, I enjoy seeing "competing" multitude of ways to do things - I can learn from them all. >> >> But I did have a quick look, so I'll just point out a small number of nitpicks. >> >> 1. the whole 'locktext' thing is weird, and causes various anomalies. >> When I first open the stack, and click in the field, I can type digits and have them appear in the field, as you'd expect. But once I've clicked on an 'arrow-emulator' the field becomes locked and one can no longer type in characters. Clicking *outside* the field will then free it up again, so typing becomes possible. >> >> 2. disappearing iBeam. >> >> If I position the ibeam in the middle of the text in the field, and use one of the arrow emulator buttons, the iBeam moves properly - but then disappears (perhaps when the 'locktext' is set true). >> >> 3. incorrect entry position. >> >> As in 2 above, although the ibeam was last seen in the correct place after using the ">" button to move it to the right, if I then click on a digit button, that digit appears at the end of the field, not where it should have gone >> >> 4. Incorrect arrow key emulation (same problem as I mentioned in the previous email). >> >> If you select a chunk of text in the field, then use the left-arrow emulator button, the ibeam is positioned before the *last* character of the selection, instead of before the first. >> >> >> There were a couple of others, omitted for brevity. I've created a modified version your stack with my suggested handlers, and will attempt to upload it to the forum later. >> >> Then there was another issue which I haven't tackled - it would mean changing lots of very similar tiny scripts, and is too tedious. >> >> 5. character input should replace any selection >> >> Just like in a regular field, if there is an active selection, typing a character (or clicking a digit button, should *replace* it, not simply add the newly typed (or clicked) digit. >> >> >> I've taken my earlier handler suggestion, and broken the bits of code out into individual button scripts, which removes the apparent complexity that you disliked earlier. As far as I know, no problems have yet been found with that approach. As one example, the code for left-arrow emulator would be >> >>> on mouseUp >>> focus on field "fWORK" >>> put word 2 of the selectedchunk into tFirst >>> put word 4 of the selectedchunk into tLast >>> select before char (min(tFirst, tLast)) of fld "fWORK" >>> end mouseUp >> I've uploaded this revised version on the forum thread. >> >> Best wishes, Alex >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 10 09:46:24 2021 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 10 Nov 2021 16:46:24 +0200 Subject: Control of Text Fields. In-Reply-To: <87574dec-6a63-9d06-1b25-1e3efc583d9b@tweedly.net> References: <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> <460bf669-107e-e0d8-0e52-c8e38dedc5b0@tweedly.net> <0032B6F8-3389-46C7-B627-B1C61471527E@mac.com> <87574dec-6a63-9d06-1b25-1e3efc583d9b@tweedly.net> Message-ID: <8fb41c6f-2d69-0ac8-d20a-dab62c25212f@gmail.com> It's a new one to me as well. Richmond. On 10.11.21 16:28, Alex Tweedly via use-livecode wrote: > "focusedObject" - wow, who knew ?  :-) > > So it's been helpful for me. > (Some day I really will read the dictionary thoroughly). > > Alex. > > On 10/11/2021 03:38, Roger Guay via use-livecode wrote: >> Alex and Richmond, >> >> This discussion has been very helpful. Thank you! Please see my >> latest post on the forums where I offer my Formulator stack that >> seems to work, partly I think because I dont lock the text of the >> multiple fields in my stack. Who woulda thunk? >> >> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >> >> >> Cheers, >> >> Roger >> >> >>> On Nov 7, 2021, at 5:51 PM, Alex Tweedly via use-livecode >>> wrote: >>> >>> >>> On 07/11/2021 11:36, Richmond via use-livecode wrote: >>>> No hard feelings. >>>> >>>> See what I have got up to over on the Forums, and >>>> >>>> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >>>> >>>> PLEASE, feel free to pull the thing to bits. >>>> >>> I don't want to "pull the thing to bits". Like you, I enjoy seeing >>> "competing" multitude of ways to do things - I can learn from them all. >>> >>> But I did have a quick look, so I'll just point out a small number >>> of nitpicks. >>> >>> 1. the whole 'locktext' thing is weird, and causes various anomalies. >>> When I first open the stack, and click in the field, I can type >>> digits and have them appear in the field, as you'd expect. But once >>> I've clicked on an 'arrow-emulator' the field becomes locked and one >>> can no longer type in characters. Clicking *outside* the field will >>> then free it up again, so typing becomes possible. >>> >>> 2. disappearing iBeam. >>> >>> If I position the ibeam in the middle of the text in the field, and >>> use one of the arrow emulator buttons, the iBeam moves properly - >>> but then disappears (perhaps when the 'locktext' is set true). >>> >>> 3. incorrect entry position. >>> >>> As in 2 above, although the ibeam was last seen in the correct place >>> after using the ">" button to move it to the right, if I then click >>> on a digit button, that digit appears at the end of the field, not >>> where it should have gone >>> >>> 4. Incorrect arrow key emulation (same problem as I mentioned in the >>> previous email). >>> >>> If you select a chunk of text in the field, then use the left-arrow >>> emulator button, the ibeam is positioned before the *last* character >>> of the selection, instead of before the first. >>> >>> >>> There were a couple of others, omitted for brevity. I've created a >>> modified version your stack with my suggested handlers, and will >>> attempt to upload it to the forum later. >>> >>> Then there was another issue which I haven't tackled - it would mean >>> changing lots of very similar tiny scripts, and is too tedious. >>> >>> 5. character input should replace any selection >>> >>> Just like in a regular field, if there is an active selection, >>> typing a character (or clicking a digit button, should *replace* it, >>> not simply add the newly typed (or clicked) digit. >>> >>> >>> I've taken my earlier handler suggestion, and broken the bits of >>> code out into individual button scripts, which removes the apparent >>> complexity that you disliked earlier. As far as I know, no problems >>> have yet been found with that approach. As one example, the code for >>> left-arrow emulator would be >>> >>>>   on mouseUp >>>>     focus on field "fWORK" >>>>     put word 2 of the selectedchunk into tFirst >>>>     put word 4 of the selectedchunk into tLast >>>>     select before char (min(tFirst, tLast)) of fld "fWORK" >>>> end mouseUp >>> I've uploaded this revised version on the forum thread. >>> >>> Best wishes,  Alex >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Wed Nov 10 09:50:41 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 10 Nov 2021 09:50:41 -0500 Subject: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition) In-Reply-To: <81AB2FE1-0CCC-4A26-AC24-26768344482B@iotecdigital.com> References: <81AB2FE1-0CCC-4A26-AC24-26768344482B@iotecdigital.com> Message-ID: <59536ea2-7a74-7583-debb-4ce974146933@pair.com> Resurrecting this thread from September because ... now I've had a chance to go through my old bug reports, and found the one for this Script Editor slowdown! (It said "Pending Followup" so I just followed up on it.) For the people here that still see bad IDE/SE performance (and there were several: Lagi, Bob, Bernard, Andre, etc) you can benefit from adding your CC to this bug report and post your symptoms/setup there to help LC fix this. Plus, I posted 7 steps that worked for myself and others; many people have resolved this for their own computers! BTW, I have NOT had this problem myself for 1 or 2 years; so those steps are tried and true. (They work in MOST cases.) Here's the bug report: https://quality.livecode.com/show_bug.cgi?id=21604 No slowdowns on my end anymore; Windows "just works." :) I could have simply closed the bug, but I followed up and posted those 7 steps to help the rest of you. Most importantly, it's NOT just a Windows issue. (We have to avoid myths, or we can't solve problems.) I've seen it twice on Mac myself, and others have too. But it is MUCH more common on Windows. Rare on Mac. Mostly due to antivirus trends, but other factors. For the LC team, I'm not sure whether they ever reproduced this bug or not, so I posted some tips on maxing out disk and memory to help notice problems. (That doesn't mean people with the IDE problems are running a bunch of videos and downloads; just getting closer to real-life use conditions versus a more pristine test environment.) Hopefully someone still having the issues will follow up there to help get it fixed. I don't anymore, so I'm moving on to other bugs! One thing I forgot to mention is that LC Setup is badly behaved on all platforms, and I've seen literally a dozen copies of it in Task Manager; that can also bog things down too! I have a zero-tolerance policy for .Setup; it is not allowed to run on my computer except during the initial installation. And like I say, no IDE slowdowns for 1-2 years. (Not to be confused with IDE crashes and bugs that completely "hang" the engine! I'm still a combatant on those bugs.) :) Original thread: Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From neville.smythe at optusnet.com.au Wed Nov 10 13:12:56 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 11 Nov 2021 05:12:56 +1100 Subject: Object property management Message-ID: <0ECC6641-311E-4409-AAB3-AFB11E3DE7C0@optusnet.com.au> Aaargh, I can’t even remember the name of my own stack! I have incurred the wrath of Blind Io by invoking her name in the help text. Thanks Matthias it is indeed nsPropertyMapper Neville From curry at pair.com Wed Nov 10 13:28:19 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 10 Nov 2021 13:28:19 -0500 Subject: Multiple LC Installer Setup processes remain in memory on Windows Message-ID: <04333443-5602-3f74-3807-04bd700db77a@pair.com> I've mentioned once or twice that LC Setup is "badly behaved" on all platforms. Finally filed a bug report on the Windows variant of this problem, which is that one or more instances of LC Setup/Installer process can remain indefinitely in memory. (I've seen a dozen of these zombie tasks! That can affect system performance.) Also a couple of workarounds posted, so if this has bitten you before, or if you're not sure, check it out. I don't lose performance from this anymore, since I have SSD plus the workarounds, but filing it now so it can be fixed! :) Here's the bug report: https://quality.livecode.com/show_bug.cgi?id=23444 Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From jbv at souslelogo.com Fri Nov 12 04:59:29 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 12 Nov 2021 04:59:29 -0500 Subject: Server directory of a running script Message-ID: Hi list, Is there a way to get the full path of the server directory/subdirectory in which an LC script is running, from within the script itself while it is running ? I have a Livecode Hosting account and I need to get something like : "/home/myAccount/public_html/myDirectory/mySubDirectory/" Thank you in advance. jbv From rabit at revigniter.com Fri Nov 12 05:20:45 2021 From: rabit at revigniter.com (Ralf Bitter) Date: Fri, 12 Nov 2021 11:20:45 +0100 Subject: Server directory of a running script In-Reply-To: References: Message-ID: <5461e5c1-df68-8d81-7155-1551b6772ac1@revigniter.com> You might try $_SERVER["PATH_TRANSLATED"] Ralf On 12.11.21 10:59, jbv via use-livecode wrote: > Hi list, > Is there a way to get the full path of the server directory/subdirectory > in which an LC script is running, from within the script itself while it > is running ? > I have a Livecode Hosting account and I need to get something like : > "/home/myAccount/public_html/myDirectory/mySubDirectory/" > > Thank you in advance. > jbv > From bdrunrev at gmail.com Fri Nov 12 05:22:37 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 12 Nov 2021 10:22:37 +0000 Subject: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition) In-Reply-To: <59536ea2-7a74-7583-debb-4ce974146933@pair.com> References: <81AB2FE1-0CCC-4A26-AC24-26768344482B@iotecdigital.com> <59536ea2-7a74-7583-debb-4ce974146933@pair.com> Message-ID: I was having problems with SE on Windows randomly causing crashes just by clicking in the text are of SE. When I switched off all the bling, I never had another crash like that. I plan to slowly re-introduce the bling to see if I can identify which part causes the crashes. Regards, Bernard From jbv at souslelogo.com Fri Nov 12 05:46:35 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 12 Nov 2021 05:46:35 -0500 Subject: Server directory of a running script In-Reply-To: <5461e5c1-df68-8d81-7155-1551b6772ac1@revigniter.com> References: <5461e5c1-df68-8d81-7155-1551b6772ac1@revigniter.com> Message-ID: <0dcd07de2660b19df32bf5bd443550af@souslelogo.com> Great ! Thank you. Le 2021-11-12 05:20, Ralf Bitter via use-livecode a crit : > You might try $_SERVER["PATH_TRANSLATED"] > > > Ralf > From phil at pdslabs.net Fri Nov 12 15:10:55 2021 From: phil at pdslabs.net (Phil Davis) Date: Fri, 12 Nov 2021 12:10:55 -0800 Subject: Server directory of a running script In-Reply-To: <0dcd07de2660b19df32bf5bd443550af@souslelogo.com> References: <5461e5c1-df68-8d81-7155-1551b6772ac1@revigniter.com> <0dcd07de2660b19df32bf5bd443550af@souslelogo.com> Message-ID: Also, maybe try "the filename of me". It seems like that should work, though I could be wrong. Phil Davis On 11/12/21 2:46 AM, jbv via use-livecode wrote: > Great ! Thank you. > > Le 2021-11-12 05:20, Ralf Bitter via use-livecode a crit : >> You might try $_SERVER["PATH_TRANSLATED"] >> >> >> Ralf >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 From jbv at souslelogo.com Fri Nov 12 16:30:11 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 12 Nov 2021 16:30:11 -0500 Subject: Server directory of a running script In-Reply-To: References: <5461e5c1-df68-8d81-7155-1551b6772ac1@revigniter.com> <0dcd07de2660b19df32bf5bd443550af@souslelogo.com> Message-ID: <4f3afca8bc245df7e63ade8db2833c68@souslelogo.com> Le 2021-11-12 15:10, Phil Davis via use-livecode a crit : > Also, maybe try "the filename of me". It seems like that should work, > though I could be wrong. > No, you're right, it works too. Thank you. From tom at makeshyft.com Sat Nov 13 16:36:58 2021 From: tom at makeshyft.com (Tom Glod) Date: Sat, 13 Nov 2021 16:36:58 -0500 Subject: tsnet not detecting internet drop Message-ID: Hi Folks, I was testing my networking functions ... and error handlling I initiated a tsnet asynchronous download of a file, started the download and disconnected the wifi. tsnet keeps reporting status "loading" .....forever with no time out. Is there something I am missing or should the library eventually be reporting error? Is there something I can do to detect network issues? I guess I could periodically check for the internet... but really? Has anyone come across this issue? solved it? thought about it? Thanks in advance. Tom From matthias_livecode_150811 at m-r-d.de Sat Nov 13 16:54:00 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 13 Nov 2021 22:54:00 +0100 Subject: tsnet not detecting internet drop In-Reply-To: References: Message-ID: <82431F3C-F948-486F-8580-3D3F72E26CD7@m-r-d.de> Tom, according to the dictionary tsNet does not limit the length of time a request can take. With tsNetSetTimeouts you can set several timeouts for tsNET. Maybe that would help in your case. Regards, Matthias > Am 13.11.2021 um 22:36 schrieb Tom Glod via use-livecode : > > Hi Folks, > > I was testing my networking functions ... and error handlling > I initiated a tsnet asynchronous download of a file, > started the download and disconnected the wifi. > > tsnet keeps reporting status "loading" .....forever with no time out. > Is there something I am missing or should the library eventually be > reporting error? > Is there something I can do to detect network issues? > I guess I could periodically check for the internet... but really? > Has anyone come across this issue? solved it? thought about it? > > Thanks in advance. > > Tom > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sun Nov 14 11:42:05 2021 From: tom at makeshyft.com (Tom Glod) Date: Sun, 14 Nov 2021 11:42:05 -0500 Subject: tsnet not detecting internet drop In-Reply-To: <82431F3C-F948-486F-8580-3D3F72E26CD7@m-r-d.de> References: <82431F3C-F948-486F-8580-3D3F72E26CD7@m-r-d.de> Message-ID: Hello Matthias, Ahhh I see.... I think I will use a combination of time-outs, but I will also check for a connection periodically and I think that will about cover my use case. Thanks again, Tom On Sat, Nov 13, 2021 at 4:55 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom, > > according to the dictionary tsNet does not limit the length of time a > request can take. > > With tsNetSetTimeouts you can set several timeouts for tsNET. > > Maybe that would help in your case. > > Regards, > Matthias > > > > > > Am 13.11.2021 um 22:36 schrieb Tom Glod via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Folks, > > > > I was testing my networking functions ... and error handlling > > I initiated a tsnet asynchronous download of a file, > > started the download and disconnected the wifi. > > > > tsnet keeps reporting status "loading" .....forever with no time out. > > Is there something I am missing or should the library eventually be > > reporting error? > > Is there something I can do to detect network issues? > > I guess I could periodically check for the internet... but really? > > Has anyone come across this issue? solved it? thought about it? > > > > Thanks in advance. > > > > Tom > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Sun Nov 14 15:25:45 2021 From: tom at makeshyft.com (Tom Glod) Date: Sun, 14 Nov 2021 15:25:45 -0500 Subject: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition) In-Reply-To: References: <81AB2FE1-0CCC-4A26-AC24-26768344482B@iotecdigital.com> <59536ea2-7a74-7583-debb-4ce974146933@pair.com> Message-ID: THIS has to be one of the bugs we address ASAP. Thanks Curry for doing the leg work on this one. I hope the team is paying attention to this one. This is one of the things that a new user has no hope of being aware of. Thanks, Tom From klaus at major-k.de Mon Nov 15 09:45:58 2021 From: klaus at major-k.de (Klaus major-k) Date: Mon, 15 Nov 2021 15:45:58 +0100 Subject: PDF in browser on Mac Message-ID: Hi friends, when we open a PDf in Safari, we see this little toolbar at the bottom of the window zoom in/out, open in Preview, Download that file I am definitively sure that we also saw this in the browser widget on Mac when opening a PDF here. But now i don't see this little toolbar anymore!? Did I dream this? Or was something changed in macOS or the LC version? macOS 10.14.6 LC 9.6.4 Thanks in advance! Still very annoying: The scrollbars for the browser widget are still not fixed, makes our apps look unprofessional, if the users cannot scroll! Or even completely useless... :-/ Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From hlowe at me.com Mon Nov 15 10:02:43 2021 From: hlowe at me.com (HENRY LOWE) Date: Mon, 15 Nov 2021 15:02:43 +0000 Subject: PDF in browser on Mac In-Reply-To: References: Message-ID: Using the browser widget to view a PDF under Mac OS 12.0.1 and LC 9.6.5 (rc2), if I right click (control + click) anywhere in the displayed PDF (including white space) I get a pop-up menu showing several options. Selecting any of the PDF’s text and right clicking shows additional options. Henry > On Nov 15, 2021, at 2:46 PM, Klaus major-k via use-livecode wrote: > > Hi friends, > > when we open a PDf in Safari, we see this little toolbar at the bottom of the window > zoom in/out, open in Preview, Download that file > > I am definitively sure that we also saw this in the browser widget on Mac when opening > a PDF here. But now i don't see this little toolbar anymore!? > > Did I dream this? Or was something changed in macOS or the LC version? > macOS 10.14.6 > LC 9.6.4 > > Thanks in advance! > > > Still very annoying: > The scrollbars for the browser widget are still not fixed, makes our apps look unprofessional, > if the users cannot scroll! Or even completely useless... :-/ > > > > 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 Mon Nov 15 10:09:15 2021 From: klaus at major-k.de (Klaus major-k) Date: Mon, 15 Nov 2021 16:09:15 +0100 Subject: PDF in browser on Mac In-Reply-To: References: Message-ID: <995E860F-31D5-4F1E-81A8-6B57CAB00AFE@major-k.de> Hi Henry, > Am 15.11.2021 um 16:02 schrieb HENRY LOWE via use-livecode : > > Using the browser widget to view a PDF under Mac OS 12.0.1 and LC 9.6.5 (rc2), if I right click (control + click) anywhere in the displayed PDF (including white space) I get a pop-up menu showing several options. Selecting any of the PDF’s text and right clicking shows additional options. thanks a lot for the fast response! Yes, same here, somehow missed that one. :-) I had to check "allowUserInteraction" to make this work. Now if only the scrollbars would work... > Henry > >> On Nov 15, 2021, at 2:46 PM, Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> when we open a PDf in Safari, we see this little toolbar at the bottom of the window >> zoom in/out, open in Preview, Download that file >> I am definitively sure that we also saw this in the browser widget on Mac when opening >> a PDF here. But now i don't see this little toolbar anymore!? >> Did I dream this? Or was something changed in macOS or the LC version? >> macOS 10.14.6 >> LC 9.6.4 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 Tue Nov 16 12:20:46 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 16 Nov 2021 12:20:46 -0500 Subject: xcode and catalina **NEW MBP** Message-ID: Has anyone gotten LC/XC to work on a new mac that came with catalina pre-installed? I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1 and below not even running in Catalina, so I can't complete the installs. -- 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 Tue Nov 16 13:21:37 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 16 Nov 2021 13:21:37 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: References: Message-ID: <006101d7db16$cf8f2fb0$6ead8f10$@net> Mike, >From 9.6.5 Release notes. - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 in order to be able to install the necessary version of Xcode. 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 Mike Kerner via use-livecode Sent: Tuesday, November 16, 2021 12:21 PM To: How to use LiveCode Cc: Mike Kerner Subject: xcode and catalina **NEW MBP** Has anyone gotten LC/XC to work on a new mac that came with catalina pre-installed? I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1 and below not even running in Catalina, so I can't complete the installs. -- 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 jmac at consensustech.com Tue Nov 16 13:18:13 2021 From: jmac at consensustech.com (Jim At Consensus) Date: Tue, 16 Nov 2021 10:18:13 -0800 Subject: xcode and catalina **NEW MBP** In-Reply-To: References: Message-ID: <53BBF099-6A63-4D8B-82ED-25A98FBDF36E@consensustech.com> Do you mean “Monterey”. I’m in Bog Sur and Vataliba was a version Orr more ago. Doesn’t really matter. I’m holding off on upgrade to Monterey until LC can deal with xCode 13. ~j Sent from Jim's iPhone XR Please excuse brevity, typos and errors > On Nov 16, 2021, at 9:23 AM, Mike Kerner via use-livecode wrote: > > Has anyone gotten LC/XC to work on a new mac that came with catalina > pre-installed? > I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1 > and below not even running in Catalina, so I can't complete the installs. > > -- > 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 MikeKerner at roadrunner.com Tue Nov 16 13:48:19 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 16 Nov 2021 13:48:19 -0500 Subject: xcode and catalina **NEW MBP** In-Reply-To: <53BBF099-6A63-4D8B-82ED-25A98FBDF36E@consensustech.com> References: <53BBF099-6A63-4D8B-82ED-25A98FBDF36E@consensustech.com> Message-ID: sigh. yes, monterey. 12.0.1 On Tue, Nov 16, 2021 at 1:25 PM Jim At Consensus via use-livecode < use-livecode at lists.runrev.com> wrote: > Do you mean “Monterey”. I’m in Bog Sur and Vataliba was a version Orr more > ago. > > Doesn’t really matter. I’m holding off on upgrade to Monterey until LC can > deal with xCode 13. > > ~j > > Sent from Jim's iPhone XR > Please excuse brevity, typos and errors > > > On Nov 16, 2021, at 9:23 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Has anyone gotten LC/XC to work on a new mac that came with catalina > > pre-installed? > > I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1 > > and below not even running in Catalina, so I can't complete the installs. > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 brahma at hindu.org Tue Nov 16 14:14:47 2021 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 16 Nov 2021 19:14:47 +0000 Subject: Android: Play App Signing Message-ID: Aloha everyone ----------------- From jacque at hyperactivesw.com Tue Nov 16 14:51:22 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Nov 2021 13:51:22 -0600 Subject: Android: Play App Signing In-Reply-To: References: Message-ID: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> On 11/16/21 1:14 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Aloha everyone > > > https://play.google.com/console/u/0/developers/6275825903879277961/app/4972731188565988087/keymanagement > > > I am right where I want to be. I am here: > > brahmanathaswami at Sannyasins-MacBook-Pro-2 HAP Android Key % > brahmanathaswami at Sannyasins-MacBook-Pro-2 HAP Android Key % ls > > AndroidDeveloperKeyRegistrationData.txt > GDrelease.keystore > GDrelease.keystore 2 > GDrelease.keystore.zip > pepk.jar > pepk-src.jar > > So why doesn't it want to work? I can help you with this. But let's ask the moderator to delete this post, there is confidential info in it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Tue Nov 16 15:43:09 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 16 Nov 2021 21:43:09 +0100 Subject: Android: Play App Signing In-Reply-To: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> References: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> Message-ID: <75B09E50-505C-436C-A912-EEF45CA88E92@m-r-d.de> > > But let's ask the moderator to delete this post, there is confidential info in it. I am afraid that is not possible as this is a mailing list and not a forum. Each subscriber of this list has received it as email. Matthias From jacque at hyperactivesw.com Tue Nov 16 15:56:40 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Nov 2021 14:56:40 -0600 Subject: Android: Play App Signing In-Reply-To: <75B09E50-505C-436C-A912-EEF45CA88E92@m-r-d.de> References: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> <75B09E50-505C-436C-A912-EEF45CA88E92@m-r-d.de> Message-ID: On 11/16/21 2:43 PM, matthias rebbe via use-livecode wrote: >> >> But let's ask the moderator to delete this post, there is confidential info in it. > > I am afraid that is not possible as this is a mailing list and not a forum. Each subscriber of this list has received it as email. Right, and I just realized it's gone out to all the archiving sites too. At least there were no passwords in it... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Tue Nov 16 19:00:50 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 16 Nov 2021 19:00:50 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: <006101d7db16$cf8f2fb0$6ead8f10$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> Message-ID: Ralph, I said "Catalina" when I meant "Monterey". It's a new MBP, and no versions of XC before 13.1 will run on it. I used a restore from Time Machine to get the machine set up, so all of the old XCodes that I had moved over, but none of the command-line tools seem to work. #firstWorldProblems On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike, > > From 9.6.5 Release notes. > > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > 14.4 SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Important: From the start of April 2021, Apple is only accepting apps built > using iOS14.x SDKs. This means that, if you wish to submit apps to the > AppStore you will have to be running at least macOS 10.15 in order to be > able to install the necessary version of Xcode. > > 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 Mike Kerner via use-livecode > Sent: Tuesday, November 16, 2021 12:21 PM > To: How to use LiveCode > Cc: Mike Kerner > Subject: xcode and catalina **NEW MBP** > > Has anyone gotten LC/XC to work on a new mac that came with catalina > pre-installed? > I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1 > and > below not even running in Catalina, so I can't complete the installs. > > -- > On the first day, God created the heavens and the Earth On the second day, > God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 Tue Nov 16 19:40:19 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 16 Nov 2021 19:40:19 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: References: <006101d7db16$cf8f2fb0$6ead8f10$@net> Message-ID: <008101d7db4b$b5852130$208f6390$@net> Apple did it again. It looks like only Xcode 13 will run on Monterey. Looks can be deceiving. If you activate Xcode 12.5.x from the command line it will start. 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 Mike Kerner via use-livecode Sent: Tuesday, November 16, 2021 7:01 PM To: How to use LiveCode Cc: Mike Kerner Subject: Re: Xcode and Catalina **NEW MBP** Ralph, I said "Catalina" when I meant "Monterey". It's a new MBP, and no versions of XC before 13.1 will run on it. I used a restore from Time Machine to get the machine set up, so all of the old XCodes that I had moved over, but none of the command-line tools seem to work. #firstWorldProblems On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike, > > From 9.6.5 Release notes. > > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the > iOS > 14.4 SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Important: From the start of April 2021, Apple is only accepting apps > built using iOS14.x SDKs. This means that, if you wish to submit apps > to the AppStore you will have to be running at least macOS 10.15 in > order to be able to install the necessary version of Xcode. > > 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 Mike Kerner via use-livecode > Sent: Tuesday, November 16, 2021 12:21 PM > To: How to use LiveCode > Cc: Mike Kerner > Subject: xcode and catalina **NEW MBP** > > Has anyone gotten LC/XC to work on a new mac that came with catalina > pre-installed? > I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC > 12.5.1 and below not even running in Catalina, so I can't complete the > installs. > > -- > On the first day, God created the heavens and the Earth On the second > day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 rdimola at evergreeninfo.net Tue Nov 16 19:51:50 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 16 Nov 2021 19:51:50 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: References: <006101d7db16$cf8f2fb0$6ead8f10$@net> Message-ID: <008201d7db4d$516112c0$f4233840$@net> iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. I am doing several synchronous operations in the form "put url (some-url) into tVar". I do 1 or 2 and then every request after that fails. Played with the various timeouts with no success. I also tried setting tsNetLibUrlReuseConnection to false. This code worked in previous versions of LC. Fails on iPad but works in the IDE. Has anyone seen this? I have a little bit of a time crunch. Any suggestions would be appreciated. Thanks in advance. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From jmac at consensustech.com Tue Nov 16 21:50:14 2021 From: jmac at consensustech.com (Jim MacConnell) Date: Tue, 16 Nov 2021 18:50:14 -0800 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: <008101d7db4b$b5852130$208f6390$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008101d7db4b$b5852130$208f6390$@net> Message-ID: <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> Am I understanding correctly? There is a way to get Xcode 12.5 running on Monterey? Will this satisfy the LC requirements? Jim > On Nov 16, 2021, at 4:40 PM, Ralph DiMola via use-livecode wrote: > > Apple did it again. It looks like only Xcode 13 will run on Monterey. Looks > can be deceiving. If you activate Xcode 12.5.x from the command line it will > start. > > > 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 Mike Kerner via use-livecode > Sent: Tuesday, November 16, 2021 7:01 PM > To: How to use LiveCode > Cc: Mike Kerner > Subject: Re: Xcode and Catalina **NEW MBP** > > Ralph, > I said "Catalina" when I meant "Monterey". > It's a new MBP, and no versions of XC before 13.1 will run on it. > I used a restore from Time Machine to get the machine set up, so all of the > old XCodes that I had moved over, but none of the command-line tools seem to > work. > #firstWorldProblems > > On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Mike, >> >> From 9.6.5 Release notes. >> >> - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the >> iOS >> 14.4 SDK >> >> There is a full list of working LiveCode/macOS/Xcode combinations here: >> https://livecode.com/docs/9-5-0/faq/faq/ >> >> Important: From the start of April 2021, Apple is only accepting apps >> built using iOS14.x SDKs. This means that, if you wish to submit apps >> to the AppStore you will have to be running at least macOS 10.15 in >> order to be able to install the necessary version of Xcode. >> >> 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 Mike Kerner via use-livecode >> Sent: Tuesday, November 16, 2021 12:21 PM >> To: How to use LiveCode >> Cc: Mike Kerner >> Subject: xcode and catalina **NEW MBP** >> >> Has anyone gotten LC/XC to work on a new mac that came with catalina >> pre-installed? >> I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC >> 12.5.1 and below not even running in Catalina, so I can't complete the >> installs. >> >> -- >> On the first day, God created the heavens and the Earth On the second >> day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth On the second day, > God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Wed Nov 17 07:41:36 2021 From: heather at livecode.com (Heather Laine) Date: Wed, 17 Nov 2021 12:41:36 +0000 Subject: Android: Play App Signing In-Reply-To: References: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> <75B09E50-505C-436C-A912-EEF45CA88E92@m-r-d.de> Message-ID: <64CF8997-F5AE-4459-8327-38C66D74BF02@livecode.com> Yes unfortunately that is correct, there is no way to delete this. Its out there. You probably should change your signing key... Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 16 Nov 2021, at 20:56, J. Landman Gay via use-livecode wrote: > > On 11/16/21 2:43 PM, matthias rebbe via use-livecode wrote: >>> >>> But let's ask the moderator to delete this post, there is confidential info in it. >> I am afraid that is not possible as this is a mailing list and not a forum. Each subscriber of this list has received it as email. > > Right, and I just realized it's gone out to all the archiving sites too. At least there were no passwords in it... > > -- > 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 MikeKerner at roadrunner.com Wed Nov 17 09:28:25 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 17 Nov 2021 09:28:25 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008101d7db4b$b5852130$208f6390$@net> <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> Message-ID: link, please. It isn't working for me. From MikeKerner at roadrunner.com Wed Nov 17 09:36:14 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 17 Nov 2021 09:36:14 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008101d7db4b$b5852130$208f6390$@net> <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> Message-ID: just to follow up on this some more, I have tried launching XC 12.5.1 manually. You can do it, but something happened with the command-line tools, which causes builds from within LC to bork with an error. On Tue, Nov 16, 2021 at 9:51 PM Jim MacConnell via use-livecode < use-livecode at lists.runrev.com> wrote: > Am I understanding correctly? > There is a way to get Xcode 12.5 running on Monterey? > Will this satisfy the LC requirements? > Jim > > > On Nov 16, 2021, at 4:40 PM, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Apple did it again. It looks like only Xcode 13 will run on Monterey. > Looks > > can be deceiving. If you activate Xcode 12.5.x from the command line it > will > > start. > > > > > > 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 Mike Kerner via use-livecode > > Sent: Tuesday, November 16, 2021 7:01 PM > > To: How to use LiveCode > > Cc: Mike Kerner > > Subject: Re: Xcode and Catalina **NEW MBP** > > > > Ralph, > > I said "Catalina" when I meant "Monterey". > > It's a new MBP, and no versions of XC before 13.1 will run on it. > > I used a restore from Time Machine to get the machine set up, so all of > the > > old XCodes that I had moved over, but none of the command-line tools > seem to > > work. > > #firstWorldProblems > > > > On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Mike, > >> > >> From 9.6.5 Release notes. > >> > >> - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the > >> iOS > >> 14.4 SDK > >> > >> There is a full list of working LiveCode/macOS/Xcode combinations here: > >> https://livecode.com/docs/9-5-0/faq/faq/ > >> > >> Important: From the start of April 2021, Apple is only accepting apps > >> built using iOS14.x SDKs. This means that, if you wish to submit apps > >> to the AppStore you will have to be running at least macOS 10.15 in > >> order to be able to install the necessary version of Xcode. > >> > >> 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 Mike Kerner via use-livecode > >> Sent: Tuesday, November 16, 2021 12:21 PM > >> To: How to use LiveCode > >> Cc: Mike Kerner > >> Subject: xcode and catalina **NEW MBP** > >> > >> Has anyone gotten LC/XC to work on a new mac that came with catalina > >> pre-installed? > >> I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC > >> 12.5.1 and below not even running in Catalina, so I can't complete the > >> installs. > >> > >> -- > >> On the first day, God created the heavens and the Earth On the second > >> day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription > >> preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > -- > > On the first day, God created the heavens and the Earth On the second > day, > > God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Wed Nov 17 09:50:44 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 17 Nov 2021 09:50:44 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008101d7db4b$b5852130$208f6390$@net> <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> Message-ID: <002001d7dbc2$82d3dca0$887b95e0$@net> Did you point the build tools to 12.5.1? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner via use-livecode Sent: Wednesday, November 17, 2021 9:36 AM To: How to use LiveCode Cc: Mike Kerner Subject: Re: Xcode and Catalina **NEW MBP** just to follow up on this some more, I have tried launching XC 12.5.1 manually. You can do it, but something happened with the command-line tools, which causes builds from within LC to bork with an error. On Tue, Nov 16, 2021 at 9:51 PM Jim MacConnell via use-livecode < use-livecode at lists.runrev.com> wrote: > Am I understanding correctly? > There is a way to get Xcode 12.5 running on Monterey? > Will this satisfy the LC requirements? > Jim > > > On Nov 16, 2021, at 4:40 PM, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Apple did it again. It looks like only Xcode 13 will run on Monterey. > Looks > > can be deceiving. If you activate Xcode 12.5.x from the command line > > it > will > > start. > > > > > > 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 Mike Kerner via use-livecode > > Sent: Tuesday, November 16, 2021 7:01 PM > > To: How to use LiveCode > > Cc: Mike Kerner > > Subject: Re: Xcode and Catalina **NEW MBP** > > > > Ralph, > > I said "Catalina" when I meant "Monterey". > > It's a new MBP, and no versions of XC before 13.1 will run on it. > > I used a restore from Time Machine to get the machine set up, so all > > of > the > > old XCodes that I had moved over, but none of the command-line tools > seem to > > work. > > #firstWorldProblems > > > > On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Mike, > >> > >> From 9.6.5 Release notes. > >> > >> - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the > >> iOS > >> 14.4 SDK > >> > >> There is a full list of working LiveCode/macOS/Xcode combinations here: > >> https://livecode.com/docs/9-5-0/faq/faq/ > >> > >> Important: From the start of April 2021, Apple is only accepting > >> apps built using iOS14.x SDKs. This means that, if you wish to > >> submit apps to the AppStore you will have to be running at least > >> macOS 10.15 in order to be able to install the necessary version of Xcode. > >> > >> 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 Mike Kerner via use-livecode > >> Sent: Tuesday, November 16, 2021 12:21 PM > >> To: How to use LiveCode > >> Cc: Mike Kerner > >> Subject: xcode and catalina **NEW MBP** > >> > >> Has anyone gotten LC/XC to work on a new mac that came with > >> catalina pre-installed? > >> I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC > >> 12.5.1 and below not even running in Catalina, so I can't complete > >> the installs. > >> > >> -- > >> On the first day, God created the heavens and the Earth On the > >> second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription > >> preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > -- > > On the first day, God created the heavens and the Earth On the > > second > day, > > God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at 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 17 10:07:57 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 17 Nov 2021 16:07:57 +0100 Subject: Error when creating Android APK Message-ID: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> Hi friends, until yesterday I could create Android APK packages without problems. Today I tried the lesson: Worked fine so far, Android Studio worked for a couple of minutes and finally finished, whatever it was doing. Now when I save a very simple stack, that I already created a standalone from earlier, as standalone just for testing, I get this error: ----------------------------------------------- There was an error saving the standalone application could not find referenced asset to include - /Users/klaus2/Desktop/de.lproj ----------------------------------------------- Desktop? de.lproj? WTF? 8-) I get this error when I select "Sign for development only" and also when I select "Sign with my key" with the just created keystore file, so it is not the keystore file. What am I missing? Thanks in advance! 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 17 10:11:23 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 17 Nov 2021 10:11:23 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: <002001d7dbc2$82d3dca0$887b95e0$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008101d7db4b$b5852130$208f6390$@net> <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> <002001d7dbc2$82d3dca0$887b95e0$@net> Message-ID: For anyone else who gets to fight through this before a new LC comes out: This is not an OS upgrade, this is a new box, with monterey preinstalled. I used the Time Machine method for setting up this box That brought over multiple copies of XCode, including 12.5 and 12.5.1 Building with LC throws an error using 12.5.1, regarding the command-line tools, which implies that they are not installed - which is weird, since they are installed on the other box for each of the versions of XCode, and I can build, over there. Trying to launch XC 12.5.1 throws an error about versioning. Trying to launch XC 12.5.1 from the terminal seems to work (ignoring all the warnings, etc.), but it does not trigger XCode to reinstall the command-line tools. Trying to use sudo xcode-select --switch throws an error that the version is invalid. If you are trying to play along at home, the path will be something like /Applications/XCode-12.5.1/Xcode.app/Contents/Developer I guess the next thing to do is to try to download and reinstall 12.5.1 from the Apple Developer site. On Wed, Nov 17, 2021 at 9:51 AM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Did you point the build tools to 12.5.1? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Mike Kerner via use-livecode > Sent: Wednesday, November 17, 2021 9:36 AM > To: How to use LiveCode > Cc: Mike Kerner > Subject: Re: Xcode and Catalina **NEW MBP** > > just to follow up on this some more, I have tried launching XC 12.5.1 > manually. You can do it, but something happened with the command-line > tools, > which causes builds from within LC to bork with an error. > > On Tue, Nov 16, 2021 at 9:51 PM Jim MacConnell via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Am I understanding correctly? > > There is a way to get Xcode 12.5 running on Monterey? > > Will this satisfy the LC requirements? > > Jim > > > > > On Nov 16, 2021, at 4:40 PM, Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Apple did it again. It looks like only Xcode 13 will run on Monterey. > > Looks > > > can be deceiving. If you activate Xcode 12.5.x from the command line > > > it > > will > > > start. > > > > > > > > > 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 Mike Kerner via use-livecode > > > Sent: Tuesday, November 16, 2021 7:01 PM > > > To: How to use LiveCode > > > Cc: Mike Kerner > > > Subject: Re: Xcode and Catalina **NEW MBP** > > > > > > Ralph, > > > I said "Catalina" when I meant "Monterey". > > > It's a new MBP, and no versions of XC before 13.1 will run on it. > > > I used a restore from Time Machine to get the machine set up, so all > > > of > > the > > > old XCodes that I had moved over, but none of the command-line tools > > seem to > > > work. > > > #firstWorldProblems > > > > > > On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > >> Mike, > > >> > > >> From 9.6.5 Release notes. > > >> > > >> - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the > > >> iOS > > >> 14.4 SDK > > >> > > >> There is a full list of working LiveCode/macOS/Xcode combinations > here: > > >> https://livecode.com/docs/9-5-0/faq/faq/ > > >> > > >> Important: From the start of April 2021, Apple is only accepting > > >> apps built using iOS14.x SDKs. This means that, if you wish to > > >> submit apps to the AppStore you will have to be running at least > > >> macOS 10.15 in order to be able to install the necessary version of > Xcode. > > >> > > >> 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 Mike Kerner via use-livecode > > >> Sent: Tuesday, November 16, 2021 12:21 PM > > >> To: How to use LiveCode > > >> Cc: Mike Kerner > > >> Subject: xcode and catalina **NEW MBP** > > >> > > >> Has anyone gotten LC/XC to work on a new mac that came with > > >> catalina pre-installed? > > >> I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC > > >> 12.5.1 and below not even running in Catalina, so I can't complete > > >> the installs. > > >> > > >> -- > > >> On the first day, God created the heavens and the Earth On the > > >> second day, God created the oceans. > > >> On the third day, God put the animals on hold for a few hours, > > >> and did a little diving. > > >> And God said, "This is good." > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription > > >> preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > > > > > > > -- > > > On the first day, God created the heavens and the Earth On the > > > second > > day, > > > God created the oceans. > > > On the third day, God put the animals on hold for a few hours, > > > and did a little diving. > > > And God said, "This is good." > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > > preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth On the second day, > God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jmac at consensustech.com Wed Nov 17 10:16:05 2021 From: jmac at consensustech.com (Jim At Consensus) Date: Wed, 17 Nov 2021 07:16:05 -0800 Subject: Error when creating Android APK In-Reply-To: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> References: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> Message-ID: I just started getting a similar error when building a stand-alone for iOS. All of a sudden, the stand-alone builder is failing to find files when building and fails. Haven’t started troubleshooting in detail BUT it only happens when the file is empty (e.g. a text file with no data). Might be related? Jim LC9.6.4; xCode 12.5; Big Sur Sent from Jim's iPhone XR Please excuse brevity, typos and errors > On Nov 17, 2021, at 7:09 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > until yesterday I could create Android APK packages without problems. > > Today I tried the lesson: > > Worked fine so far, Android Studio worked for a couple of minutes and finally finished, whatever it was doing. > > Now when I save a very simple stack, that I already created a standalone from earlier, > as standalone just for testing, I get this error: > ----------------------------------------------- > There was an error saving the standalone application > could not find referenced asset to include - > /Users/klaus2/Desktop/de.lproj > ----------------------------------------------- > Desktop? de.lproj? WTF? 8-) > > I get this error when I select "Sign for development only" and also when > I select "Sign with my key" with the just created keystore file, so it is not > the keystore file. What am I missing? > > Thanks in advance! > > > 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 17 10:27:23 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 17 Nov 2021 16:27:23 +0100 Subject: Error when creating Android APK In-Reply-To: References: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> Message-ID: <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> Hi Jim, > Am 17.11.2021 um 16:16 schrieb Jim At Consensus via use-livecode : > > I just started getting a similar error when building a stand-alone for iOS. All of a sudden, the stand-alone builder is failing to find files when building and fails. Haven’t started troubleshooting in detail BUT it only happens when the file is empty (e.g. a text file with no data). Might be related? no external files used with my stack!? > Jim > LC9.6.4; xCode 12.5; Big Sur oh, my system: macOS 10.14.6 LC 9.6.4 But this is obviously only with that namely stack. Other stacks and newly created ones work fine. Very strange... > Sent from Jim's iPhone XR > Please excuse brevity, typos and errors > >> On Nov 17, 2021, at 7:09 AM, Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> until yesterday I could create Android APK packages without problems. >> >> Today I tried the lesson: >> >> Worked fine so far, Android Studio worked for a couple of minutes and finally finished, whatever it was doing. >> >> Now when I save a very simple stack, that I already created a standalone from earlier, >> as standalone just for testing, I get this error: >> ----------------------------------------------- >> There was an error saving the standalone application >> could not find referenced asset to include - >> /Users/klaus2/Desktop/de.lproj >> ----------------------------------------------- >> Desktop? de.lproj? WTF? 8-) >> >> I get this error when I select "Sign for development only" and also when >> I select "Sign with my key" with the just created keystore file, so it is not >> the keystore file. What am I missing? >> >> Thanks in advance! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Wed Nov 17 10:40:08 2021 From: merakosp at gmail.com (panagiotis m) Date: Wed, 17 Nov 2021 17:40:08 +0200 Subject: Error when creating Android APK In-Reply-To: <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> References: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> Message-ID: Hello Klaus, It sounds like you have this in the Copy Files section in the standalone settings of this stack: /Users/klaus2/Desktop/de.lproj and this resource cannot be found by the standalone builder, because it is not there. Is it the case? Kind regards, Panos -- On Wed, 17 Nov 2021 at 17:28, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Jim, > > > Am 17.11.2021 um 16:16 schrieb Jim At Consensus via use-livecode < > use-livecode at lists.runrev.com>: > > > > I just started getting a similar error when building a stand-alone for > iOS. All of a sudden, the stand-alone builder is failing to find files when > building and fails. Haven’t started troubleshooting in detail BUT it only > happens when the file is empty (e.g. a text file with no data). Might be > related? > > no external files used with my stack!? > > > Jim > > LC9.6.4; xCode 12.5; Big Sur > > oh, my system: > macOS 10.14.6 > LC 9.6.4 > > But this is obviously only with that namely stack. > Other stacks and newly created ones work fine. > Very strange... > > > Sent from Jim's iPhone XR > > Please excuse brevity, typos and errors > > > >> On Nov 17, 2021, at 7:09 AM, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Hi friends, > >> > >> until yesterday I could create Android APK packages without problems. > >> > >> Today I tried the lesson: > >> < > https://lessons.livecode.com/m/4069/l/32674-how-do-i-create-a-self-signed-certificate-for-an-android-app > > > >> Worked fine so far, Android Studio worked for a couple of minutes and > finally finished, whatever it was doing. > >> > >> Now when I save a very simple stack, that I already created a > standalone from earlier, > >> as standalone just for testing, I get this error: > >> ----------------------------------------------- > >> There was an error saving the standalone application > >> could not find referenced asset to include - > >> /Users/klaus2/Desktop/de.lproj > >> ----------------------------------------------- > >> Desktop? de.lproj? WTF? 8-) > >> > >> I get this error when I select "Sign for development only" and also > when > >> I select "Sign with my key" with the just created keystore file, so it > is not > >> the keystore file. What am I missing? > >> > >> Thanks in advance! > > 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 17 10:46:07 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 17 Nov 2021 16:46:07 +0100 Subject: Error when creating Android APK In-Reply-To: References: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> Message-ID: <72131E52-D96B-4077-9D9D-1E86E6855029@major-k.de> Hi Panos, > Am 17.11.2021 um 16:40 schrieb panagiotis m via use-livecode : > > Hello Klaus, > > It sounds like you have this in the Copy Files section in the standalone > settings of this stack: > /Users/klaus2/Desktop/de.lproj > and this resource cannot be found by the standalone builder, because it is > not there. > Is it the case? oh, boy, yes, it is, how embarrassing... 8-) No idea why I added this one? Thank you very much! > Kind regards, > Panos P.S. This works very fine: >> how-do-i-create-a-self-signed-certificate-for-an-android-app With that certificate we can download an APK from any source and install it. Only the security mechanism on the cellphone complains a bit but we can install it anyway, cool! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Wed Nov 17 10:52:07 2021 From: merakosp at gmail.com (panagiotis m) Date: Wed, 17 Nov 2021 17:52:07 +0200 Subject: Error when creating Android APK In-Reply-To: <72131E52-D96B-4077-9D9D-1E86E6855029@major-k.de> References: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> <72131E52-D96B-4077-9D9D-1E86E6855029@major-k.de> Message-ID: Thanks for the update Klaus :) Glad the lesson is still valid :) Cheers, Panos -- On Wed, 17 Nov 2021 at 17:46, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > > Am 17.11.2021 um 16:40 schrieb panagiotis m via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hello Klaus, > > > > It sounds like you have this in the Copy Files section in the standalone > > settings of this stack: > > /Users/klaus2/Desktop/de.lproj > > and this resource cannot be found by the standalone builder, because it > is > > not there. > > Is it the case? > > oh, boy, yes, it is, how embarrassing... 8-) > No idea why I added this one? > > Thank you very much! > > > Kind regards, > > Panos > > P.S. > This works very fine: > >> how-do-i-create-a-self-signed-certificate-for-an-android-app > > With that certificate we can download an APK from any source and install > it. > Only the security mechanism on the cellphone complains a bit but we can > install > it anyway, cool! :-) > > > 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 ahsoftware at sonic.net Wed Nov 17 11:28:35 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 17 Nov 2021 08:28:35 -0800 Subject: Android: Play App Signing In-Reply-To: <64CF8997-F5AE-4459-8327-38C66D74BF02@livecode.com> References: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> <75B09E50-505C-436C-A912-EEF45CA88E92@m-r-d.de> <64CF8997-F5AE-4459-8327-38C66D74BF02@livecode.com> Message-ID: <83271c54-7e21-2028-0508-15027790463a@sonic.net> On 11/17/21 4:41 AM, Heather Laine via use-livecode wrote: > Yes unfortunately that is correct, there is no way to delete this. Its out there. You probably should change your signing key... "probably" Heh. -- Mark Wieder ahsoftware at gmail.com From curry at pair.com Wed Nov 17 14:19:12 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 17 Nov 2021 14:19:12 -0500 Subject: LC Clipboard Polling Hang: Reported yet? Message-ID: <4e926340-a564-fbb3-6d9b-e344a15209a0@pair.com> I'm seeing a hang in LC 9.x when accessing the clipboard repeatedly. (Including LC 9.6.5 RC 2.) No precise recipe yet; that comes next, if this hasn't been reported yet. I accessing clipboardData["text"] maybe 1800 times, with the data on the clipboard changing 200 times. Finally LC breaks down in two distinct steps: 1. clipboardData["text"] stops reporting the current data. (But LC is usable and can still even SET the clipboardData.) 2. Then LC itself hangs up; have to End Task. Sound familiar anyone? If so, what Bug #? If not, I'll report it. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From matthias_livecode_150811 at m-r-d.de Wed Nov 17 14:31:10 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 17 Nov 2021 20:31:10 +0100 Subject: LC Clipboard Polling Hang: Reported yet? In-Reply-To: <4e926340-a564-fbb3-6d9b-e344a15209a0@pair.com> References: <4e926340-a564-fbb3-6d9b-e344a15209a0@pair.com> Message-ID: Curry, are you experiencing this on Windows or macOS? Regards, Matthias > Am 17.11.2021 um 20:19 schrieb Curry Kenworthy via use-livecode : > > > I'm seeing a hang in LC 9.x when > accessing the clipboard repeatedly. > (Including LC 9.6.5 RC 2.) > > No precise recipe yet; that comes next, > if this hasn't been reported yet. > > I accessing clipboardData["text"] > maybe 1800 times, with the data > on the clipboard changing 200 times. > > Finally LC breaks down > in two distinct steps: > > 1. clipboardData["text"] stops > reporting the current data. > > (But LC is usable and can still > even SET the clipboardData.) > > 2. Then LC itself hangs up; > have to End Task. > > Sound familiar anyone? > If so, what Bug #? > If not, I'll report it. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Nov 17 14:43:46 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Nov 2021 13:43:46 -0600 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <008201d7db4d$516112c0$f4233840$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> Message-ID: <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote: > iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. > I am doing several synchronous operations in the form "put url (some-url) > into tVar". I do 1 or 2 and then every request after that fails. Played > with the various timeouts with no success. I also tried setting > tsNetLibUrlReuseConnection to false. This code worked in previous versions > of LC. Fails on iPad but works in the IDE. Has anyone seen this? I have a > little bit of a time crunch. Any suggestions would be appreciated. I asked about the same thing a month ago. Here's the reply by Charles Warwick: The essence is: "In order to fix this, you can use tsNet's asynchronous commands (e.g. tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...) or libURL's "load URL" command. The "load URL" command only support HTTP GET requests which means that if you need to use other types of requests (e.g. POST) then use the tsNet functions directly." Rather than rewrite all my scripts I settled for a short wait between requests. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Wed Nov 17 15:01:37 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 17 Nov 2021 15:01:37 -0500 Subject: LC Clipboard Polling Hang: Reported yet? In-Reply-To: References: <4e926340-a564-fbb3-6d9b-e344a15209a0@pair.com> Message-ID: hmmm...I use my clipboard tool everyday and i routinely have 7-10 days uptime, during which I think I would have come across this. My guess is that this one is new. But thats not to say there are not other bugs in the clipboard. Thanks for the heads up about this before I decide to rebuild using LC 9.6.5 Tom On Wed, Nov 17, 2021 at 2:32 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Curry, > > are you experiencing this on Windows or macOS? > > Regards, > Matthias > > > > > Am 17.11.2021 um 20:19 schrieb Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com>: > > > > > > I'm seeing a hang in LC 9.x when > > accessing the clipboard repeatedly. > > (Including LC 9.6.5 RC 2.) > > > > No precise recipe yet; that comes next, > > if this hasn't been reported yet. > > > > I accessing clipboardData["text"] > > maybe 1800 times, with the data > > on the clipboard changing 200 times. > > > > Finally LC breaks down > > in two distinct steps: > > > > 1. clipboardData["text"] stops > > reporting the current data. > > > > (But LC is usable and can still > > even SET the clipboardData.) > > > > 2. Then LC itself hangs up; > > have to End Task. > > > > Sound familiar anyone? > > If so, what Bug #? > > If not, I'll report it. > > > > Best wishes, > > > > Curry Kenworthy > > > > Custom Software Development > > "Better Methods, Better Results" > > Christian LiveCode Training and Consulting > > http://livecodeconsulting.com/ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From rdimola at evergreeninfo.net Wed Nov 17 15:03:53 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 17 Nov 2021 15:03:53 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> Message-ID: <005d01d7dbee$421571c0$c6405540$@net> J, Thanks to you and Charles! I wonder what changed to start this? Was tsNet or the mobile OSs not strict enough before and these errors were dropping on the floor or is it a bug introduced by either tsNet or the mobile OSs? Inquiring minds want to know... 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: Wednesday, November 17, 2021 2:44 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS app On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote: > iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. > I am doing several synchronous operations in the form "put url > (some-url) into tVar". I do 1 or 2 and then every request after that > fails. Played with the various timeouts with no success. I also tried > setting tsNetLibUrlReuseConnection to false. This code worked in > previous versions of LC. Fails on iPad but works in the IDE. Has > anyone seen this? I have a little bit of a time crunch. Any suggestions would be appreciated. I asked about the same thing a month ago. Here's the reply by Charles Warwick: The essence is: "In order to fix this, you can use tsNet's asynchronous commands (e.g. tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...) or libURL's "load URL" command. The "load URL" command only support HTTP GET requests which means that if you need to use other types of requests (e.g. POST) then use the tsNet functions directly." Rather than rewrite all my scripts I settled for a short wait between requests. -- 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 jmac at consensustech.com Wed Nov 17 10:40:07 2021 From: jmac at consensustech.com (Jim At Consensus) Date: Wed, 17 Nov 2021 07:40:07 -0800 Subject: Error when creating Android APK In-Reply-To: <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> References: <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> Message-ID: Strange. Clarification. My error is occurring during stand-alone build. I include a folder in the “Copy Files” section. In the folder are files “to be filled” recording user choices, etc. The build process fails on the first “empty” file. Will be chasing workarounds today so will see. Many alternative approaches. First priority is getting successful build to test other stuff. ~j Sent from Jim's iPhone XR Please excuse brevity, typos and errors > On Nov 17, 2021, at 7:29 AM, Klaus major-k via use-livecode wrote: > > Hi Jim, > >> Am 17.11.2021 um 16:16 schrieb Jim At Consensus via use-livecode : >> >> I just started getting a similar error when building a stand-alone for iOS. All of a sudden, the stand-alone builder is failing to find files when building and fails. Haven’t started troubleshooting in detail BUT it only happens when the file is empty (e.g. a text file with no data). Might be related? > > no external files used with my stack!? > >> Jim >> LC9.6.4; xCode 12.5; Big Sur > > oh, my system: > macOS 10.14.6 > LC 9.6.4 > > But this is obviously only with that namely stack. > Other stacks and newly created ones work fine. > Very strange... > >> Sent from Jim's iPhone XR >> Please excuse brevity, typos and errors >> >>>> On Nov 17, 2021, at 7:09 AM, Klaus major-k via use-livecode wrote: >>> >>> Hi friends, >>> >>> until yesterday I could create Android APK packages without problems. >>> >>> Today I tried the lesson: >>> >>> Worked fine so far, Android Studio worked for a couple of minutes and finally finished, whatever it was doing. >>> >>> Now when I save a very simple stack, that I already created a standalone from earlier, >>> as standalone just for testing, I get this error: >>> ----------------------------------------------- >>> There was an error saving the standalone application >>> could not find referenced asset to include - >>> /Users/klaus2/Desktop/de.lproj >>> ----------------------------------------------- >>> Desktop? de.lproj? WTF? 8-) >>> >>> I get this error when I select "Sign for development only" and also when >>> I select "Sign with my key" with the just created keystore file, so it is not >>> the keystore file. What am I missing? >>> >>> Thanks in advance! > > 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 rdimola at evergreeninfo.net Wed Nov 17 17:04:58 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 17 Nov 2021 17:04:58 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> Message-ID: <006701d7dbff$2c530260$84f90720$@net> What is the "pro version" of tsNet the Charles refers to in that thread? 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: Wednesday, November 17, 2021 2:44 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS app On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote: > iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. > I am doing several synchronous operations in the form "put url > (some-url) into tVar". I do 1 or 2 and then every request after that > fails. Played with the various timeouts with no success. I also tried > setting tsNetLibUrlReuseConnection to false. This code worked in > previous versions of LC. Fails on iPad but works in the IDE. Has > anyone seen this? I have a little bit of a time crunch. Any suggestions would be appreciated. I asked about the same thing a month ago. Here's the reply by Charles Warwick: The essence is: "In order to fix this, you can use tsNet's asynchronous commands (e.g. tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...) or libURL's "load URL" command. The "load URL" command only support HTTP GET requests which means that if you need to use other types of requests (e.g. POST) then use the tsNet functions directly." Rather than rewrite all my scripts I settled for a short wait between requests. -- 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 matthias_livecode_150811 at m-r-d.de Wed Nov 17 17:26:28 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 17 Nov 2021 23:26:28 +0100 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <006701d7dbff$2c530260$84f90720$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> <006701d7dbff$2c530260$84f90720$@net> Message-ID: <3C4EC89E-ED68-433A-A712-970981762825@m-r-d.de> According to Livecode's website https://livecode.com/pro-features/ Complete Advanced Networking Layer: - Non-blocking, asynchronous operations on SFTP, SMTP, SMTPS and SMTP/TLS - SFTP authentication via public key authentication giving the best possible security - SMTP(S/TLS) / SFTP downloads and uploads can either be via file or via variable – you are not limited by the memory available to your variable - Ability to generate public / private key pairs suitable for use with SFTP – no need for an external application to create these - Ability to send additional raw commands along with FTP and SFTP transfers to be executed before or after the transfer completes Regards, Matthisa > Am 17.11.2021 um 23:04 schrieb Ralph DiMola via use-livecode : > > What is the "pro version" of tsNet the Charles refers to in that thread? > > 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: Wednesday, November 17, 2021 2:44 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS > app > > On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote: >> iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. >> I am doing several synchronous operations in the form "put url >> (some-url) into tVar". I do 1 or 2 and then every request after that >> fails. Played with the various timeouts with no success. I also tried >> setting tsNetLibUrlReuseConnection to false. This code worked in >> previous versions of LC. Fails on iPad but works in the IDE. Has >> anyone seen this? I have a little bit of a time crunch. Any suggestions > would be appreciated. > > I asked about the same thing a month ago. Here's the reply by Charles > Warwick: > > > The essence is: > "In order to fix this, you can use tsNet's asynchronous commands (e.g. > tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...) > or libURL's "load URL" command. The "load URL" command only support HTTP > GET requests which means that if you need to use other types of requests > (e.g. POST) then use the tsNet functions directly." > > Rather than rewrite all my scripts I settled for a short wait between > requests. > > -- > 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 rdimola at evergreeninfo.net Wed Nov 17 17:47:03 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 17 Nov 2021 17:47:03 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <3C4EC89E-ED68-433A-A712-970981762825@m-r-d.de> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> <006701d7dbff$2c530260$84f90720$@net> <3C4EC89E-ED68-433A-A712-970981762825@m-r-d.de> Message-ID: <006801d7dc05$0dd81090$298831b0$@net> Ahhh, That explains why the app is failing now. I lost the pro-features in the transition to the new business model. 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 matthias rebbe via use-livecode Sent: Wednesday, November 17, 2021 5:26 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS app According to Livecode's website https://livecode.com/pro-features/ Complete Advanced Networking Layer: - Non-blocking, asynchronous operations on SFTP, SMTP, SMTPS and SMTP/TLS - SFTP authentication via public key authentication giving the best possible security - SMTP(S/TLS) / SFTP downloads and uploads can either be via file or via variable – you are not limited by the memory available to your variable - Ability to generate public / private key pairs suitable for use with SFTP – no need for an external application to create these - Ability to send additional raw commands along with FTP and SFTP transfers to be executed before or after the transfer completes Regards, Matthisa > Am 17.11.2021 um 23:04 schrieb Ralph DiMola via use-livecode : > > What is the "pro version" of tsNet the Charles refers to in that thread? > > 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: Wednesday, November 17, 2021 2:44 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: The Dreaded tsNet "Error Previous request not completed" > iOS app > > On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote: >> iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. >> I am doing several synchronous operations in the form "put url >> (some-url) into tVar". I do 1 or 2 and then every request after that >> fails. Played with the various timeouts with no success. I also >> tried setting tsNetLibUrlReuseConnection to false. This code worked >> in previous versions of LC. Fails on iPad but works in the IDE. Has >> anyone seen this? I have a little bit of a time crunch. Any >> suggestions > would be appreciated. > > I asked about the same thing a month ago. Here's the reply by Charles > Warwick: > html> > > The essence is: > "In order to fix this, you can use tsNet's asynchronous commands (e.g. > tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, > ...) or libURL's "load URL" command. The "load URL" command only > support HTTP GET requests which means that if you need to use other > types of requests (e.g. POST) then use the tsNet functions directly." > > Rather than rewrite all my scripts I settled for a short wait between > requests. > > -- > 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 dsquance at telus.net Thu Nov 18 00:16:46 2021 From: dsquance at telus.net (David Squance) Date: Wed, 17 Nov 2021 21:16:46 -0800 Subject: Annoying pop-up message Message-ID: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> This may be off-topic, but I don’t know if it’s related to my Mac OS or LC. Lately I get a periodic pop-up that says “The ‘C++filt’ command requires the command line developer tools. Would you like to install the tools now?” I have no knowledge of doing anything that uses the above command. I’m using the last version of LC prior to the big change away from freebies and haven’t attempted any standalone building for some time. I’m running Big Sur on a MacBook Air. Dave From matthias_livecode_150811 at m-r-d.de Thu Nov 18 04:48:50 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 18 Nov 2021 10:48:50 +0100 Subject: Annoying pop-up message In-Reply-To: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> References: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> Message-ID: <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> This can be caused by an installed program. Here for example someone is mentioning that the program BOINC caused that popup message in his case. https://discussions.apple.com/thread/252157812 Do you have Xcode or the command. line tools installed at all? Or is a version of the command line tools selected that is not installed anymore on your computer? In a first step you could open Xcode, open Preferences and under Locations you could select a version of the installed command line tools. Does that fix your problem? Regards Matthias > Am 18.11.2021 um 06:16 schrieb David Squance via use-livecode : > > This may be off-topic, but I don’t know if it’s related to my Mac OS or LC. Lately I get a periodic pop-up that says “The ‘C++filt’ command requires the command line developer tools. Would you like to install the tools now?” I have no knowledge of doing anything that uses the above command. I’m using the last version of LC prior to the big change away from freebies and haven’t attempted any standalone building for some time. I’m running Big Sur on a MacBook Air. > Dave > _______________________________________________ > use-livecode mailing list > use-livecode at 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 18 10:42:54 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 18 Nov 2021 10:42:54 -0500 Subject: Annoying pop-up message In-Reply-To: <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> References: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> Message-ID: <99C1853C-3710-4423-BF3F-8F4213701522@starfirelighting.com> Is this anything like the “Lipo” dialogs I get now every time I make a standalone? There is a thread on the Forum about this: https://forums.livecode.com/search.php?keywords=lipo Craig > On Nov 18, 2021, at 4:48 AM, matthias rebbe via use-livecode wrote: > > This can be caused by an installed program. > > Here for example someone is mentioning that the program BOINC caused that popup message in his case. > https://discussions.apple.com/thread/252157812 > > Do you have Xcode or the command. line tools installed at all? Or is a version of the command line tools selected that is not installed anymore on your computer? > > In a first step you could open Xcode, open Preferences and under Locations you could select a version of the installed command line tools. Does that fix your problem? > > Regards > Matthias > >> Am 18.11.2021 um 06:16 schrieb David Squance via use-livecode : >> >> This may be off-topic, but I don’t know if it’s related to my Mac OS or LC. Lately I get a periodic pop-up that says “The ‘C++filt’ command requires the command line developer tools. Would you like to install the tools now?” I have no knowledge of doing anything that uses the above command. I’m using the last version of LC prior to the big change away from freebies and haven’t attempted any standalone building for some time. I’m running Big Sur on a MacBook Air. >> Dave >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 18 10:44:20 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 18 Nov 2021 10:44:20 -0500 Subject: Annoying pop-up message In-Reply-To: <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> References: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> Message-ID: <117FE355-27D8-48A2-B6FD-A31289EDD858@starfirelighting.com> Or: https://forums.livecode.com/viewtopic.php?f=9&t=35607&p=203599&hilit=lipo#p203599 Craig > On Nov 18, 2021, at 4:48 AM, matthias rebbe via use-livecode wrote: > > This can be caused by an installed program. > > Here for example someone is mentioning that the program BOINC caused that popup message in his case. > https://discussions.apple.com/thread/252157812 > > Do you have Xcode or the command. line tools installed at all? Or is a version of the command line tools selected that is not installed anymore on your computer? > > In a first step you could open Xcode, open Preferences and under Locations you could select a version of the installed command line tools. Does that fix your problem? > > Regards > Matthias > >> Am 18.11.2021 um 06:16 schrieb David Squance via use-livecode : >> >> This may be off-topic, but I don’t know if it’s related to my Mac OS or LC. Lately I get a periodic pop-up that says “The ‘C++filt’ command requires the command line developer tools. Would you like to install the tools now?” I have no knowledge of doing anything that uses the above command. I’m using the last version of LC prior to the big change away from freebies and haven’t attempted any standalone building for some time. I’m running Big Sur on a MacBook Air. >> Dave >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsquance at telus.net Thu Nov 18 12:22:40 2021 From: dsquance at telus.net (David Squance) Date: Thu, 18 Nov 2021 09:22:40 -0800 Subject: Annoying pop-up message In-Reply-To: <99C1853C-3710-4423-BF3F-8F4213701522@starfirelighting.com> References: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> <99C1853C-3710-4423-BF3F-8F4213701522@starfirelighting.com> Message-ID: <4DCACEDE-7677-463F-AFFE-705022130E7E@telus.net> I haven’t seen this message with Lipo, but thanks to Matthias, I think the source of the message has been found. I’ve had BOINC running on my computer, so I will try doing the installation and how the message goes away. Dave > On Nov 18, 2021, at 7:42 AM, Craig Newman via use-livecode wrote: > > Is this anything like the “Lipo” dialogs I get now every time I make a standalone? There is a thread on the Forum about this: > > https://forums.livecode.com/search.php?keywords=lipo > > Craig > > >> On Nov 18, 2021, at 4:48 AM, matthias rebbe via use-livecode wrote: >> >> This can be caused by an installed program. >> >> Here for example someone is mentioning that the program BOINC caused that popup message in his case. >> https://discussions.apple.com/thread/252157812 >> >> Do you have Xcode or the command. line tools installed at all? Or is a version of the command line tools selected that is not installed anymore on your computer? >> >> In a first step you could open Xcode, open Preferences and under Locations you could select a version of the installed command line tools. Does that fix your problem? >> >> Regards >> Matthias >> >>> Am 18.11.2021 um 06:16 schrieb David Squance via use-livecode : >>> >>> This may be off-topic, but I don’t know if it’s related to my Mac OS or LC. Lately I get a periodic pop-up that says “The ‘C++filt’ command requires the command line developer tools. Would you like to install the tools now?” I have no knowledge of doing anything that uses the above command. I’m using the last version of LC prior to the big change away from freebies and haven’t attempted any standalone building for some time. I’m running Big Sur on a MacBook Air. >>> Dave >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Thu Nov 18 13:13:48 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 18 Nov 2021 13:13:48 -0500 Subject: Broken: November use-livecode Archive! Message-ID: The November use-livecode Archive has been broken for around 20 hours: It has many misparsed "No subject" posts, and after those, no new emails show up. No archived emails since "Nov 17 07:41:36 EST 2021". People who are subscribed to the daily Digest, like myself, will not be able to see any replies or other posts until the next day's email Digest. Luckily the email Digest still works, but it's pretty crippled without the web Archive. (Also I can't verify whether my email goes through, so I'll be cross-posting to the dev-list for that purpose. The dev archive still works.) :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From mark at livecode.com Thu Nov 18 13:27:43 2021 From: mark at livecode.com (Mark Waddingham) Date: Thu, 18 Nov 2021 18:27:43 +0000 Subject: Broken: November use-livecode Archive! In-Reply-To: References: Message-ID: <7652ec9fb8570764b4b28d7641b9c478@livecode.com> On 2021-11-18 18:13, Curry Kenworthy via use-livecode wrote: > The November use-livecode Archive has been broken > for around 20 hours: > > Its a side-effect of deleting a recent post which contained sensitive information (obviously we can't get rid any copies elsewhere, but can on our server). We are aware of the issue and will endeavour to rectify the problem tomorrow. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From panos.merakos at livecode.com Thu Nov 18 13:56:14 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 18 Nov 2021 20:56:14 +0200 Subject: [ANN] Release 10.0.0 DP-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 DP-1. Developer Preview Release ========================= Warning: this is not a stable release. Please ensure that you back up your stacks before testing them. Getting the Release =================== You can find the release in your LiveCode account area or get it via the automatic updater. To find the dp-1 test release in your LiveCode account, please scroll down to below the list of stable releases, to find your available test releases. Release Contents ================ LiveCode 10.0.0 DP-1 comes with several bug fixes and some amazing new features: - Web deployment now uses WebAssembly The WebAssembly engine is smaller, and substantially faster than the previous asm.js version. In addition, moving to this new architecture means that the wait command now works - along with any engine functionality which internally uses wait-like functionality. - A new "clipSnapshots" property has been added to the barcode scanner on Android By default, if a snapshot is taken by the Android barcode scanner widget, the resulting image is clipped to the actual rect of the barcode. A new property "clipSnapshots" has been added which can be set to false to prevent this behavior, so that the resulting snapshot is the full image. - Support for GLES3.x acceleratedRendering has been added for Android and iOS devices An OpenGL ES 3 implementation of the accelerated rendering backend has been added. This makes it possible for future versions of LiveCode to leverage the new technology to improve accelerated rendering performance. It also enables accelerated rendering to be used with Android emulators. - A new "bounds" option has been added to the LCB begin layer command New syntax has been added to the Canvas library to allow specifying the drawing boundary when beginning a new layer for an effect. This should be a rectangle signifying the bounds of any drawing performed on the layer. This information allows the canvas library to limit the amount of memory allocated to the new layer by restricting the size of its backing buffer to only that area required to correctly render effects based on the given drawing bounds. - A new "device transform" property has been added to the LCB canvas object New syntax has been added to enable getting the current transform of a canvas. The canvas "device transform" property returns the affine transform from logical units to backing device pixels. - A new "is valid" operator has been added to the LCB image object New syntax has been added to allow querying an image to determine if it contains valid data. The image "is valid" operator returns a boolean value indicating whether or not its data is valid. For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/10_0_0/LiveCodeNotes-10_0_0_dp_1.pdf Known issues ============ - Stacks may experience redraw issues on macOS when running on macOS 10.14 (Mojave) and macOS 10.15 (Catalina) - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK - macOS 11.x : Xcode 12.5.x - LiveCode builds iOS apps using the iOS 14.5 SDK - macOS 12.x : Xcode 12.5.x - LiveCode builds iOS apps using the iOS 14.5 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/resources/support/ask-a-question/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 in order to be able to install the necessary version of Xcode. Feedback ======== Please report any bugs encountered on our quality center at http://quality.livecode.com/ We have a forum available for discussing LiveCode at https://forums.livecode.com Have fun! The LiveCode Team -- From MikeKerner at roadrunner.com Thu Nov 18 16:00:36 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 18 Nov 2021 16:00:36 -0500 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: FYI, XC 12.5.x is being a bugger with MacOS 12.x for new hardware. Any chance we'll get XCode 13.1 in DP2? From heather at livecode.com Fri Nov 19 05:07:32 2021 From: heather at livecode.com (Heather Laine) Date: Fri, 19 Nov 2021 10:07:32 +0000 Subject: testing the archive Message-ID: <264EB254-B31B-42A5-9C6B-B5611B9C9EFD@livecode.com> Does this archive correctly? List members, this is not for you :) Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From heather at livecode.com Fri Nov 19 05:10:25 2021 From: heather at livecode.com (Heather Laine) Date: Fri, 19 Nov 2021 10:10:25 +0000 Subject: Yes, its another archiving test Message-ID: <833A7EC9-216C-457A-B3EE-4CA0F2A49A3C@livecode.com> No, its still not for you, look away... Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From merakosp at gmail.com Fri Nov 19 08:48:45 2021 From: merakosp at gmail.com (panagiotis m) Date: Fri, 19 Nov 2021 15:48:45 +0200 Subject: Android: Play App Signing In-Reply-To: <83271c54-7e21-2028-0508-15027790463a@sonic.net> References: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> <75B09E50-505C-436C-A912-EEF45CA88E92@m-r-d.de> <64CF8997-F5AE-4459-8327-38C66D74BF02@livecode.com> <83271c54-7e21-2028-0508-15027790463a@sonic.net> Message-ID: Aloha Brahmanathaswami, You are missing a "--" before the alias argument. So it should be: .. --alias=sivasiva .. and not just: .. alias=sivasiva Hope this helps. Kind regards, Panos On Wed, 17 Nov 2021 at 18:29, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 11/17/21 4:41 AM, Heather Laine via use-livecode wrote: > > Yes unfortunately that is correct, there is no way to delete this. Its > out there. You probably should change your signing key... > > "probably" > Heh. > > -- > 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 merakosp at gmail.com Fri Nov 19 09:29:24 2021 From: merakosp at gmail.com (panagiotis m) Date: Fri, 19 Nov 2021 16:29:24 +0200 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: Hello Mike, I believe you should be able to use Xcode 12.5 with LiveCode on MacOS 12.x. LC does not actually use Xcode, it just needs the iOS SDKs and some command line tools. So the following should work: 1. Download Xcode 12.5.xip from Apple's downloads area 2. Expand the .xip file 3. Run in the Terminal: sudo xcode-select -s /path/to/Xcode12.5.app, e.g. sudo xcode-select -s /Users/mike/Xcodes/Xcode12.5.app 4. Run in the Terminal: sudo xcode-select --install 5. In the LC Prefs, add the path to Xcode12.5. Remove other paths to Xcode13, if any. 6. Try to build an iOS standalone >>>>>Any chance we'll get XCode 13.1 in DP2? Yes, it is quite likely. We plan to add support for Xcode13.1 in LC 9.6.6 RC-1, and then merge this to LC 10.0 DP-2. Kind regards, Panos On Thu, 18 Nov 2021 at 23:02, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > FYI, XC 12.5.x is being a bugger with MacOS 12.x for new hardware. Any > chance we'll get XCode 13.1 in DP2? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From heather at livecode.com Fri Nov 19 09:46:15 2021 From: heather at livecode.com (Heather Laine) Date: Fri, 19 Nov 2021 14:46:15 +0000 Subject: Yes, its another archiving test In-Reply-To: <833A7EC9-216C-457A-B3EE-4CA0F2A49A3C@livecode.com> References: <833A7EC9-216C-457A-B3EE-4CA0F2A49A3C@livecode.com> Message-ID: <25CEE644-66DE-4497-958B-F4F049F14E1A@livecode.com> One last test to check all is as it should be. Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 19 Nov 2021, at 10:10, Heather Laine via use-livecode wrote: > > No, its still not for you, look away... > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri Nov 19 09:46:43 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 19 Nov 2021 09:46:43 -0500 Subject: LC Clipboard Polling Hang: Reported yet? In-Reply-To: References: Message-ID: List archive up, so following up.... Matthias: > are you experiencing this on Windows or macOS? Intentionally omitted here; if I mention one, people tend to make assumptions about the other. (That fuels myths which can persist for years!) :) I'd rather ask both sets of users: seen this? At this point, no platform is eliminated yet. Tom: > Thanks for the heads up about this > before I decide to rebuild using LC 9.6.5 No, it existed in 9.6.3 also; a veteran 9.x bug! Me: > I'm seeing a hang in LC 9.x when > accessing the clipboard repeatedly. Still no precise recipe yet; will file a report when I have one. > 1. clipboardData["text"] stops > reporting the current data. This is what happens when the bug strikes! > 2. Then LC itself hangs up (Recanting this #2; it may be unrelated. Probably #1 is the only true bug symptom.) (OK, here goes, let's see if this email archives.) Best wishes, Curry Kenworthy From rdimola at evergreeninfo.net Fri Nov 19 11:05:03 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 19 Nov 2021 11:05:03 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> Message-ID: <003201d7dd5f$394b5970$abe20c50$@net> I solved the problem. I was my problem. When I activated LC 9.6.4+ I just blew past the licensing dialog taking the default as I have always done. In pre 9.6.4 I only had one licensing option. This was my business license that included the indy to business upgrade and the pro features upgrade. In 9.6.4+ these upgrade options appear as 3 license choices. The default was Indy(so to speak) the second was the business(I guess) but the third was clearly identified as "Pro Features". I used the "Re-license Livecode" option in the help menu and took the third option and my PDF widget appeared and my initial testing shows that I am no longer throwing the "Error Previous request not completed" error. I tested a 9.6.5rc2 build and not yet seen the error on iOS. I have a tester trying a LC 10dp1 iOS build and he has not seen the error either. So... Don't blow past the licensing dialog like I did. Check to see if there is more than one option, then check them all so get the license level you expect. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From rdimola at evergreeninfo.net Fri Nov 19 12:20:46 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 19 Nov 2021 12:20:46 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <003201d7dd5f$394b5970$abe20c50$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> <003201d7dd5f$394b5970$abe20c50$@net> Message-ID: <003d01d7dd69$cce67980$66b36c80$@net> I just wanted to thank Jacqueline Landman Gay and Charles Warwick for this thread https://www.mail-archive.com/use-livecode at lists.runrev.com/msg113554.html I still wonder how more than one synchronous operation can be in play at the same as synchronous operations are blocking. Oh well I works now with tsNet-Pro. Well worth the price... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From mark at livecode.com Fri Nov 19 12:38:13 2021 From: mark at livecode.com (Mark Waddingham) Date: Fri, 19 Nov 2021 17:38:13 +0000 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <003d01d7dd69$cce67980$66b36c80$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> <003201d7dd5f$394b5970$abe20c50$@net> <003d01d7dd69$cce67980$66b36c80$@net> Message-ID: <6687ae6e8f47375423140a4dedf51846@livecode.com> On 2021-11-19 17:20, Ralph DiMola via use-livecode wrote: > I just wanted to thank Jacqueline Landman Gay and Charles Warwick for > this > thread > https://www.mail-archive.com/use-livecode at lists.runrev.com/msg113554.html > > I still wonder how more than one synchronous operation can be in play > at the > same as synchronous operations are blocking. Oh well I works now with > tsNet-Pro. Well worth the price... So technically 'synchronous' libURL operations are not blocking - they use a nested wait. As libURL is a script library, and uses engine sockets (and thus messages), they need to get messages and so all messages also occur. Indeed, this also means you can handle progress notifications, and whatever means you choose to show the UI is currently 'blocked' because your script is busy. It does mean you do have to be somewhat careful with `get url` and friends - since you can end up in a bit of a recursive mess (i.e. if a message fires while a get url is going on, and you do another get url etc. etc.). There is a request in BZ to make tsNet's synchronous calls truly blocking - however that would probably need to come with some sort of automatic 'busy' indicator over all currently open windows to prevent UI events getting queued / lost (and users being confused why things don't work at certain points!). The upside of that is that it might prevent 'mysterious' problems with accidental recursive waits which can happen at the moment. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From tom at makeshyft.com Fri Nov 19 17:33:16 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 19 Nov 2021 17:33:16 -0500 Subject: browserProgressChanged not sending Message-ID: Hello Folks, I'm hoping I'm just overlooking something, but has anyone come across trying to use the browserProgressChanged message? It seems like this message is not being sent to the widget. My browser widget only receives the "browserFrameDocument" messages. It doesn't matter what site I am on. I'm on Windows 10 LC 9.63 Thanks in advance, Tom From rjearp99 at gmail.com Fri Nov 19 19:04:10 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Fri, 19 Nov 2021 16:04:10 -0800 Subject: Reading LC List Digests Message-ID: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> Does anybody know a a great interface for digests from the LC lists ? I have two problems... Ever since I subscribed to the two LC lists many years ago when they first started I set my subscription options to send digests so that I would not have oodles of separate eMails sent to me, one each time somebody posted something. To some extent digests works OK as at the top of the digest you get the “Today’s Topics” summary and each message/post numbered. I also get to see who has posted what, which I suspect like you, I use as a filter. If I see something of interest in the Today’s Topics (although the topic can often be misleading) from somebody I trust, I scroll down the digest until I get to the actual post. Frankly, the scrolling is a pain especially as posts are not grouped by topic, they are chronologically grouped, plus people often repeat the whole thread in their reply which makes scrolling arduous. The second problem I have is that frequently some of the characters in a post do not show in Apple Mail (what I am using to view the digests) as a the correct/intended/valid character. I often see question marks and sometimes other characters in place of what somebody has posted. ex. “…..pop-up that says ?The ?C++filt? command…..” Of course, it is a guessing game as to what character the “?” is replacing. Given that the lists are LC centric, I would have hoped somebody would have come up with a better interface by now !! Do you have a better way of keeping up with the lists or know of a stack or web site that does ? Many thanks, Bob... Robert (Bob) Earp White Rock British Columbia Canada From curry at pair.com Fri Nov 19 20:02:42 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 19 Nov 2021 20:02:42 -0500 Subject: Reading LC List Digests In-Reply-To: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> References: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> Message-ID: Bob: > Does anybody know a a great interface for digests from the LC lists ? Yep, here's the best one: > To some extent digests works OK as at the top of the digest > you get the Todays Topics summary and each message/post numbered. Yep, the digest email is the TV Guide. The list archive is the TV. > I also get to see who has posted what, which I suspect like you, > I use as a filter. Not really; accuracy depends on what is posted, not who. > Frankly, the scrolling is a pain especially as posts > are not grouped by topic, they are chronologically grouped, Archive is easy to scroll, full screen, can be sorted several ways. > plus people often repeat the whole thread in their reply > which makes scrolling arduous. Yeah! That bugs me too, no matter where I read. But variety is the spice of life! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From jacque at hyperactivesw.com Fri Nov 19 23:36:13 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Nov 2021 22:36:13 -0600 Subject: Reading LC List Digests In-Reply-To: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> References: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> Message-ID: <17d3ba16648.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> This may not be exactly what you want, but I find the best way for me is to subscribe to individual posts. I have a filter in my email app (Thunderbird) that redirects all list posts into a separate folder. There is also a setting to arrange the posts in thread view so you can see related posts in order by thread. I find this method to be very easy to read and maintain. I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 19, 2021 6:06:26 PM Robert Earp via use-livecode wrote: > Does anybody know a a great interface for digests from the LC lists ? > > I have two problems... > > Ever since I subscribed to the two LC lists many years ago when they first > started I set my subscription options to send digests so that I would not > have oodles of separate eMails sent to me, one each time somebody posted > something. To some extent digests works OK as at the top of the digest you > get the Todays Topics summary and each message/post numbered. I also > get to see who has posted what, which I suspect like you, I use as a > filter. If I see something of interest in the Todays Topics (although the > topic can often be misleading) from somebody I trust, I scroll down the > digest until I get to the actual post. > > Frankly, the scrolling is a pain especially as posts are not grouped by > topic, they are chronologically grouped, plus people often repeat the whole > thread in their reply which makes scrolling arduous. > > The second problem I have is that frequently some of the characters in a > post do not show in Apple Mail (what I am using to view the digests) as a > the correct/intended/valid character. I often see question marks and > sometimes other characters in place of what somebody has posted. ex. > ..pop-up that says ?The ?C++filt? command.. Of course, it is a > guessing game as to what character the ? is replacing. > > Given that the lists are LC centric, I would have hoped somebody would have > come up with a better interface by now !! > > Do you have a better way of keeping up with the lists or know of a stack or > web site that does ? > > Many thanks, Bob... > > > > Robert (Bob) Earp > White Rock > British Columbia > Canada > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Fri Nov 19 23:47:32 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 19 Nov 2021 20:47:32 -0800 Subject: Android tap location doesn't match visual location Message-ID: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> I’m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I’ve encountered a specific case where touching a button doesn’t pass the touch message to the button being tapped… unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes “wait with messages” (I’m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won’t work in this case. Any thoughts? -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From scott at elementarysoftware.com Sat Nov 20 00:01:49 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 19 Nov 2021 21:01:49 -0800 Subject: Android tap location doesn't match visual location In-Reply-To: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> References: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> Message-ID: Oh for… I was unclear in the body of my original post. This is only occurring on Android. Not iOS or in the IDE. > On Nov 19, 2021, at 8:47 PM, scott--- via use-livecode wrote: > > I’m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I’ve encountered a specific case where touching a button doesn’t pass the touch message to the button being tapped… unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes “wait with messages” (I’m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won’t work in this case. Any thoughts? > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ From brian at milby7.com Sat Nov 20 00:19:43 2021 From: brian at milby7.com (Brian Milby) Date: Sat, 20 Nov 2021 00:19:43 -0500 Subject: Android tap location doesn't match visual location In-Reply-To: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> References: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> Message-ID: <9489C3A5-E6ED-49FD-8D87-83DAB4A1CC86@milby7.com> Would it be possible to use a send in time approach? If not for real, you might could try to avoid the loop as a test. I’ll confess I have not seen that particular issue though. Sent from my iPad > On Nov 19, 2021, at 11:49 PM, scott--- via use-livecode wrote: > > I’m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I’ve encountered a specific case where touching a button doesn’t pass the touch message to the button being tapped… unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes “wait with messages” (I’m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won’t work in this case. Any thoughts? > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Nov 20 01:45:26 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 20 Nov 2021 00:45:26 -0600 Subject: Android tap location doesn't match visual location In-Reply-To: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> References: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> Message-ID: <17d3c17b370.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I've done several fake dialogs. The trick is to group the dialog with a a semi-transparent full screen graphic layered behind the dialog group. Greying the screen is normal behavior on Android and works on iOS too. The graphic has blocker mouse handlers so clicking it does nothing. That way you can script the dialog buttons to respond themselves. The user needs to click one of the buttons to make the dialog go away, at which point you hide the group. The buttons can put the response in the dialogData, which is a built in mechanism to transfer custom messages to a script, or else you can put the response in a global or a custom property. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 19, 2021 10:49:57 PM scott--- via use-livecode wrote: > Im having trouble with an app that up until now has just been for iOS. > Most of the changes have been pretty straight forward but Ive encountered > a specific case where touching a button doesnt pass the touch message to > the button being tapped unless I touch significantly below the button (I > also had to switch from mouse messages to touch messages in this particular > case.) This is not a general issue. It only happens when I show a group > containing the buttons in question and while this group is displayed there > is repeat loop running that includes wait with messages (Im faking a > modal dialog.) I encountered this once before under the same circumstances > (a fake modal dialog while moving an iOS app to Android) and simply > switched to using the built in dialog. Unfortunately, that wont work in > this case. Any thoughts? > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Sat Nov 20 04:05:28 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 20 Nov 2021 01:05:28 -0800 Subject: Android tap location doesn't match visual location In-Reply-To: <17d3c17b370.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> <17d3c17b370.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Jacque, that is pretty much what I’m doing (except that my semi-transparent screen graphic is separate from the fake dialog group.) I agree that this approach normally works well. I don’t have as much experience on Android so I wondered if it had something to do with the platform. Apparently it is something I’m doing. Brian, I will try your suggestion of isolating and breaking the process down in order to determine where the issue lies. I was just feeling lazy and hoping to save myself some work. :-) > On Nov 19, 2021, at 10:45 PM, J. Landman Gay via use-livecode wrote: > > I've done several fake dialogs. The trick is to group the dialog with a a semi-transparent full screen graphic layered behind the dialog group. Greying the screen is normal behavior on Android and works on iOS too. The graphic has blocker mouse handlers so clicking it does nothing. That way you can script the dialog buttons to respond themselves. The user needs to click one of the buttons to make the dialog go away, at which point you hide the group. > > The buttons can put the response in the dialogData, which is a built in mechanism to transfer custom messages to a script, or else you can put the response in a global or a custom property. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 19, 2021 10:49:57 PM scott--- via use-livecode wrote: > >> I’m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I’ve encountered a specific case where touching a button doesn’t pass the touch message to the button being tapped… unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes “wait with messages” (I’m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won’t work in this case. Any thoughts? >> >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-360-734-4701 >> ------------------------------------------------------ From scott at elementarysoftware.com Sat Nov 20 07:02:47 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 20 Nov 2021 04:02:47 -0800 Subject: Android tap location doesn't match visual location In-Reply-To: References: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> <17d3c17b370.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5C27D8D5-3CEE-4B64-BD0A-3779F80D05F2@elementarysoftware.com> Just answering my own question in case anyone searches this later. This was kind of a forehead slapper when I finally saw it. There was a native UIScroller over part of the screen. None of the other buttons on the screen were inside the rectangle of the scroller, so they weren’t effected. The scroller was being disabled while the fake dialog was on the screen and this worked fine for iOS but in my case at least, it is problematic for Android. My solution for now is to either leave the scroller active on Android (not a great UI but tolerable) or delete the scroller while the fake dialog is showing and rebuild the scroller after the fake dialog is dismissed… which is probably the better solution. I’m not sure why the disabled Android scroller is offsetting the touch when the iOS scroller is not. Maybe it is a bug and I’m the first person to put a disabled scroller over a button…more likely it is something that I’m doing wrong when I create the scroller. — Scott Morrow > On Nov 20, 2021, at 1:05 AM, scott--- via use-livecode wrote: > > Jacque, that is pretty much what I’m doing (except that my semi-transparent screen graphic is separate from the fake dialog group.) I agree that this approach normally works well. I don’t have as much experience on Android so I wondered if it had something to do with the platform. Apparently it is something I’m doing. > > Brian, I will try your suggestion of isolating and breaking the process down in order to determine where the issue lies. I was just feeling lazy and hoping to save myself some work. :-) > > >> On Nov 19, 2021, at 10:45 PM, J. Landman Gay via use-livecode wrote: >> >> I've done several fake dialogs. The trick is to group the dialog with a a semi-transparent full screen graphic layered behind the dialog group. Greying the screen is normal behavior on Android and works on iOS too. The graphic has blocker mouse handlers so clicking it does nothing. That way you can script the dialog buttons to respond themselves. The user needs to click one of the buttons to make the dialog go away, at which point you hide the group. >> >> The buttons can put the response in the dialogData, which is a built in mechanism to transfer custom messages to a script, or else you can put the response in a global or a custom property. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On November 19, 2021 10:49:57 PM scott--- via use-livecode wrote: >> >>> I’m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I’ve encountered a specific case where touching a button doesn’t pass the touch message to the button being tapped… unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes “wait with messages” (I’m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won’t work in this case. Any thoughts? >>> >>> -- >>> Scott Morrow >>> >>> Elementary Software >>> (Now with 20% less chalk dust!) >>> web https://elementarysoftware.com/ >>> email scott at elementarysoftware.com >>> booth 1-360-734-4701 >>> ------------------------------------------------------ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Sat Nov 20 08:34:58 2021 From: mark at livecode.com (Mark Waddingham) Date: Sat, 20 Nov 2021 13:34:58 +0000 Subject: Android tap location doesn't match visual location In-Reply-To: <5C27D8D5-3CEE-4B64-BD0A-3779F80D05F2@elementarysoftware.com> References: <5C27D8D5-3CEE-4B64-BD0A-3779F80D05F2@elementarysoftware.com> Message-ID: <8E381499-0295-4DBD-A1E0-337DE6A153DE@livecode.com> Hi Scott - the touch coords being wrong sounds like a bug to me - can you file a report (with example stack if possible). Thanks! Mark. Sent from my iPhone > On 20 Nov 2021, at 12:04, scott--- via use-livecode wrote: > > Just answering my own question in case anyone searches this later. > > This was kind of a forehead slapper when I finally saw it. There was a native UIScroller over part of the screen. None of the other buttons on the screen were inside the rectangle of the scroller, so they weren’t effected. The scroller was being disabled while the fake dialog was on the screen and this worked fine for iOS but in my case at least, it is problematic for Android. My solution for now is to either leave the scroller active on Android (not a great UI but tolerable) or delete the scroller while the fake dialog is showing and rebuild the scroller after the fake dialog is dismissed… which is probably the better solution. I’m not sure why the disabled Android scroller is offsetting the touch when the iOS scroller is not. Maybe it is a bug and I’m the first person to put a disabled scroller over a button…more likely it is something that I’m doing wrong when I create the scroller. > — Scott Morrow > >> On Nov 20, 2021, at 1:05 AM, scott--- via use-livecode wrote: >> >> Jacque, that is pretty much what I’m doing (except that my semi-transparent screen graphic is separate from the fake dialog group.) I agree that this approach normally works well. I don’t have as much experience on Android so I wondered if it had something to do with the platform. Apparently it is something I’m doing. >> >> Brian, I will try your suggestion of isolating and breaking the process down in order to determine where the issue lies. I was just feeling lazy and hoping to save myself some work. :-) >> >> >>>> On Nov 19, 2021, at 10:45 PM, J. Landman Gay via use-livecode wrote: >>> >>> I've done several fake dialogs. The trick is to group the dialog with a a semi-transparent full screen graphic layered behind the dialog group. Greying the screen is normal behavior on Android and works on iOS too. The graphic has blocker mouse handlers so clicking it does nothing. That way you can script the dialog buttons to respond themselves. The user needs to click one of the buttons to make the dialog go away, at which point you hide the group. >>> >>> The buttons can put the response in the dialogData, which is a built in mechanism to transfer custom messages to a script, or else you can put the response in a global or a custom property. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>>> On November 19, 2021 10:49:57 PM scott--- via use-livecode wrote: >>> >>>> I’m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I’ve encountered a specific case where touching a button doesn’t pass the touch message to the button being tapped… unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes “wait with messages” (I’m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won’t work in this case. Any thoughts? >>>> >>>> -- >>>> Scott Morrow >>>> >>>> Elementary Software >>>> (Now with 20% less chalk dust!) >>>> web https://elementarysoftware.com/ >>>> email scott at elementarysoftware.com >>>> booth 1-360-734-4701 >>>> ------------------------------------------------------ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Sat Nov 20 15:00:30 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 20 Nov 2021 12:00:30 -0800 Subject: Android tap location doesn't match visual location In-Reply-To: <8E381499-0295-4DBD-A1E0-337DE6A153DE@livecode.com> References: <5C27D8D5-3CEE-4B64-BD0A-3779F80D05F2@elementarysoftware.com> <8E381499-0295-4DBD-A1E0-337DE6A153DE@livecode.com> Message-ID: <542BD6DB-ABFC-4AE8-930D-06FE0D21496D@elementarysoftware.com> Will do. — Scott > On Nov 20, 2021, at 5:34 AM, Mark Waddingham via use-livecode wrote: > > Hi Scott - the touch coords being wrong sounds like a bug to me - can you file a report (with example stack if possible). > > Thanks! > > Mark. > > Sent from my iPhone > >> On 20 Nov 2021, at 12:04, scott--- via use-livecode wrote: >> >> Just answering my own question in case anyone searches this later. >> >> This was kind of a forehead slapper when I finally saw it. There was a native UIScroller over part of the screen. None of the other buttons on the screen were inside the rectangle of the scroller, so they weren’t effected. The scroller was being disabled while the fake dialog was on the screen and this worked fine for iOS but in my case at least, it is problematic for Android. My solution for now is to either leave the scroller active on Android (not a great UI but tolerable) or delete the scroller while the fake dialog is showing and rebuild the scroller after the fake dialog is dismissed… which is probably the better solution. I’m not sure why the disabled Android scroller is offsetting the touch when the iOS scroller is not. Maybe it is a bug and I’m the first person to put a disabled scroller over a button…more likely it is something that I’m doing wrong when I create the scroller. >> — Scott Morrow >> >>> On Nov 20, 2021, at 1:05 AM, scott--- via use-livecode wrote: >>> >>> Jacque, that is pretty much what I’m doing (except that my semi-transparent screen graphic is separate from the fake dialog group.) I agree that this approach normally works well. I don’t have as much experience on Android so I wondered if it had something to do with the platform. Apparently it is something I’m doing. >>> >>> Brian, I will try your suggestion of isolating and breaking the process down in order to determine where the issue lies. I was just feeling lazy and hoping to save myself some work. :-) >>> >>> >>>>> On Nov 19, 2021, at 10:45 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> I've done several fake dialogs. The trick is to group the dialog with a a semi-transparent full screen graphic layered behind the dialog group. Greying the screen is normal behavior on Android and works on iOS too. The graphic has blocker mouse handlers so clicking it does nothing. That way you can script the dialog buttons to respond themselves. The user needs to click one of the buttons to make the dialog go away, at which point you hide the group. >>>> >>>> The buttons can put the response in the dialogData, which is a built in mechanism to transfer custom messages to a script, or else you can put the response in a global or a custom property. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On November 19, 2021 10:49:57 PM scott--- via use-livecode wrote: >>>> >>>>> I’m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I’ve encountered a specific case where touching a button doesn’t pass the touch message to the button being tapped… unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes “wait with messages” (I’m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won’t work in this case. Any thoughts? >>>>> >>>>> -- >>>>> Scott Morrow >>>>> >>>>> Elementary Software >>>>> (Now with 20% less chalk dust!) >>>>> web https://elementarysoftware.com/ >>>>> email scott at elementarysoftware.com >>>>> booth 1-360-734-4701 >>>>> ------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Sat Nov 20 17:55:23 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 20 Nov 2021 14:55:23 -0800 Subject: Android tap location doesn't match visual location In-Reply-To: <8E381499-0295-4DBD-A1E0-337DE6A153DE@livecode.com> References: <5C27D8D5-3CEE-4B64-BD0A-3779F80D05F2@elementarysoftware.com> <8E381499-0295-4DBD-A1E0-337DE6A153DE@livecode.com> Message-ID: <8E3BF60E-9C9F-4D80-83E2-D9111E257AF9@elementarysoftware.com> Bug 23459 > On Nov 20, 2021, at 5:34 AM, Mark Waddingham via use-livecode wrote: > > Hi Scott - the touch coords being wrong sounds like a bug to me - can you file a report (with example stack if possible). > > Thanks! > > Mark. From scott at elementarysoftware.com Mon Nov 22 04:00:27 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 22 Nov 2021 01:00:27 -0800 Subject: Universal Button widget on Android Message-ID: <8CC525A8-8B0D-4793-BEC1-8D2D1F98519F@elementarysoftware.com> I tried using Ralf Bitter’s Universal Button widget to create a PopOver sheet (like what we can get with mergPopSheet on iOS) for use on Android. I was very pleased with how it worked in the IDE. In very short order I had a nice looking (and working) PopOver… until I actually ran it on Android. It looks like it might be an AcceleratedRendering issue but fiddling with that isn’t improving things. (It displays as an unrecognizable blur of checkerboard patterns… and doesn’t respond to touches.) Has anyone used this widget successfully on Android? -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From bdrunrev at gmail.com Mon Nov 22 10:39:44 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 22 Nov 2021 15:39:44 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: I'm not sure this merits a bug report (just yet). I suspect I'm doing something wrong. I installed LC 10 on Windows 10 and wanted to see how much difference webassembly made to the loading speed. However, after trying on 3 browsers (Firefox, Chrome, Edge), it fails to load. On each browser the error in the JS console is the same. >> both async and sync fetching of the wasm failed failed to asynchronously prepare wasm: RuntimeError: abort(both async and sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more info. << Has anyone got it working? I just tried opening the local html file created by the Standalone Builder. I even followed the Firefox tip in the last comments on this lesson. https://lessons.livecode.com/m/4071/l/800867-how-do-i-put-my-first-app-on-the-web Regards, Bernard. On Fri, Nov 19, 2021 at 2:30 PM panagiotis m via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Mike, > > I believe you should be able to use Xcode 12.5 with LiveCode on MacOS 12.x. > > LC does not actually use Xcode, it just needs the iOS SDKs and some command > line tools. So the following should work: > > 1. Download Xcode 12.5.xip from Apple's downloads area > 2. Expand the .xip file > 3. Run in the Terminal: sudo xcode-select -s /path/to/Xcode12.5.app, e.g. > sudo xcode-select -s /Users/mike/Xcodes/Xcode12.5.app > 4. Run in the Terminal: sudo xcode-select --install > 5. In the LC Prefs, add the path to Xcode12.5. Remove other paths to > Xcode13, if any. > 6. Try to build an iOS standalone > > >>>>>Any chance we'll get XCode 13.1 in DP2? > Yes, it is quite likely. We plan to add support for Xcode13.1 in LC 9.6.6 > RC-1, and then merge this to LC 10.0 DP-2. > > Kind regards, > Panos > > > On Thu, 18 Nov 2021 at 23:02, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > FYI, XC 12.5.x is being a bugger with MacOS 12.x for new hardware. Any > > chance we'll get XCode 13.1 in DP2? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Nov 22 10:47:27 2021 From: merakosp at gmail.com (panagiotis m) Date: Mon, 22 Nov 2021 17:47:27 +0200 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: Hello Bernard, Trying to open the local html file will fail due to CORS - Firefox may or may not work - I think it needs some tweaks, and not sure if this is still possible in the latest versions. We probably need to update this lesson. The correct way to test is to use the Development -> Test Target -> and then Development -> Test Hope this helps. Panos -- On Mon, 22 Nov 2021 at 17:41, Bernard Devlin via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm not sure this merits a bug report (just yet). I suspect I'm doing > something wrong. > > I installed LC 10 on Windows 10 and wanted to see how much difference > webassembly made to the loading speed. However, after trying on 3 browsers > (Firefox, Chrome, Edge), it fails to load. On each browser the error in the > JS console is the same. > > >> > both async and sync fetching of the wasm failed > > failed to asynchronously prepare wasm: RuntimeError: abort(both async and > sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more > info. > << > > Has anyone got it working? I just tried opening the local html file > created by the Standalone Builder. I even followed the Firefox tip in the > last comments on this lesson. > > https://lessons.livecode.com/m/4071/l/800867-how-do-i-put-my-first-app-on-the-web > > Regards, Bernard. > > On Fri, Nov 19, 2021 at 2:30 PM panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello Mike, > > > > I believe you should be able to use Xcode 12.5 with LiveCode on MacOS > 12.x. > > > > LC does not actually use Xcode, it just needs the iOS SDKs and some > command > > line tools. So the following should work: > > > > 1. Download Xcode 12.5.xip from Apple's downloads area > > 2. Expand the .xip file > > 3. Run in the Terminal: sudo xcode-select -s /path/to/Xcode12.5.app, e.g. > > sudo xcode-select -s /Users/mike/Xcodes/Xcode12.5.app > > 4. Run in the Terminal: sudo xcode-select --install > > 5. In the LC Prefs, add the path to Xcode12.5. Remove other paths to > > Xcode13, if any. > > 6. Try to build an iOS standalone > > > > >>>>>Any chance we'll get XCode 13.1 in DP2? > > Yes, it is quite likely. We plan to add support for Xcode13.1 in LC 9.6.6 > > RC-1, and then merge this to LC 10.0 DP-2. > > > > Kind regards, > > Panos > > > > > > On Thu, 18 Nov 2021 at 23:02, Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > FYI, XC 12.5.x is being a bugger with MacOS 12.x for new hardware. Any > > > chance we'll get XCode 13.1 in DP2? > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From selander at tkf.att.ne.jp Mon Nov 22 21:02:34 2021 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 23 Nov 2021 11:02:34 +0900 Subject: access DOM in browser widget? In-Reply-To: <8129EEAB-71A3-4C28-8B32-67CEE7D194F0@me.com> References: <8129EEAB-71A3-4C28-8B32-67CEE7D194F0@me.com> Message-ID: <619C4BBA.8000204@tkf.att.ne.jp> Sorry to pick up this thread half a year later, but I am searching for an answer to a related problem. On the LiveCode Forums I learned that if the page is loaded in a Browser widget on the desktop version of LC, you can [get the htmltext of widget "browser"] and get the info JS provides that is not part of the page's HTML source code. (In my case, I want the number of plays of a track on Soundcloud.) But I would like to get at this JS/DOM info through an LC Server script running on my on-rev.com server -- no browser widget there. Does anyone know how to get the JS/DOM generated text from a web page using LC Server? Any help appreciated! Tim Selander Tokyo, Japan On 2021.04.29 3:44, Tore Nilsen via use-livecode wrote: > Have you had a look at "do in widget" in the Dictionary? You can actually perform JavaScript from LC on content in the browser widget. > > Best regards > Tore > >> 28. apr. 2021 kl. 20:33 skrev Ben Rubinstein via use-livecode : >> >> >> Thanks for responding Tom >> >>> But if yoiu need any more of a direct way accessing it....I don't know of one. >> Yes, that's what I'm after: to have a browser widget in a LiveCode stack, and be able to access the DOM (not the htmlText) in LiveCode script. >> >> It's not my page so I can't add javascript to it. >> >> Does anyone know if this is possible? >> >> TIA, >> >> Ben >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bdrunrev at gmail.com Tue Nov 23 04:32:16 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 23 Nov 2021 09:32:16 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: Thanks Panos. That kind of works. It always opens in the default browser i.e. trying to select another browser as the test target has no effect. Is this a known bug? >From test/save with browser closed (compile to standalone, then let IDE launch browser): Load time LC 10 - 5 secs Load time LC 9.6.1 - 7 secs Loading same saved stack with browser already open (re-using URL): Load time LC 10 - 2 secs Load time LC 9.6.1 - 5 secs I tested with both Brave and Edge, but couldn't detect any difference in load speed between them. These tests were just wall clock time. On Mon, Nov 22, 2021 at 3:48 PM panagiotis m via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Bernard, > > Trying to open the local html file will fail due to CORS - Firefox may or > may not work - I think it needs some tweaks, and not sure if this is still > possible in the latest versions. We probably need to update this lesson. > > The correct way to test is to use the Development -> Test Target -> your browser> and then Development -> Test > > Hope this helps. > > Panos > -- > > From andre at andregarzia.com Tue Nov 23 08:12:38 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 23 Nov 2021 13:12:38 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: Brave, Edge, and Chrome are all using the same engine. They should perform the same. IIRC Firefox still has the best WASM performance, mostly because it was invented there and they had more time to optimize. That the way the web browsers works is that "they really hate opening local HTML files with file:// protocol". Opening a file like that will switch on a lot of protection in the browser and restrict many APIs. The correct way to test WASM files is by running a local web server and opening it using HTTPS (or HTTP if you must). Be aware that the most important change regarding performance between WASM and the previous ASM.JS based engine will not be visible when running a local server. To load an ASM.JS based webapp, the browser needs to fetch all the files before loading them into memory and parsing them. The new WASM technology allows a browser to load the files while the transfer still happening. It is a streaming kind of tech. This means that besides all the other benefits, you don't need to deal with the latency of waiting for transfers to complete before the app starts to load. When running locally, the transfer is so fast that you can see this benefit, but try placing those files in a remote server and the difference should be night and day, specially for really large builds. On Tue, 23 Nov 2021 at 09:34, Bernard Devlin via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Panos. That kind of works. It always opens in the default browser > i.e. trying to select another browser as the test target has no effect. Is > this a known bug? > > From test/save with browser closed (compile to standalone, then let IDE > launch browser): > Load time LC 10 - 5 secs > Load time LC 9.6.1 - 7 secs > > Loading same saved stack with browser already open (re-using URL): > Load time LC 10 - 2 secs > Load time LC 9.6.1 - 5 secs > > I tested with both Brave and Edge, but couldn't detect any difference in > load speed between them. > > These tests were just wall clock time. > > On Mon, Nov 22, 2021 at 3:48 PM panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello Bernard, > > > > Trying to open the local html file will fail due to CORS - Firefox may or > > may not work - I think it needs some tweaks, and not sure if this is > still > > possible in the latest versions. We probably need to update this lesson. > > > > The correct way to test is to use the Development -> Test Target -> > > your browser> and then Development -> Test > > > > Hope this helps. > > > > Panos > > -- > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From williamdesmet at gmail.com Tue Nov 23 13:02:36 2021 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 23 Nov 2021 19:02:36 +0100 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: Been playing all day with LC 10 DP-1 and mostly testing Web/html5 and I can confirm Firefox is also the fastest in WASM on a remote webserver. Safari is the slowest. Most people I know use the Chrome browser however. On Chrome OS speed varies depending on the state of the Chromebook (age). Op di 23 nov. 2021 om 14:14 schreef Andre Garzia via use-livecode < use-livecode at lists.runrev.com>: > Brave, Edge, and Chrome are all using the same engine. They should perform > the same. IIRC Firefox still has the best WASM performance, mostly because > it was invented there and they had more time to optimize. > > That the way the web browsers works is that "they really hate opening local > HTML files with file:// protocol". Opening a file like that will switch on > a lot of protection in the browser and restrict many APIs. The correct way > to test WASM files is by running a local web server and opening it using > HTTPS (or HTTP if you must). > > Be aware that the most important change regarding performance between WASM > and the previous ASM.JS based engine will not be visible when running a > local server. To load an ASM.JS based webapp, the browser needs to fetch > all the files before loading them into memory and parsing them. The new > WASM technology allows a browser to load the files while the transfer still > happening. It is a streaming kind of tech. This means that besides all the > other benefits, you don't need to deal with the latency of waiting for > transfers to complete before the app starts to load. When running locally, > the transfer is so fast that you can see this benefit, but try placing > those files in a remote server and the difference should be night and day, > specially for really large builds. > > On Tue, 23 Nov 2021 at 09:34, Bernard Devlin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Thanks Panos. That kind of works. It always opens in the default browser > > i.e. trying to select another browser as the test target has no effect. > Is > > this a known bug? > > > > From test/save with browser closed (compile to standalone, then let IDE > > launch browser): > > Load time LC 10 - 5 secs > > Load time LC 9.6.1 - 7 secs > > > > Loading same saved stack with browser already open (re-using URL): > > Load time LC 10 - 2 secs > > Load time LC 9.6.1 - 5 secs > > > > I tested with both Brave and Edge, but couldn't detect any difference in > > load speed between them. > > > > These tests were just wall clock time. > > > > On Mon, Nov 22, 2021 at 3:48 PM panagiotis m via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hello Bernard, > > > > > > Trying to open the local html file will fail due to CORS - Firefox may > or > > > may not work - I think it needs some tweaks, and not sure if this is > > still > > > possible in the latest versions. We probably need to update this > lesson. > > > > > > The correct way to test is to use the Development -> Test Target -> > > > > your browser> and then Development -> Test > > > > > > Hope this helps. > > > > > > Panos > > > -- > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > https://www.andregarzia.com > Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From neville.smythe at optusnet.com.au Tue Nov 23 23:46:24 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Wed, 24 Nov 2021 15:46:24 +1100 Subject: Pattern ID bug Message-ID: <6201CAF7-6284-47BA-8D6C-187D5D429F7C@optusnet.com.au> Try setting the backgroundPattern of a button to ID 141, either from a script, or by using the Image Library chooser and going to the MetaCard Compatible Patterns, look for ID 141 which is small image of dots on the second page. What you get, at least on my Mac with LC9.6.5, is a pattern of red leaves which is image id 236 (tho also weirdly id 277). Similar things happen with id 142 and others. I came across this while trying to write an ImagePicker for the nsPropertyMapper plugin which would improve on the built -in Image Library Chooser, which frankly I thought couldn’t be all that hard. I find I need to bypass the way LC finds pattern and icon images when all it has an ID (I guess this is a legacy from Hypercard), rather than a full reference to an image; the ID is by no means unique even within built-in rev image libraries - though actually 141 is unique in this case so that is not the explanation for the bug. I had to fool around with behaviors to force the LC search path and thought at first I must have corrupted the revIcons or revGeneralPatterns stacks. But I get the same bug on a fresh install on a completely different Mac. Neville From james at thehales.id.au Wed Nov 24 01:44:35 2021 From: james at thehales.id.au (James Hale) Date: Wed, 24 Nov 2021 17:44:35 +1100 Subject: variable window not applying changes Message-ID: <5E4C2F41-BDC4-42C6-8D24-2CB144AFAB03@thehales.id.au> Hi, I have been tracing a script and while stepping through notice an error in a variable. I double clicked on the value in the variable list at the bottom of the SE window and brought up the variable window. Made the correction and clicked "apply". Nothing happened. This used to work, didn't it?? James From Bernd.Niggemann at uni-wh.de Wed Nov 24 14:15:07 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 24 Nov 2021 19:15:07 +0000 Subject: variable window not applying changes Message-ID: > James Hale wrote: > I have been tracing a script and while stepping through notice an error in a > variable. > I double clicked on the value in the variable list at the bottom of the SE > window and brought up the variable window. > Made the correction and clicked "apply". > Nothing happened. > > This used to work, didn't it?? This only happens to me if I accidentally double-click on the icon in the varialble line: then two windows pop up at the same location. Changes in the topmost window and "applying" them do not change the variable. Apparently the lower window with the old values prevents that. Kind regards Bernd From craig at starfirelighting.com Wed Nov 24 15:09:33 2021 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 24 Nov 2021 15:09:33 -0500 Subject: variable window not applying changes In-Reply-To: References: Message-ID: <17B26917-4722-4545-8E40-A1F1CD13CCE3@starfirelighting.com> @Bernd. " double-click on the icon in the varialble line:” What icon? Do you mean the small box-with-arrow icon that appears when a multi-line variable is present in the lower list? @James. I am on a Mac, but have never had a change made in the external variable window (certainly a stack) that did not make a change that did not stick. Craig > On Nov 24, 2021, at 2:15 PM, Niggemann, Bernd via use-livecode wrote: > > double-click on the icon in the varialble line: From Bernd.Niggemann at uni-wh.de Wed Nov 24 16:07:01 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 24 Nov 2021 21:07:01 +0000 Subject: variable window not applying changes Message-ID: <42A1D325-FA2D-4D46-91A8-83C654BC47A8@uni-wh.de> > Craig Newman wrote > @Bernd. > " double-click on the icon in the varialble line:” > > What icon? Do you mean the small box-with-arrow icon that appears when a > multi-line variable is present in the lower list? Yes, that open rectangle with the right-upward pointing array Kind regards Bernd From paul at researchware.com Wed Nov 24 19:15:01 2021 From: paul at researchware.com (Paul Dupuis) Date: Wed, 24 Nov 2021 19:15:01 -0500 Subject: How to in LC for Desktop and the Web? Message-ID: <2be9f8d2-364e-9950-aa51-3442ab09b921@researchware.com> I have an LC application that currently runs on Window and macOS, that I want to try to get running under LC 10 for the web. One characteristic of the app is that it opens a number of external stacks. On desktop platforms, these external stacks (outside the .EXE (windows) or .app package (macOS) are found in a folder at the same level as the installed application. So if the app is installed at C:\Program Files\MyApp\MyApp.exe The the folder containing the external stacks is at C"\Program Files\MyApp\FolderOfStacks\ I get the path of the mainstack and use it to construct the path to the folder If I build for Web, is there some equivalent model for external stacks? I get that I may need to have a: switch platform()   case "Win32"   case "macOS"      -- load external stacks the way I do now      break   case "web"      -- load external stacks some other way     break end switch but what is the web best practice for that 'some other way"? And is it different if I am testing locally vs hosting MyApp on a server? From james at thehales.id.au Wed Nov 24 19:36:58 2021 From: james at thehales.id.au (James Hale) Date: Thu, 25 Nov 2021 11:36:58 +1100 Subject: variable window not applying changes Message-ID: Double clicking on the line in the variable list only opens a single watcher window. If I do this in my current project I make a change, click "apply" and the previous value (before I made the change) returns! I have since made a test stack to see if the problem persists. It doesn't. Making a change in a variable of the test stack worked as expected. So whatever is happening is confined to my current project. Very strange. Restarting LC does not solve the issue. Right now it is just an inconvenience but I am intrigued as to what is present in my current project that makes this happen. When I complete it I will test again and if still present send the stack to LC (in a bug report.) and see if Panos can illuminate me. Thanks for the comments. James From panos.merakos at livecode.com Thu Nov 25 08:24:27 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 25 Nov 2021 15:24:27 +0200 Subject: [ANN] Release 9.6.5 RC-3 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.5 RC-3. Getting the Release =================== You can find the release in your LiveCode account area or get it via the automatic updater. To find the rc-3 test release in your LiveCode account, please scroll down to below the list of stable releases, to find your available test releases. Release Contents ================ LiveCode 9.6.5 RC-3 comes with 5 regression fixes: - Ensure the App Tracking Transparency dialog is shown when queued up after other permission dialogs - Fix crash on Android when receiving a push notification with no badge in the payload. - Fix incorrect arithmetic involving string variables which have been targetted with replace - Fix incorrect result of specific string mutation operations - Handle Android push notifications when not in the foreground For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_5/LiveCodeNotes-9_6_5_rc_3.pdf Known issues ============ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK - macOS 11+. : Xcode 12.5.x - LiveCode builds iOS apps using the iOS 14.5 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/resources/support/ask-a-question/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 in order to be able to install the necessary version of Xcode. Feedback ======== Please report any bugs encountered on our quality center at http://quality.livecode.com/ We have a forum available for discussing LiveCode at https://forums.livecode.com Have fun! The LiveCode Team -- From jiml at netrin.com Sun Nov 28 20:42:09 2021 From: jiml at netrin.com (Jim Lambert) Date: Sun, 28 Nov 2021 17:42:09 -0800 Subject: a test In-Reply-To: References: Message-ID: <7915B245-F880-4063-8E03-91384AA85837@netrin.com> Ignore this test JimL From brahma at hindu.org Mon Nov 29 20:17:12 2021 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 30 Nov 2021 01:17:12 +0000 Subject: What Do I Need To Do To Make Links Active Message-ID: I could sworn that this worked. case "Release Notes" displayInfo 1,"release-notes" go to card "info" break # which goes to on displayInfo pVis, pSubject if pVis = "1" then # We are showing the control # set up background image first, if no param # then use landscapes as default # next insert the text we need, either stored on the app somewhere or from a web URL switch pSubject case "App News" put path_Documents() & "assets/info/siva-app-news.html" into tTextPath break case "About" put path_Assets()&"info/about-siva-siva-app.html" into tTextPath break case "tos-privacy-eula" put path_Assets()&"info/privacy-tos-eula.html" into tTextPath break case "release-notes" put path_Assets()&"info/release-notes.html" into tTextPath break case "credits" put path_Assets()&"info/credits.html" into tTextPath break case "User Guide" put path_Assets()&"info/user-guide.html" into tTextPath break end switch set the htmltext of fld "info-text" of card "info" to url ("file:" &tTextPath) else put empty into fld "info-text" deleteMobileControl "info-text" end if # now, what do you take to make links work put path_Assets()&"info/user-guide.html" into tTextPath set the htmltext of fld "info-text" of card "info" to url ("file:" &tTextPath) # these do not work, where as a file

Terms of Service, Privacy Policy, EULA

BR From ahsoftware at sonic.net Mon Nov 29 20:22:22 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 29 Nov 2021 17:22:22 -0800 Subject: What Do I Need To Do To Make Links Active In-Reply-To: References: Message-ID: <020c6d24-fdd4-f636-744d-1e7965959713@sonic.net> On 11/29/21 5:17 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > # these do not work, where as a file > >

Terms of Service, Privacy Policy, EULA

Do you really have a space before "privacy"? -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Nov 29 22:25:29 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 29 Nov 2021 21:25:29 -0600 Subject: What Do I Need To Do To Make Links Active In-Reply-To: References: Message-ID: <17d6ee03c28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Does path_Assets() return a path that ends with a slash? If not, you'll need to add one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 29, 2021 7:19:38 PM Sannyasin Brahmanathaswami via use-livecode wrote: > put path_Assets()&"info/about-siva-siva-app.html" into tTextPath From bobsneidar at iotecdigital.com Tue Nov 30 12:18:15 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Nov 2021 17:18:15 +0000 Subject: Reading LC List Digests In-Reply-To: <17d3ba16648.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> <17d3ba16648.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Yes it does. I use Apple Mail in this way and it works fine. Bob S On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode > wrote: I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. -- Jacqueline Landman Gay | jacque at hyperactivesw.com