From curry at pair.com Fri Jan 1 00:55:18 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 1 Jan 2021 00:55:18 -0500 Subject: How to set up a library? In-Reply-To: References: Message-ID: <59fab6d3-3da7-515e-1b8c-d8fe003f936e@pair.com> Ben: > What is the best way to structure a library these days? Flashback to an interesting conversation, when LiveCode Ltd (or RunRev Ltd) asked me, "what is a library?" Not kidding; real question. It's like Newton Ltd asking you, "what is gravity?" That opened my eyes to how libraries have been underappreciated and underpromoted at times, even at the very top of the LC community. So I'm happy to see a thread about libraries. Thanks for starting it. Best way is most efficient way. What's most efficient depends on your current or desired workflow. > Currently I've got buttons with a script, and a 'mouseup' handler > to 'insert the script of me into back' in my object library. > But I don't think that's very modern. Neither way is extremely modern. But modern shouldn't be the overriding criterion for judging good design. Very true that good design is often modern, but conflating the two would be missing the point. Start using, insert script into - both introduced in 1.0, if the dictionary serves. There's nothing less modern about insert. Yet I've always preferred "start using." It suits my own style of organizing code (stacks or substacks) and loading it into memory. Not necessarily better; again depends on YOUR workflow and overall organization methods. And where you need the code in the message path. I've seen great button script inserts. (Although plenty of bad ones. Especially when inserting into front, it's a must to make sure the inserted code is pretty darn good.) And I've seen terrible code with start using! It's possible to really do it badly. But I'm biased in favor of start using for most work. > What's the right way to do it? Especially if I want to share it? So it's kind of a Ford/Chevy or AK/AR question. Used well, either will do. Either way, make sure initialization happens only once, don't tread on the user and seize control, try to anticipate how different users work in LiveCode and structure their scripts, etc. Don't duplicate code. And get a testing partner; he or she is a force multiplier. But if modern IS to be the overriding criterion - peer pressure/trends/fads - I'd say cool kids better use git, script-only stacks, AND also plenty of behaviors which were introduced much later than libraries themselves. All together. And don't forget to make it a MVP. Otherwise behind the times, not kewl fewl. :) Good topic. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From jeejeestudio at gmail.com Fri Jan 1 11:20:21 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 1 Jan 2021 17:20:21 +0100 Subject: Threads in LC In-Reply-To: References: Message-ID: <5814f715-b3f6-d1dc-bd5c-3052e869c755@gmail.com> Hi Rick, thanks fo responding. It's a Pi 3 model B+, should be fast enough for this simple task. on clockWise ??? -------------------------steps between pos and wait---------------- ????? repeat for sStp times --clockwise ???????????????????? Pi_gpio_output 20, 0 --dir ????????? Pi_gpio_output 21, 1 --step ????????? wait sSpd milliseconds with messages ????????? Pi_gpio_output 21, 0 ????????? wait sSpd milliseconds with messages ??? if the mouse is down ????????? then ???????????? Pi_gpio_output 21, 0 --step ???????????? set the label of me to "Start" ????????? exit repeat ?????? end if ??? end repeat end clockWise The time between a 1 and a 0 on the output is 1ms. I can lower the speed and thus increase time, but that does not matter. I think I tried it once with send in time, not a succes. So maybe i have to rewrite that with a different mindsetting. I don't have all stack with me at the moment. The above piece is from an older stack, but the last is similar. Also the wait shall not be the most convenient wait to handle this. It also has of course an counterClockwise handler which is similar, but then output 20 is a 1. it should run for so many steps, then wait a few seconds and then return. If there is one position. If there are more positions, it should go to those positions too with eqaul steps, then wait on each position, then return those same positions to the start. It all works, but due to the single thread, moving the mouse, it interferes. So in fact LC is to heavy for a single thread. Guess we would win speed if we got multi-thread. Not just for Raspberry. Then there is still max LC7.0 for Rasp, so a port to that should also be made. Thanks. Jerry Op 31-12-2020 om 17:53 schreef Rick Harrison via use-livecode: > Hi Jerry, > > What version of Raspberry PI are you using? > > If you are using an older version of Raspberry PI just replacing it > with a newer version might be your best work around. The older > PI?s are pretty slow. Have you looked into Banana PI for instance? > > While LC isn?t multi-threaded there may be a work around which > could make it behave as though it was. Have you tried Send in Time? > > How often are you telling your stepper motor to run? Once in every > 10 milliseconds or once in every 20 milliseconds etc? > > Good luck! > > Rick > >> On Dec 31, 2020, at 7:20 AM, JeeJeeStudio via use-livecode wrote: >> >> Hi, >> >> >> is it possible to assign threads in LC and why not? >> >> In python you can assign threads, not that i needed that with python, but it is possible. >> >> I'm playing with a stepper motor (for a while now) on a raspberry and with python it runs so smooth, with lc it's a different story. >> >> It runs, but when moving the mouse, the motor is responding to that. This should not happen, but probably because LC is a bit more heavy in use and use only one thread for graphics and other things. >> >> If more threads could be use then most probably it would run smooth too. >> >> >> Now working with simplGui to have a GUI, which is quite easy, and now trying to solve that gui actions also do what needs to be done. More work, less easy than lc, but slowly we are getting there. >> >> I'm not a fan of python. >> >> Long story short, are multiple threads possible in LC and/or when will that be implemented? >> >> >> Thanks and Happy 2021! >> >> Jerry >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Fri Jan 1 11:46:19 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 1 Jan 2021 17:46:19 +0100 Subject: Threads in LC In-Reply-To: <0AF4357B-B16D-4F4A-BC9A-674546112F0E@iotecdigital.com> References: <0AF4357B-B16D-4F4A-BC9A-674546112F0E@iotecdigital.com> Message-ID: <567badae-2cb0-5f26-e858-10e594cfbce1@gmail.com> Thanks Bob, will try some out. regards, Jerry Op 31-12-2020 om 18:22 schreef Bob Sneidar via use-livecode: > You can also try using callbacks, although the callback will not get processed until the next idle message (script execution termination or wait with messages). > > Bob S > > > On Dec 31, 2020, at 8:53 AM, Rick Harrison via use-livecode > wrote: > > Hi Jerry, > > What version of Raspberry PI are you using? > > If you are using an older version of Raspberry PI just replacing it > with a newer version might be your best work around. The older > PI?s are pretty slow. Have you looked into Banana PI for instance? > > While LC isn?t multi-threaded there may be a work around which > could make it behave as though it was. Have you tried Send in Time? > > How often are you telling your stepper motor to run? Once in every > 10 milliseconds or once in every 20 milliseconds etc? > > Good luck! > > Rick > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dvglasgow at gmail.com Sat Jan 2 06:04:14 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Sat, 2 Jan 2021 11:04:14 +0000 Subject: Field ID clash Message-ID: <78BF839D-D9F3-4FA7-86CB-D3289E461AC7@gmail.com> Using 9.6.0 on Mac 10.13.6 I duplicated a field and found a third field responded to the mouseup of the duplicate. It seems the duplication generated a clash of IDs between the duplicate and third field. I could just select and start again, but I was wondering whether there is a safe way to manually (or force automatic) change the ID of one pr other of the fields. I also wondered how this might happen in the first place. Is my stack OK, or might a more serious problem be developing? Any thoughts or suggestions? Best wishes, David Glasgow From jacque at hyperactivesw.com Sat Jan 2 13:33:54 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Jan 2021 12:33:54 -0600 Subject: Field ID clash In-Reply-To: <78BF839D-D9F3-4FA7-86CB-D3289E461AC7@gmail.com> References: <78BF839D-D9F3-4FA7-86CB-D3289E461AC7@gmail.com> Message-ID: <176c4609a50.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> When you check the property inspector for each field do they really have the same ID? I didn't think that was possible. If the IDs are different then there are other reasons why the wrong field responds. It could be a number of things. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 2, 2021 5:06:30 AM David V Glasgow via use-livecode wrote: > Using 9.6.0 on Mac 10.13.6 > > I duplicated a field and found a third field responded to the mouseup of > the duplicate. It seems the duplication generated a clash of IDs between > the duplicate and third field. I could just select and start again, but I > was wondering whether there is a safe way to manually (or force automatic) > change the ID of one pr other of the fields. I also wondered how this > might happen in the first place. Is my stack OK, or might a more serious > problem be developing? > > Any thoughts or suggestions? > > Best wishes, > > David Glasgow > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sat Jan 2 17:00:18 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 2 Jan 2021 17:00:18 -0500 Subject: Threads in LC In-Reply-To: <5814f715-b3f6-d1dc-bd5c-3052e869c755@gmail.com> References: <5814f715-b3f6-d1dc-bd5c-3052e869c755@gmail.com> Message-ID: <1E8DC869-8744-4593-8128-E545BE8B024B@all-auctions.com> Hi Jerry, 1 millisecond is probably asking too much of LC. It doesn?t give an LC processor enough time to do much of anything else and I can see why just moving the mouse would affect the speed of the motor. I?m assuming that what you really want is a steady rate for the motor rather than a variable one. Try some experiments with increasing the amount of time in-between motor steps if you can. You may find a balance somewhere that is acceptable. I also found this comparison of Banana Pi Vs. Raspberry Pi 3 which you may also find useful. Good luck! Rick Banana Pi M3 Vs Raspberry Pi 3 Benchmark Aspects Banana Pi M3 Raspberry Pi 3 Processor ARM V7 Cortex A7 ARM V8 Cortex A53 Frequency 1.8GHz 1.2GHz CPU Cores 8 4 RAM 2GB DDR3 1GB DDR2 SoC A83T BCM2837 Storage Micro SD/USB SATA 2.0 Micro SD Onboard Storage 8GB eMMC No GPU PowerVR SGX544MP Broadcom VideoCore IV GPU Speed 700MHz 400MHz GPIO Pins 40 40 USB 2.0 2 + 1 OTG 4 Power 5V 2A 5V 2.5A > On Jan 1, 2021, at 11:20 AM, JeeJeeStudio via use-livecode wrote: > > Hi Rick, > > thanks fo responding. > > It's a Pi 3 model B+, should be fast enough for this simple task. > > on clockWise > -------------------------steps between pos and wait---------------- > repeat for sStp times --clockwise > Pi_gpio_output 20, 0 --dir > Pi_gpio_output 21, 1 --step > wait sSpd milliseconds with messages > Pi_gpio_output 21, 0 > wait sSpd milliseconds with messages > if the mouse is down > then > Pi_gpio_output 21, 0 --step > set the label of me to "Start" > exit repeat > end if > end repeat > end clockWise > > The time between a 1 and a 0 on the output is 1ms. I can lower the speed and thus increase time, but that does not matter. > > I think I tried it once with send in time, not a succes. So maybe i have to rewrite that with a different mindsetting. I don't have all stack with me at the moment. > > The above piece is from an older stack, but the last is similar. > > Also the wait shall not be the most convenient wait to handle this. > > It also has of course an counterClockwise handler which is similar, but then output 20 is a 1. > > it should run for so many steps, then wait a few seconds and then return. If there is one position. If there are more positions, it should go to those positions too with eqaul steps, then wait on each position, then return those same positions to the start. > > It all works, but due to the single thread, moving the mouse, it interferes. So in fact LC is to heavy for a single thread. Guess we would win speed if we got multi-thread. Not just for Raspberry. > > Then there is still max LC7.0 for Rasp, so a port to that should also be made. > > Thanks. > > Jerry > > From jeejeestudio at gmail.com Sun Jan 3 06:40:24 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sun, 3 Jan 2021 12:40:24 +0100 Subject: Threads in LC In-Reply-To: <1E8DC869-8744-4593-8128-E545BE8B024B@all-auctions.com> References: <5814f715-b3f6-d1dc-bd5c-3052e869c755@gmail.com> <1E8DC869-8744-4593-8128-E545BE8B024B@all-auctions.com> Message-ID: <7bae7db5-13d0-261b-22ae-8c7fc2367e83@gmail.com> Hi Rick, i will experiment some more and else continue with the Puthon version. Thanks for the comparison. It seems other brands are offering more for buck, except maybe community support may be less. Don't know exactly. Regards, Jerry Op 2-1-2021 om 23:00 schreef Rick Harrison via use-livecode: > Hi Jerry, > > 1 millisecond is probably asking too much of LC. > It doesn?t give an LC processor enough time to do > much of anything else and I can see why just > moving the mouse would affect the speed of the > motor. I?m assuming that what you really want > is a steady rate for the motor rather than a > variable one. > > Try some experiments with increasing the amount > of time in-between motor steps if you can. You may > find a balance somewhere that is acceptable. > > I also found this comparison of Banana Pi Vs. Raspberry Pi 3 > which you may also find useful. > > Good luck! > > Rick > > Banana Pi M3 Vs Raspberry Pi 3 Benchmark > > Aspects Banana Pi M3 Raspberry Pi 3 > Processor ARM V7 Cortex A7 ARM V8 Cortex A53 > Frequency 1.8GHz 1.2GHz > CPU Cores 8 4 > RAM 2GB DDR3 1GB DDR2 > SoC A83T BCM2837 > Storage Micro SD/USB SATA 2.0 Micro SD > Onboard Storage 8GB eMMC No > GPU PowerVR SGX544MP Broadcom VideoCore IV > GPU Speed 700MHz 400MHz > GPIO Pins 40 40 > USB 2.0 2 + 1 OTG 4 > Power 5V 2A 5V 2.5A > > >> On Jan 1, 2021, at 11:20 AM, JeeJeeStudio via use-livecode wrote: >> >> Hi Rick, >> >> thanks fo responding. >> >> It's a Pi 3 model B+, should be fast enough for this simple task. >> >> on clockWise >> -------------------------steps between pos and wait---------------- >> repeat for sStp times --clockwise >> Pi_gpio_output 20, 0 --dir >> Pi_gpio_output 21, 1 --step >> wait sSpd milliseconds with messages >> Pi_gpio_output 21, 0 >> wait sSpd milliseconds with messages >> if the mouse is down >> then >> Pi_gpio_output 21, 0 --step >> set the label of me to "Start" >> exit repeat >> end if >> end repeat >> end clockWise >> >> The time between a 1 and a 0 on the output is 1ms. I can lower the speed and thus increase time, but that does not matter. >> >> I think I tried it once with send in time, not a succes. So maybe i have to rewrite that with a different mindsetting. I don't have all stack with me at the moment. >> >> The above piece is from an older stack, but the last is similar. >> >> Also the wait shall not be the most convenient wait to handle this. >> >> It also has of course an counterClockwise handler which is similar, but then output 20 is a 1. >> >> it should run for so many steps, then wait a few seconds and then return. If there is one position. If there are more positions, it should go to those positions too with eqaul steps, then wait on each position, then return those same positions to the start. >> >> It all works, but due to the single thread, moving the mouse, it interferes. So in fact LC is to heavy for a single thread. Guess we would win speed if we got multi-thread. Not just for Raspberry. >> >> Then there is still max LC7.0 for Rasp, so a port to that should also be made. >> >> Thanks. >> >> Jerry >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Sun Jan 3 13:26:50 2021 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 3 Jan 2021 18:26:50 +0000 Subject: LiveCode Advanced Application Architecture eBook price reduced In-Reply-To: References: Message-ID: Kee, Lagi, Chip, and Bob, Thanks again for the kind words. I hope you all enjoy the book. :-) Let me clarify some things because I can see how people are confused about me messaging about the book now. So, the book hasn't changed, this is not an update on the content. This was a price reduction I made because I want to prepare myself to start selling books on Amazon. You may not be aware but if I price the book between 1.99 and 9.99 on Amazon, I get 70% royalties. But, if I price it above 9.99, I get only 35%. This means that I get more money from pricing it 9.99 than if I price it higher, unless I price it much higher. Basically, 9.99 gives the the same amount of royalties as if I priced it 20. That is of course only for Amazon. All the other players in the market give you 70% regardless of how you price it. Amazon makes this rule to force the prices down. And before you think this is good, be aware that this makes it a lot harder to make a living out of books. Which makes it detrimental to the quality of books being shipped since an author can't justify working longer or producing a larger book since they won't be able to charge a fair price. But that is publishing politics and I won't go too deep into it here, I just thought you folks should know. So that little campaign was made to: * Teach me how to use book brush which is an online tool to create specialized artwork for book authors/publishers. I used to make the nice art you might have seen on the FB group or the forum. * Let me see if people will actually buy a 9.99 book. My leanpub royalties page (which has some automatic statistical recommendation in it) was telling me to price the book higher than 20. * Check if people are OK buying directly from my site, which makes me much more confident of the process and in control. I'm working towards switching from being a developer to being a writer. This is a long process and this was a step forward. The next step is producing a new LC book from scratch without relying on Leanpub and making it available in multiple stores. It will probably be a short book, very focused on some specific topic that I haven't yet decided on. I believe that we need more books in our community :-) Kind regards Andre On Wed, 30 Dec 2020 at 23:54, Lagi Pittas via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > Sorry maybe it's October 8th as I think you use American format dates. > > Lagi > > On Wed, 30 Dec 2020 at 00:28, Andre Garzia via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hey Friends, > > > > I've reduced the price of my LiveCode eBook to ?9.99. This book will > teach > > you advanced techniques, and contains a ton tips and tricks from a > seasoned > > LC developer. > > > > Get it from: > > > > > https://andregarzia.com/books/livecode-advanced-application-architecture.html > > > > Kind regards > > Andre > > > > -- > > 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 > > > > > -- > KIndest Regards Lagi > _______________________________________________ > use-livecode mailing list > use-livecode 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 waprothero at gmail.com Sun Jan 3 14:18:33 2021 From: waprothero at gmail.com (William Prothero) Date: Sun, 3 Jan 2021 11:18:33 -0800 Subject: LiveCode Advanced Application Architecture eBook price reduced Message-ID: <9B3720DF-9A2D-4D4E-8370-ACFE182DB019@gmail.com> ?Andre, Thanks for this. I very much agree with you about the need for more Livecode books. For example, online education has become a big deal because of the pandemic. It won?t go away after it?s over, because media and content are being developed that will be applied to support live classes and their teachers. Topics that come to mind are how to connect Livecode apps to course management systems, how to make information presentation apps that are engaging, with elements of reader response and interaction, and ways of reporting to the teacher, etc. I play jazz piano, as an amateur, though. I get emails from several jazz teachers that contain free stuff, to initiate subscriptions for more detailed instruction, available at their web site. If you could identify challenges that developers face and create books that address those challenges, it might work. Personally, I find many of the Livecode support dictionary very good at the details, but for solving particular higher level problems, it is weak. The discussions on this list are very helpful. Livecode is touted as very easy to get started with. However, building a real application is not that easy. Deployment is an ever changing challenge. For myself, I have to relearn the deployment techniques every time, because I don?t deploy very often. I depend on folks who share their deployment help apps and knowledge on this list. A big challenge is that the technology is constantly changing and keeping current is a big challenge. I see that a huge amount of online materials must work in a browser, which vastly simplifies cross platform issues. However, Livecode will probably need to do a lot more to support browser deployment than they have to date. Perhaps a book that addresses web deployment would be very popular, especially if it was able to implement some of the features that are normally limited to the desktop. Thanks for reading some of my ramblings. Good luck, Andre William Prothero https://earthlearningsolutions.org William Prothero https://earthlearningsolutions.org > On Jan 3, 2021, at 10:27 AM, Andre Garzia via use-livecode wrote: > > ?Kee, Lagi, Chip, and Bob, > > Thanks again for the kind words. I hope you all enjoy the book. :-) > > Let me clarify some things because I can see how people are confused about > me messaging about the book now. So, the book hasn't changed, this is not > an update on the content. This was a price reduction I made because I want > to prepare myself to start selling books on Amazon. You may not be aware > but if I price the book between 1.99 and 9.99 on Amazon, I get 70% > royalties. But, if I price it above 9.99, I get only 35%. This means that I > get more money from pricing it 9.99 than if I price it higher, unless I > price it much higher. Basically, 9.99 gives the the same amount of > royalties as if I priced it 20. That is of course only for Amazon. All the > other players in the market give you 70% regardless of how you price it. > Amazon makes this rule to force the prices down. And before you think this > is good, be aware that this makes it a lot harder to make a living out of > books. Which makes it detrimental to the quality of books being shipped > since an author can't justify working longer or producing a larger book > since they won't be able to charge a fair price. But that is publishing > politics and I won't go too deep into it here, I just thought you folks > should know. > > So that little campaign was made to: > > * Teach me how to use book brush which is an online tool to create > specialized artwork for book authors/publishers. I used to make the nice > art you might have seen on the FB group or the forum. > * Let me see if people will actually buy a 9.99 book. My leanpub royalties > page (which has some automatic statistical recommendation in it) was > telling me to price the book higher than 20. > * Check if people are OK buying directly from my site, which makes me much > more confident of the process and in control. > > I'm working towards switching from being a developer to being a writer. > This is a long process and this was a step forward. The next step is > producing a new LC book from scratch without relying on Leanpub and making > it available in multiple stores. It will probably be a short book, very > focused on some specific topic that I haven't yet decided on. > > I believe that we need more books in our community :-) > > Kind regards > Andre > >> On Wed, 30 Dec 2020 at 23:54, Lagi Pittas via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> Hi, >> Sorry maybe it's October 8th as I think you use American format dates. >> Lagi >> On Wed, 30 Dec 2020 at 00:28, Andre Garzia via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> Hey Friends, >>> I've reduced the price of my LiveCode eBook to ?9.99. This book will >> teach >>> you advanced techniques, and contains a ton tips and tricks from a >> seasoned >>> LC developer. >>> Get it from: >> https://andregarzia.com/books/livecode-advanced-application-architecture.html >>> Kind regards >>> Andre >>> -- >>> 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 >> -- >> KIndest Regards Lagi >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 kee.nethery at elloco.com Sun Jan 3 17:09:55 2021 From: kee.nethery at elloco.com (kee nethery) Date: Sun, 3 Jan 2021 14:09:55 -0800 Subject: Is it possible to implement Mac App Store in-app purchases in LiveCode? Message-ID: <91049758-C55A-482D-A42F-C6136C9A9F2D@elloco.com> And if it is possible to do in-app purchases in macOS apps, are there instructions or sample code anywhere? It appears to me that the Apple documentation assumes I am using Swift and have imported a set of libraries that are called via Swift. Is there a sample stack somewhere for Mac apps? Has someone created a library I can use? Thanks, Kee Nethery From monte at appisle.net Sun Jan 3 21:49:09 2021 From: monte at appisle.net (Monte Goulding) Date: Mon, 4 Jan 2021 13:49:09 +1100 Subject: Ali or Monte - MimeEncodeAsMIMEMultipartDocument In-Reply-To: References: Message-ID: <55CA8C39-E4B8-4759-BDE6-AFFD313DA11E@appisle.net> Hi Sean The MIME lib is all my fault so don?t blame Ali ;-) It may help you to read RFCs 2045-2049 to gain an understanding of MIME. With the exception of mimeEncodeFieldAsMIMEMultipartDocument you really need to understand MIME to use the library. You probably want the mimeEncodeAsMIMEEmail command though. For the body presuming plain text email then you want something like: put "Content-Type: text/plain; charset=UTF-8" & crlf & \ "Content-Transfer-Encoding: quoted-printable" & crlf & crlf & \ mimeEncodeForMIMETransfer(tText, "quoted-printable?) into tBody If you want html email then if you don?t know what you need as parameters for mimeEncodeAsMIMEMultipartDocument then best to see the code of mimeEncodeFieldAsMIMEMultipartDocument as an example which builds that from field content. Regarding BCC that?s nothing to do with the library. See tsNet recipients list for that. Cheers Monte > On 29 Dec 2020, at 3:18 am, Sean Cole (Pi) via use-livecode wrote: > > Hi all, > > The dictionary, as usual, is a bit lacking in regards to the Mime Library. > For MimeEncodeAsMIMEMultipartDocument we have parameters but no idea what > the values (enum) for them could or should be. > > pContentA: How do we pre-encode parts including headers? > > pMultipartType: What MultiPart types are there? > > pParamA: What kind of parameters does ParamA take? > > There is a lesson that has a single use-case instance but it does not cover > all attachment or part types so we are still left guessing. Perhaps this is > where either Monte or Ali who coded this could help us out. ( > https://github.com/livecode/livecode/blob/38790fc428ff5fc3dc769b3a9cde5733bcf209a2/extensions/script-libraries/mime/mime.livecodescript > ) > > I'm trying to attach a pdf to an email and have bcc addresses too. > > Thanks > > Sean Cole > *Pi Digital * > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee.nethery at elloco.com Sun Jan 3 22:37:42 2021 From: kee.nethery at elloco.com (kee nethery) Date: Sun, 3 Jan 2021 19:37:42 -0800 Subject: anyone doing in-app purchase on macOS? Message-ID: Is this even possible? Kee Nethery From sean at pidigital.co.uk Sun Jan 3 22:58:30 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 4 Jan 2021 03:58:30 +0000 Subject: Ali or Monte - MimeEncodeAsMIMEMultipartDocument In-Reply-To: <55CA8C39-E4B8-4759-BDE6-AFFD313DA11E@appisle.net> References: <55CA8C39-E4B8-4759-BDE6-AFFD313DA11E@appisle.net> Message-ID: Thanks Monte That?ll point me in the right direction. I only put Ali in there because he was in the ?blame? list on GitHub. I figured he might know a little about it?s innards as he?d worked on it a couple of times. As I?d not got a reply I?d bumbled my way around and gave it a play based on python guides I?d found on MIME. When I?m done on this project I?ll look to improve the library inline docs. Thanks again Sean Cole Pi Digital > On 4 Jan 2021, at 02:49, Monte Goulding via use-livecode wrote: > > ?Hi Sean > > The MIME lib is all my fault so don?t blame Ali ;-) > > It may help you to read RFCs 2045-2049 to gain an understanding of MIME. With the exception of mimeEncodeFieldAsMIMEMultipartDocument you really need to understand MIME to use the library. > > You probably want the mimeEncodeAsMIMEEmail command though. > > For the body presuming plain text email then you want something like: > > put "Content-Type: text/plain; charset=UTF-8" & crlf & \ > "Content-Transfer-Encoding: quoted-printable" & crlf & crlf & \ > mimeEncodeForMIMETransfer(tText, "quoted-printable?) into tBody > > If you want html email then if you don?t know what you need as parameters for mimeEncodeAsMIMEMultipartDocument then best to see the code of mimeEncodeFieldAsMIMEMultipartDocument as an example which builds that from field content. > > Regarding BCC that?s nothing to do with the library. See tsNet recipients list for that. > > Cheers > > Monte > >> On 29 Dec 2020, at 3:18 am, Sean Cole (Pi) via use-livecode wrote: >> >> Hi all, >> >> The dictionary, as usual, is a bit lacking in regards to the Mime Library. >> For MimeEncodeAsMIMEMultipartDocument we have parameters but no idea what >> the values (enum) for them could or should be. >> >> pContentA: How do we pre-encode parts including headers? >> >> pMultipartType: What MultiPart types are there? >> >> pParamA: What kind of parameters does ParamA take? >> >> There is a lesson that has a single use-case instance but it does not cover >> all attachment or part types so we are still left guessing. Perhaps this is >> where either Monte or Ali who coded this could help us out. ( >> https://github.com/livecode/livecode/blob/38790fc428ff5fc3dc769b3a9cde5733bcf209a2/extensions/script-libraries/mime/mime.livecodescript >> ) >> >> I'm trying to attach a pdf to an email and have bcc addresses too. >> >> Thanks >> >> Sean Cole >> *Pi Digital * >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 4 07:12:11 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 4 Jan 2021 14:12:11 +0200 Subject: anyone doing in-app purchase on macOS? In-Reply-To: References: Message-ID: Hello Kee, The IAP (in-app purchase) commands in LC are currently supported only on iOS and Android. There is an enhancement request to extend this support to Mac apps: https://quality.livecode.com/show_bug.cgi?id=11749 Kind regards, Panos -- On Mon, 4 Jan 2021 at 05:38, kee nethery via use-livecode < use-livecode at lists.runrev.com> wrote: > Is this even possible? > Kee Nethery > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From panos.merakos at livecode.com Mon Jan 4 08:06:03 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 4 Jan 2021 15:06:03 +0200 Subject: [ANN] This Week in LiveCode 250 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #250 here: http://bit.ly/2JM0gnk This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From livfoss at mac.com Mon Jan 4 08:47:21 2021 From: livfoss at mac.com (Graham Samuel) Date: Mon, 4 Jan 2021 13:47:21 +0000 Subject: Bug 22999 - iOS location updates not received in the background Message-ID: <456169E6-E4FA-4C9B-94F6-B91CD3B542ED@mac.com> Panos, this was said to be ?awaiting merge? on 9.6.1 GM. We?ve passed that point, but I don?t see anything in the QCC to suggest this actually happened. Sorry to trouble you, but can you update me? This bug was a complete show-stopper for me and really anyone trying to write an iOS navigation app in LC. I just stopped working on my modest app more than a month ago... Best Graham From merakosp at gmail.com Mon Jan 4 08:52:28 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 4 Jan 2021 15:52:28 +0200 Subject: Bug 22999 - iOS location updates not received in the background In-Reply-To: <456169E6-E4FA-4C9B-94F6-B91CD3B542ED@mac.com> References: <456169E6-E4FA-4C9B-94F6-B91CD3B542ED@mac.com> Message-ID: Hello Graham, This fix was planned for LC 9.6.3 RC-1: https://quality.livecode.com/show_bug.cgi?id=22999 You can see the milestone in the PR: https://github.com/livecode/livecode/pull/7486 Kind regards, Panos -- On Mon, 4 Jan 2021 at 15:48, Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos, this was said to be ?awaiting merge? on 9.6.1 GM. We?ve passed that > point, but I don?t see anything in the QCC to suggest this actually > happened. > > Sorry to trouble you, but can you update me? This bug was a complete > show-stopper for me and really anyone trying to write an iOS navigation app > in LC. I just stopped working on my modest app more than a month ago... > > Best > > 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 > From kee.nethery at elloco.com Mon Jan 4 13:32:23 2021 From: kee.nethery at elloco.com (Kee Nethery) Date: Mon, 4 Jan 2021 10:32:23 -0800 Subject: anyone doing in-app purchase on macOS? In-Reply-To: References: Message-ID: Thank you for the reply. I can see the enhancement request is from 2014. Is there a LiveCode ?XCMD? framework (or something like that) that supports Swift to where I could encapsulate Apple code into LiveCode to get the job done? I seem to recall a talk at a conference that pointed towards some new features that might be similar, just don?t recall the details. Thanks, Kee Nethery > On Jan 4, 2021, at 4:13 AM, panagiotis merakos via use-livecode wrote: > > ?Hello Kee, > > The IAP (in-app purchase) commands in LC are currently supported only on > iOS and Android. > > There is an enhancement request to extend this support to Mac apps: > > https://quality.livecode.com/show_bug.cgi?id=11749 > > Kind regards, > Panos > -- > >> On Mon, 4 Jan 2021 at 05:38, kee nethery via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Is this even possible? >> Kee Nethery >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Jan 5 16:38:19 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Jan 2021 13:38:19 -0800 Subject: Threads in LC In-Reply-To: <7bae7db5-13d0-261b-22ae-8c7fc2367e83@gmail.com> References: <7bae7db5-13d0-261b-22ae-8c7fc2367e83@gmail.com> Message-ID: JeeJeeStudio wrote: > i will experiment some more and else continue with the Puthon version. Both Python and LiveCode are single-threaded. IIRC, Python offers parallelism as a programming style, but unless you're using one of the special builds I don't believe it offers true concurrency (though both can handle concurrent tasks through multiprocessing). This may be helpful here: how would you approach this in Python? I wonder if we can tailor an LC approach to more closely resemble it, or at very least arrive at a language feature proposal to give us parallelism within a single-thread like Python does. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Tue Jan 5 17:19:24 2021 From: dochawk at gmail.com (doc hawk) Date: Tue, 5 Jan 2021 14:19:24 -0800 Subject: Threads in LC In-Reply-To: References: <7bae7db5-13d0-261b-22ae-8c7fc2367e83@gmail.com> Message-ID: <1A4E1D98-01B8-461A-9A5A-841FF930A882@gmail.com> richard reminisced, >I wonder if we can tailor an LC approach to more closely resemble it, or at very least arrive >at a language feature proposal to give us parallelism within a single-thread like Python does. I put some thought into this a few years ago. It could begin with some not-quite-implemented language features and declarations. (Perhaps ?thread . . .? instead of ?send?). I also produced a master/slave pair of stacks. Or, rather, a stack that acted differently when its filename started with ?master? than with ?slave?. It was pretty straightforward to get them talking. My intent was to have one running the application, and having the other send the Postgres requests. However, with an open Postgres connection, things are fast enough that it turned out to be unnecessary. (It also probably helped that I included a minimum delay from the last keyUp message before the ?background? (by send in . . ) task would execute rather than kick itself down the clock a few seconds. Anyway, the existing sockets might be expandable, allowing threads to essentially run their own instance of livecode and talk by message. From lheaford at icloud.com Wed Jan 6 09:10:45 2021 From: lheaford at icloud.com (Terence Heaford) Date: Wed, 6 Jan 2021 14:10:45 +0000 Subject: Building a Standalone MacOS App in 9.6.1 Message-ID: <61C03359-F52D-40C1-8A0B-6522463ED240@icloud.com> I thought I would try to build a standalone app with the Community Edition in Catalina Many errors. Perhaps someone could shed some light. This error is the first. "replacing existing signature xcrun: error active developer path? I did see a comment on the LC Forum that suggested sudo xcode-select ?install, to install the command line tools. I carried this out, still no luck. Installed 9.6.1 RC1. Still no luck. Is it necessary to have Xcode installed for this to work? Thanks Terry From merakosp at gmail.com Wed Jan 6 09:30:06 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 6 Jan 2021 16:30:06 +0200 Subject: Building a Standalone MacOS App in 9.6.1 In-Reply-To: <61C03359-F52D-40C1-8A0B-6522463ED240@icloud.com> References: <61C03359-F52D-40C1-8A0B-6522463ED240@icloud.com> Message-ID: Hello Terry, Just a clarification - the correct command is: sudo xcode-select --install and not sudo xcode-select ?install Hope this helps. Kind regards, Panos -- On Wed, 6 Jan 2021 at 16:11, Terence Heaford via use-livecode < use-livecode at lists.runrev.com> wrote: > I thought I would try to build a standalone app with the Community Edition > in Catalina > > Many errors. Perhaps someone could shed some light. > > This error is the first. "replacing existing signature xcrun: error active > developer path? > > I did see a comment on the LC Forum that suggested > > sudo xcode-select ?install, to install the command line tools. > > I carried this out, still no luck. > > Installed 9.6.1 RC1. Still no luck. > > Is it necessary to have Xcode installed for this to work? > > > Thanks > > Terry > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Jan 6 09:48:08 2021 From: paul at researchware.com (Paul Dupuis) Date: Wed, 6 Jan 2021 09:48:08 -0500 Subject: Building a Standalone MacOS App in 9.6.1 In-Reply-To: <61C03359-F52D-40C1-8A0B-6522463ED240@icloud.com> References: <61C03359-F52D-40C1-8A0B-6522463ED240@icloud.com> Message-ID: <8809bcd8-9ed2-7696-9088-936acde70f35@researchware.com> macOS Catalina or Big Sur apps have to be code signed AND notarized. You must have the command line tools installed and there is a non-trivial number of commands you have to execute to prepare you app for code signing, then code sign it, and then notarize it, including obtaining an app specific password from Apple. Livecode has a pretty decent tutorial on their web site on the whole lengthy process. On 1/6/2021 9:10 AM, Terence Heaford via use-livecode wrote: > I thought I would try to build a standalone app with the Community Edition in Catalina > > Many errors. Perhaps someone could shed some light. > > This error is the first. "replacing existing signature xcrun: error active developer path? > > I did see a comment on the LC Forum that suggested > > sudo xcode-select ?install, to install the command line tools. > > I carried this out, still no luck. > > Installed 9.6.1 RC1. Still no luck. > > Is it necessary to have Xcode installed for this to work? > > > Thanks > > Terry > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Wed Jan 6 10:17:23 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 6 Jan 2021 16:17:23 +0100 Subject: Building a Standalone MacOS App in 9.6.1 In-Reply-To: <8809bcd8-9ed2-7696-9088-936acde70f35@researchware.com> References: <61C03359-F52D-40C1-8A0B-6522463ED240@icloud.com> <8809bcd8-9ed2-7696-9088-936acde70f35@researchware.com> Message-ID: <84BE53BE-AFD1-4FA2-B874-5D22B4EDA7EF@me.com> > 6. jan. 2021 kl. 15:48 skrev Paul Dupuis via use-livecode : > > macOS Catalina or Big Sur apps have to be code signed AND notarized. You must have the command line tools installed and there is a non-trivial number of commands you have to execute to prepare you app for code signing, then code sign it, and then notarize it, including obtaining an app specific password from Apple. > > Livecode has a pretty decent tutorial on their web site on the whole lengthy process. > I can happily build a MacOS app without code signing or notarizing the app from Big Sur and Catilina. I guess this is needed for an iOS app, but then again you cannot build an iOS app with LiveCode Community Best regards Tore Nilsen From paul at researchware.com Wed Jan 6 11:13:19 2021 From: paul at researchware.com (Paul Dupuis) Date: Wed, 6 Jan 2021 11:13:19 -0500 Subject: Building a Standalone MacOS App in 9.6.1 In-Reply-To: <84BE53BE-AFD1-4FA2-B874-5D22B4EDA7EF@me.com> References: <61C03359-F52D-40C1-8A0B-6522463ED240@icloud.com> <8809bcd8-9ed2-7696-9088-936acde70f35@researchware.com> <84BE53BE-AFD1-4FA2-B874-5D22B4EDA7EF@me.com> Message-ID: On 1/6/2021 10:17 AM, Tore Nilsen via use-livecode wrote: > >> 6. jan. 2021 kl. 15:48 skrev Paul Dupuis via use-livecode : >> >> macOS Catalina or Big Sur apps have to be code signed AND notarized. You must have the command line tools installed and there is a non-trivial number of commands you have to execute to prepare you app for code signing, then code sign it, and then notarize it, including obtaining an app specific password from Apple. >> >> Livecode has a pretty decent tutorial on their web site on the whole lengthy process. >> > I can happily build a MacOS app without code signing or notarizing the app from Big Sur and Catilina. I guess this is needed for an iOS app, but then again you cannot build an iOS app with LiveCode Community > > Sorry, I thought you meant building a macOS app to deploy to other people rather than for your own use on your own computer. Gatekeeper will throw a ton of obstacles and warnings for any app not signed and notarized that you download and try to install on Catalina or Big Sur. Technically, there is probably some way to instruct people how to circumvent Gatekeeper objections. From andrew at midwestcoastmedia.com Wed Jan 6 12:30:19 2021 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Wed, 6 Jan 2021 12:30:19 -0500 Subject: Building a Standalone MacOS App in 9.6.1 In-Reply-To: References: Message-ID: <3EE25013-C455-43FA-90EB-8FBDE223019C@midwestcoastmedia.com> So far I have been able to explain to my limited client base that this can be side stepped, and they are ok with that for now (AKA don?t want to pay for the necessary upgrade that will be needed). If you double-click to open the app you will get a notice that the app isn?t notarized and you can?t launch. If you right-click (ctrl-click) on the app and select Open rather than double-clicking to open, your user will be given notice that the app isn?t notarized but will allow them to launch anyway. I don?t see the notice when developing personal apps for use on my own machine. I?m assuming this is because the Developer key (or certificate?) is on my keychain so the app is somewhat verified. ?Andrew Bell > > Date: Wed, 6 Jan 2021 16:17:23 +0100 > From: Tore Nilsen > To: How to use LiveCode > Subject: Re: Building a Standalone MacOS App in 9.6.1 > Message-ID: <84BE53BE-AFD1-4FA2-B874-5D22B4EDA7EF at me.com> > Content-Type: text/plain; charset=us-ascii > > > >> 6. jan. 2021 kl. 15:48 skrev Paul Dupuis via use-livecode : >> >> macOS Catalina or Big Sur apps have to be code signed AND notarized. You must have the command line tools installed and there is a non-trivial number of commands you have to execute to prepare you app for code signing, then code sign it, and then notarize it, including obtaining an app specific password from Apple. >> >> Livecode has a pretty decent tutorial on their web site on the whole lengthy process. >> > > I can happily build a MacOS app without code signing or notarizing the app from Big Sur and Catilina. I guess this is needed for an iOS app, but then again you cannot build an iOS app with LiveCode Community > > Best regards > Tore Nilsen > From htorrado at networkdreams.net Wed Jan 6 13:03:01 2021 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Wed, 6 Jan 2021 13:03:01 -0500 Subject: Building a Standalone MacOS App in 9.6.1 In-Reply-To: <61C03359-F52D-40C1-8A0B-6522463ED240@icloud.com> References: <61C03359-F52D-40C1-8A0B-6522463ED240@icloud.com> Message-ID: <001d01d6e456$2db0cc10$89126430$@networkdreams.net> Hi Terence, This last year I've compiled and run several apps for Catalina. In the last month I've made four builds for MacOS Big Sur. I have never needed to sign the app. I have taken the applications on a USB to several clients and the only message I have received is the typical message: "Are you sure to run this application. It has been downloaded from the Internet and may not be reliable and bla, bla.." Sometimes, when MacOS blocks you from opening an app, it lists the app on the General tab on the Security & Privacy panel in System Preferences. Head to that panel and you'll see the blocked app listed with an Open Anyway button to create an exception and install it. Best, Heriberto Torrado Chief Technology Officer (CTO) Director de inform?tica Directeur informatique NetDreams S.C. http://www.networkdreams.net Address / Direcci?n / Adresse: USA: 538 East 85th Street, #1C Manhattan NY, NY 10028 USA Europe / Europa: Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a -----Original Message----- From: use-livecode On Behalf Of Terence Heaford via use-livecode Sent: Wednesday, January 6, 2021 9:11 AM To: use-livecode at lists.runrev.com Cc: Terence Heaford Subject: Building a Standalone MacOS App in 9.6.1 I thought I would try to build a standalone app with the Community Edition in Catalina Many errors. Perhaps someone could shed some light. This error is the first. "replacing existing signature xcrun: error active developer path? I did see a comment on the LC Forum that suggested sudo xcode-select ?install, to install the command line tools. I carried this out, still no luck. Installed 9.6.1 RC1. Still no luck. Is it necessary to have Xcode installed for this to work? Thanks Terry _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lheaford at icloud.com Thu Jan 7 06:24:07 2021 From: lheaford at icloud.com (Terence Heaford) Date: Thu, 7 Jan 2021 11:24:07 +0000 Subject: Building a Standalone MacOS App in 9.6.1 In-Reply-To: References: <61C03359-F52D-40C1-8A0B-6522463ED240@icloud.com> Message-ID: <1797AA93-E6B9-4623-8955-9A946EEF469D@icloud.com> Hi Panos, That?s just a typo correction by MacOS mail. I actually applied the sudo call as you suggested. I have not replied because as a trial I have now done a full install of Xcode 12.3 from the App Store which as usual asked me to install the additional components. I did this. Now when I build a standalone with LC it works. Whatever was missing seems to have been corrected by the Xcode install. I will not be removing Xcode now but it gives me an excuse to play with SwiftUI to see how it performs. Thanks to everyone for their suggestions. Terry > On 6 Jan 2021, at 14:30, panagiotis merakos via use-livecode wrote: > > Hello Terry, > > Just a clarification - the correct command is: > > sudo xcode-select --install > > and not > > sudo xcode-select ?install > > Hope this helps. > > Kind regards, > 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 From paul at researchware.com Thu Jan 7 15:19:07 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 7 Jan 2021 15:19:07 -0500 Subject: LC & Mac M1 Chip In-Reply-To: <7B007737-29FC-496C-A693-AB530E07CA47@gmail.com> References: <7B007737-29FC-496C-A693-AB530E07CA47@gmail.com> Message-ID: <494edb6b-9b70-2dd5-b019-2e94aadb2330@researchware.com> I know the mothership does not like to estimate release dates, but does anyone have a sense of when LC 9.6.2 STABLE may be out? And more importantly, whether it will come with 'official' support for the M1 hardware or at least a fix for this apparent M1 specific bug: https://quality.livecode.com/show_bug.cgi?id=23013 We're getting a certain amount of pressure for our primary app to support the Big Sur and the new hardware. LC9.6.2rc1 address our main Big Sur issues (not that there were many), but the dashes in menus on M1 (#23013) concerns me as we have several customer who have said they are upgrading to M1 laptops. From jeejeestudio at gmail.com Thu Jan 7 15:35:31 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Thu, 7 Jan 2021 21:35:31 +0100 Subject: Threads in LC In-Reply-To: References: <7bae7db5-13d0-261b-22ae-8c7fc2367e83@gmail.com> Message-ID: For what i've seen and read is that one can run functions in their own thread, so you assign a thread to it. I'm not very experienced in Python, but that is what i read and i found it interesting. (slowly progressing the motor project with simplepygui and the GPIO) https://www.tutorialspoint.com/python/python_multithreading.htm https://realpython.com/intro-to-python-threading/ Perhaps it is another way of calling it parallel and am i misinterpreting it as assigning stuff to another core. So what i actually meant is multiprocessing, would that give advantage? https://pymotw.com/2/multiprocessing/basics.html Op 5-1-2021 om 22:38 schreef Richard Gaskin via use-livecode: > JeeJeeStudio wrote: > > > i will experiment some more and else continue with the Puthon version. > > Both Python and LiveCode are single-threaded. > > IIRC, Python offers parallelism as a programming style, but unless > you're using one of the special builds I don't believe it offers true > concurrency (though both can handle concurrent tasks through > multiprocessing). > > This may be helpful here: how would you approach this in Python? > > I wonder if we can tailor an LC approach to more closely resemble it, > or at very least arrive at a language feature proposal to give us > parallelism within a single-thread like Python does. > From curry at pair.com Thu Jan 7 18:06:12 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 7 Jan 2021 18:06:12 -0500 Subject: LC & Mac M1 Chip In-Reply-To: <494edb6b-9b70-2dd5-b019-2e94aadb2330@researchware.com> References: <494edb6b-9b70-2dd5-b019-2e94aadb2330@researchware.com> Message-ID: <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> Paul: > we have several customer who have said > they are upgrading to M1 laptops Yes; important to support! I'm looking in that direction too. It'll be popular, plus it's what I can afford. Many people in the same boat. (Backstory: Apple's biz model forces Apple to force us to spend on hardware. The mobile herd sticks with Apple, so the dev herd does too, so wallets must open and notes must rain down. But not satisfied yet with the rain from software tweaks, so now hardware tweaks too.) I'm planning to get an M1 Mac this year, to get back on the bleeding edge for a while. It's time. My old Mac hardware is still perfectly good, it was well-built and has zero issues, but finally has been pushed into what will soon be an untenable corner by the combo of new OS to support and new chip to support. But the older Mac will continue to serve for testing and for transition dev if needed. > a sense of when LC 9.6.2 STABLE may be out? Could be roughly predicted, maybe, by looking at what they are working on. I actually agree with LC's anti release date policy; announcing firm dates is just begging for another issue to pop up. But since Apple's biz model places so much pressure on devs to keep up, a sense would be good. Especially since third-party addons and widgets also have to keep up with our ecosystem. (Another backstory: Don't forget the stable/stable linguistic play; I've seen RCs here that were actually more "stable" than the final, because glitches, regressions, and extra bugs are sometimes - perhaps often - introduced in the very process of fixing bugs. Depending on a stable to be stable is a gamble, and depending on the specific features in an app, there are times when the RC is more reliable. Nevertheless I really hate to publish anything with an RC; only when forced to do so.) BTW, Paul knows all of this very well. I'm just replying publicly in case the backstories will benefit other readers here in the process. :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ambassador at fourthworld.com Thu Jan 7 18:07:32 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 7 Jan 2021 15:07:32 -0800 Subject: Threads in LC In-Reply-To: References: Message-ID: JeeJeeStudio wrote: > So what i actually meant is multiprocessing, would that give > advantage? Maybe. Does your Pi_gpio_output function use file I/O calls to the virtual file system in /run, or call an LCB or external using a lower-level interface for GPIO? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bogdanoff at me.com Thu Jan 7 18:19:10 2021 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 7 Jan 2021 15:19:10 -0800 Subject: Threads in LC In-Reply-To: References: Message-ID: <9448C43F-4CF4-49CE-9612-B06452F9EC96@me.com> Maybe. Maybe not. In spite of all events, this may be the most challenging, nay, inscrutable question I have seen this year. Peter > On Jan 7, 2021, at 3:07 PM, Richard Gaskin via use-livecode wrote: > > JeeJeeStudio wrote: > > > So what i actually meant is multiprocessing, would that give > > advantage? > > Maybe. > > Does your Pi_gpio_output function use file I/O calls to the virtual file system in /run, or call an LCB or external using a lower-level interface for GPIO? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Jan 7 20:51:42 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 8 Jan 2021 01:51:42 +0000 Subject: Threads in LC In-Reply-To: <0AF4357B-B16D-4F4A-BC9A-674546112F0E@iotecdigital.com> References: <0AF4357B-B16D-4F4A-BC9A-674546112F0E@iotecdigital.com> Message-ID: I have thought about this a bit. If what you mean by multiprocessing is that a new process can be spawned while your app can go off and do other things and get notified later that something happened, then this is quite doable. If what you mean is that you want to make the app spawning the processes operate more efficiently by launching the same process over and over in multiple instances, then I don?t think so. At some point the parent process is going to have to get the result of each thread and do something about it. This assumes you NEED to hear back from the process. If that is not necessary, if you have a really good chance that nothing can go wrong, then I suppose it can be something along the lines of network multicasting where the packets go out into the ether, and they are on their own. The real advantage to setting up a pseudo multiprocessing system with LC is that your main process can go about it?s business while the child process is doing some heavy lifting. If the main process cannot continue, or continue very far without hearing back from the spawn, then the point is moot. For example, I can see a scenario where an agent could listen for requests to query/update a database from a large number of clients, then spawn a new server agent for each request and delete it when finished, but then the listening agent becomes the single process bottleneck. All that would have been done is remove the bottleneck down the path one step, and incur network delay, and the time it takes to spawn and delete the child processes along the way. The fix for this is of course to have the spawned query agents, let?s call them, respond DIRECTLY BACK to the original instances of the apps as opposed to the listening agent. This would free up the spawning agent from having to handle the callbacks itself. A passive system of sorts. Hmmm? doable I think. Bob S On Dec 31, 2020, at 9:22 AM, Bob Sneidar > wrote: You can also try using callbacks, although the callback will not get processed until the next idle message (script execution termination or wait with messages). Bob S On Dec 31, 2020, at 8:53 AM, Rick Harrison via use-livecode > wrote: Hi Jerry, What version of Raspberry PI are you using? If you are using an older version of Raspberry PI just replacing it with a newer version might be your best work around. The older PI?s are pretty slow. Have you looked into Banana PI for instance? While LC isn?t multi-threaded there may be a work around which could make it behave as though it was. Have you tried Send in Time? How often are you telling your stepper motor to run? Once in every 10 milliseconds or once in every 20 milliseconds etc? Good luck! Rick From bobsneidar at iotecdigital.com Thu Jan 7 21:10:16 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 8 Jan 2021 02:10:16 +0000 Subject: Threads in LC In-Reply-To: References: <0AF4357B-B16D-4F4A-BC9A-674546112F0E@iotecdigital.com> Message-ID: <6921D9F9-9F2B-41E8-B193-2FA2AE6DEA28@iotecdigital.com> A little more clearly, ...respond DIRECTLY BACK to the original instances of the apps as opposed to the SPAWNING agent. On Jan 7, 2021, at 5:51 PM, Bob Sneidar via use-livecode > wrote: The fix for this is of course to have the spawned query agents, let?s call them, respond DIRECTLY BACK to the original instances of the apps as opposed to the listening agent. This would free up the spawning agent from having to handle the callbacks itself. A passive system of sorts. Hmmm? doable I think. Bob S From ambassador at fourthworld.com Fri Jan 8 02:19:39 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 7 Jan 2021 23:19:39 -0800 Subject: Threads in LC In-Reply-To: <9448C43F-4CF4-49CE-9612-B06452F9EC96@me.com> References: <9448C43F-4CF4-49CE-9612-B06452F9EC96@me.com> Message-ID: <852c6f4e-5a49-b351-08b1-aa3bfc0eab03@fourthworld.com> Peter Bogdanoff wrote: > On Jan 7, 2021, at 3:07 PM, Richard Gaskin wrote: > >> Maybe. >> >> Does your Pi_gpio_output function use file I/O calls to the virtual >> file system in /run, or call an LCB or external using a lower-level >> interface for GPIO? > > > Maybe. Maybe not. In spite of all events, this may be the most > challenging, nay, inscrutable question I have seen this year. From you I'll take that as a compliment. :) If this is interesting I don't mind breaking that down for people who don't yet spend as much time on the Raspberry Pi. Linux virtual directories are a pretty nifty invention. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From livfoss at mac.com Fri Jan 8 05:30:58 2021 From: livfoss at mac.com (Graham Samuel) Date: Fri, 8 Jan 2021 10:30:58 +0000 Subject: Threads in LC In-Reply-To: <852c6f4e-5a49-b351-08b1-aa3bfc0eab03@fourthworld.com> References: <9448C43F-4CF4-49CE-9612-B06452F9EC96@me.com> <852c6f4e-5a49-b351-08b1-aa3bfc0eab03@fourthworld.com> Message-ID: <98E248BD-035A-4216-9E54-A1ABF3C4BDCC@mac.com> On a purely personal note (does that make it OT?), I think I am beginning to accept, at a pretty advanced age, that just understanding LC coding is not really enough to get stuff done. Linux for example I have managed to avoid, and many other technologies? perhaps learning all this stuff is good use of one?s time in lockdown (I?m in the UK at the moment). Can?t spend all one?s time on the bike trainer? So, Richard, if you have time to expand a bit on Linux virtual directories, I?d be grateful. But only if you have time. Graham > On 8 Jan 2021, at 07:19, Richard Gaskin via use-livecode wrote: > > Peter Bogdanoff wrote: > > > On Jan 7, 2021, at 3:07 PM, Richard Gaskin wrote: > > > >> Maybe. > >> > >> Does your Pi_gpio_output function use file I/O calls to the virtual > >> file system in /run, or call an LCB or external using a lower-level > >> interface for GPIO? > > > > > > Maybe. Maybe not. In spite of all events, this may be the most > > challenging, nay, inscrutable question I have seen this year. > > From you I'll take that as a compliment. :) > > If this is interesting I don't mind breaking that down for people who don't yet spend as much time on the Raspberry Pi. Linux virtual directories are a pretty nifty invention. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > From merakosp at gmail.com Fri Jan 8 05:33:35 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 8 Jan 2021 12:33:35 +0200 Subject: LC & Mac M1 Chip In-Reply-To: <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> References: <494edb6b-9b70-2dd5-b019-2e94aadb2330@researchware.com> <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> Message-ID: Hello all, Just a clarification - the bug about dashes in menus in standalones on Big Sur is: https://quality.livecode.com/show_bug.cgi?id=23009 and not https://quality.livecode.com/show_bug.cgi?id=23013 BTW, could someone that has a M1 Mac confirm that in the LC 9.6.2 RC-1 IDE there are no dashes in front of the menus - in other words that this bug is fixed: https://quality.livecode.com/show_bug.cgi?id=22955 Thank you! Kind regards, Panos -- On Fri, 8 Jan 2021 at 01:07, Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com> wrote: > > Paul: > > > we have several customer who have said > > they are upgrading to M1 laptops > > Yes; important to support! I'm looking in that direction too. It'll be > popular, plus it's what I can afford. Many people in the same boat. > > (Backstory: Apple's biz model forces Apple to force us to spend on > hardware. The mobile herd sticks with Apple, so the dev herd does too, > so wallets must open and notes must rain down. But not satisfied yet > with the rain from software tweaks, so now hardware tweaks too.) > > I'm planning to get an M1 Mac this year, to get back on the bleeding > edge for a while. It's time. My old Mac hardware is still perfectly > good, it was well-built and has zero issues, but finally has been pushed > into what will soon be an untenable corner by the combo of new OS to > support and new chip to support. But the older Mac will continue to > serve for testing and for transition dev if needed. > > > a sense of when LC 9.6.2 STABLE may be out? > > Could be roughly predicted, maybe, by looking at what they are working > on. I actually agree with LC's anti release date policy; announcing firm > dates is just begging for another issue to pop up. But since Apple's biz > model places so much pressure on devs to keep up, a sense would be good. > Especially since third-party addons and widgets also have to keep up > with our ecosystem. > > (Another backstory: Don't forget the stable/stable linguistic play; I've > seen RCs here that were actually more "stable" than the final, because > glitches, regressions, and extra bugs are sometimes - perhaps often - > introduced in the very process of fixing bugs. Depending on a stable to > be stable is a gamble, and depending on the specific features in an app, > there are times when the RC is more reliable. Nevertheless I really hate > to publish anything with an RC; only when forced to do so.) > > BTW, Paul knows all of this very well. I'm just replying publicly in > case the backstories will benefit other readers here in the process. :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > 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 david.bovill at gmail.com Fri Jan 8 06:25:22 2021 From: david.bovill at gmail.com (David Bovill) Date: Fri, 8 Jan 2021 11:25:22 +0000 Subject: Threads in LC In-Reply-To: <98E248BD-035A-4216-9E54-A1ABF3C4BDCC@mac.com> References: <9448C43F-4CF4-49CE-9612-B06452F9EC96@me.com> <852c6f4e-5a49-b351-08b1-aa3bfc0eab03@fourthworld.com> <98E248BD-035A-4216-9E54-A1ABF3C4BDCC@mac.com> Message-ID: I would find it very helpful if we would share some code in this ?thread? about threads? At the moment I have a need to break up a heavy indexing task on a LiveCode server into a series of smaller steps that execute asynchronously. The web server receives a webhook??notifying it that there is some new data that needs indexing, and should reply immediately notifying receipt of the webhook. This is one of the ?easy? cases Bob was referring too I think. But I?m not sure until I see and can test the code what the right approach is. Approaches could be: 1) In LiveCode server return ?put? a response the after use wait / send in time to do indexing. Does this work and not lockup the server? 2) Schedule cron jobs with LiveCode 3) Use shell commands such as ?at? to schedule a task at a future time. 4) Use tools that can manage spawning of LiveCode server pseudo-threads While this example might be server centric, I suspect that many of the principles carry over to the desktop and it is the most common use case for a need for ?threads? On 8 Jan 2021, 10:32 +0000, Graham Samuel via use-livecode , wrote: > On a purely personal note (does that make it OT?), I think I am beginning to accept, at a pretty advanced age, that just understanding LC coding is not really enough to get stuff done. Linux for example I have managed to avoid, and many other technologies? perhaps learning all this stuff is good use of one?s time in lockdown (I?m in the UK at the moment). Can?t spend all one?s time on the bike trainer? > > So, Richard, if you have time to expand a bit on Linux virtual directories, I?d be grateful. But only if you have time. > > Graham > > > On 8 Jan 2021, at 07:19, Richard Gaskin via use-livecode wrote: > > > > Peter Bogdanoff wrote: > > > > > On Jan 7, 2021, at 3:07 PM, Richard Gaskin wrote: > > > > > > > Maybe. > > > > > > > > Does your Pi_gpio_output function use file I/O calls to the virtual > > > > file system in /run, or call an LCB or external using a lower-level > > > > interface for GPIO? > > > > > > > > > Maybe. Maybe not. In spite of all events, this may be the most > > > challenging, nay, inscrutable question I have seen this year. > > > > From you I'll take that as a compliment. :) > > > > If this is interesting I don't mind breaking that down for people who don't yet spend as much time on the Raspberry Pi. Linux virtual directories are a pretty nifty invention. > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Fri Jan 8 06:31:56 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Fri, 8 Jan 2021 22:31:56 +1100 Subject: POST does not work under lock messages Message-ID: It took me a while to figure this one out. I have a number of scripts which POST to LiveCode Server .lc scripts. All were working fine except one which always returned the output from whatever POST had last been executed. Evidently the previous form request was being resubmitted. Turns out I had a lock messages command before calling POST. Seems to me that shouldna oughta happen ?either it?s a bug, or it should be documented (I think there is a documented warning about DataGrids needing Lock messages off? And wasn?t there a discussion a while back about Lock messages needing levels? The current documentation for Lock messages says it blocks ?setProp triggers, getProp and certain other messages? where ?certain? is left undefined.) Neville From andre at andregarzia.com Fri Jan 8 06:46:54 2021 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 8 Jan 2021 11:46:54 +0000 Subject: LC & Mac M1 Chip In-Reply-To: References: <494edb6b-9b70-2dd5-b019-2e94aadb2330@researchware.com> <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> Message-ID: Hi Panos, Just updated https://quality.livecode.com/show_bug.cgi?id=22955 with a screenshot from 9.6.2-rc-1 running on my M1 machine. I can't reproduce the bug, I guess it is fixed. On Fri, 8 Jan 2021 at 10:35, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello all, > > Just a clarification - the bug about dashes in menus in standalones on Big > Sur is: > > https://quality.livecode.com/show_bug.cgi?id=23009 > > and not https://quality.livecode.com/show_bug.cgi?id=23013 > > BTW, could someone that has a M1 Mac confirm that in the LC 9.6.2 RC-1 IDE > there are no dashes in front of the menus - in other words that this bug is > fixed: > https://quality.livecode.com/show_bug.cgi?id=22955 > > Thank you! > > Kind regards, > Panos > -- > > On Fri, 8 Jan 2021 at 01:07, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > Paul: > > > > > we have several customer who have said > > > they are upgrading to M1 laptops > > > > Yes; important to support! I'm looking in that direction too. It'll be > > popular, plus it's what I can afford. Many people in the same boat. > > > > (Backstory: Apple's biz model forces Apple to force us to spend on > > hardware. The mobile herd sticks with Apple, so the dev herd does too, > > so wallets must open and notes must rain down. But not satisfied yet > > with the rain from software tweaks, so now hardware tweaks too.) > > > > I'm planning to get an M1 Mac this year, to get back on the bleeding > > edge for a while. It's time. My old Mac hardware is still perfectly > > good, it was well-built and has zero issues, but finally has been pushed > > into what will soon be an untenable corner by the combo of new OS to > > support and new chip to support. But the older Mac will continue to > > serve for testing and for transition dev if needed. > > > > > a sense of when LC 9.6.2 STABLE may be out? > > > > Could be roughly predicted, maybe, by looking at what they are working > > on. I actually agree with LC's anti release date policy; announcing firm > > dates is just begging for another issue to pop up. But since Apple's biz > > model places so much pressure on devs to keep up, a sense would be good. > > Especially since third-party addons and widgets also have to keep up > > with our ecosystem. > > > > (Another backstory: Don't forget the stable/stable linguistic play; I've > > seen RCs here that were actually more "stable" than the final, because > > glitches, regressions, and extra bugs are sometimes - perhaps often - > > introduced in the very process of fixing bugs. Depending on a stable to > > be stable is a gamble, and depending on the specific features in an app, > > there are times when the RC is more reliable. Nevertheless I really hate > > to publish anything with an RC; only when forced to do so.) > > > > BTW, Paul knows all of this very well. I'm just replying publicly in > > case the backstories will benefit other readers here in the process. :) > > > > Best wishes, > > > > Curry Kenworthy > > > > Custom Software Development > > "Better Methods, Better Results" > > 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 > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From paul at researchware.com Fri Jan 8 10:56:22 2021 From: paul at researchware.com (Paul Dupuis) Date: Fri, 8 Jan 2021 10:56:22 -0500 Subject: LC & Mac M1 Chip In-Reply-To: References: <494edb6b-9b70-2dd5-b019-2e94aadb2330@researchware.com> <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> Message-ID: <2986df01-3a50-5d6b-ecf5-180b884862d0@researchware.com> Andre and Panos, Thank you both. That given us some confidence we can release under LC 9.6.2rc1 so that customers can go ahead with their M! Big Sur systems as they want to. On 1/8/2021 6:46 AM, Andre Garzia via use-livecode wrote: > Hi Panos, > > Just updated https://quality.livecode.com/show_bug.cgi?id=22955 with a > screenshot from 9.6.2-rc-1 running on my M1 machine. > > I can't reproduce the bug, I guess it is fixed. > > On Fri, 8 Jan 2021 at 10:35, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hello all, >> >> Just a clarification - the bug about dashes in menus in standalones on Big >> Sur is: >> >> https://quality.livecode.com/show_bug.cgi?id=23009 >> >> and not https://quality.livecode.com/show_bug.cgi?id=23013 >> >> BTW, could someone that has a M1 Mac confirm that in the LC 9.6.2 RC-1 IDE >> there are no dashes in front of the menus - in other words that this bug is >> fixed: >> https://quality.livecode.com/show_bug.cgi?id=22955 >> >> Thank you! >> >> Kind regards, >> Panos >> -- >> >> On Fri, 8 Jan 2021 at 01:07, Curry Kenworthy via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Paul: >>> >>> > we have several customer who have said >>> > they are upgrading to M1 laptops >>> >>> Yes; important to support! I'm looking in that direction too. It'll be >>> popular, plus it's what I can afford. Many people in the same boat. >>> >>> (Backstory: Apple's biz model forces Apple to force us to spend on >>> hardware. The mobile herd sticks with Apple, so the dev herd does too, >>> so wallets must open and notes must rain down. But not satisfied yet >>> with the rain from software tweaks, so now hardware tweaks too.) >>> >>> I'm planning to get an M1 Mac this year, to get back on the bleeding >>> edge for a while. It's time. My old Mac hardware is still perfectly >>> good, it was well-built and has zero issues, but finally has been pushed >>> into what will soon be an untenable corner by the combo of new OS to >>> support and new chip to support. But the older Mac will continue to >>> serve for testing and for transition dev if needed. >>> >>> > a sense of when LC 9.6.2 STABLE may be out? >>> >>> Could be roughly predicted, maybe, by looking at what they are working >>> on. I actually agree with LC's anti release date policy; announcing firm >>> dates is just begging for another issue to pop up. But since Apple's biz >>> model places so much pressure on devs to keep up, a sense would be good. >>> Especially since third-party addons and widgets also have to keep up >>> with our ecosystem. >>> >>> (Another backstory: Don't forget the stable/stable linguistic play; I've >>> seen RCs here that were actually more "stable" than the final, because >>> glitches, regressions, and extra bugs are sometimes - perhaps often - >>> introduced in the very process of fixing bugs. Depending on a stable to >>> be stable is a gamble, and depending on the specific features in an app, >>> there are times when the RC is more reliable. Nevertheless I really hate >>> to publish anything with an RC; only when forced to do so.) >>> >>> BTW, Paul knows all of this very well. I'm just replying publicly in >>> case the backstories will benefit other readers here in the process. :) >>> >>> Best wishes, >>> >>> Curry Kenworthy >>> >>> Custom Software Development >>> "Better Methods, Better Results" >>> 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 >> > From brian at milby7.com Fri Jan 8 11:05:50 2021 From: brian at milby7.com (Brian Milby) Date: Fri, 8 Jan 2021 11:05:50 -0500 Subject: POST does not work under lock messages In-Reply-To: References: Message-ID: <22398A67-2455-4EA4-B020-3C46ED6F0FEC@milby7.com> The docs don?t list all messages but do say that navigation and object creation messages are not sent. It gives a couple examples of each. This is in addition to get/set prop. Sent from my iPhone > On Jan 8, 2021, at 6:33 AM, Neville Smythe via use-livecode wrote: > > ?It took me a while to figure this one out. I have a number of scripts which POST to LiveCode Server .lc scripts. All were working fine except one which always returned the output from whatever POST had last been executed. Evidently the previous form request was being resubmitted. Turns out I had a lock messages command before calling POST. > > Seems to me that shouldna oughta happen ?either it?s a bug, or it should be documented > > (I think there is a documented warning about DataGrids needing Lock messages off? And wasn?t there a discussion a while back about Lock messages needing levels? The current documentation for Lock messages says it blocks ?setProp triggers, getProp and certain other messages? where ?certain? is left undefined.) > > 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 richmondmathewson at gmail.com Fri Jan 8 11:51:03 2021 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 8 Jan 2021 18:51:03 +0200 Subject: LC & Mac M1 Chip In-Reply-To: <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> References: <494edb6b-9b70-2dd5-b019-2e94aadb2330@researchware.com> <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> Message-ID: Your back stories made me fire up a G5 iMac I have here running macOS 10.5 and download the latest LiveCode to work on it . . . . Love and lunacy, Richmond. On 8.01.21 1:06, Curry Kenworthy via use-livecode wrote: > > Paul: > > > we have several customer who have said > > they are upgrading to M1 laptops > > Yes; important to support! I'm looking in that direction too. It'll be > popular, plus it's what I can afford. Many people in the same boat. > > (Backstory: Apple's biz model forces Apple to force us to spend on > hardware. The mobile herd sticks with Apple, so the dev herd does too, > so wallets must open and notes must rain down. But not satisfied yet > with the rain from software tweaks, so now hardware tweaks too.) > > I'm planning to get an M1 Mac this year, to get back on the bleeding > edge for a while. It's time. My old Mac hardware is still perfectly > good, it was well-built and has zero issues, but finally has been > pushed into what will soon be an untenable corner by the combo of new > OS to support and new chip to support. But the older Mac will continue > to serve for testing and for transition dev if needed. > > > a sense of when LC 9.6.2 STABLE may be out? > > Could be roughly predicted, maybe, by looking at what they are working > on. I actually agree with LC's anti release date policy; announcing > firm dates is just begging for another issue to pop up. But since > Apple's biz model places so much pressure on devs to keep up, a sense > would be good. Especially since third-party addons and widgets also > have to keep up with our ecosystem. > > (Another backstory: Don't forget the stable/stable linguistic play; > I've seen RCs here that were actually more "stable" than the final, > because glitches, regressions, and extra bugs are sometimes - perhaps > often - introduced in the very process of fixing bugs. Depending on a > stable to be stable is a gamble, and depending on the specific > features in an app, there are times when the RC is more reliable. > Nevertheless I really hate to publish anything with an RC; only when > forced to do so.) > > BTW, Paul knows all of this very well. I'm just replying publicly in > case the backstories will benefit other readers here in the process. :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > 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 jeejeestudio at gmail.com Fri Jan 8 12:56:49 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 8 Jan 2021 18:56:49 +0100 Subject: Threads in LC In-Reply-To: References: Message-ID: <159a9904-0edb-d867-6870-c0ec1372decd@gmail.com> Not that I know of. When using LC it uses the GPIO library/api from the Master Library in which it was embedded. If I recall correct that uses access to the GPIO library which is on the Raspberry. For this i can't recall if i needed to install something via terminal, which i needed to do for use with Python. It just uses LC script, no LCB. So therefore my unknown wissdom about multi-threading / multi-core thought simplistic that one core could do the gui (would be more GPU then) and one core the GPIO handling. But you see my knowledge about it is minor. Of course i could also just use Python without GUI and ask for some input setting from the user, if in the end a Python GUI might also be to heavy (read interference from any mouse movements). For the beginning i have Start and stop buttons running in SimplePyGui , it needs input for how many steps, speed and size of the steps and how much it has to be repeated. Op 8-1-2021 om 00:07 schreef Richard Gaskin via use-livecode: > JeeJeeStudio wrote: > > > So what i actually meant is multiprocessing, would that give > > advantage? > > Maybe. > > Does your Pi_gpio_output function use file I/O calls to the virtual > file system in /run, or call an LCB or external using a lower-level > interface for GPIO? > From alex at tweedly.net Fri Jan 8 20:32:20 2021 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 9 Jan 2021 01:32:20 +0000 Subject: Threads in LC In-Reply-To: References: <0AF4357B-B16D-4F4A-BC9A-674546112F0E@iotecdigital.com> Message-ID: <3727489d-509a-6ae3-40aa-199d803990bd@tweedly.net> On 08/01/2021 01:51, Bob Sneidar via use-livecode wrote: > I have thought about this a bit. If what you mean by multiprocessing is that a new process can be spawned while your app can go off and do other things and get notified later that something happened, then this is quite doable. If what you mean is that you want to make the app spawning the processes operate more efficiently by launching the same process over and over in multiple instances, then I don?t think so. At some point the parent process is going to have to get the result of each thread and do something about it. I did something like this, but didn't spawn a new process for each asynch task being launched. What I did instead was have a very general purpose 'task handler' app, and have multiple instances of this 'server app' running all the time; as long as they're not doing any task, that's a negligible "cost" in resources. Each instance would accept a socket connection on a different port (e.g. 6000, 6001, 6002, ...) and would be passed "requests" to handle a specific task. It would queue up multiple tasks, handle them in turn, and pass the result back over the connection to whichever app requested it. Then there was a client library, which would handle all the "messiness" for the client, so the app need not be too involved. The app itself would simply 'start using' the library, tell it which tasks it wanted to be able to do (see below), and then pass in multiple requests through library calls. The library would determine how many task-handler apps were available, parcel out the requests between them, and provide the responses to the client (if needed). For each task (or set of tasks) you would write a library stack, which would have handlers to perform the task(s), and respond. Example (trivial and may contain typos). (you have to imagine that generating random numbers was very time consuming :-), 1. Write a library stack to perform some tasks. stack "randomstuff" global gResultData, gResultObject?? -- remember - one task at a time, so no race conditions on randomint pData ?? local tmp, tMin, tMax ?? put word 1 of pData into tMin ?? put word 2 of pData into tMax ?? put random(tMax - tMin + 1) into tmp ?? put tmp-1 + tMin into gResultData ?? send "completedTask" to gResultObject in 1 millisec end randomint 2. In the client app, determine the tasks to be handled (within, say, openstack) .... ?? taskClientLoadStack "randomstuff.livecodescript" .... 3. when you need a number of random integers .... ? repeat 1000 times ??? put taskClientSendARequest("randomstuff", "randomint 12 17", the long ID of me) into tmp ? end repeat ?? -- (the return value is a request id - often can be ignored). ... on taskcomplete pID, pResult ?? -- pID is the request ID, pResult is the returned data from that request ?? put pResult &CR after sNumbers?? -- or whatever ... end taskcomplete In addition, there were various 'admin' taks you could request (close connection, cancel pending tasks, get count of remaining tasks pending, ...). The initial version of the client library simply round-robined the task requests between the task-handlers, but the 'status' request would allow for more intelligent load-balancing i fneeded. I did all this many years ago (2006 ??) and had this up on the earliest version of revonline (which subsequently got deleted). I developed it to help with indexing (including md5hash) of large numbers of image files. Using 4 task handlers, it was able to do the indexing in around 1/3 of the time the single-threaded version took. I still have the code - but unfortunately I can't find the write-up / documentation on how to use it. And, I admit I absolutely cringe now to look at the code - it *seriously* needs to be re-written, or heavily revised. I'll clean up the code, write up how to use it and post it somewhere for anyone who wishes to try it out. Alex. From richmondmathewson at gmail.com Sat Jan 9 09:52:50 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 9 Jan 2021 16:52:50 +0200 Subject: Audioclips overlapping Message-ID: When I try to play a succession of audioClips they overlap each other. Is there a way to ensure each clip does not start playing before the preceding one has finished? Richmond Mathewson. From klaus at major-k.de Sat Jan 9 09:59:24 2021 From: klaus at major-k.de (Klaus major-k) Date: Sat, 9 Jan 2021 15:59:24 +0100 Subject: Audioclips overlapping In-Reply-To: References: Message-ID: <24B1293A-EF0D-4899-84B2-9431C82D580A@major-k.de> Hi Richmond, > Am 09.01.2021 um 15:52 schrieb Richmond via use-livecode : > > When I try to play a succession of audioClips they overlap each other. > Is there a way to ensure each clip does not start playing before the preceding one has finished? do you mean this? ... play ac "a_clip.wav" wait until the sound is "done" play ac "another_clip.aif" ... > Richmond Mathewson. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Sat Jan 9 10:06:56 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 9 Jan 2021 17:06:56 +0200 Subject: Audioclips overlapping In-Reply-To: <24B1293A-EF0D-4899-84B2-9431C82D580A@major-k.de> References: <24B1293A-EF0D-4899-84B2-9431C82D580A@major-k.de> Message-ID: <2615604e-b403-a65c-b807-a3fe5df51251@gmail.com> Well, Yes, sort of, but I still get an annoying gap between the clips: they should play sequentially without any pauses . . . Best, and, while I'm here, wishing you a Happy New Year. Richmond. On 9.01.21 16:59, Klaus major-k via use-livecode wrote: > Hi Richmond, > >> Am 09.01.2021 um 15:52 schrieb Richmond via use-livecode : >> >> When I try to play a succession of audioClips they overlap each other. >> Is there a way to ensure each clip does not start playing before the preceding one has finished? > do you mean this? > ... > play ac "a_clip.wav" > wait until the sound is "done" > play ac "another_clip.aif" > ... > >> Richmond Mathewson. > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > 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 richmondmathewson at gmail.com Sat Jan 9 10:08:33 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 9 Jan 2021 17:08:33 +0200 Subject: Audioclips overlapping In-Reply-To: <24B1293A-EF0D-4899-84B2-9431C82D580A@major-k.de> References: <24B1293A-EF0D-4899-84B2-9431C82D580A@major-k.de> Message-ID: <50fcdf28-53a1-ca82-aef0-3298a6ce6408@gmail.com> Erm . . . not sure about this, but the word 'concatenation' just bubbled up in my brain. But any concatenation would need to be done on the fly inwith LiveCode. Having a seriously bonkers patch: https://introcs.cs.princeton.edu/java/assignments/mozart.html On 9.01.21 16:59, Klaus major-k via use-livecode wrote: > Hi Richmond, > >> Am 09.01.2021 um 15:52 schrieb Richmond via use-livecode : >> >> When I try to play a succession of audioClips they overlap each other. >> Is there a way to ensure each clip does not start playing before the preceding one has finished? > do you mean this? > ... > play ac "a_clip.wav" > wait until the sound is "done" > play ac "another_clip.aif" > ... > >> Richmond Mathewson. > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > 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 ludovic.thebault at laposte.net Sat Jan 9 11:37:25 2021 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sat, 9 Jan 2021 17:37:25 +0100 Subject: Native scroller and iPhone X and > Message-ID: <165C851A-F1F0-4DB2-94F6-B0FAD51DEC88@laposte.net> Hello and happy new year ! I?ve tested my app on an iPhone X and the height of the native scrollers are not corrects. It seems that this is due to the notch. The scrolling area is smaller than needed. Il i test the same app on an iPhone < X (without notch) it?s ok. What I missed ? Here the script ( it?s a locked grp with an field on it) : mobileControlCreate "scroller", sControlName mobileControlSet sControlName, "rect", the rect of grp ? scroller ? mobileControlSet sControlName, "contentRect", "0,0," & the formattedWidth of of fld ? toScroll ? & comma & the formattedHeight of fld ? toScroll ? Any ideas, i can't solve the problem. Thanks ! From dvglasgow at gmail.com Sat Jan 9 13:18:54 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Sat, 9 Jan 2021 18:18:54 +0000 Subject: OT Re: Audioclips overlapping In-Reply-To: <50fcdf28-53a1-ca82-aef0-3298a6ce6408@gmail.com> References: <24B1293A-EF0D-4899-84B2-9431C82D580A@major-k.de> <50fcdf28-53a1-ca82-aef0-3298a6ce6408@gmail.com> Message-ID: <34E01E71-AAF8-4A1A-8D71-89A0705FB736@gmail.com> Oh my! I had a minuet generator dongle for my Sinclair Spectrum!! So that?s how it worked! > On 9 Jan 2021, at 3:08 pm, Richmond via use-livecode wrote: > > Erm . . . not sure about this, but the word 'concatenation' just bubbled > up in my brain. > > But any concatenation would need to be done on the fly inwith LiveCode. > > Having a seriously bonkers patch: > > https://introcs.cs.princeton.edu/java/assignments/mozart.html > > On 9.01.21 16:59, Klaus major-k via use-livecode wrote: >> Hi Richmond, >> >>> Am 09.01.2021 um 15:52 schrieb Richmond via use-livecode : >>> >>> When I try to play a succession of audioClips they overlap each other. >>> Is there a way to ensure each clip does not start playing before the preceding one has finished? >> do you mean this? >> ... >> play ac "a_clip.wav" >> wait until the sound is "done" >> play ac "another_clip.aif" >> ... >> >>> Richmond Mathewson. >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sat Jan 9 13:54:58 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 9 Jan 2021 13:54:58 -0500 Subject: Audioclips overlapping In-Reply-To: <2615604e-b403-a65c-b807-a3fe5df51251@gmail.com> References: <24B1293A-EF0D-4899-84B2-9431C82D580A@major-k.de> <2615604e-b403-a65c-b807-a3fe5df51251@gmail.com> Message-ID: <34C8B8A0-89E5-4681-B7C0-2159B67AEF35@all-auctions.com> Hi Richmond, Do you know how many seconds in length each clip is? If so, you could tell it to start a second or two sooner to help eliminate that pause you are experiencing. Rick > On Jan 9, 2021, at 10:06 AM, Richmond via use-livecode wrote: > > Well, Yes, sort of, but I still get an annoying gap between the clips: they should play sequentially without any pauses . . . > > Best, and, while I'm here, wishing you a Happy New Year. > > Richmond. From jacque at hyperactivesw.com Sat Jan 9 14:32:06 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 9 Jan 2021 13:32:06 -0600 Subject: Audioclips overlapping In-Reply-To: <34C8B8A0-89E5-4681-B7C0-2159B67AEF35@all-auctions.com> References: <24B1293A-EF0D-4899-84B2-9431C82D580A@major-k.de> <2615604e-b403-a65c-b807-a3fe5df51251@gmail.com> <34C8B8A0-89E5-4681-B7C0-2159B67AEF35@all-auctions.com> Message-ID: <7be3ec7c-b0ac-4001-a8e2-7d2faf8a162a@hyperactivesw.com> See the "prepare" entry in the dictionary. It's specifically designed to allow instant playback. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Jan 9 14:50:54 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 9 Jan 2021 21:50:54 +0200 Subject: Audioclips overlapping In-Reply-To: <34C8B8A0-89E5-4681-B7C0-2159B67AEF35@all-auctions.com> References: <24B1293A-EF0D-4899-84B2-9431C82D580A@major-k.de> <2615604e-b403-a65c-b807-a3fe5df51251@gmail.com> <34C8B8A0-89E5-4681-B7C0-2159B67AEF35@all-auctions.com> Message-ID: <3e4060dc-cae5-a336-2655-c138f680e305@gmail.com> Hmm: writing as a lazy slob, I'm not entirely sure if I have the energy or the motivation to determine the length of 176 wav files. http://forums.livecode.com/viewtopic.php?f=10&t=35213 On 9.01.21 20:54, Rick Harrison via use-livecode wrote: > Hi Richmond, > > Do you know how many seconds in length each clip is? > > If so, you could tell it to start a second or two sooner > to help eliminate that pause you are experiencing. > > Rick > >> On Jan 9, 2021, at 10:06 AM, Richmond via use-livecode wrote: >> >> Well, Yes, sort of, but I still get an annoying gap between the clips: they should play sequentially without any pauses . . . >> >> Best, and, while I'm here, wishing you a Happy New Year. >> >> 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 curry at pair.com Sat Jan 9 17:34:41 2021 From: curry at pair.com (Curry Kenworthy) Date: Sat, 9 Jan 2021 17:34:41 -0500 Subject: LC & Mac M1 Chip In-Reply-To: <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> References: <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> Message-ID: <1031bc09-ad16-727e-77b8-118842018ba0@pair.com> Me: > I'm planning to get an M1 Mac this year Naturally, right after I post this, Apple makes headlines (again) for doing something arbitrary and rather dim. So an ethical and professional disclaimer: I don't support self-contradictory and illogical policy, any more than self-contradictory and illogical UI. Shallow thinkers (and toddlers of all ages) focus mainly on external agreement. It requires some mental development to realize a need for intellectual consistency and indeed honesty. I like the way this principle is clear in the realm of coding. If true is also false, logic falls apart. Every logical branch in a script evaluates to true or false. True and false must be reliable, not arbitrary and capricious. Otherwise code would be unpredictable. (That's why people who rationalize have trouble writing good code: they are speaking a second language, and have trained themselves to imitate logic rather than following it! Mental habits matter.) Apple's biz practices make it difficult to avoid finally replacing my 2012 Mac, but as most people here probably know, I did not intend my statement as an endorsement. Glad Richmond can still work on the G5! :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From neville.smythe at optusnet.com.au Sat Jan 9 21:46:04 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 10 Jan 2021 13:46:04 +1100 Subject: POST data size bug Message-ID: I seem to have hit another bug in POSTing data to LiveCoder Server (Community 9.6.2) If the data being posted has 139000 characters the POST succeeds and I get a response back from my LC script in about 2.5 seconds. If I try to send about 140000 characters I get a time out error. I presume the problem is in LC server, not in the internet library in my client. Neville From harrison at all-auctions.com Sun Jan 10 00:36:59 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 10 Jan 2021 00:36:59 -0500 Subject: LC & Mac M1 Chip In-Reply-To: <1031bc09-ad16-727e-77b8-118842018ba0@pair.com> References: <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> <1031bc09-ad16-727e-77b8-118842018ba0@pair.com> Message-ID: Otherwise code uses fuzzy logic! LOL Rick > On Jan 9, 2021, at 5:34 PM, Curry Kenworthy via use-livecode wrote: > > Otherwise code would be unpredictable. From richmondmathewson at gmail.com Sun Jan 10 03:48:54 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 10 Jan 2021 10:48:54 +0200 Subject: LC & Mac M1 Chip In-Reply-To: <1031bc09-ad16-727e-77b8-118842018ba0@pair.com> References: <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> <1031bc09-ad16-727e-77b8-118842018ba0@pair.com> Message-ID: <0ef6de60-688d-f734-1482-a4e4da881590@gmail.com> Hmm: Yes, I do work occasionally on a couple of G5 iMac I have lying around, and, more often, a G4 Mac Mini (a lovely machine I can shove in my bag and run back and forth between home and work): BUT, to tell the? truth, at the moment my main work is spread between a 2018 Mac Mini (the last INTEL model) running macOS 11.2 and an ASUS laptop running Xubuntu 20.10. Apple, like Microsoft, is a profoundly undemocratic institution. This should not matter if the 'great dictator' is truly 'great' (and even the sainted Steve Jobs has feet of clay); but those types of dictators only crop up in places like Plato's Laws and fairy stories. When I read Plato's Laws I got an ENTIRELY different picture from all those 'leisurely chats' between Socrates and his chums. A company with no checks and balances, and that doesn't listen to its customers, is going to have more than the odd wonky moment. Currently the 'great dictator' of my company (me) is listening to the Bulgarian Ministry of Education, the parents of children who attend my language school, 3 trustworthy doctors, my assistant, and so on: as not sure when to stop delivering online classes and restart in the physical school, or whether to provide a 'mixed service' with both online and 'offline' classes (also known as logistical hell). Obviously if I don't listen AND act on what I hear in a way that keeps the majority happy, I'm shafted. All I can say, with a smile on my lips, is "Thank God" I only have 50 kids to worry about. Richmond. On 10.01.21 0:34, Curry Kenworthy via use-livecode wrote: > > Me: > > > I'm planning to get an M1 Mac this year > > Naturally, right after I post this, Apple makes headlines (again) for > doing something arbitrary and rather dim. > > So an ethical and professional disclaimer: > > I don't support self-contradictory and illogical policy, > any more than self-contradictory and illogical UI. > > Shallow thinkers (and toddlers of all ages) focus mainly on external > agreement. It requires some mental development to realize a need for > intellectual consistency and indeed honesty. > > I like the way this principle is clear in the realm of coding. If true > is also false, logic falls apart. Every logical branch in a script > evaluates to true or false. True and false must be reliable, not > arbitrary and capricious. Otherwise code would be unpredictable. > > (That's why people who rationalize have trouble writing good code: > they are speaking a second language, and have trained themselves to > imitate logic rather than following it! Mental habits matter.) > > Apple's biz practices make it difficult to avoid finally replacing my > 2012 Mac, but as most people here probably know, I did not intend my > statement as an endorsement. Glad Richmond can still work on the G5! :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > 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 richmondmathewson at gmail.com Sun Jan 10 04:31:52 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 10 Jan 2021 11:31:52 +0200 Subject: Audioclips overlapping In-Reply-To: <24B1293A-EF0D-4899-84B2-9431C82D580A@major-k.de> References: <24B1293A-EF0D-4899-84B2-9431C82D580A@major-k.de> Message-ID: <232be011-137e-e1c1-45c8-9eb33bbb7d15@gmail.com> As get the length of audioClip "M9.wav" crashes LiveCode I wonder of there is a way to determine the length of audioClips reliably? Richmond. From neville.smythe at optusnet.com.au Sun Jan 10 06:32:25 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 10 Jan 2021 22:32:25 +1100 Subject: POST data size bug Message-ID: Ah. My bad I just discovered libURLSetExpect100 Neville From jeejeestudio at gmail.com Sun Jan 10 06:33:22 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sun, 10 Jan 2021 12:33:22 +0100 Subject: LC & Mac M1 Chip In-Reply-To: <1031bc09-ad16-727e-77b8-118842018ba0@pair.com> References: <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> <1031bc09-ad16-727e-77b8-118842018ba0@pair.com> Message-ID: <502f1420-b4d0-1973-bbfa-f05d451c0e34@gmail.com> One could ask him/her-self the question if it is still ethical to buy a reall Mac? Seeing the child-labor in their factories in China is still present. Seems nothing good enough is yet done to prevent that. Op 9-1-2021 om 23:34 schreef Curry Kenworthy via use-livecode: > > Me: > > > I'm planning to get an M1 Mac this year > > Naturally, right after I post this, Apple makes headlines (again) for > doing something arbitrary and rather dim. > > So an ethical and professional disclaimer: > > I don't support self-contradictory and illogical policy, > any more than self-contradictory and illogical UI. > > Shallow thinkers (and toddlers of all ages) focus mainly on external > agreement. It requires some mental development to realize a need for > intellectual consistency and indeed honesty. > > I like the way this principle is clear in the realm of coding. If true > is also false, logic falls apart. Every logical branch in a script > evaluates to true or false. True and false must be reliable, not > arbitrary and capricious. Otherwise code would be unpredictable. > > (That's why people who rationalize have trouble writing good code: > they are speaking a second language, and have trained themselves to > imitate logic rather than following it! Mental habits matter.) > > Apple's biz practices make it difficult to avoid finally replacing my > 2012 Mac, but as most people here probably know, I did not intend my > statement as an endorsement. Glad Richmond can still work on the G5! :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > 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 Sun Jan 10 17:35:43 2021 From: curry at pair.com (Curry Kenworthy) Date: Sun, 10 Jan 2021 17:35:43 -0500 Subject: LC & Mac M1 Chip In-Reply-To: <502f1420-b4d0-1973-bbfa-f05d451c0e34@gmail.com> References: <502f1420-b4d0-1973-bbfa-f05d451c0e34@gmail.com> Message-ID: JeeJeeStudio: > One could ask him/her-self the question if it is still ethical to > buy a reall Mac? Seeing the child-labor in their factories in China > is still present. I'm glad you went there! Thank you. I do ask myself, and the answer is clear. Whether it's a Mac, or any other product. Same deal. Not to mention forced organ harvesting (often while conscious), torture, gulags, repression (now becoming fashionable), ethnic/racial crackdowns, thought/political/religious crackdowns, IP theft, debt traps, poison/health risks, safety flaws, hacking and theft, credible plan for world domination, worker hazards and living/working conditions, and the list could go on for many pages. I'm typing this on a PC laptop, with a fan blowing on my face, at a desk, sitting on a wheelchair, under a light bulb, all of which probably have the same origin. Consumer choices are limited, but it does bother me. There's a real need for products produced in a context where human rights are respected. (I consider that human decency, not politics. And for the record, I'm completely off cheese at the moment; developed allergic reaction to it.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From bduck at mac.com Sun Jan 10 22:21:09 2021 From: bduck at mac.com (Brian K. Duck) Date: Sun, 10 Jan 2021 22:21:09 -0500 Subject: Cmi5 eLearning Standard in LiveCode References: Message-ID: <97C33EF0-72CB-43F1-BE2A-D22DD6DB1B11@mac.com> Roger, I haven?t done anything with CMI5, yet. I have been running a project during the FREE xAPI Cohorts, both the 2020 Spring & Fall sessions, where we?ve used LiveCode Comunity to send xAPI statements from input received via a MakeyMakey board to an LRS. The LiveCode for this project is available as a GitHub download, and is usable by LiveCode Community. There are JavaScript libraries that I would like to make available internal to the stack, guidance on internalizing the HTML, CSS, and JavaScript would be appreciated. The next xAPI Cohort begins February 4th, the live sessions are Thursdays at 2 PM Eastern, and the signup is at: https://xapicohort.com/ Anyone who would like to learn about using LiveCode for xAPI, online learning and assessing training events is invited to join. Once you register for the xAPI Cohort, you will receive information on joining the xAPI Cohort Slack channel, and you should look for the #Discuss-Dev-LiveCode sub group to join, say hello, or reach out to me via slack. If you like, we could look at building a CMI5 project in LiveCode as a getting started effort. Sent from my iPad, Brian Duck From david.bovill at gmail.com Mon Jan 11 06:50:02 2021 From: david.bovill at gmail.com (David Bovill) Date: Mon, 11 Jan 2021 11:50:02 +0000 Subject: Cmi5 eLearning Standard in LiveCode In-Reply-To: <97C33EF0-72CB-43F1-BE2A-D22DD6DB1B11@mac.com> References: <97C33EF0-72CB-43F1-BE2A-D22DD6DB1B11@mac.com> Message-ID: Hi Brian, that sounds interesting. I signed up for the cohort. Would like to know what you are thinking of doing with Livecode for this? Maybe we could have a Zoom before hand? On 11 Jan 2021, 03:22 +0000, Brian K. Duck via use-livecode , wrote: > Roger, > > I haven?t done anything with CMI5, yet. > > I have been running a project during the FREE xAPI Cohorts, both the 2020 Spring & Fall sessions, where we?ve used LiveCode Comunity to send xAPI statements from input received via a MakeyMakey board to an LRS. > > The LiveCode for this project is available as a GitHub download, and is usable by LiveCode Community. There are JavaScript libraries that I would like to make available internal to the stack, guidance on internalizing the HTML, CSS, and JavaScript would be appreciated. > > The next xAPI Cohort begins February 4th, the live sessions are Thursdays at 2 PM Eastern, and the signup is at: https://xapicohort.com/ > > Anyone who would like to learn about using LiveCode for xAPI, online learning and assessing training events is invited to join. Once you register for the xAPI Cohort, you will receive information on joining the xAPI Cohort Slack channel, and you should look for the #Discuss-Dev-LiveCode sub group to join, say hello, or reach out to me via slack. > > If you like, we could look at building a CMI5 project in LiveCode as a getting started effort. > > Sent from my iPad, > Brian Duck > _______________________________________________ > use-livecode mailing list > use-livecode at 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 harryscollar.com Mon Jan 11 07:25:51 2021 From: alex at harryscollar.com (Alex Shaw) Date: Mon, 11 Jan 2021 22:25:51 +1000 Subject: Cmi5 eLearning Standard in LiveCode In-Reply-To: <97C33EF0-72CB-43F1-BE2A-D22DD6DB1B11@mac.com> References: <97C33EF0-72CB-43F1-BE2A-D22DD6DB1B11@mac.com> Message-ID: <2420bca7-965d-04b1-f49e-966ac29158fb@harryscollar.com> New to xAPI and very interested so yes please, signed up. regards alex On 11/1/21 1:21 pm, Brian K. Duck via use-livecode wrote: > Roger, > > I haven?t done anything with CMI5, yet. > > I have been running a project during the FREE xAPI Cohorts, both the 2020 Spring & Fall sessions, where we?ve used LiveCode Comunity to send xAPI statements from input received via a MakeyMakey board to an LRS. > > The LiveCode for this project is available as a GitHub download, and is usable by LiveCode Community. There are JavaScript libraries that I would like to make available internal to the stack, guidance on internalizing the HTML, CSS, and JavaScript would be appreciated. > > The next xAPI Cohort begins February 4th, the live sessions are Thursdays at 2 PM Eastern, and the signup is at: https://xapicohort.com/ > > Anyone who would like to learn about using LiveCode for xAPI, online learning and assessing training events is invited to join. Once you register for the xAPI Cohort, you will receive information on joining the xAPI Cohort Slack channel, and you should look for the #Discuss-Dev-LiveCode sub group to join, say hello, or reach out to me via slack. > > If you like, we could look at building a CMI5 project in LiveCode as a getting started effort. > > Sent from my iPad, > Brian Duck > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 11 09:07:29 2021 From: mkoob at rogers.com (Martin Koob) Date: Mon, 11 Jan 2021 09:07:29 -0500 Subject: Cmi5 eLearning Standard in LiveCode In-Reply-To: <2420bca7-965d-04b1-f49e-966ac29158fb@harryscollar.com> References: <97C33EF0-72CB-43F1-BE2A-D22DD6DB1B11@mac.com> <2420bca7-965d-04b1-f49e-966ac29158fb@harryscollar.com> Message-ID: <16DB22FE-370F-4B3E-AAE6-01A3225CA01F@rogers.com> Hi Brian got me involved in the fall 2020 semester of the xAPI cohort. I worked on a team that created a service to generate xAPI statements from a Zoom meeting using the Zoom API. I learned a lot about the Zoom API, web hooks and xAPI statements. I have already signed up for the spring 2021 semester. I would like to have a Zoom call for LiveCoders interested in this initiative. The xAPI Cohorts have as one of the main activities projects which are worked on by teams. The projects are then presented at the end of the semester. I joined Team Zoom last semester to work with people who were already involved in working with xAPI in diffferent capacities, programmers, education designers, educators to help be learn more about xAPI in general. This did not have a LiveCode focus. I worked with Brian?s team, Team MakeyMakey a bit on his project which had some focus on LiveCode. One think I would like to see come out of this eventually is a LiveCode Library for generating xAPI statements and sending them to a Learning Record Store. My ultimate goal is to have my application use such a library create such statements and integrate with a LRS and a LMS. Possible projects would be a good topic for a pre semester Zoom meeting. Martin Koob > On Jan 11, 2021, at 7:25 AM, Alex Shaw via use-livecode wrote: > > New to xAPI and very interested so yes please, signed up. > > regards > alex > > On 11/1/21 1:21 pm, Brian K. Duck via use-livecode wrote: >> Roger, >> >> I haven?t done anything with CMI5, yet. >> >> I have been running a project during the FREE xAPI Cohorts, both the 2020 Spring & Fall sessions, where we?ve used LiveCode Comunity to send xAPI statements from input received via a MakeyMakey board to an LRS. >> >> The LiveCode for this project is available as a GitHub download, and is usable by LiveCode Community. There are JavaScript libraries that I would like to make available internal to the stack, guidance on internalizing the HTML, CSS, and JavaScript would be appreciated. >> >> The next xAPI Cohort begins February 4th, the live sessions are Thursdays at 2 PM Eastern, and the signup is at: https://xapicohort.com/ >> >> Anyone who would like to learn about using LiveCode for xAPI, online learning and assessing training events is invited to join. Once you register for the xAPI Cohort, you will receive information on joining the xAPI Cohort Slack channel, and you should look for the #Discuss-Dev-LiveCode sub group to join, say hello, or reach out to me via slack. >> >> If you like, we could look at building a CMI5 project in LiveCode as a getting started effort. >> >> Sent from my iPad, >> Brian Duck >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From chipsm at themartinz.com Mon Jan 11 09:48:20 2021 From: chipsm at themartinz.com (chipsm themartinz.com) Date: Mon, 11 Jan 2021 14:48:20 +0000 Subject: Cmi5 eLearning Standard in LiveCode In-Reply-To: <16DB22FE-370F-4B3E-AAE6-01A3225CA01F@rogers.com> References: <97C33EF0-72CB-43F1-BE2A-D22DD6DB1B11@mac.com> <2420bca7-965d-04b1-f49e-966ac29158fb@harryscollar.com> <16DB22FE-370F-4B3E-AAE6-01A3225CA01F@rogers.com> Message-ID: I am still trying to absorb the use of this platform to enhance my LiveCode experience. I fell totally ignorant about this platform and its benefits. I am always interested in learning more information about things. Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 626 6965561 -----Original Message----- From: use-livecode On Behalf Of Martin Koob via use-livecode Sent: Monday, January 11, 2021 6:07 AM To: How to use LiveCode Cc: Martin Koob Subject: Re: Cmi5 eLearning Standard in LiveCode Hi Brian got me involved in the fall 2020 semester of the xAPI cohort. I worked on a team that created a service to generate xAPI statements from a Zoom meeting using the Zoom API. I learned a lot about the Zoom API, web hooks and xAPI statements. I have already signed up for the spring 2021 semester. I would like to have a Zoom call for LiveCoders interested in this initiative. The xAPI Cohorts have as one of the main activities projects which are worked on by teams. The projects are then presented at the end of the semester. I joined Team Zoom last semester to work with people who were already involved in working with xAPI in diffferent capacities, programmers, education designers, educators to help be learn more about xAPI in general. This did not have a LiveCode focus. I worked with Brian?s team, Team MakeyMakey a bit on his project which had some focus on LiveCode. One think I would like to see come out of this eventually is a LiveCode Library for generating xAPI statements and sending them to a Learning Record Store. My ultimate goal is to have my application use such a library create such statements and integrate with a LRS and a LMS. Possible projects would be a good topic for a pre semester Zoom meeting. Martin Koob > On Jan 11, 2021, at 7:25 AM, Alex Shaw via use-livecode wrote: > > New to xAPI and very interested so yes please, signed up. > > regards > alex > > On 11/1/21 1:21 pm, Brian K. Duck via use-livecode wrote: >> Roger, >> >> I haven?t done anything with CMI5, yet. >> >> I have been running a project during the FREE xAPI Cohorts, both the 2020 Spring & Fall sessions, where we?ve used LiveCode Comunity to send xAPI statements from input received via a MakeyMakey board to an LRS. >> >> The LiveCode for this project is available as a GitHub download, and is usable by LiveCode Community. There are JavaScript libraries that I would like to make available internal to the stack, guidance on internalizing the HTML, CSS, and JavaScript would be appreciated. >> >> The next xAPI Cohort begins February 4th, the live sessions are Thursdays at 2 PM Eastern, and the signup is at: https://xapicohort.com/ >> >> Anyone who would like to learn about using LiveCode for xAPI, online learning and assessing training events is invited to join. Once you register for the xAPI Cohort, you will receive information on joining the xAPI Cohort Slack channel, and you should look for the #Discuss-Dev-LiveCode sub group to join, say hello, or reach out to me via slack. >> >> If you like, we could look at building a CMI5 project in LiveCode as a getting started effort. >> >> Sent from my iPad, >> Brian Duck >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 11 17:28:07 2021 From: mkoob at rogers.com (Martin Koob) Date: Mon, 11 Jan 2021 17:28:07 -0500 Subject: Windows 10 app launch error - 'failed to load External: tsNet' References: <610520B5-F80F-4BC0-B2EA-AABA8A99934E.ref@rogers.com> Message-ID: <610520B5-F80F-4BC0-B2EA-AABA8A99934E@rogers.com> Hi I have a GLX Framework based application that I am trying to create an installer for Windows 10 using Inno Setup as explained here. https://revolution.screenstepslive.com/s/revolution/m/10695/l/563371-signing-installers-you-create-with-inno-setup This is the second Windows installer I am making. The first time I made an installer for my first version of this app on Windows ultimately worked (after a bit of trial and error) and now I am using the same basic script settings to make the new installer for an update to my application. In the LiveCode standalone application settings dialog Windows tab I selected Windows 64 bit so it is a 64 bit application. The folder layout of the application is as follows myApp.exe ->Externals -mergJSON-x64.dll -revxml.dll -tsNet-x86_64.dll Using Inno Script Studio I compile the script and that works with no problem. - I have a code signing certificate so the code is signed using the sign tool - I looked at the ?creating setup files message and I see that the external tsNet external is loaded. Still when I try to launch my application I get a dialog titled ?Initialization error?. Its error message is ?failed to load external: tsNet? I thought it might be looking for the 32 bit version of the tsNet external, tsNet-x86.dll so I added that to the Externals folder in addition to the 64 bit version that I already had before running the compiler again. Same result. I found a similar issue in the forums but the fix was to update to the stable version of LiveCode 9.5.0. http://forums.livecode.com/viewtopic.php?f=7&t=33005&p=200295#p200295 I am using LiveCode 9.6.0 so unless there has been a regression that should not be the issue. Thanks in advance for any suggestions. Best regards, Martin Koob From neville.smythe at optusnet.com.au Mon Jan 11 18:17:23 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 12 Jan 2021 10:17:23 +1100 Subject: POST command does not work if Lock messages is set Message-ID: <8053F9CE-C5FD-4158-9135-8D3CEB8C90AE@optusnet.com.au> For anyone wishing to follow this bug, it has been confirmed by QC at https://quality.livecode.com/show_bug.cgi?id=23058 As for my other fake news problem with data size and POST, please forget I ever misspoke. LiveCode Server is rather a steep learning curve with not a lot of examples out there, but I love it already. Neville From bobsneidar at iotecdigital.com Mon Jan 11 19:37:32 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 12 Jan 2021 00:37:32 +0000 Subject: Threads in LC In-Reply-To: <3727489d-509a-6ae3-40aa-199d803990bd@tweedly.net> References: <0AF4357B-B16D-4F4A-BC9A-674546112F0E@iotecdigital.com> <3727489d-509a-6ae3-40aa-199d803990bd@tweedly.net> Message-ID: That would be awesome. I really need to do this for the File Storage library I want to include in my app. Right now I just save the PDFs on my local HDD, and each client has it?s own subset of the files it creates. But if I could pass the binary data for the PDF over a client server system of some sort, I could centrally store and recall all the documents from ALL the clients, hence the beginnings of a Document Capture and Storage app written in LC. Bob S > On Jan 8, 2021, at 5:32 PM, Alex Tweedly via use-livecode wrote: > > > On 08/01/2021 01:51, Bob Sneidar via use-livecode wrote: >> I have thought about this a bit. If what you mean by multiprocessing is that a new process can be spawned while your app can go off and do other things and get notified later that something happened, then this is quite doable. If what you mean is that you want to make the app spawning the processes operate more efficiently by launching the same process over and over in multiple instances, then I don?t think so. At some point the parent process is going to have to get the result of each thread and do something about it. > > I did something like this, but didn't spawn a new process for each asynch task being launched. > > What I did instead was have a very general purpose 'task handler' app, and have multiple instances of this 'server app' running all the time; as long as they're not doing any task, that's a negligible "cost" in resources. Each instance would accept a socket connection on a different port (e.g. 6000, 6001, 6002, ...) and would be passed "requests" to handle a specific task. It would queue up multiple tasks, handle them in turn, and pass the result back over the connection to whichever app requested it. > > Then there was a client library, which would handle all the "messiness" for the client, so the app need not be too involved. The app itself would simply 'start using' the library, tell it which tasks it wanted to be able to do (see below), and then pass in multiple requests through library calls. The library would determine how many task-handler apps were available, parcel out the requests between them, and provide the responses to the client (if needed). > > For each task (or set of tasks) you would write a library stack, which would have handlers to perform the task(s), and respond. > > > Example (trivial and may contain typos). > > (you have to imagine that generating random numbers was very time consuming :-), > > 1. Write a library stack to perform some tasks. > > stack "randomstuff" > global gResultData, gResultObject -- remember - one task at a time, so no race conditions > > on randomint pData > local tmp, tMin, tMax > put word 1 of pData into tMin > put word 2 of pData into tMax > put random(tMax - tMin + 1) into tmp > put tmp-1 + tMin into gResultData > send "completedTask" to gResultObject in 1 millisec > end randomint > > > 2. In the client app, determine the tasks to be handled > > (within, say, openstack) > .... > taskClientLoadStack "randomstuff.livecodescript" > .... > > 3. when you need a number of random integers > .... > repeat 1000 times > put taskClientSendARequest("randomstuff", "randomint 12 17", the long ID of me) into tmp > end repeat > -- (the return value is a request id - often can be ignored). > ... > on taskcomplete pID, pResult > -- pID is the request ID, pResult is the returned data from that request > put pResult &CR after sNumbers -- or whatever > ... > end taskcomplete > > In addition, there were various 'admin' taks you could request (close connection, cancel pending tasks, get count of remaining tasks pending, ...). The initial version of the client library simply round-robined the task requests between the task-handlers, but the 'status' request would allow for more intelligent load-balancing i fneeded. > > > I did all this many years ago (2006 ??) and had this up on the earliest version of revonline (which subsequently got deleted). I developed it to help with indexing (including md5hash) of large numbers of image files. Using 4 task handlers, it was able to do the indexing in around 1/3 of the time the single-threaded version took. > > I still have the code - but unfortunately I can't find the write-up / documentation on how to use it. And, I admit I absolutely cringe now to look at the code - it *seriously* needs to be re-written, or heavily revised. > > I'll clean up the code, write up how to use it and post it somewhere for anyone who wishes to try it out. > > 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 bobsneidar at iotecdigital.com Mon Jan 11 19:41:08 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 12 Jan 2021 00:41:08 +0000 Subject: LC & Mac M1 Chip In-Reply-To: References: <874f2e6e-6e09-85fe-ea3d-75755395441a@pair.com> <1031bc09-ad16-727e-77b8-118842018ba0@pair.com> Message-ID: Fuzzy logic makes my brain itch. Bob S > On Jan 9, 2021, at 9:36 PM, Rick Harrison via use-livecode wrote: > > Otherwise code uses fuzzy logic! LOL > > Rick > >> On Jan 9, 2021, at 5:34 PM, Curry Kenworthy via use-livecode wrote: >> >> Otherwise code would be unpredictable. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 11 22:30:13 2021 From: tom at makeshyft.com (Tom Glod) Date: Mon, 11 Jan 2021 22:30:13 -0500 Subject: Is it possible to implement Mac App Store in-app purchases in LiveCode? In-Reply-To: <91049758-C55A-482D-A42F-C6136C9A9F2D@elloco.com> References: <91049758-C55A-482D-A42F-C6136C9A9F2D@elloco.com> Message-ID: Hmmmm....I am surprised no one answered this, I found this. https://lessons.livecode.com/m/4069/l/186807-how-do-i-implement-in-app-purchases-in-livecode-apple-appstore On Sun, Jan 3, 2021 at 5:11 PM kee nethery via use-livecode < use-livecode at lists.runrev.com> wrote: > And if it is possible to do in-app purchases in macOS apps, are there > instructions or sample code anywhere? It appears to me that the Apple > documentation assumes I am using Swift and have imported a set of libraries > that are called via Swift. > > Is there a sample stack somewhere for Mac apps? > > Has someone created a library I can use? > > Thanks, > Kee Nethery > _______________________________________________ > use-livecode mailing list > use-livecode 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 panos.merakos at livecode.com Tue Jan 12 04:11:47 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 12 Jan 2021 11:11:47 +0200 Subject: [ANN] Release 9.6.2 RC-2 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.2 RC-2. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.6.2 RC-2 comes with 5 regression fixes, including: - Opening Color Picker from modal window no longer causes LC to freeze - MacOS Big Sur: fixed display error when switching between card or showing a group - Fix long pause after closing modal dialog on macOS For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_2.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.1.x - LiveCode builds iOS apps using the iOS 14.1 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ 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 end of June 2020, Apple is only accepting apps built using iOS13 SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.14 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 Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team From andre at andregarzia.com Tue Jan 12 09:11:26 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 12 Jan 2021 14:11:26 +0000 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: References: Message-ID: Hi Panos, Is there a potential ETA for M1 support? Best Andre On Tue, 12 Jan 2021 at 09:13, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.2 RC-2. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 9.6.2 RC-2 comes with 5 regression fixes, including: > > - Opening Color Picker from modal window no longer causes LC to freeze > - MacOS Big Sur: fixed display error when switching between card or showing > a group > - Fix long pause after closing modal dialog on macOS > > For the full list of all fixes, updates and enhancements please see the > release notes: > http://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_2.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.1.x - LiveCode builds iOS apps using the iOS > 14.1 SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > 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 end of June 2020, Apple is only accepting apps built > using iOS13 SDKs. This means that, if you wish to submit apps to the > AppStore you will have to be running at least macOS 10.14 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 Builder at > http://forums.livecode.com/viewforum.php?f=93 > > > Have fun! > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From merakosp at gmail.com Tue Jan 12 10:06:18 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 12 Jan 2021 17:06:18 +0200 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: References: Message-ID: Hello Andre, The current x86_64 (i.e. Intel-based) build of LiveCode, as well as any x86_64 standalones created by it, are expected to run seamlessly on M1 Macs, via "Rosetta" (i.e. the translation/compatibility layer that enables a M1 Mac to run apps built for an Intel-based Mac). The M1 Mac will ask you if you want to install Rosetta the first time you try to launch an app made for Intel. What is not supported though, yet, are native ARM LiveCode builds, that will be able to create ARM standalones for M1 Macs. This is in our TODO list, but I cannot provide an ETA for this. Hope this helps :) Cheers, Panos -- On Tue, 12 Jan 2021 at 16:12, Andre Garzia via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > Is there a potential ETA for M1 support? > > Best > Andre > > On Tue, 12 Jan 2021 at 09:13, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.2 RC-2. > > > > > > Getting the Release > > =================== > > You can get the release at https://downloads.livecode.com/livecode/ or > via > > the automatic updater. > > > > > > Release Contents > > ================ > > LiveCode 9.6.2 RC-2 comes with 5 regression fixes, including: > > > > - Opening Color Picker from modal window no longer causes LC to freeze > > - MacOS Big Sur: fixed display error when switching between card or > showing > > a group > > - Fix long pause after closing modal dialog on macOS > > > > For the full list of all fixes, updates and enhancements please see the > > release notes: > > > http://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_2.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.1.x - LiveCode builds iOS apps using the iOS > > 14.1 SDK > > > > There is a full list of working LiveCode/macOS/Xcode combinations here: > > https://livecode.com/docs/9-5-0/faq/faq/ > > > > 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 end of June 2020, Apple is only accepting apps built > > using iOS13 SDKs. This means that, if you wish to submit apps to the > > AppStore you will have to be running at least macOS 10.14 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 Builder at > > http://forums.livecode.com/viewforum.php?f=93 > > > > > > Have fun! > > The LiveCode Team > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > 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 bobsneidar at iotecdigital.com Tue Jan 12 11:20:39 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 12 Jan 2021 16:20:39 +0000 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: References: Message-ID: <7E8DB858-A444-4887-BEF9-698C8945E371@iotecdigital.com> Up until the time Apple decides everything has to be M1, at which support for Rosetta is withdrawn. The question is, how long do Intel apps have to live? Deja Vu all over again. (see what I did there?) Bob S > On Jan 12, 2021, at 6:11 AM, Andre Garzia via use-livecode wrote: > > Hi Panos, > > Is there a potential ETA for M1 support? > > Best > Andre > > On Tue, 12 Jan 2021 at 09:13, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.2 RC-2. >> >> >> Getting the Release >> =================== >> You can get the release at https://downloads.livecode.com/livecode/ or via >> the automatic updater. >> >> >> Release Contents >> ================ >> LiveCode 9.6.2 RC-2 comes with 5 regression fixes, including: >> >> - Opening Color Picker from modal window no longer causes LC to freeze >> - MacOS Big Sur: fixed display error when switching between card or showing >> a group >> - Fix long pause after closing modal dialog on macOS >> >> For the full list of all fixes, updates and enhancements please see the >> release notes: >> http://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_2.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.1.x - LiveCode builds iOS apps using the iOS >> 14.1 SDK >> >> There is a full list of working LiveCode/macOS/Xcode combinations here: >> https://livecode.com/docs/9-5-0/faq/faq/ >> >> 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 end of June 2020, Apple is only accepting apps built >> using iOS13 SDKs. This means that, if you wish to submit apps to the >> AppStore you will have to be running at least macOS 10.14 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 Builder at >> http://forums.livecode.com/viewforum.php?f=93 >> >> >> Have fun! >> The LiveCode Team >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > 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 ambassador at fourthworld.com Tue Jan 12 13:11:47 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Jan 2021 10:11:47 -0800 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: <7E8DB858-A444-4887-BEF9-698C8945E371@iotecdigital.com> References: <7E8DB858-A444-4887-BEF9-698C8945E371@iotecdigital.com> Message-ID: <69ba76f5-b647-4a46-c681-ff82a3724786@fourthworld.com> Bob Sneidar wrote: > Up until the time Apple decides everything has to be M1, at which > support for Rosetta is withdrawn. The question is, how long do Intel > apps have to live? Deja Vu all over again. (see what I did there?) We've been here before... 68k -> PPC Classic -> OS X PPC -> Intel 32-bit -> 64-bit Adding: Intel -> M1 ...is just another day in Appleland. The engine has been carried forward well through all those changes, I'm not worried about this latest one. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From francois.chaplais at mines-paristech.fr Tue Jan 12 13:32:30 2021 From: francois.chaplais at mines-paristech.fr (francois.chaplais at mines-paristech.fr) Date: Tue, 12 Jan 2021 19:32:30 +0100 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: <69ba76f5-b647-4a46-c681-ff82a3724786@fourthworld.com> References: <7E8DB858-A444-4887-BEF9-698C8945E371@iotecdigital.com> <69ba76f5-b647-4a46-c681-ff82a3724786@fourthworld.com> Message-ID: <368192eb-1bc6-49a4-931c-55081afaf06a@Spark> I have gone through this too . The most difficult was the change of OS. Also, Apple had not ported MPW to the PPC, which led to the success of Metrowerks??CodeWarrior. I stil have a compiler by them for BeOs on PPC. This does not really make me feel younger. Le 12 janv. 2021 ? 19:13 +0100, Richard Gaskin via use-livecode , a ?crit : > Bob Sneidar wrote: > > > Up until the time Apple decides everything has to be M1, at which > > support for Rosetta is withdrawn. The question is, how long do Intel > > apps have to live? Deja Vu all over again. (see what I did there?) > > We've been here before... > > 68k -> PPC > Classic -> OS X > PPC -> Intel > 32-bit -> 64-bit > > Adding: > Intel -> M1 > ...is just another day in Appleland. > > The engine has been carried forward well through all those changes, I'm > not worried about this latest one. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee.nethery at elloco.com Tue Jan 12 15:12:45 2021 From: kee.nethery at elloco.com (kee nethery) Date: Tue, 12 Jan 2021 12:12:45 -0800 Subject: Is it possible to implement Mac App Store in-app purchases in LiveCode? In-Reply-To: References: <91049758-C55A-482D-A42F-C6136C9A9F2D@elloco.com> Message-ID: <060D6262-C675-46EB-AA23-50ED42A007FB@elloco.com> Tom, Thank you for the link. According to the docs these calls are only for iOS and Android. I need them for macOS. No idea why the iOS ones are not compatible with macOS, but according to the docs they are not. Kee > On Jan 11, 2021, at 7:30 PM, Tom Glod via use-livecode wrote: > > Hmmmm....I am surprised no one answered this, > > I found this. > > https://lessons.livecode.com/m/4069/l/186807-how-do-i-implement-in-app-purchases-in-livecode-apple-appstore > > On Sun, Jan 3, 2021 at 5:11 PM kee nethery via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> And if it is possible to do in-app purchases in macOS apps, are there >> instructions or sample code anywhere? It appears to me that the Apple >> documentation assumes I am using Swift and have imported a set of libraries >> that are called via Swift. >> >> Is there a sample stack somewhere for Mac apps? >> >> Has someone created a library I can use? >> >> Thanks, >> Kee Nethery >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 bobsneidar at iotecdigital.com Tue Jan 12 17:28:26 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 12 Jan 2021 22:28:26 +0000 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: <368192eb-1bc6-49a4-931c-55081afaf06a@Spark> References: <7E8DB858-A444-4887-BEF9-698C8945E371@iotecdigital.com> <69ba76f5-b647-4a46-c681-ff82a3724786@fourthworld.com> <368192eb-1bc6-49a4-931c-55081afaf06a@Spark> Message-ID: <385DB82C-EB3F-4812-A066-4AB5CA14C84C@iotecdigital.com> Talking about how old we feel, when I first began with computers, we were using CP/M. Bob S On Jan 12, 2021, at 10:32 AM, chaplais via use-livecode > wrote: I have gone through this too . The most difficult was the change of OS. Also, Apple had not ported MPW to the PPC, which led to the success of Metrowerks CodeWarrior. I stil have a compiler by them for BeOs on PPC. This does not really make me feel younger. From bobsneidar at iotecdigital.com Tue Jan 12 17:29:30 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 12 Jan 2021 22:29:30 +0000 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: <368192eb-1bc6-49a4-931c-55081afaf06a@Spark> References: <7E8DB858-A444-4887-BEF9-698C8945E371@iotecdigital.com> <69ba76f5-b647-4a46-c681-ff82a3724786@fourthworld.com> <368192eb-1bc6-49a4-931c-55081afaf06a@Spark> Message-ID: I?ve no worries with LC. My concern is all the other apps I bought which the devs don?t port. Bob S > On Jan 12, 2021, at 10:32 AM, chaplais via use-livecode wrote: > > I have gone through this too . The most difficult was the change of OS. Also, Apple had not ported MPW to the PPC, which led to the success of Metrowerks CodeWarrior. > I stil have a compiler by them for BeOs on PPC. > This does not really make me feel younger. > Le 12 janv. 2021 ? 19:13 +0100, Richard Gaskin via use-livecode , a ?crit : >> Bob Sneidar wrote: >> >>> Up until the time Apple decides everything has to be M1, at which >>> support for Rosetta is withdrawn. The question is, how long do Intel >>> apps have to live? Deja Vu all over again. (see what I did there?) >> >> We've been here before... >> >> 68k -> PPC >> Classic -> OS X >> PPC -> Intel >> 32-bit -> 64-bit >> >> Adding: >> Intel -> M1 >> ...is just another day in Appleland. >> >> The engine has been carried forward well through all those changes, I'm >> not worried about this latest one. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Jan 12 17:47:58 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 12 Jan 2021 23:47:58 +0100 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: References: <7E8DB858-A444-4887-BEF9-698C8945E371@iotecdigital.com> <69ba76f5-b647-4a46-c681-ff82a3724786@fourthworld.com> <368192eb-1bc6-49a4-931c-55081afaf06a@Spark> Message-ID: <7E95BFAE-F241-4043-B342-E78E5C1440A8@m-r-d.de> I am afraid i am at a crossroads now. Unfortunately prices for Mac hardware increased over the years. I will definitely not buy a M1 Mac. I will use my iMac as long as i get updates for macOS and will then switch back completely to Windows. Most of the software i am using is available for macOS and Windows. Okay Ulysses is one of the programs i will be definitely missing when going back to Windows. But i am sure i will find an alternative. Maybe Obsidian, currently not as good as Ulysses, but i'll see. - Matthias Rebbe > Am 12.01.2021 um 23:29 schrieb Bob Sneidar via use-livecode : > > I?ve no worries with LC. My concern is all the other apps I bought which the devs don?t port. > > Bob S > > >> On Jan 12, 2021, at 10:32 AM, chaplais via use-livecode wrote: >> >> I have gone through this too . The most difficult was the change of OS. Also, Apple had not ported MPW to the PPC, which led to the success of Metrowerks CodeWarrior. >> I stil have a compiler by them for BeOs on PPC. >> This does not really make me feel younger. >> Le 12 janv. 2021 ? 19:13 +0100, Richard Gaskin via use-livecode , a ?crit : >>> Bob Sneidar wrote: >>> >>>> Up until the time Apple decides everything has to be M1, at which >>>> support for Rosetta is withdrawn. The question is, how long do Intel >>>> apps have to live? Deja Vu all over again. (see what I did there?) >>> >>> We've been here before... >>> >>> 68k -> PPC >>> Classic -> OS X >>> PPC -> Intel >>> 32-bit -> 64-bit >>> >>> Adding: >>> Intel -> M1 >>> ...is just another day in Appleland. >>> >>> The engine has been carried forward well through all those changes, I'm >>> not worried about this latest one. >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> ____________________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee.nethery at elloco.com Tue Jan 12 18:29:42 2021 From: kee.nethery at elloco.com (kee nethery) Date: Tue, 12 Jan 2021 15:29:42 -0800 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: <7E95BFAE-F241-4043-B342-E78E5C1440A8@m-r-d.de> References: <7E8DB858-A444-4887-BEF9-698C8945E371@iotecdigital.com> <69ba76f5-b647-4a46-c681-ff82a3724786@fourthworld.com> <368192eb-1bc6-49a4-931c-55081afaf06a@Spark> <7E95BFAE-F241-4043-B342-E78E5C1440A8@m-r-d.de> Message-ID: I look forward to the day I can transition to an ARM based Mac. Those puppies are amazingly fast and it?s unlikely Windows machines will be competitive at the same price point. But ? I?ll be using my Mac Book Air for years to come, it?s only 6 years old. Kee > On Jan 12, 2021, at 2:47 PM, matthias rebbe via use-livecode wrote: > > I am afraid i am at a crossroads now. > Unfortunately prices for Mac hardware increased over the years. I will definitely not buy a M1 Mac. > I will use my iMac as long as i get updates for macOS and will then switch back completely to Windows. > Most of the software i am using is available for macOS and Windows. Okay Ulysses is one of the programs i will be definitely missing when going back to Windows. > But i am sure i will find an alternative. Maybe Obsidian, currently not as good as Ulysses, but i'll see. > > - > Matthias Rebbe > >> Am 12.01.2021 um 23:29 schrieb Bob Sneidar via use-livecode : >> >> I?ve no worries with LC. My concern is all the other apps I bought which the devs don?t port. >> >> Bob S >> >> >>> On Jan 12, 2021, at 10:32 AM, chaplais via use-livecode wrote: >>> >>> I have gone through this too . The most difficult was the change of OS. Also, Apple had not ported MPW to the PPC, which led to the success of Metrowerks CodeWarrior. >>> I stil have a compiler by them for BeOs on PPC. >>> This does not really make me feel younger. >>> Le 12 janv. 2021 ? 19:13 +0100, Richard Gaskin via use-livecode , a ?crit : >>>> Bob Sneidar wrote: >>>> >>>>> Up until the time Apple decides everything has to be M1, at which >>>>> support for Rosetta is withdrawn. The question is, how long do Intel >>>>> apps have to live? Deja Vu all over again. (see what I did there?) >>>> >>>> We've been here before... >>>> >>>> 68k -> PPC >>>> Classic -> OS X >>>> PPC -> Intel >>>> 32-bit -> 64-bit >>>> >>>> Adding: >>>> Intel -> M1 >>>> ...is just another day in Appleland. >>>> >>>> The engine has been carried forward well through all those changes, I'm >>>> not worried about this latest one. >>>> >>>> -- >>>> Richard Gaskin >>>> Fourth World Systems >>>> Software Design and Development for the Desktop, Mobile, and the Web >>>> ____________________________________________________________________ >>>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 12 18:41:37 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Tue, 12 Jan 2021 23:41:37 +0000 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: <7E95BFAE-F241-4043-B342-E78E5C1440A8@m-r-d.de> References: <7E8DB858-A444-4887-BEF9-698C8945E371@iotecdigital.com> <69ba76f5-b647-4a46-c681-ff82a3724786@fourthworld.com> <368192eb-1bc6-49a4-931c-55081afaf06a@Spark> <7E95BFAE-F241-4043-B342-E78E5C1440A8@m-r-d.de> Message-ID: The transition to AS Mac OS will be pretty seamless. XCode flags up most of the code base that needs modding. Where it might fall over for us is if we use old widgets that won't get updated for any potential MacOS code deprecations. But LC, I'm sure, will keep up-to-date (ish) as we see already. LC probably performs better than the previous Intel Mac equivalent on the newer machines. Sean Cole *Pi * On Tue, 12 Jan 2021 at 22:47, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I am afraid i am at a crossroads now. > Unfortunately prices for Mac hardware increased over the years. I will > definitely not buy a M1 Mac. > I will use my iMac as long as i get updates for macOS and will then switch > back completely to Windows. > Most of the software i am using is available for macOS and Windows. Okay > Ulysses is one of the programs i will be definitely missing when going back > to Windows. > But i am sure i will find an alternative. Maybe Obsidian, currently not as > good as Ulysses, but i'll see. > > - > Matthias Rebbe > > > Am 12.01.2021 um 23:29 schrieb Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > > > > I?ve no worries with LC. My concern is all the other apps I bought which > the devs don?t port. > > > > Bob S > > > > > >> On Jan 12, 2021, at 10:32 AM, chaplais via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I have gone through this too . The most difficult was the change of OS. > Also, Apple had not ported MPW to the PPC, which led to the success of > Metrowerks CodeWarrior. > >> I stil have a compiler by them for BeOs on PPC. > >> This does not really make me feel younger. > >> Le 12 janv. 2021 ? 19:13 +0100, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com>, a ?crit : > >>> Bob Sneidar wrote: > >>> > >>>> Up until the time Apple decides everything has to be M1, at which > >>>> support for Rosetta is withdrawn. The question is, how long do Intel > >>>> apps have to live? Deja Vu all over again. (see what I did there?) > >>> > >>> We've been here before... > >>> > >>> 68k -> PPC > >>> Classic -> OS X > >>> PPC -> Intel > >>> 32-bit -> 64-bit > >>> > >>> Adding: > >>> Intel -> M1 > >>> ...is just another day in Appleland. > >>> > >>> The engine has been carried forward well through all those changes, I'm > >>> not worried about this latest one. > >>> > >>> -- > >>> Richard Gaskin > >>> Fourth World Systems > >>> Software Design and Development for the Desktop, Mobile, and the Web > >>> ____________________________________________________________________ > >>> Ambassador at FourthWorld.com http://www.FourthWorld.com > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jbv at souslelogo.com Wed Jan 13 14:32:11 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 13 Jan 2021 14:32:11 -0500 Subject: disabling a group Message-ID: <221a78b925808058c30acfd665e9006a@souslelogo.com> Hi list, I have a group that contains various controls, including graphic objects. When I disable the group, the colors of every object becomes lighter, except for graphics whose colors remain the same. What is the best way to make colors of graphics become lighter when the group is disabled ? I tried blending, but then the portions of other controls underneath the graphic become visible... Thanks in advance. From michael-kristensen at dsa-net.dk Wed Jan 13 15:00:58 2021 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Wed, 13 Jan 2021 21:00:58 +0100 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: References: Message-ID: Richard Gaskin wrote: > We've been here before... > > 68k -> PPC > Classic -> OS X > PPC -> Intel > 32-bit -> 64-bit More form memory-land: Yesterday I downloaded SuperCard 4.8.1 Trail wich still is maintained. I was able to convert some 30 years old SC stacks so they could run again (at least for 30 days). It look exactly like when I left it for Revolution and Livecode. Richard, you might be the first person I ever emailed to, back then when we had telephone modems (krrrryyyyyzzzzqqqq) Michael From ahsoftware at sonic.net Wed Jan 13 15:34:04 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 13 Jan 2021 12:34:04 -0800 Subject: disabling a group In-Reply-To: <221a78b925808058c30acfd665e9006a@souslelogo.com> References: <221a78b925808058c30acfd665e9006a@souslelogo.com> Message-ID: <6f7b7ea5-83b9-6e58-6a54-2d6eece46672@sonic.net> On 1/13/21 11:32 AM, jbv via use-livecode wrote: > Hi list, > I have a group that contains various controls, including graphic objects. > When I disable the group, the colors of every object becomes lighter, > except for graphics whose colors remain the same. > What is the best way to make colors of graphics become lighter when the > group is disabled ? > I tried blending, but then the portions of other controls underneath the > graphic become visible... A thought: You might try overlaying the group or the graphic objects with another graphic rectangle, set the blending to make it translucent, and then toggle the visibility of said rectangular graphic. -- Mark Wieder ahsoftware at gmail.com From jbv at souslelogo.com Wed Jan 13 16:04:05 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 13 Jan 2021 16:04:05 -0500 Subject: disabling a group In-Reply-To: <6f7b7ea5-83b9-6e58-6a54-2d6eece46672@sonic.net> References: <221a78b925808058c30acfd665e9006a@souslelogo.com> <6f7b7ea5-83b9-6e58-6a54-2d6eece46672@sonic.net> Message-ID: Le 2021-01-13 15:34, Mark Wieder via use-livecode a ?crit?: > On 1/13/21 11:32 AM, jbv via use-livecode wrote: >> Hi list, >> I have a group that contains various controls, including graphic >> objects. >> When I disable the group, the colors of every object becomes lighter, >> except for graphics whose colors remain the same. >> What is the best way to make colors of graphics become lighter when >> the >> group is disabled ? >> I tried blending, but then the portions of other controls underneath >> the >> graphic become visible... > > A thought: > > You might try overlaying the group or the graphic objects with another > graphic rectangle, set the blending to make it translucent, and then > toggle the visibility of said rectangular graphic. yes, I thought of that; but since I have 20 groups on my card, it will be simpler to add a line of script and change the graphic color when toggling between enable & disable. I was just wondering if there was a secret trick to disable the graphic and make it look disabled like the rest of the group. From chipsm at themartinz.com Wed Jan 13 16:13:27 2021 From: chipsm at themartinz.com (chipsm themartinz.com) Date: Wed, 13 Jan 2021 21:13:27 +0000 Subject: disabling a group In-Reply-To: References: <221a78b925808058c30acfd665e9006a@souslelogo.com> <6f7b7ea5-83b9-6e58-6a54-2d6eece46672@sonic.net> Message-ID: I would consider creating a behavior that either hides the graphic or set the graphic to a lighter value. Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 626 6965561 -----Original Message----- From: use-livecode On Behalf Of jbv via use-livecode Sent: Wednesday, January 13, 2021 1:04 PM To: How to use LiveCode Cc: jbv at souslelogo.com Subject: Re: disabling a group Le 2021-01-13 15:34, Mark Wieder via use-livecode a ?crit?: > On 1/13/21 11:32 AM, jbv via use-livecode wrote: >> Hi list, >> I have a group that contains various controls, including graphic >> objects. >> When I disable the group, the colors of every object becomes lighter, >> except for graphics whose colors remain the same. >> What is the best way to make colors of graphics become lighter when >> the group is disabled ? >> I tried blending, but then the portions of other controls underneath >> the graphic become visible... > > A thought: > > You might try overlaying the group or the graphic objects with another > graphic rectangle, set the blending to make it translucent, and then > toggle the visibility of said rectangular graphic. yes, I thought of that; but since I have 20 groups on my card, it will be simpler to add a line of script and change the graphic color when toggling between enable & disable. I was just wondering if there was a secret trick to disable the graphic and make it look disabled like the rest of the group. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Wed Jan 13 16:15:22 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Wed, 13 Jan 2021 22:15:22 +0100 Subject: LC & Mac M1 Chip In-Reply-To: References: <502f1420-b4d0-1973-bbfa-f05d451c0e34@gmail.com> Message-ID: Stay off the fake Gouda cheese, maybe it's Chinese origin. Only take the original Dutch Gouda, which is protected by the way, although in China they don't mind that. Op zo 10 jan. 2021 om 23:36 schreef Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com>: > > JeeJeeStudio: > > > One could ask him/her-self the question if it is still ethical to > > buy a reall Mac? Seeing the child-labor in their factories in China > > is still present. > > I'm glad you went there! Thank you. I do ask myself, and the answer is > clear. Whether it's a Mac, or any other product. Same deal. > > Not to mention forced organ harvesting (often while conscious), torture, > gulags, repression (now becoming fashionable), ethnic/racial crackdowns, > thought/political/religious crackdowns, IP theft, debt traps, > poison/health risks, safety flaws, hacking and theft, credible plan for > world domination, worker hazards and living/working conditions, and the > list could go on for many pages. > > I'm typing this on a PC laptop, with a fan blowing on my face, at a > desk, sitting on a wheelchair, under a light bulb, all of which probably > have the same origin. Consumer choices are limited, but it does bother > me. There's a real need for products produced in a context where human > rights are respected. > > (I consider that human decency, not politics. And for the record, I'm > completely off cheese at the moment; developed allergic reaction to it.) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > 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 bduck at mac.com Wed Jan 13 16:51:16 2021 From: bduck at mac.com (Brian K. Duck) Date: Wed, 13 Jan 2021 16:51:16 -0500 Subject: Cmi5 eLearning Standard in LiveCode Message-ID: Hi All, I'm trying to see when we're all available for CMI5 in LiveCode Kickoff via Zoom. Please visit https://www.when2meet.com/?10704179-Y2apN to let me know when you're available. This url is for a free app called When2Meet that I just read about in TidBits?. I?ve created a login & password, and you will be prompted to as well, for THIS EVENT. Once you?ve done that, you should be able to drag on the calendar to indicate in GREEN when you are available, the we can set a time to meet in Zoom. I?ve bcc'ed everyone to also get this in your email, and to set it as a reminder, but it should also appear on the list if things go well... Thanks, Brian Duck From bobsneidar at iotecdigital.com Wed Jan 13 21:45:54 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 14 Jan 2021 02:45:54 +0000 Subject: LC & Mac M1 Chip In-Reply-To: References: <502f1420-b4d0-1973-bbfa-f05d451c0e34@gmail.com> Message-ID: <698BDBAD-156E-46FD-8970-6AA69A80F5A7@iotecdigital.com> You are new here, so I will just say that among the forbidden topics on this list, sex, politics, religion (pretty much everything that really matters in this world) is the subject of cheese. Consider yourself notified. ;-) Bob S On Jan 13, 2021, at 1:15 PM, JeeJeeStudio via use-livecode > wrote: Stay off the fake Gouda cheese, maybe it's Chinese origin. Only take the original Dutch Gouda, which is protected by the way, although in China they don't mind that. Op zo 10 jan. 2021 om 23:36 schreef Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com>: JeeJeeStudio: One could ask him/her-self the question if it is still ethical to buy a reall Mac? Seeing the child-labor in their factories in China is still present. I'm glad you went there! Thank you. I do ask myself, and the answer is clear. Whether it's a Mac, or any other product. Same deal. Not to mention forced organ harvesting (often while conscious), torture, gulags, repression (now becoming fashionable), ethnic/racial crackdowns, thought/political/religious crackdowns, IP theft, debt traps, poison/health risks, safety flaws, hacking and theft, credible plan for world domination, worker hazards and living/working conditions, and the list could go on for many pages. I'm typing this on a PC laptop, with a fan blowing on my face, at a desk, sitting on a wheelchair, under a light bulb, all of which probably have the same origin. Consumer choices are limited, but it does bother me. There's a real need for products produced in a context where human rights are respected. (I consider that human decency, not politics. And for the record, I'm completely off cheese at the moment; developed allergic reaction to it.) Best wishes, Curry Kenworthy Custom Software Development From paul at livecode.org Wed Jan 13 22:29:00 2021 From: paul at livecode.org (Paul Hibbert) Date: Wed, 13 Jan 2021 19:29:00 -0800 Subject: disabling a group In-Reply-To: References: <221a78b925808058c30acfd665e9006a@souslelogo.com> <6f7b7ea5-83b9-6e58-6a54-2d6eece46672@sonic.net> Message-ID: I have just used setProp in a behaviour button that was assigned to several groups made up of two graphic controls to represent a toggle switch. By setting one custom property the whole appearance of the group can easily be changed. I predefined the colours for each state in more custom properties, I?m sure this could be adapted to suit your case. Rather than explain everything in detail here, I have uploaded a stripped down stack to dropbox which I?m sure you could easily modify the behaviour script to change the appearance of your graphics in a similar way. If you need any more explanation, just ask, but I?m sure you will get the idea. Dropbox Link; https://www.dropbox.com/s/misiog5bwathpgy/Toggle%20Switch.livecode?dl=0 Paul > On 13Jan, 2021, at 1:04 PM, jbv via use-livecode wrote: > > Le 2021-01-13 15:34, Mark Wieder via use-livecode a ?crit : >> On 1/13/21 11:32 AM, jbv via use-livecode wrote: >>> Hi list, >>> I have a group that contains various controls, including graphic objects. >>> When I disable the group, the colors of every object becomes lighter, >>> except for graphics whose colors remain the same. >>> What is the best way to make colors of graphics become lighter when the >>> group is disabled ? >>> I tried blending, but then the portions of other controls underneath the >>> graphic become visible... >> A thought: >> You might try overlaying the group or the graphic objects with another >> graphic rectangle, set the blending to make it translucent, and then >> toggle the visibility of said rectangular graphic. > > yes, I thought of that; but since I have 20 groups on my card, it will > be simpler to add a line of script and change the graphic color when > toggling between enable & disable. > I was just wondering if there was a secret trick to disable the graphic > and make it look disabled like the rest of the group. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bduck at mac.com Thu Jan 14 03:06:52 2021 From: bduck at mac.com (Brian K. Duck) Date: Thu, 14 Jan 2021 03:06:52 -0500 Subject: LiveCode interface to SCORM /LIT Message-ID: <53B61385-29B4-49C4-B1D3-36A0B2C6E86B@mac.com> I realise this is an old thread, but there has been interest in using cmi5/xAPI as an alternative to SCORM. I would encourage anyone researching this thread to join us in the thread called... ?Cmi5 eLearning Standard in LiveCode? Check into the FREE xAPI Cohort, xapicohort.com, and use the tool mentioned below, When2Meet, to let us know when you can join a zoom. It may also be possible to build a SCORM package from LiveCode as a way to publish to a legacy LMS. Sent from my iPad, Brian > On Jan 13, 2021, at 4:51 PM, Brian K. Duck wrote: > > ?Hi All, > > I'm trying to see when we're all available for CMI5 in LiveCode Kickoff via Zoom. > > Please visit > https://www.when2meet.com/?10704179-Y2apN > to let me know when you're available. > > This url is for a free app called When2Meet that I just read about in TidBits?. > > > I?ve created a login & password, and you will be prompted to as well, for THIS EVENT. > > Once you?ve done that, you should be able to drag on the calendar to indicate in GREEN when you are available, the we can set a time to meet in Zoom. > > I?ve bcc'ed everyone to also get this in your email, and to set it as a reminder, but it should also appear on the list if things go well... > > Thanks, > Brian Duck From heather at livecode.com Thu Jan 14 04:37:57 2021 From: heather at livecode.com (Heather Laine) Date: Thu, 14 Jan 2021 09:37:57 +0000 Subject: LC & Mac M1 Chip In-Reply-To: <698BDBAD-156E-46FD-8970-6AA69A80F5A7@iotecdigital.com> References: <502f1420-b4d0-1973-bbfa-f05d451c0e34@gmail.com> <698BDBAD-156E-46FD-8970-6AA69A80F5A7@iotecdigital.com> Message-ID: <7F04CBF2-9C4C-4088-AEEF-31BBB11DB3FB@livecode.com> Did somebody say cheese?? Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 14 Jan 2021, at 02:45, Bob Sneidar via use-livecode wrote: > > You are new here, so I will just say that among the forbidden topics on this list, sex, politics, religion (pretty much everything that really matters in this world) is the subject of cheese. Consider yourself notified. ;-) > > Bob S > > > On Jan 13, 2021, at 1:15 PM, JeeJeeStudio via use-livecode > wrote: > > Stay off the fake Gouda cheese, maybe it's Chinese origin. > Only take the original Dutch Gouda, which is protected by the way, although > in China they don't mind that. > > Op zo 10 jan. 2021 om 23:36 schreef Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com>: > > > JeeJeeStudio: > > One could ask him/her-self the question if it is still ethical to > buy a reall Mac? Seeing the child-labor in their factories in China > is still present. > > I'm glad you went there! Thank you. I do ask myself, and the answer is > clear. Whether it's a Mac, or any other product. Same deal. > > Not to mention forced organ harvesting (often while conscious), torture, > gulags, repression (now becoming fashionable), ethnic/racial crackdowns, > thought/political/religious crackdowns, IP theft, debt traps, > poison/health risks, safety flaws, hacking and theft, credible plan for > world domination, worker hazards and living/working conditions, and the > list could go on for many pages. > > I'm typing this on a PC laptop, with a fan blowing on my face, at a > desk, sitting on a wheelchair, under a light bulb, all of which probably > have the same origin. Consumer choices are limited, but it does bother > me. There's a real need for products produced in a context where human > rights are respected. > > (I consider that human decency, not politics. And for the record, I'm > completely off cheese at the moment; developed allergic reaction to it.) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Thu Jan 14 04:50:40 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Thu, 14 Jan 2021 04:50:40 -0500 Subject: disabling a group In-Reply-To: References: <221a78b925808058c30acfd665e9006a@souslelogo.com> <6f7b7ea5-83b9-6e58-6a54-2d6eece46672@sonic.net> Message-ID: Hi Paul, Thank you for sharing. I think I will stick with 1 single line of script that changes the graphic color. But I still need to understand why graphics colors don't change when disabled. Le 2021-01-13 22:29, Paul Hibbert via use-livecode a ?crit?: > I have just used setProp in a behaviour button that was assigned to > several groups made up of two graphic controls to represent a toggle > switch. By setting one custom property the whole appearance of the > group can easily be changed. I predefined the colours for each state > in more custom properties, I?m sure this could be adapted to suit your > case. > > Rather than explain everything in detail here, I have uploaded a > stripped down stack to dropbox which I?m sure you could easily modify > the behaviour script to change the appearance of your graphics in a > similar way. If you need any more explanation, just ask, but I?m sure > you will get the idea. > > Dropbox Link; > https://www.dropbox.com/s/misiog5bwathpgy/Toggle%20Switch.livecode?dl=0 > > Paul > From dvglasgow at gmail.com Thu Jan 14 05:53:02 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 14 Jan 2021 10:53:02 +0000 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: References: Message-ID: I paid for the Windows version of SuperCard that was advertised in MacUser for some considerable time in the ?mid 90s. I waited, and waited, and waited?. > On 13 Jan 2021, at 8:00 pm, Michael Kristensen via use-livecode wrote: > > Richard Gaskin wrote: > >> We've been here before... >> >> 68k -> PPC >> Classic -> OS X >> PPC -> Intel >> 32-bit -> 64-bit > > > More form memory-land: > > Yesterday I downloaded SuperCard 4.8.1 Trail wich still is maintained. > > I was able to convert some 30 years old SC stacks so they could run again (at least for 30 days). > > It look exactly like when I left it for Revolution and Livecode. > > Richard, you might be the first person I ever emailed to, back then when we had telephone modems (krrrryyyyyzzzzqqqq) > > Michael > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Jan 14 09:40:33 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 14 Jan 2021 09:40:33 -0500 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: References: Message-ID: <1f5fc62d-132f-47ab-89a4-a9fd23b1ec38@researchware.com> On 1/14/2021 5:53 AM, David V Glasgow via use-livecode wrote: > I paid for the Windows version of SuperCard that was advertised in MacUser for some considerable time in the ?mid 90s. I waited, and waited, and waited?. Me too! From General.2018 at outlook.com Thu Jan 14 10:08:21 2021 From: General.2018 at outlook.com (General 2018) Date: Thu, 14 Jan 2021 15:08:21 +0000 Subject: MergExt BLE Message-ID: Hi , Have an application for IOS and started to use MergExt BLE. This is working great with livecode on finding devices , connecting and writing. I have an issue with reading , it works but missing data randomly on read. The BLE device is using Notify. In ?didupatevalueforcharactistic? values are return after writing a request. But sometimes half the response or other random results. The application needs to send a few commands each will reply with unique data. So :- Write 123 Read result and action Write 456 Read result and action and so on... I am sure this is no fault of MergBLE it just cannot find livecode doc on how to structure the data flow using MergBLE commands and Messages. Any help would be appreciated. Regards Camm From bobsneidar at iotecdigital.com Thu Jan 14 11:05:37 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 14 Jan 2021 16:05:37 +0000 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: References: Message-ID: Gawd? now that you mention it, I did too! Bob S On Jan 14, 2021, at 2:53 AM, David V Glasgow via use-livecode > wrote: I paid for the Windows version of SuperCard that was advertised in MacUser for some considerable time in the ?mid 90s. I waited, and waited, and waited?. From richmondmathewson at gmail.com Thu Jan 14 12:02:32 2021 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 14 Jan 2021 19:02:32 +0200 Subject: LC & Mac M1 Chip In-Reply-To: References: <502f1420-b4d0-1973-bbfa-f05d451c0e34@gmail.com> Message-ID: <41977419-0d41-48b7-332d-20ab5d9156ee@gmail.com> Hmm: Down our way (Bulgaria), we can buy 'Gouda' that is made in Germany, so that protection (considering Bulgaria is in the EU) looks a bit dicky. On 13.01.21 23:15, JeeJeeStudio via use-livecode wrote: > Stay off the fake Gouda cheese, maybe it's Chinese origin. > Only take the original Dutch Gouda, which is protected by the way, although > in China they don't mind that. > > Op zo 10 jan. 2021 om 23:36 schreef Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com>: > >> JeeJeeStudio: >> >> > One could ask him/her-self the question if it is still ethical to >> > buy a reall Mac? Seeing the child-labor in their factories in China >> > is still present. >> >> I'm glad you went there! Thank you. I do ask myself, and the answer is >> clear. Whether it's a Mac, or any other product. Same deal. >> >> Not to mention forced organ harvesting (often while conscious), torture, >> gulags, repression (now becoming fashionable), ethnic/racial crackdowns, >> thought/political/religious crackdowns, IP theft, debt traps, >> poison/health risks, safety flaws, hacking and theft, credible plan for >> world domination, worker hazards and living/working conditions, and the >> list could go on for many pages. >> >> I'm typing this on a PC laptop, with a fan blowing on my face, at a >> desk, sitting on a wheelchair, under a light bulb, all of which probably >> have the same origin. Consumer choices are limited, but it does bother >> me. There's a real need for products produced in a context where human >> rights are respected. >> >> (I consider that human decency, not politics. And for the record, I'm >> completely off cheese at the moment; developed allergic reaction to it.) >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> 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 From richmondmathewson at gmail.com Thu Jan 14 12:05:46 2021 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 14 Jan 2021 19:05:46 +0200 Subject: [ANN] Release 9.6.2 RC-2 In-Reply-To: References: Message-ID: Supercard is no longer very super (remember playing around with it in 1994) as it is 32-bit MacOS only. Richmond. On 14.01.21 12:53, David V Glasgow via use-livecode wrote: > I paid for the Windows version of SuperCard that was advertised in MacUser for some considerable time in the ?mid 90s. I waited, and waited, and waited?. > >> On 13 Jan 2021, at 8:00 pm, Michael Kristensen via use-livecode wrote: >> >> Richard Gaskin wrote: >> >>> We've been here before... >>> >>> 68k -> PPC >>> Classic -> OS X >>> PPC -> Intel >>> 32-bit -> 64-bit >> >> More form memory-land: >> >> Yesterday I downloaded SuperCard 4.8.1 Trail wich still is maintained. >> >> I was able to convert some 30 years old SC stacks so they could run again (at least for 30 days). >> >> It look exactly like when I left it for Revolution and Livecode. >> >> Richard, you might be the first person I ever emailed to, back then when we had telephone modems (krrrryyyyyzzzzqqqq) >> >> Michael >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Thu Jan 14 16:29:11 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Thu, 14 Jan 2021 22:29:11 +0100 Subject: LC & Mac M1 Chip In-Reply-To: <698BDBAD-156E-46FD-8970-6AA69A80F5A7@iotecdigital.com> References: <502f1420-b4d0-1973-bbfa-f05d451c0e34@gmail.com> <698BDBAD-156E-46FD-8970-6AA69A80F5A7@iotecdigital.com> Message-ID: <61244104-13b9-7a97-292d-e195ad254072@gmail.com> this cheesehead is here since 2014 ? Op 14-1-2021 om 03:45 schreef Bob Sneidar via use-livecode: > You are new here, so I will just say that among the forbidden topics on this list, sex, politics, religion (pretty much everything that really matters in this world) is the subject of cheese. Consider yourself notified. ;-) > > Bob S > > > On Jan 13, 2021, at 1:15 PM, JeeJeeStudio via use-livecode > wrote: > > Stay off the fake Gouda cheese, maybe it's Chinese origin. > Only take the original Dutch Gouda, which is protected by the way, although > in China they don't mind that. > > Op zo 10 jan. 2021 om 23:36 schreef Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com>: > > > JeeJeeStudio: > > One could ask him/her-self the question if it is still ethical to > buy a reall Mac? Seeing the child-labor in their factories in China > is still present. > > I'm glad you went there! Thank you. I do ask myself, and the answer is > clear. Whether it's a Mac, or any other product. Same deal. > > Not to mention forced organ harvesting (often while conscious), torture, > gulags, repression (now becoming fashionable), ethnic/racial crackdowns, > thought/political/religious crackdowns, IP theft, debt traps, > poison/health risks, safety flaws, hacking and theft, credible plan for > world domination, worker hazards and living/working conditions, and the > list could go on for many pages. > > I'm typing this on a PC laptop, with a fan blowing on my face, at a > desk, sitting on a wheelchair, under a light bulb, all of which probably > have the same origin. Consumer choices are limited, but it does bother > me. There's a real need for products produced in a context where human > rights are respected. > > (I consider that human decency, not politics. And for the record, I'm > completely off cheese at the moment; developed allergic reaction to it.) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Jan 14 17:31:25 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 14 Jan 2021 14:31:25 -0800 Subject: LC & Mac M1 Chip In-Reply-To: <7F04CBF2-9C4C-4088-AEEF-31BBB11DB3FB@livecode.com> References: <502f1420-b4d0-1973-bbfa-f05d451c0e34@gmail.com> <698BDBAD-156E-46FD-8970-6AA69A80F5A7@iotecdigital.com> <7F04CBF2-9C4C-4088-AEEF-31BBB11DB3FB@livecode.com> Message-ID: On 1/14/21 1:37 AM, Heather Laine via use-livecode wrote: > Did somebody say cheese?? Uh oh. Busted. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Fri Jan 15 06:01:25 2021 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 15 Jan 2021 13:01:25 +0200 Subject: LC & Mac M1 Chip In-Reply-To: <61244104-13b9-7a97-292d-e195ad254072@gmail.com> References: <502f1420-b4d0-1973-bbfa-f05d451c0e34@gmail.com> <698BDBAD-156E-46FD-8970-6AA69A80F5A7@iotecdigital.com> <61244104-13b9-7a97-292d-e195ad254072@gmail.com> Message-ID: https://www.mediastorehouse.co.uk/pimage/164/4418216/4418216_450_450_81393_0_fill_0_e37e7951f24a5587cf10b5e3ccda4347.jpg On 14.01.21 23:29, JeeJeeStudio via use-livecode wrote: > this cheesehead is here since 2014 ? > > Op 14-1-2021 om 03:45 schreef Bob Sneidar via use-livecode: >> You are new here, so I will just say that among the forbidden topics >> on this list, sex, politics, religion (pretty much everything that >> really matters in this world) is the subject of cheese. Consider >> yourself notified. ;-) >> >> Bob S >> >> >> On Jan 13, 2021, at 1:15 PM, JeeJeeStudio via use-livecode >> > >> wrote: >> >> Stay off the fake Gouda cheese, maybe it's Chinese origin. >> Only take the original Dutch Gouda, which is protected by the way, >> although >> in China they don't mind that. >> >> Op zo 10 jan. 2021 om 23:36 schreef Curry Kenworthy via use-livecode < >> use-livecode at lists.runrev.com>: >> >> >> JeeJeeStudio: >> >> One could ask him/her-self the question if it is still ethical to >> buy a reall Mac? Seeing the child-labor in their factories in China >> is still present. >> >> I'm glad you went there! Thank you. I do ask myself, and the answer is >> clear. Whether it's a Mac, or any other product. Same deal. >> >> Not to mention forced organ harvesting (often while conscious), torture, >> gulags, repression (now becoming fashionable), ethnic/racial crackdowns, >> thought/political/religious crackdowns, IP theft, debt traps, >> poison/health risks, safety flaws, hacking and theft, credible plan for >> world domination, worker hazards and living/working conditions, and the >> list could go on for many pages. >> >> I'm typing this on a PC laptop, with a fan blowing on my face, at a >> desk, sitting on a wheelchair, under a light bulb, all of which probably >> have the same origin. Consumer choices are limited, but it does bother >> me. There's a real need for products produced in a context where human >> rights are respected. >> >> (I consider that human decency, not politics. And for the record, I'm >> completely off cheese at the moment; developed allergic reaction to it.) >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Jan 15 06:37:05 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 15 Jan 2021 11:37:05 +0000 Subject: opened socket in IDE prevents script changes Message-ID: This is a strange phenomenon.I wonder if anyone else has seen this. Livecode 9.5.1 Windows 10. If a socket is opened then changes to scripts in the IDE are not applied/saved. There's no error message. It *appears* from the IDE that the changes are applied (i.e. the changes are visible in the script editor, the "apply" button indicates the script is no longer dirty). *Even if the socket is then closed and changes made this problem occurs.* There are also many crashes of the IDE in working on scripts involving sockets. It's because of these crashes that I realised changes are not applied. Once a socket has been opened/closed then in the IDE the stack cannot be closed/reopened without closing/reopening the entire IDE. Saving the stack from the message box also results in the (not really applied) changes being saved. Regards Bernard From alex at tweedly.net Fri Jan 15 07:05:59 2021 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 15 Jan 2021 12:05:59 +0000 Subject: opened socket in IDE prevents script changes In-Reply-To: References: Message-ID: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> I've not seen any such problems - though with 9.6.1 / Mac. I've spent most of the last week in the IDE, with two or more stacks open (one server, one client - occasionally multiple client stacks) so I have multiple open sockets (both 'accept'ing and 'open'ed)? almost all the time, and had no problems with IDE or script editor. (I know - that's no consolation, but I thought I'd mention it in case 9.6.1 was an option for you and might just help:-) Alex. On 15/01/2021 11:37, Bernard Devlin via use-livecode wrote: > This is a strange phenomenon.I wonder if anyone else has seen this. > > Livecode 9.5.1 Windows 10. > > If a socket is opened then changes to scripts in the IDE are not > applied/saved. There's no error message. It *appears* from the IDE that > the changes are applied (i.e. the changes are visible in the script editor, > the "apply" button indicates the script is no longer dirty). > > *Even if the socket is then closed and changes made this problem occurs.* > There are also many crashes of the IDE in working on scripts involving > sockets. It's because of these crashes that I realised changes are not > applied. > > Once a socket has been opened/closed then in the IDE the stack cannot be > closed/reopened without closing/reopening the entire IDE. Saving the stack > from the message box also results in the (not really applied) changes being > saved. > > Regards > Bernard > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Jan 15 07:21:59 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 15 Jan 2021 12:21:59 +0000 Subject: opened socket in IDE prevents script changes In-Reply-To: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> References: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> Message-ID: Thanks Alex for your quick response. I'll try with 9.6.1 on Mac. The only other difference between us is that my sockets are interacting with a process outside of LC. But I can't see why that would make a difference (particularly once I've closed all sockets, I wouldn't expect sockets to interfere with scripts being changed). Regards, Bernard On Fri, Jan 15, 2021 at 12:07 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > I've not seen any such problems - though with 9.6.1 / Mac. > > I've spent most of the last week in the IDE, with two or more stacks > open (one server, one client - occasionally multiple client stacks) so I > have multiple open sockets (both 'accept'ing and 'open'ed) almost all > the time, and had no problems with IDE or script editor. > > (I know - that's no consolation, but I thought I'd mention it in case > 9.6.1 was an option for you and might just help:-) > > From matthias_livecode_150811 at m-r-d.de Fri Jan 15 09:46:10 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 15 Jan 2021 15:46:10 +0100 Subject: opened socket in IDE prevents script changes In-Reply-To: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> References: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> Message-ID: Alex, for a new project which should include socket communication i have to prototype a short "demo" and i was already wondering if i need to have running 2 instances of the LC IDE for development. But now you wrote that you had one server and even multiple client stacks opened in LC. So do i understand it correctly that both, server and client stack, can communicate with each other using sockets in one instance of the LC IDE? Regards, Matthias > Am 15.01.2021 um 13:05 schrieb Alex Tweedly via use-livecode : > > I've not seen any such problems - though with 9.6.1 / Mac. > > I've spent most of the last week in the IDE, with two or more stacks open (one server, one client - occasionally multiple client stacks) so I have multiple open sockets (both 'accept'ing and 'open'ed) almost all the time, and had no problems with IDE or script editor. > > (I know - that's no consolation, but I thought I'd mention it in case 9.6.1 was an option for you and might just help:-) > > Alex. - Matthias Rebbe Life Is Too Short For Boring Code From bdrunrev at gmail.com Fri Jan 15 09:52:18 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 15 Jan 2021 14:52:18 +0000 Subject: opened socket in IDE prevents script changes In-Reply-To: References: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> Message-ID: "do i understand it correctly that both, server and client stack, can communicate with each other using sockets in one instance of the LC IDE" Your understanding is correct. On the other project (where I didn't have this current problem) I had half a dozen clients and 1 "server" running in the IDE. On Fri, Jan 15, 2021 at 2:47 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Alex, > for a new project which should include socket communication i have to > prototype a short "demo" and i was already wondering if i need to have > running 2 instances of the LC IDE for development. > > But now you wrote that you had one server and even multiple client stacks > opened in LC. > So do i understand it correctly that both, server and client stack, can > communicate with each other using sockets in one instance of the LC IDE? > > From matthias_livecode_150811 at m-r-d.de Fri Jan 15 10:01:54 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 15 Jan 2021 16:01:54 +0100 Subject: opened socket in IDE prevents script changes In-Reply-To: References: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> Message-ID: Bernard, thanks for clarifying. - Matthias Rebbe Life Is Too Short For Boring Code > Am 15.01.2021 um 15:52 schrieb Bernard Devlin via use-livecode : > > "do i understand it correctly that both, server and client stack, can > communicate with each other using sockets in one instance of the LC IDE" > > Your understanding is correct. On the other project (where I didn't have > this current problem) I had half a dozen clients and 1 "server" running in > the IDE. > > On Fri, Jan 15, 2021 at 2:47 PM matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Alex, >> for a new project which should include socket communication i have to >> prototype a short "demo" and i was already wondering if i need to have >> running 2 instances of the LC IDE for development. >> >> But now you wrote that you had one server and even multiple client stacks >> opened in LC. >> So do i understand it correctly that both, server and client stack, can >> communicate with each other using sockets in one instance of the LC IDE? >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bduck at mac.com Fri Jan 15 10:24:12 2021 From: bduck at mac.com (Brian K. Duck) Date: Fri, 15 Jan 2021 10:24:12 -0500 Subject: Cmi5 eLearning Standard in LiveCode In-Reply-To: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> Message-ID: <3353C0A3-F03F-441B-A83D-EFF791A5F51B@mac.com> Hello LiveCoders! We have received 5 scheduling requests via When2Meet: If you didn?t get a chance, you can still mark your times available for future meetings: https://www.when2meet.com/?10704179-Y2apN Kickoff meeting is scheduled for January 16th from 4:30 PM EST - 5:30 EST in Zoom: Topic: CMI5 in LiveCode Kickoff Zoom Meeting Time: Jan 16, 2021 04:30 PM America/Detroit Join Zoom Meeting https://us04web.zoom.us/j/76541728475?pwd=YURWMEFKWUd6Y21ybXFYakJhYUFTdz09 Meeting ID: 765 4172 8475 Passcode: Lr1SL6 My ZOOM account is free, so this session will be timed out at 40 minutes. If someone has a subscribed Zoom, or alternative, we can set followup meetings up that have a longer duration. I look forward to speaking with you tomorrow, Brian Duck From bdrunrev at gmail.com Fri Jan 15 10:30:36 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 15 Jan 2021 15:30:36 +0000 Subject: opened socket in IDE prevents script changes In-Reply-To: References: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> Message-ID: I'm seeing exactly the same range of behaviours I described earlier for 9.5.1 on Win 10 but with 9.6.1 on OS X. It's very strange that Alex is also editing scripts with sockets opened/closed but not losing changes made in the script editor. I also had 3 crashes on OS X within 30 minutes of working on this stack. Alex, are you using the IDE's script editor or some external editor? If you are using that script editor, once you've opened a socket could you add a comment to your stack script, apply, close the script editor, then edit the script again to see if the comment has persisted? I have to quit LC to make any changes to a stack once I've opened a socket. It seems to me that once a socket has been opened that the IDE is no longer persisting changes. I'm pretty sure I didn't see this behaviour on my previous project using sockets. Regards Bernard On Fri, Jan 15, 2021 at 12:21 PM Bernard Devlin wrote: > Thanks Alex for your quick response. > > I'll try with 9.6.1 on Mac. The only other difference between us is that > my sockets are interacting with a process outside of LC. But I can't see > why that would make a difference (particularly once I've closed all > sockets, I wouldn't expect sockets to interfere with scripts being > changed). > > Regards, > Bernard > > On Fri, Jan 15, 2021 at 12:07 PM Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I've not seen any such problems - though with 9.6.1 / Mac. >> >> I've spent most of the last week in the IDE, with two or more stacks >> open (one server, one client - occasionally multiple client stacks) so I >> have multiple open sockets (both 'accept'ing and 'open'ed) almost all >> the time, and had no problems with IDE or script editor. >> >> (I know - that's no consolation, but I thought I'd mention it in case >> 9.6.1 was an option for you and might just help:-) >> >> From alex at tweedly.net Fri Jan 15 11:58:21 2021 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 15 Jan 2021 16:58:21 +0000 Subject: opened socket in IDE prevents script changes In-Reply-To: References: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> Message-ID: On 15/01/2021 15:30, Bernard Devlin via use-livecode wrote: > I'm seeing exactly the same range of behaviours I described earlier for > 9.5.1 on Win 10 but with 9.6.1 on OS X. > > It's very strange that Alex is also editing scripts with sockets > opened/closed but not losing changes made in the script editor. I also had > 3 crashes on OS X within 30 minutes of working on this stack. > > Alex, are you using the IDE's script editor or some external editor? If > you are using that script editor, once you've opened a socket could you add > a comment to your stack script, apply, close the script editor, then edit > the script again to see if the comment has persisted? I have to quit LC to > make any changes to a stack once I've opened a socket. Yes, I'm using standard IDE script editor. The added comment persists, both through? "apply - close - reopen" and "apply - save stack - close editor - reopen", and to stack and card scripts. > It seems to me that once a socket has been opened that the IDE is no longer > persisting changes. I'm pretty sure I didn't see this behaviour on my > previous project using sockets. Have to ask ?- do you have any plugins that might use sockets ? ?- I'm using Indy version - let me know if you're on Community / Business and I can try that too ????? I think :-) ?- do you, or have you, used other editors / debuggers that might affect this ? ?- do you, or have you, used remote debugging ? That's all the straws I can think of for now. Alex. > Regards > Bernard > > On Fri, Jan 15, 2021 at 12:21 PM Bernard Devlin wrote: > >> Thanks Alex for your quick response. >> >> I'll try with 9.6.1 on Mac. The only other difference between us is that >> my sockets are interacting with a process outside of LC. But I can't see >> why that would make a difference (particularly once I've closed all >> sockets, I wouldn't expect sockets to interfere with scripts being >> changed). >> >> Regards, >> Bernard >> >> On Fri, Jan 15, 2021 at 12:07 PM Alex Tweedly via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> I've not seen any such problems - though with 9.6.1 / Mac. >>> >>> I've spent most of the last week in the IDE, with two or more stacks >>> open (one server, one client - occasionally multiple client stacks) so I >>> have multiple open sockets (both 'accept'ing and 'open'ed) almost all >>> the time, and had no problems with IDE or script editor. >>> >>> (I know - that's no consolation, but I thought I'd mention it in case >>> 9.6.1 was an option for you and might just help:-) >>> >>> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 15 12:22:57 2021 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 15 Jan 2021 17:22:57 +0000 Subject: opened socket in IDE prevents script changes In-Reply-To: References: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> Message-ID: <8b5f87e8-ce7f-3ade-b25a-c6c000b3e389@tweedly.net> On 15/01/2021 14:46, matthias rebbe via use-livecode wrote: > Alex, > for a new project which should include socket communication i have to prototype a short "demo" and i was already wondering if i need to have running 2 instances of the LC IDE for development. > > But now you wrote that you had one server and even multiple client stacks opened in LC. > So do i understand it correctly that both, server and client stack, can communicate with each other using sockets in one instance of the LC IDE? Yes. A couple of cautions ... ?- make sure your handlers are carefully named ??? I had a bad habit of using the same name (_gotpacket) each time I wrote a socket-handling stack, so I had 'open socket ... with message "_gotpacket" ' and then I used the same name when I wrote the server !! ?- beware "resetall". In the server stack, I do something like > ??? -- would usually do > ????? --??? resetAll > ????? -- but this causes problems with testing when you have both a client > ????? -- and a server within the IDE of Rev > ????? -- so here we will only reset those opensockets which have no > 'host' part > ????? -- intending this to be the ones which we have a current 'accept' > ????? repeat for each line tSock in the openSockets > ???????? if ":" is not in tSock then close socket tSock > ????? end repeat > and in the client stacks I do the inverse (if ":" is in tSock ...). Note this is still a problem when you have multiple client stacks in the same IDE. Finally, ?- when in doubt during testing - first reset the server, then the client. Good luck, Alex. From Bernd.Niggemann at uni-wh.de Fri Jan 15 12:27:16 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Fri, 15 Jan 2021 17:27:16 +0000 Subject: opened socket in IDE prevents script changes Message-ID: <13123863-B942-4C6D-800D-711B05EE0255@uni-wh.de> Hi Bernard, I have seen similar behavior of the apply button indicating "clean" when the script was "dirty"/had compile errors. That was without sockets. https://quality.livecode.com/show_bug.cgi?id=22555 maybe your problem is related Kind regards Bernd From matthias_livecode_150811 at m-r-d.de Fri Jan 15 12:28:42 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 15 Jan 2021 18:28:42 +0100 Subject: opened socket in IDE prevents script changes In-Reply-To: <8b5f87e8-ce7f-3ade-b25a-c6c000b3e389@tweedly.net> References: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> <8b5f87e8-ce7f-3ade-b25a-c6c000b3e389@tweedly.net> Message-ID: Thanks Alex. I will keep your advice in mind. Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 15.01.2021 um 18:22 schrieb Alex Tweedly via use-livecode : > > > On 15/01/2021 14:46, matthias rebbe via use-livecode wrote: >> Alex, >> for a new project which should include socket communication i have to prototype a short "demo" and i was already wondering if i need to have running 2 instances of the LC IDE for development. >> >> But now you wrote that you had one server and even multiple client stacks opened in LC. >> So do i understand it correctly that both, server and client stack, can communicate with each other using sockets in one instance of the LC IDE? > > Yes. A couple of cautions ... > > - make sure your handlers are carefully named > I had a bad habit of using the same name (_gotpacket) each time I wrote a socket-handling stack, > so I had 'open socket ... with message "_gotpacket" ' > and then I used the same name when I wrote the server !! > > - beware "resetall". In the server stack, I do something like > >> -- would usually do >> -- resetAll >> -- but this causes problems with testing when you have both a client >> -- and a server within the IDE of Rev >> -- so here we will only reset those opensockets which have no 'host' part >> -- intending this to be the ones which we have a current 'accept' >> repeat for each line tSock in the openSockets >> if ":" is not in tSock then close socket tSock >> end repeat >> > and in the client stacks I do the inverse (if ":" is in tSock ...). Note this is still a problem when you have multiple client stacks in the same IDE. > > Finally, > > - when in doubt during testing - first reset the server, then the client. > > > Good luck, > > 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 jeejeestudio at gmail.com Fri Jan 15 12:38:18 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 15 Jan 2021 18:38:18 +0100 Subject: LC & Mac M1 Chip In-Reply-To: References: <502f1420-b4d0-1973-bbfa-f05d451c0e34@gmail.com> <698BDBAD-156E-46FD-8970-6AA69A80F5A7@iotecdigital.com> <61244104-13b9-7a97-292d-e195ad254072@gmail.com> Message-ID: Nice find Richmond Op 15-1-2021 om 12:01 schreef Richmond via use-livecode: > https://www.mediastorehouse.co.uk/pimage/164/4418216/4418216_450_450_81393_0_fill_0_e37e7951f24a5587cf10b5e3ccda4347.jpg > > > On 14.01.21 23:29, JeeJeeStudio via use-livecode wrote: >> this cheesehead is here since 2014 ? >> >> Op 14-1-2021 om 03:45 schreef Bob Sneidar via use-livecode: >>> You are new here, so I will just say that among the forbidden topics >>> on this list, sex, politics, religion (pretty much everything that >>> really matters in this world) is the subject of cheese. Consider >>> yourself notified. ;-) >>> >>> Bob S >>> >>> >>> On Jan 13, 2021, at 1:15 PM, JeeJeeStudio via use-livecode >>> > >>> wrote: >>> >>> Stay off the fake Gouda cheese, maybe it's Chinese origin. >>> Only take the original Dutch Gouda, which is protected by the way, >>> although >>> in China they don't mind that. >>> >>> Op zo 10 jan. 2021 om 23:36 schreef Curry Kenworthy via use-livecode < >>> use-livecode at lists.runrev.com>: >>> >>> >>> JeeJeeStudio: >>> >>> One could ask him/her-self the question if it is still ethical to >>> buy a reall Mac? Seeing the child-labor in their factories in China >>> is still present. >>> >>> I'm glad you went there! Thank you. I do ask myself, and the answer is >>> clear. Whether it's a Mac, or any other product. Same deal. >>> >>> Not to mention forced organ harvesting (often while conscious), >>> torture, >>> gulags, repression (now becoming fashionable), ethnic/racial >>> crackdowns, >>> thought/political/religious crackdowns, IP theft, debt traps, >>> poison/health risks, safety flaws, hacking and theft, credible plan for >>> world domination, worker hazards and living/working conditions, and the >>> list could go on for many pages. >>> >>> I'm typing this on a PC laptop, with a fan blowing on my face, at a >>> desk, sitting on a wheelchair, under a light bulb, all of which >>> probably >>> have the same origin. Consumer choices are limited, but it does bother >>> me. There's a real need for products produced in a context where human >>> rights are respected. >>> >>> (I consider that human decency, not politics. And for the record, I'm >>> completely off cheese at the moment; developed allergic reaction to >>> it.) >>> >>> Best wishes, >>> >>> Curry Kenworthy >>> >>> Custom Software Development >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Jan 15 13:33:43 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 15 Jan 2021 13:33:43 -0500 Subject: opened socket in IDE prevents script changes In-Reply-To: References: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> Message-ID: <003001d6eb6c$f7352960$e59f7c20$@net> While debugging in the IDE(Win 10 LC 9.6.1 VM) I have a socket client(plug-in) that had an open socket to the socket server on another Win 10 PC(metal running in a Win service written in LC also). I make changes in the IDE, save the stack and then generate an Android apk and the send the apk via sockets to the server PC that actually has the device connected and the server receives and installs the apk. I have never seen any problems with losing IDE changes or any IDE stability issues while in multiple debug cycles. I have seen the stack not being dirty now and again as Bernd documented in https://quality.livecode.com/show_bug.cgi?id=22555 . I've seen this even when not doing the socket thingy. I either add/delete a space or do a ctrl s to resolve it. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From bdrunrev at gmail.com Fri Jan 15 15:22:37 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 15 Jan 2021 20:22:37 +0000 Subject: opened socket in IDE prevents script changes In-Reply-To: References: <5dfa92f4-9679-3fbf-44cc-b1caa4aebbfd@tweedly.net> Message-ID: Hi Alex - no plugins using sockets - Business 9.6.1 - no other debuggers/editors in use or used (I have crashed/restarted LC a few dozen times today) - no remote debugging This is just a plain old stack, only a mouseup in a button, everything else in the stack script. I'm going to have to look back at my previous socket project to see what I was doing there that was different. It seems to me that this is what is going on: LC loads the script & the socket interaaction makes it impossible for any script change to be applied. Feels like the engine is simply not "letting go" in order to reload the script. Very peculiar, as I would expect that closing each of the open sockets would release whatever was bound and stopping the script changes from being applied. Thanks for testing & showing that it's something idiosyncratic to me. Regards, Bernard On Fri, Jan 15, 2021 at 4:59 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > > On 15/01/2021 15:30, Bernard Devlin via use-livecode wrote: > > I'm seeing exactly the same range of behaviours I described earlier for > > 9.5.1 on Win 10 but with 9.6.1 on OS X. > > > > It's very strange that Alex is also editing scripts with sockets > > opened/closed but not losing changes made in the script editor. I also > had > > 3 crashes on OS X within 30 minutes of working on this stack. > > > > Alex, are you using the IDE's script editor or some external editor? If > > you are using that script editor, once you've opened a socket could you > add > > a comment to your stack script, apply, close the script editor, then edit > > the script again to see if the comment has persisted? I have to quit LC > to > > make any changes to a stack once I've opened a socket. > > Yes, I'm using standard IDE script editor. > > The added comment persists, both through "apply - close - reopen" and > "apply - save stack - close editor - reopen", and to stack and card > scripts. > > > It seems to me that once a socket has been opened that the IDE is no > longer > > persisting changes. I'm pretty sure I didn't see this behaviour on my > > previous project using sockets. > > Have to ask > > - do you have any plugins that might use sockets ? > > - I'm using Indy version - let me know if you're on Community / > Business and I can try that too > I think :-) > > - do you, or have you, used other editors / debuggers that might > affect this ? > > - do you, or have you, used remote debugging ? > > That's all the straws I can think of for now. > > Alex. > > > Regards > > Bernard > > > > On Fri, Jan 15, 2021 at 12:21 PM Bernard Devlin > wrote: > > > >> Thanks Alex for your quick response. > >> > >> I'll try with 9.6.1 on Mac. The only other difference between us is > that > >> my sockets are interacting with a process outside of LC. But I can't see > >> why that would make a difference (particularly once I've closed all > >> sockets, I wouldn't expect sockets to interfere with scripts being > >> changed). > >> > >> Regards, > >> Bernard > >> > >> On Fri, Jan 15, 2021 at 12:07 PM Alex Tweedly via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> I've not seen any such problems - though with 9.6.1 / Mac. > >>> > >>> I've spent most of the last week in the IDE, with two or more stacks > >>> open (one server, one client - occasionally multiple client stacks) so > I > >>> have multiple open sockets (both 'accept'ing and 'open'ed) almost all > >>> the time, and had no problems with IDE or script editor. > >>> > >>> (I know - that's no consolation, but I thought I'd mention it in case > >>> 9.6.1 was an option for you and might just help:-) > >>> > >>> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Fri Jan 15 22:56:42 2021 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 16 Jan 2021 03:56:42 +0000 Subject: mobileControlCreate (set, do, etc) Message-ID: How in this done on desktop? It takes 15 minutes to build a standalone on iOS. Do we have make adjustments the mobile controls. AND then do another standalone. This would intro a Big factor in time development. BR From marksmithhfx at gmail.com Sat Jan 16 08:10:56 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Sat, 16 Jan 2021 13:10:56 +0000 Subject: mobileControlCreate (set, do, etc) In-Reply-To: References: Message-ID: <4E5C830C-C419-46E9-B555-A17EA110FC74@gmail.com> Hi Sannyasin, Two suggestions. Could you build a small test stack to test your idea and refine it? Not sure of your hardware, but that might be faster to load than a larger, more complicated application. Also, the simulator might be another possible option to speed things up while testing? Cheers, Mark > On Jan 16, 2021, at 3:56 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > > How in this done on desktop? It takes 15 minutes to build a standalone on iOS. Do we have make adjustments the mobile controls. AND then do another standalone. > > This would intro a Big factor in time development. > > BR > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jan 16 10:10:35 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 16 Jan 2021 15:10:35 +0000 Subject: opened socket in IDE prevents script changes In-Reply-To: <13123863-B942-4C6D-800D-711B05EE0255@uni-wh.de> References: <13123863-B942-4C6D-800D-711B05EE0255@uni-wh.de> Message-ID: Hi Bernd Thanks for the suggestion. But I think the evidence points away from this. One thing I've done is - change the script (could be just addition of a comment) - copy entire script - apply & close - re-open script editor --> *change is missing* - close IDE - re-open LC - open stack script in editor - delete entire script - paste script from clipboard - apply & close - re-open script editor --> *change is now there* As soon as I open a socket, back to the situation that where script changed, apply etc. does not take. And closing all sockets does not work (although there is always one socket left open, which I believe is a socket the IDE creates in the background). I'm working on the assumption that it's something to do with the way I'm reading/writing to the socket. It's definitely strange. But if I can get to the bottom of this it will help others. The weird thing is that everything is working with the socket communications, no script or runtime errors thrown by LC, yet this working app breaks the IDE in the sense that LC is no longer a dynamic scripting environment (for me anyway). It's important to get to the bottom of this as it makes LC look bad, especially the numerous crashes, which all seem to be related to setting breakpoints in the script editor to try and get to the bottom of what was not working. At least on OSX I'm getting crash logs in the console. Strangely the crash errors are not all the same. Regards Bernard On Fri, Jan 15, 2021 at 5:28 PM Niggemann, Bernd via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Bernard, > > I have seen similar behavior of the apply button indicating "clean" when > the script was "dirty"/had compile errors. That was without sockets. > > https://quality.livecode.com/show_bug.cgi?id=22555 > > maybe your problem is related > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brian at milby7.com Sat Jan 16 10:29:43 2021 From: brian at milby7.com (Brian Milby) Date: Sat, 16 Jan 2021 10:29:43 -0500 Subject: mobileControlCreate (set, do, etc) In-Reply-To: <4E5C830C-C419-46E9-B555-A17EA110FC74@gmail.com> References: <4E5C830C-C419-46E9-B555-A17EA110FC74@gmail.com> Message-ID: <281C5D64-F16B-477F-8FEB-80771314BDDA@milby7.com> Another idea is to place a graphic where you want the object to be in the IDE so that you can ?see? it and then use the rect of the grc to set the rect of the mobile control. I will echo building a smaller test stack. My mobileDemo stack doesn?t take anywhere near that long to build. Sent from my iPhone > On Jan 16, 2021, at 8:12 AM, Mark Smith via use-livecode wrote: > > ?Hi Sannyasin, > > Two suggestions. Could you build a small test stack to test your idea and refine it? Not sure of your hardware, but that might be faster to load than a larger, more complicated application. Also, the simulator might be another possible option to speed things up while testing? > > Cheers, > Mark > > >> On Jan 16, 2021, at 3:56 AM, Sannyasin Brahmanathaswami via use-livecode wrote: >> >> How in this done on desktop? It takes 15 minutes to build a standalone on iOS. Do we have make adjustments the mobile controls. AND then do another standalone. >> >> This would intro a Big factor in time development. >> >> BR >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jan 16 11:00:58 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 16 Jan 2021 16:00:58 +0000 Subject: opened socket in IDE prevents script changes In-Reply-To: References: <13123863-B942-4C6D-800D-711B05EE0255@uni-wh.de> Message-ID: <690EA7CE-437C-4A0B-A7AB-520692C07073@iotecdigital.com> Look in the script editor breakpoints tab. If there are any there delete them. Just spitballing. Bob S On Jan 16, 2021, at 7:10 AM, Bernard Devlin via use-livecode > wrote: Hi Bernd Thanks for the suggestion. But I think the evidence points away from this. One thing I've done is - change the script (could be just addition of a comment) - copy entire script - apply & close - re-open script editor --> *change is missing* - close IDE - re-open LC - open stack script in editor - delete entire script - paste script from clipboard - apply & close - re-open script editor --> *change is now there* As soon as I open a socket, back to the situation that where script changed, apply etc. does not take. And closing all sockets does not work (although there is always one socket left open, which I believe is a socket the IDE creates in the background). I'm working on the assumption that it's something to do with the way I'm reading/writing to the socket. It's definitely strange. But if I can get to the bottom of this it will help others. The weird thing is that everything is working with the socket communications, no script or runtime errors thrown by LC, yet this working app breaks the IDE in the sense that LC is no longer a dynamic scripting environment (for me anyway). It's important to get to the bottom of this as it makes LC look bad, especially the numerous crashes, which all seem to be related to setting breakpoints in the script editor to try and get to the bottom of what was not working. At least on OSX I'm getting crash logs in the console. Strangely the crash errors are not all the same. Regards Bernard From ambassador at fourthworld.com Sat Jan 16 13:30:47 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 16 Jan 2021 10:30:47 -0800 Subject: Printing borked for LC Linux? Message-ID: <78915ce1-3458-2caa-47a1-ba9d33c2ad92@fourthworld.com> I've been printing almost exclusively to PDF for the last several years, but this morning I wanted to print to actual paper, and found that LC doesn't print from Ubuntu. There's nothing in the result after the print command, so LC thinks it's doing fine. And I can print from any other app on the same machine, just not LC. This report for Linux Mint seems perhaps relevant: https://quality.livecode.com/show_bug.cgi?id=21131 But it's from nearly three years ago - has printing been completely broken in the LC Linux engine for years and so few noticed? Any of you able to print from LC in Linux? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tom at makeshyft.com Sat Jan 16 14:31:56 2021 From: tom at makeshyft.com (Tom Glod) Date: Sat, 16 Jan 2021 14:31:56 -0500 Subject: Is there a way to manually trigger GC? Message-ID: Hi Folks, I'm finding my application does a nice job to unload data from memory, but it takes a while for that to happen. When the initial load of the application occurs, the memory consumption is quite high if there is lots of data to be loaded (1 GB+). But after a while, the used ram drops down to under 100 mb as the application run in the background, after which the application swaps is only the data I am accessing. Can I trigger that memory release manually? (Maybe its another mechanism and not GC?!) TIA Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From phil at pdslabs.net Sun Jan 17 02:12:56 2021 From: phil at pdslabs.net (Phil Davis) Date: Sat, 16 Jan 2021 23:12:56 -0800 Subject: Is there a way to manually trigger GC? In-Reply-To: References: Message-ID: <4f06c393-5af1-7025-2fc6-057c29b980ea@pdslabs.net> Hi Tom, Does hasMemory() have any effect on available memory, or does it truly just report the state of things? I wonder if there is some shell command that might help? Phil Davis On 1/16/21 11:31 AM, Tom Glod via use-livecode wrote: > Hi Folks, > > I'm finding my application does a nice job to unload data from memory, but > it takes a while for that to happen. When the initial load of the > application occurs, the memory consumption is quite high if there is lots > of data to be loaded (1 GB+). > > But after a while, the used ram drops down to under 100 mb as the > application run in the background, after which the application swaps is > only the data I am accessing. > > Can I trigger that memory release manually? (Maybe its another mechanism > and not GC?!) > > TIA > > > 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 > -- Phil Davis 503-307-4363 From harrison at all-auctions.com Sun Jan 17 12:19:08 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 17 Jan 2021 12:19:08 -0500 Subject: Is there a way to manually trigger GC? In-Reply-To: References: Message-ID: Hi Tom, Garbage Collection and releasing memory is not an easy problem to solve. It would be better to try to figure out why your application is chewing up so much memory on load. Load times can be improved by only loading in stuff that you absolutely need to access at the moment to display to your user. If you can stall loading things until idle you may be able to smooth out performance. This is usually things like trying to load tons of images all at once for a game etc. On the plus side, the fact that memory use drops down after load to under 100 mb is good. If you are using a lot of images, are they part of the stack or are you trying to load them after the program is running? Lots of things affect performance. Try to think of what might be hampering that. Good luck! Rick > On Jan 16, 2021, at 2:31 PM, Tom Glod via use-livecode wrote: > > Hi Folks, > > I'm finding my application does a nice job to unload data from memory, but > it takes a while for that to happen. When the initial load of the > application occurs, the memory consumption is quite high if there is lots > of data to be loaded (1 GB+). > > But after a while, the used ram drops down to under 100 mb as the > application run in the background, after which the application swaps is > only the data I am accessing. > > Can I trigger that memory release manually? (Maybe its another mechanism > and not GC?!) > > TIA > > > 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 tom at makeshyft.com Sun Jan 17 12:35:33 2021 From: tom at makeshyft.com (Tom Glod) Date: Sun, 17 Jan 2021 12:35:33 -0500 Subject: Is there a way to manually trigger GC? In-Reply-To: References: Message-ID: Hi Phil, that function only reports available memory. Hi Rick, My application, the Time Saver's Toolbox, has a clipboard manager, and upon loading the app, I load the existing archive of "clips" into memory. Currently for example, the app is using 37 megabytes of system ram. You are right, on-demand loading seems to be the only way i can have some control over memory consumption. Luckily I had enough foresight to keep a list of clips and their timestamp without the data, so i can load that instead of the clips. Thanks guys ... On Sun, Jan 17, 2021 at 12:20 PM Rick Harrison via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom, > > Garbage Collection and releasing memory is not an > easy problem to solve. It would be better to try to > figure out why your application is chewing up so > much memory on load. > > Load times can be improved by only loading in > stuff that you absolutely need to access at the > moment to display to your user. If you can stall > loading things until idle you may be able to smooth > out performance. This is usually things like trying > to load tons of images all at once for a game etc. > > On the plus side, the fact that memory use drops > down after load to under 100 mb is good. > > If you are using a lot of images, are they part of > the stack or are you trying to load them after the > program is running? > > Lots of things affect performance. Try to think > of what might be hampering that. > > Good luck! > > Rick > > > > > On Jan 16, 2021, at 2:31 PM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Folks, > > > > I'm finding my application does a nice job to unload data from memory, > but > > it takes a while for that to happen. When the initial load of the > > application occurs, the memory consumption is quite high if there is lots > > of data to be loaded (1 GB+). > > > > But after a while, the used ram drops down to under 100 mb as the > > application run in the background, after which the application swaps is > > only the data I am accessing. > > > > Can I trigger that memory release manually? (Maybe its another mechanism > > and not GC?!) > > > > TIA > > > > > > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From bobsneidar at iotecdigital.com Sun Jan 17 13:09:55 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 17 Jan 2021 18:09:55 +0000 Subject: Printing borked for LC Linux? In-Reply-To: <78915ce1-3458-2caa-47a1-ba9d33c2ad92@fourthworld.com> References: <78915ce1-3458-2caa-47a1-ba9d33c2ad92@fourthworld.com> Message-ID: <251E80DC-6D47-4320-871D-15478BFCD4B3@iotecdigital.com> I don?t use Linux, but the way things are going with Apple, I may consider it. Bob S On Jan 16, 2021, at 10:30 AM, Richard Gaskin via use-livecode > wrote: I've been printing almost exclusively to PDF for the last several years, but this morning I wanted to print to actual paper, and found that LC doesn't print from Ubuntu. There's nothing in the result after the print command, so LC thinks it's doing fine. And I can print from any other app on the same machine, just not LC. This report for Linux Mint seems perhaps relevant: https://quality.livecode.com/show_bug.cgi?id=21131 But it's from nearly three years ago - has printing been completely broken in the LC Linux engine for years and so few noticed? Any of you able to print from LC in Linux? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From tom at makeshyft.com Sun Jan 17 14:18:49 2021 From: tom at makeshyft.com (Tom Glod) Date: Sun, 17 Jan 2021 14:18:49 -0500 Subject: Is there a way to manually trigger GC? In-Reply-To: References: Message-ID: PS > I just remembered why I loaded it ... its to enable fast searching of past text clips. But maybe I can lazy load image clips which are the ones that take up the most amount of ram anyways. On Sun, Jan 17, 2021 at 12:35 PM Tom Glod wrote: > Hi Phil, that function only reports available memory. > > Hi Rick, > > My application, the Time Saver's Toolbox, has a clipboard manager, and > upon loading the app, I load the existing archive of "clips" into memory. > Currently for example, the app is using 37 megabytes of system ram. > You are right, on-demand loading seems to be the only way i can have some > control over memory consumption. > Luckily I had enough foresight to keep a list of clips and their timestamp > without the data, so i can load that instead of the clips. > > Thanks guys ... > > > On Sun, Jan 17, 2021 at 12:20 PM Rick Harrison via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Tom, >> >> Garbage Collection and releasing memory is not an >> easy problem to solve. It would be better to try to >> figure out why your application is chewing up so >> much memory on load. >> >> Load times can be improved by only loading in >> stuff that you absolutely need to access at the >> moment to display to your user. If you can stall >> loading things until idle you may be able to smooth >> out performance. This is usually things like trying >> to load tons of images all at once for a game etc. >> >> On the plus side, the fact that memory use drops >> down after load to under 100 mb is good. >> >> If you are using a lot of images, are they part of >> the stack or are you trying to load them after the >> program is running? >> >> Lots of things affect performance. Try to think >> of what might be hampering that. >> >> Good luck! >> >> Rick >> >> >> >> > On Jan 16, 2021, at 2:31 PM, Tom Glod via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > Hi Folks, >> > >> > I'm finding my application does a nice job to unload data from memory, >> but >> > it takes a while for that to happen. When the initial load of the >> > application occurs, the memory consumption is quite high if there is >> lots >> > of data to be loaded (1 GB+). >> > >> > But after a while, the used ram drops down to under 100 mb as the >> > application run in the background, after which the application swaps is >> > only the data I am accessing. >> > >> > Can I trigger that memory release manually? (Maybe its another mechanism >> > and not GC?!) >> > >> > TIA >> > >> > >> > 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 >> > > > -- > 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 jeejeestudio at gmail.com Sun Jan 17 16:08:28 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sun, 17 Jan 2021 22:08:28 +0100 Subject: Printing borked for LC Linux? In-Reply-To: <251E80DC-6D47-4320-871D-15478BFCD4B3@iotecdigital.com> References: <78915ce1-3458-2caa-47a1-ba9d33c2ad92@fourthworld.com> <251E80DC-6D47-4320-871D-15478BFCD4B3@iotecdigital.com> Message-ID: <89c349ad-b93d-558b-7746-f6f70b60a7f3@gmail.com> Off Topic: I have a triple boot and Ubuntu is just booting so fast, within 2 seconds i'm on the log-in. Win10 Boots faster than BigSur, but BigSur shuts down faster, Win10 is a pain in the butt when shutting down. Ubuntu is the fastest booting and shutting down. Sorry for hijacking this thread. Op 17-1-2021 om 19:09 schreef Bob Sneidar via use-livecode: > I don?t use Linux, but the way things are going with Apple, I may consider it. > > Bob S > > > On Jan 16, 2021, at 10:30 AM, Richard Gaskin via use-livecode > wrote: > > I've been printing almost exclusively to PDF for the last several years, but this morning I wanted to print to actual paper, and found that LC doesn't print from Ubuntu. > > There's nothing in the result after the print command, so LC thinks it's doing fine. > > And I can print from any other app on the same machine, just not LC. > > This report for Linux Mint seems perhaps relevant: > https://quality.livecode.com/show_bug.cgi?id=21131 > > But it's from nearly three years ago - has printing been completely broken in the LC Linux engine for years and so few noticed? > > Any of you able to print from LC in Linux? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bduck at mac.com Mon Jan 18 11:51:03 2021 From: bduck at mac.com (Brian K. Duck) Date: Mon, 18 Jan 2021 11:51:03 -0500 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> Message-ID: Hello, I have scheduled back to back meetings today at 1 PM and 2 Pm, until 2:30, for those who are able to join in zoom: #2 1/18/21 1 PM EST Topic: CMI5 in LiveCode Zoom Meeting 1 PM EST Time: Jan 18, 2021 01:00 PM America/Detroit Join Zoom Meeting https://us04web.zoom.us/j/75302230176?pwd=dk5TVkRLdWtyU0k1S1diYUpTSlc3Zz09 Meeting ID: 753 0223 0176 Passcode: Cc0az8 #3 1/18/21 2 PM EST Topic: CMI5 In LiveCode Zoom Meeting 2 PM EST Time: Jan 18, 2021 02:00 PM America/Detroit Join Zoom Meeting https://us04web.zoom.us/j/76047154315?pwd=cUd2VjVlRmd2UnpvTzE5UGdGaEdoUT09 Meeting ID: 760 4715 4315 Passcode: JG1CgZ 1 PM would be best, but I saw at least one conflict with that time. Later today, I will summarize the notes from these meetings for the list and provide xAPI, CMI5 and LRS references; as well as the gitHub URL to prior LiveCode xAPI Project for #team-MakeyMakey. General References: xAPI xAPI.com xAPICohort.com CMI5 https://aicc.github.io/CMI-5_Spec_Current/ https://aicc.github.io/CMI-5_Spec_Current/samples/ If you are interested, but unable to join these first few meeting, reply to me or the list and I?ll keep you posted... Brian Duck Bduck at Mac dot Com > On Jan 18, 2021, at 10:49 AM, David Bovill wrote: > > I?ve done some research, and it looks interesting to create a LiveCode library that would allow logging of learning events using the experience Api (xAPI). > > There are some free servers to use, and hosting our own community server would also be readable. I feel that any LiveCode developers with a focus on education would benefit from this library. > > Do we have a Zoom today Brian? > David From mkoob at rogers.com Mon Jan 18 11:58:21 2021 From: mkoob at rogers.com (Martin Koob) Date: Mon, 18 Jan 2021 11:58:21 -0500 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> Message-ID: <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> Hi. I can join the 1:00 pm or 2:00 pm meeting today depending on WiFi access. Martin Sent from my iPhone > On Jan 18, 2021, at 11:51 AM, Brian K. Duck wrote: > > Hello, > > I have scheduled back to back meetings today at 1 PM and 2 Pm, until 2:30, for those who are able to join in zoom: > > #2 1/18/21 1 PM EST > > Topic: CMI5 in LiveCode Zoom Meeting 1 PM EST > Time: Jan 18, 2021 01:00 PM America/Detroit > > Join Zoom Meeting > https://us04web.zoom.us/j/75302230176?pwd=dk5TVkRLdWtyU0k1S1diYUpTSlc3Zz09 > > Meeting ID: 753 0223 0176 > Passcode: Cc0az8 > > #3 1/18/21 2 PM EST > Topic: CMI5 In LiveCode Zoom Meeting 2 PM EST > Time: Jan 18, 2021 02:00 PM America/Detroit > > Join Zoom Meeting > https://us04web.zoom.us/j/76047154315?pwd=cUd2VjVlRmd2UnpvTzE5UGdGaEdoUT09 > > Meeting ID: 760 4715 4315 > Passcode: JG1CgZ > > 1 PM would be best, but I saw at least one conflict with that time. > > Later today, I will summarize the notes from these meetings for the list and provide xAPI, CMI5 and LRS references; as well as the gitHub URL to prior LiveCode xAPI Project for #team-MakeyMakey. > > General References: > > xAPI > > xAPI.com > > xAPICohort.com > > > CMI5 > https://aicc.github.io/CMI-5_Spec_Current/ > > > https://aicc.github.io/CMI-5_Spec_Current/samples/ > > > If you are interested, but unable to join these first few meeting, reply to me or the list and I?ll keep you posted... > > > Brian Duck > Bduck at Mac dot Com > >> On Jan 18, 2021, at 10:49 AM, David Bovill wrote: >> >> I?ve done some research, and it looks interesting to create a LiveCode library that would allow logging of learning events using the experience Api (xAPI). >> >> There are some free servers to use, and hosting our own community server would also be readable. I feel that any LiveCode developers with a focus on education would benefit from this library. >> >> Do we have a Zoom today Brian? >> David From selander at tkf.att.ne.jp Mon Jan 18 13:12:57 2021 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 19 Jan 2021 03:12:57 +0900 Subject: background images Message-ID: <6005CFA9.1030602@tkf.att.ne.jp> This is driving me nuts. Have a 'background' group with an image. If I change the filename of an image on one card, ALL the cards change to that image. Yet a field in the same group properly will take unique values for each card. I know I've done this before... what setting am I missing?? Dropbox link to test stack: https://www.dropbox.com/s/0r0ku3fw2i2pen7/test.livecode?dl=0 Any help appreciated! Tim Selander Tokyo, Japan From prothero at earthlearningsolutions.org Mon Jan 18 13:18:54 2021 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Mon, 18 Jan 2021 10:18:54 -0800 Subject: Considering work with livecode server In-Reply-To: <89c349ad-b93d-558b-7746-f6f70b60a7f3@gmail.com> References: <78915ce1-3458-2caa-47a1-ba9d33c2ad92@fourthworld.com> <251E80DC-6D47-4320-871D-15478BFCD4B3@iotecdigital.com> <89c349ad-b93d-558b-7746-f6f70b60a7f3@gmail.com> Message-ID: <9B3DE075-89A3-4C7D-AD77-429DCC0EA384@earthlearningsolutions.org> Folks: I?m considering doing some work with LiveCode server. It looks like revigniter would be a good startng place, but I have questions before I invest a lot of time in it. Can I position and drag graphic images around. For example, I?m thinking of the capability to create an image with various parts that I can click to hide and position based on mouse drags or clicks or whatever I want. It would help me a lot if I could see examples of great sites built with the livecode server. If I have to become an expert on Python or Java or javascript to do it, though, I?d pass. Basically, I?d like to see what can be done with livecode script, livecode server, and whatever html and css are required to do what I want. Beginner Python or Javascript might be ok, though. So, if anyone could post a link to a site like this, I?d very much appreciate it. Best, Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ From klaus at major-k.de Mon Jan 18 13:21:57 2021 From: klaus at major-k.de (Klaus major-k) Date: Mon, 18 Jan 2021 19:21:57 +0100 Subject: background images In-Reply-To: <6005CFA9.1030602@tkf.att.ne.jp> References: <6005CFA9.1030602@tkf.att.ne.jp> Message-ID: <401D4C42-B807-4D20-A727-76529BC68EDA@major-k.de> Hi Tim, > Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode : > > This is driving me nuts. > > Have a 'background' group with an image. If I change the filename of an image on one card, ALL the cards change to that image. Yet a field in the same group properly will take unique values for each card. > > I know I've done this before... what setting am I missing?? > Dropbox link to test stack: https://www.dropbox.com/s/0r0ku3fw2i2pen7/test.livecode?dl=0 fields can have a "sharedtext" property, so they can hold different text on each card if part of a group. Images can NOT! > Any help appreciated! > > Tim Selander > Tokyo, Japan Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From mkoob at rogers.com Mon Jan 18 13:34:41 2021 From: mkoob at rogers.com (Martin Koob) Date: Mon, 18 Jan 2021 13:34:41 -0500 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> Message-ID: Hi. Sorry I am on a train and trying to connect with my phone with cell and we are goin thru an area with 3G. If we get back to LTE territory I will try again. I did hear a bit of what David was saying about his use case with playing videos at different starting points. I am interested in seeing how xAPI and/or Cmi5 can be used to store a learning record that contains a number of video time points in a video of a student?s work including current time, start time and end time. I have the app that records this info. Next step is to create xAPI statements. Another comment I had was that in the Fall 2020 xAPI cohort I joined team #audio-video Hoping to work on this idea. This team worked on this in past cohorts so there is work we could build on if we took this on as a project. Can someone post the above to meeting chat? Hopefully I can join back in soon. If not I will watch the recording. Let me know when the next meeting is. Martin Sent from my iPhone > On Jan 18, 2021, at 11:58 AM, Martin Koob via use-livecode wrote: > > Hi. > > I can join the 1:00 pm or 2:00 pm meeting today depending on WiFi access. > > Martin > > > Sent from my iPhone > >> On Jan 18, 2021, at 11:51 AM, Brian K. Duck wrote: >> >> Hello, >> >> I have scheduled back to back meetings today at 1 PM and 2 Pm, until 2:30, for those who are able to join in zoom: >> >> #2 1/18/21 1 PM EST >> >> Topic: CMI5 in LiveCode Zoom Meeting 1 PM EST >> Time: Jan 18, 2021 01:00 PM America/Detroit >> >> Join Zoom Meeting >> https://us04web.zoom.us/j/75302230176?pwd=dk5TVkRLdWtyU0k1S1diYUpTSlc3Zz09 >> >> Meeting ID: 753 0223 0176 >> Passcode: Cc0az8 >> >> #3 1/18/21 2 PM EST >> Topic: CMI5 In LiveCode Zoom Meeting 2 PM EST >> Time: Jan 18, 2021 02:00 PM America/Detroit >> >> Join Zoom Meeting >> https://us04web.zoom.us/j/76047154315?pwd=cUd2VjVlRmd2UnpvTzE5UGdGaEdoUT09 >> >> Meeting ID: 760 4715 4315 >> Passcode: JG1CgZ >> >> 1 PM would be best, but I saw at least one conflict with that time. >> >> Later today, I will summarize the notes from these meetings for the list and provide xAPI, CMI5 and LRS references; as well as the gitHub URL to prior LiveCode xAPI Project for #team-MakeyMakey. >> >> General References: >> >> xAPI >> >> xAPI.com >> >> xAPICohort.com >> >> >> CMI5 >> https://aicc.github.io/CMI-5_Spec_Current/ >> >> >> https://aicc.github.io/CMI-5_Spec_Current/samples/ >> >> >> If you are interested, but unable to join these first few meeting, reply to me or the list and I?ll keep you posted... >> >> >> Brian Duck >> Bduck at Mac dot Com >> >>> On Jan 18, 2021, at 10:49 AM, David Bovill wrote: >>> >>> I?ve done some research, and it looks interesting to create a LiveCode library that would allow logging of learning events using the experience Api (xAPI). >>> >>> There are some free servers to use, and hosting our own community server would also be readable. I feel that any LiveCode developers with a focus on education would benefit from this library. >>> >>> Do we have a Zoom today Brian? >>> David > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Mon Jan 18 13:40:21 2021 From: david.bovill at gmail.com (David Bovill) Date: Mon, 18 Jan 2021 18:40:21 +0000 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> Message-ID: Try this Zoom: ? https://us02web.zoom.us/j/6819268068 On 18 Jan 2021, 16:51 +0000, Brian K. Duck , wrote: > Hello, > > I have scheduled back to back meetings today at 1 PM and 2 Pm, until 2:30, for those who are able to join in zoom: > > #2 1/18/21 1 PM EST > > Topic: CMI5 in LiveCode Zoom Meeting 1 PM EST > Time: Jan 18, 2021 01:00 PM America/Detroit > > Join Zoom Meeting > https://us04web.zoom.us/j/75302230176?pwd=dk5TVkRLdWtyU0k1S1diYUpTSlc3Zz09 > > Meeting ID: 753 0223 0176 > Passcode: Cc0az8 > > #3 1/18/21 2 PM EST > Topic: CMI5 In LiveCode Zoom Meeting 2 PM EST > Time: Jan 18, 2021 02:00 PM America/Detroit > > Join Zoom Meeting > https://us04web.zoom.us/j/76047154315?pwd=cUd2VjVlRmd2UnpvTzE5UGdGaEdoUT09 > > Meeting ID: 760 4715 4315 > Passcode: JG1CgZ > > 1 PM would be best, but I saw at least one conflict with that time. > > Later today, I will summarize the notes from these meetings for the list and provide xAPI, CMI5 and LRS references; as well as the gitHub URL to prior LiveCode xAPI Project for #team-MakeyMakey. > > General References: > > xAPI > > xAPI.com > > xAPICohort.com > > > CMI5 > https://aicc.github.io/CMI-5_Spec_Current/ > > > https://aicc.github.io/CMI-5_Spec_Current/samples/ > > > If you are interested, but unable to join these first few meeting, reply to me or the list and I?ll keep you posted... > > > Brian Duck > Bduck at Mac dot Com > > > On Jan 18, 2021, at 10:49 AM, David Bovill wrote: > > > > I?ve done some research, and it looks interesting to create a LiveCode library that would allow logging of learning events using the experience Api (xAPI). > > > > There are some free servers to use, and hosting our own community server would also be readable. I feel that any LiveCode developers with a focus on education would benefit from this library. > > > > Do we have a Zoom today Brian? > > David From mkoob at rogers.com Mon Jan 18 13:41:00 2021 From: mkoob at rogers.com (Martin Koob) Date: Mon, 18 Jan 2021 13:41:00 -0500 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> Message-ID: <7DB53059-0BDE-411A-87D8-E5280135D4EF@rogers.com> Hi Brian Waiting the new link. Martin Sent from my iPhone > On Jan 18, 2021, at 1:34 PM, Martin Koob via use-livecode wrote: > > Hi. > > Sorry I am on a train and trying to connect with my phone with cell and we are goin thru an area with 3G. > > If we get back to LTE territory I will try again. > > I did hear a bit of what David was saying about his use case with playing videos at different starting points. > > I am interested in seeing how xAPI and/or Cmi5 can be used to store a learning record that contains a number of video time points in a video of a student?s work including current time, start time and end time. I have the app that records this info. Next step is to create xAPI statements. > > Another comment I had was that in the Fall 2020 xAPI cohort I joined team #audio-video > Hoping to work on this idea. This team worked on this in past cohorts so there is work we could build on if we took this on as a project. > > Can someone post the above to meeting chat? > > Hopefully I can join back in soon. > > If not I will watch the recording. Let me know when the next meeting is. > > Martin > > > Sent from my iPhone > >> On Jan 18, 2021, at 11:58 AM, Martin Koob via use-livecode wrote: >> >> Hi. >> >> I can join the 1:00 pm or 2:00 pm meeting today depending on WiFi access. >> >> Martin >> >> >> Sent from my iPhone >> >>> On Jan 18, 2021, at 11:51 AM, Brian K. Duck wrote: >>> >>> Hello, >>> >>> I have scheduled back to back meetings today at 1 PM and 2 Pm, until 2:30, for those who are able to join in zoom: >>> >>> #2 1/18/21 1 PM EST >>> >>> Topic: CMI5 in LiveCode Zoom Meeting 1 PM EST >>> Time: Jan 18, 2021 01:00 PM America/Detroit >>> >>> Join Zoom Meeting >>> https://us04web.zoom.us/j/75302230176?pwd=dk5TVkRLdWtyU0k1S1diYUpTSlc3Zz09 >>> >>> Meeting ID: 753 0223 0176 >>> Passcode: Cc0az8 >>> >>> #3 1/18/21 2 PM EST >>> Topic: CMI5 In LiveCode Zoom Meeting 2 PM EST >>> Time: Jan 18, 2021 02:00 PM America/Detroit >>> >>> Join Zoom Meeting >>> https://us04web.zoom.us/j/76047154315?pwd=cUd2VjVlRmd2UnpvTzE5UGdGaEdoUT09 >>> >>> Meeting ID: 760 4715 4315 >>> Passcode: JG1CgZ >>> >>> 1 PM would be best, but I saw at least one conflict with that time. >>> >>> Later today, I will summarize the notes from these meetings for the list and provide xAPI, CMI5 and LRS references; as well as the gitHub URL to prior LiveCode xAPI Project for #team-MakeyMakey. >>> >>> General References: >>> >>> xAPI >>> >>> xAPI.com >>> >>> xAPICohort.com >>> >>> >>> CMI5 >>> https://aicc.github.io/CMI-5_Spec_Current/ >>> >>> >>> https://aicc.github.io/CMI-5_Spec_Current/samples/ >>> >>> >>> If you are interested, but unable to join these first few meeting, reply to me or the list and I?ll keep you posted... >>> >>> >>> Brian Duck >>> Bduck at Mac dot Com >>> >>>> On Jan 18, 2021, at 10:49 AM, David Bovill wrote: >>>> >>>> I?ve done some research, and it looks interesting to create a LiveCode library that would allow logging of learning events using the experience Api (xAPI). >>>> >>>> There are some free servers to use, and hosting our own community server would also be readable. I feel that any LiveCode developers with a focus on education would benefit from this library. >>>> >>>> Do we have a Zoom today Brian? >>>> David >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Mon Jan 18 13:43:04 2021 From: david.bovill at gmail.com (David Bovill) Date: Mon, 18 Jan 2021 18:43:04 +0000 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: <7DB53059-0BDE-411A-87D8-E5280135D4EF@rogers.com> References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> <7DB53059-0BDE-411A-87D8-E5280135D4EF@rogers.com> Message-ID: See the one I sent? On 18 Jan 2021, 18:42 +0000, Martin Koob via use-livecode , wrote: > Hi Brian > > Waiting the new link. > > Martin > > Sent from my iPhone > > > On Jan 18, 2021, at 1:34 PM, Martin Koob via use-livecode wrote: > > > > Hi. > > > > Sorry I am on a train and trying to connect with my phone with cell and we are goin thru an area with 3G. > > > > If we get back to LTE territory I will try again. > > > > I did hear a bit of what David was saying about his use case with playing videos at different starting points. > > > > I am interested in seeing how xAPI and/or Cmi5 can be used to store a learning record that contains a number of video time points in a video of a student?s work including current time, start time and end time. I have the app that records this info. Next step is to create xAPI statements. > > > > Another comment I had was that in the Fall 2020 xAPI cohort I joined team #audio-video > > Hoping to work on this idea. This team worked on this in past cohorts so there is work we could build on if we took this on as a project. > > > > Can someone post the above to meeting chat? > > > > Hopefully I can join back in soon. > > > > If not I will watch the recording. Let me know when the next meeting is. > > > > Martin > > > > > > Sent from my iPhone > > > > > On Jan 18, 2021, at 11:58 AM, Martin Koob via use-livecode wrote: > > > > > > Hi. > > > > > > I can join the 1:00 pm or 2:00 pm meeting today depending on WiFi access. > > > > > > Martin > > > > > > > > > Sent from my iPhone > > > > > > > On Jan 18, 2021, at 11:51 AM, Brian K. Duck wrote: > > > > > > > > Hello, > > > > > > > > I have scheduled back to back meetings today at 1 PM and 2 Pm, until 2:30, for those who are able to join in zoom: > > > > > > > > #2 1/18/21 1 PM EST > > > > > > > > Topic: CMI5 in LiveCode Zoom Meeting 1 PM EST > > > > Time: Jan 18, 2021 01:00 PM America/Detroit > > > > > > > > Join Zoom Meeting > > > > https://us04web.zoom.us/j/75302230176?pwd=dk5TVkRLdWtyU0k1S1diYUpTSlc3Zz09 > > > > > > > > Meeting ID: 753 0223 0176 > > > > Passcode: Cc0az8 > > > > > > > > #3 1/18/21 2 PM EST > > > > Topic: CMI5 In LiveCode Zoom Meeting 2 PM EST > > > > Time: Jan 18, 2021 02:00 PM America/Detroit > > > > > > > > Join Zoom Meeting > > > > https://us04web.zoom.us/j/76047154315?pwd=cUd2VjVlRmd2UnpvTzE5UGdGaEdoUT09 > > > > > > > > Meeting ID: 760 4715 4315 > > > > Passcode: JG1CgZ > > > > > > > > 1 PM would be best, but I saw at least one conflict with that time. > > > > > > > > Later today, I will summarize the notes from these meetings for the list and provide xAPI, CMI5 and LRS references; as well as the gitHub URL to prior LiveCode xAPI Project for #team-MakeyMakey. > > > > > > > > General References: > > > > > > > > xAPI > > > > > > > > xAPI.com > > > > > > > > xAPICohort.com > > > > > > > > > > > > CMI5 > > > > https://aicc.github.io/CMI-5_Spec_Current/ > > > > > > > > > > > > https://aicc.github.io/CMI-5_Spec_Current/samples/ > > > > > > > > > > > > If you are interested, but unable to join these first few meeting, reply to me or the list and I?ll keep you posted... > > > > > > > > > > > > Brian Duck > > > > Bduck at Mac dot Com > > > > > > > > > On Jan 18, 2021, at 10:49 AM, David Bovill wrote: > > > > > > > > > > I?ve done some research, and it looks interesting to create a LiveCode library that would allow logging of learning events using the experience Api (xAPI). > > > > > > > > > > There are some free servers to use, and hosting our own community server would also be readable. I feel that any LiveCode developers with a focus on education would benefit from this library. > > > > > > > > > > Do we have a Zoom today Brian? > > > > > David > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 18 13:49:04 2021 From: mkoob at rogers.com (Martin Koob) Date: Mon, 18 Jan 2021 13:49:04 -0500 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> <7DB53059-0BDE-411A-87D8-E5280135D4EF@rogers.com> Message-ID: <87E5758A-A444-4F7D-8334-D772224AA7DA@rogers.com> Hi I am back to 3G. So go on without me. It is more frustration for you than it is worth. I will watch the video. If you want to see and try my SaaS Product VideoLinkwell go to VideoLinkwell.com. Let me know when the next meeting is. Thanks. Martin Sent from my iPhone > On Jan 18, 2021, at 1:43 PM, David Bovill wrote: > > See the one I sent? >> On 18 Jan 2021, 18:42 +0000, Martin Koob via use-livecode , wrote: >> Hi Brian >> >> Waiting the new link. >> >> Martin >> >> Sent from my iPhone >> >>> On Jan 18, 2021, at 1:34 PM, Martin Koob via use-livecode wrote: >>> >>> Hi. >>> >>> Sorry I am on a train and trying to connect with my phone with cell and we are goin thru an area with 3G. >>> >>> If we get back to LTE territory I will try again. >>> >>> I did hear a bit of what David was saying about his use case with playing videos at different starting points. >>> >>> I am interested in seeing how xAPI and/or Cmi5 can be used to store a learning record that contains a number of video time points in a video of a student?s work including current time, start time and end time. I have the app that records this info. Next step is to create xAPI statements. >>> >>> Another comment I had was that in the Fall 2020 xAPI cohort I joined team #audio-video >>> Hoping to work on this idea. This team worked on this in past cohorts so there is work we could build on if we took this on as a project. >>> >>> Can someone post the above to meeting chat? >>> >>> Hopefully I can join back in soon. >>> >>> If not I will watch the recording. Let me know when the next meeting is. >>> >>> Martin >>> >>> >>> Sent from my iPhone >>> >>>> On Jan 18, 2021, at 11:58 AM, Martin Koob via use-livecode wrote: >>>> >>>> Hi. >>>> >>>> I can join the 1:00 pm or 2:00 pm meeting today depending on WiFi access. >>>> >>>> Martin >>>> >>>> >>>> Sent from my iPhone >>>> >>>>> On Jan 18, 2021, at 11:51 AM, Brian K. Duck wrote: >>>>> >>>>> Hello, >>>>> >>>>> I have scheduled back to back meetings today at 1 PM and 2 Pm, until 2:30, for those who are able to join in zoom: >>>>> >>>>> #2 1/18/21 1 PM EST >>>>> >>>>> Topic: CMI5 in LiveCode Zoom Meeting 1 PM EST >>>>> Time: Jan 18, 2021 01:00 PM America/Detroit >>>>> >>>>> Join Zoom Meeting >>>>> https://us04web.zoom.us/j/75302230176?pwd=dk5TVkRLdWtyU0k1S1diYUpTSlc3Zz09 >>>>> >>>>> Meeting ID: 753 0223 0176 >>>>> Passcode: Cc0az8 >>>>> >>>>> #3 1/18/21 2 PM EST >>>>> Topic: CMI5 In LiveCode Zoom Meeting 2 PM EST >>>>> Time: Jan 18, 2021 02:00 PM America/Detroit >>>>> >>>>> Join Zoom Meeting >>>>> https://us04web.zoom.us/j/76047154315?pwd=cUd2VjVlRmd2UnpvTzE5UGdGaEdoUT09 >>>>> >>>>> Meeting ID: 760 4715 4315 >>>>> Passcode: JG1CgZ >>>>> >>>>> 1 PM would be best, but I saw at least one conflict with that time. >>>>> >>>>> Later today, I will summarize the notes from these meetings for the list and provide xAPI, CMI5 and LRS references; as well as the gitHub URL to prior LiveCode xAPI Project for #team-MakeyMakey. >>>>> >>>>> General References: >>>>> >>>>> xAPI >>>>> >>>>> xAPI.com >>>>> >>>>> xAPICohort.com >>>>> >>>>> >>>>> CMI5 >>>>> https://aicc.github.io/CMI-5_Spec_Current/ >>>>> >>>>> >>>>> https://aicc.github.io/CMI-5_Spec_Current/samples/ >>>>> >>>>> >>>>> If you are interested, but unable to join these first few meeting, reply to me or the list and I?ll keep you posted... >>>>> >>>>> >>>>> Brian Duck >>>>> Bduck at Mac dot Com >>>>> >>>>>> On Jan 18, 2021, at 10:49 AM, David Bovill wrote: >>>>>> >>>>>> I?ve done some research, and it looks interesting to create a LiveCode library that would allow logging of learning events using the experience Api (xAPI). >>>>>> >>>>>> There are some free servers to use, and hosting our own community server would also be readable. I feel that any LiveCode developers with a focus on education would benefit from this library. >>>>>> >>>>>> Do we have a Zoom today Brian? >>>>>> David >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Mon Jan 18 13:58:49 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 18 Jan 2021 10:58:49 -0800 Subject: Printing borked for LC Linux? In-Reply-To: <78915ce1-3458-2caa-47a1-ba9d33c2ad92@fourthworld.com> References: <78915ce1-3458-2caa-47a1-ba9d33c2ad92@fourthworld.com> Message-ID: <470afbb9-4c57-7d86-e219-9320b80aadc7@sonic.net> On 1/16/21 10:30 AM, Richard Gaskin via use-livecode wrote: > Any of you able to print from LC in Linux? > You seem surprised that Yet Another Feature is broken on linux. -- Mark Wieder ahsoftware at gmail.com From dvglasgow at gmail.com Mon Jan 18 14:13:03 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Mon, 18 Jan 2021 19:13:03 +0000 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: <87E5758A-A444-4F7D-8334-D772224AA7DA@rogers.com> References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> <7DB53059-0BDE-411A-87D8-E5280135D4EF@rogers.com> <87E5758A-A444-4F7D-8334-D772224AA7DA@rogers.com> Message-ID: <6704CB74-4334-4408-A4F8-989B494AC418@gmail.com> VideoLinkwell looks like a great tool, Martin. I spend a lot of time analysing video recorded police interviews, so I I know what a huge slog it is to document what happens and at which point(s) in a video. Is there a walkthrough of features/tools? Cheers David G > On 18 Jan 2021, at 6:49 pm, Martin Koob via use-livecode wrote: > > Hi > > I am back to 3G. So go on without me. It is more frustration for you than it is worth. > > I will watch the video. > > If you want to see and try my SaaS Product VideoLinkwell go to VideoLinkwell.com. > > Let me know when the next meeting is. Thanks. > > Martin > > Sent from my iPhone > >> On Jan 18, 2021, at 1:43 PM, David Bovill wrote: From ambassador at fourthworld.com Mon Jan 18 15:28:20 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Jan 2021 12:28:20 -0800 Subject: mobileControlCreate (set, do, etc) In-Reply-To: References: Message-ID: <6b6b9258-c5fd-eff5-9cd7-45df6deb0ae2@fourthworld.com> Sannyasin Brahmanathaswami: > How in this done on desktop? It takes 15 minutes to build a standalone > on iOS. Do we have make adjustments the mobile controls. AND then do > another standalone. > > This would intro a Big factor in time development. Yes, it is. The workflow productivity LC remains unmatched for on the desktop was temporarily set aside in the race to mobile, still left as an exercise for the user to create the library needed to bring The xTalk Way back to LC development: http://lists.runrev.com/pipermail/use-livecode/2020-April/259405.html -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jan 18 15:30:24 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Jan 2021 12:30:24 -0800 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: References: Message-ID: <5b674dc9-d39d-b4df-4310-3a5fb0601442@fourthworld.com> Brian K. Duck wrote: > Later today, I will summarize the notes from these meetings for the > list and provide xAPI, CMI5 and LRS references; as well as the gitHub > URL to prior LiveCode xAPI Project for #team-MakeyMakey. Thank you. This is a very interesting project, eager to see where it goes. What is " #team-MakeyMakey"? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jan 18 15:40:49 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Jan 2021 12:40:49 -0800 Subject: Considering work with livecode server In-Reply-To: <9B3DE075-89A3-4C7D-AD77-429DCC0EA384@earthlearningsolutions.org> References: <9B3DE075-89A3-4C7D-AD77-429DCC0EA384@earthlearningsolutions.org> Message-ID: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> Bill Prothero wrote: > I?m considering doing some work with LiveCode server. ... > Can I position and drag graphic images around. For example, I?m > thinking of the capability to create an image with various parts > that I can click to hide and position based on mouse drags or > clicks or whatever I want. LC Server runs on a server, specifically as a CGI under Apache. Its role is similar to PHP and other server-side languages in allowing a developer to add custom functionality to Apache. It has no direct role in anything client-side, whether a browser or an LC app. Client software sends requests to the server, and the server sends them back to the client. The two are very separate, connected only through HTTP. If you're looking for that sort of client-side interaction, and IF you ABSOLUTELY MUST confine the experience to the browser app, your only viable option is the browser-native technology stack, JavaScript/HTML/CSS. LiveCode's HTML export aims to deliver a replacement for browser-native options, but by its nature it's well suited only fora very small number of projects. If you're looking for the benefits of lightweight delivery over HTTP, and have no requirement that you ABSOLUTELY MUST limit what you're doing to be delivered specifically inside of a browser window, the most powerful option we have is also the simplest: just download a stack within a lean standalone. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From panos.merakos at livecode.com Mon Jan 18 15:50:48 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 18 Jan 2021 22:50:48 +0200 Subject: [ANN] This Week in LiveCode 251 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #251 here: http://bit.ly/3inPtfZ This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From waprothero at gmail.com Mon Jan 18 17:20:00 2021 From: waprothero at gmail.com (William Prothero) Date: Mon, 18 Jan 2021 14:20:00 -0800 Subject: Considering work with livecode server In-Reply-To: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> Message-ID: ?Richard, I did understand that the server was pretty much like php, but I didn?t know how much beyond that it could go in terms of dynamic interaction with screen objects. The reason I wanted to look into it?s use in a browser is that for education, lower level grades use a lot of browser based materials because they don?t require kids to download apps and the most disadvantaged of kids can mostly use a browser. Also, teachers are pretty much max?d out and want to keep things the way students are accustomed. Building a single web-based app that avoids the world of all the mobile apps and desktop idiosyncrasies is attractive. My experience is that building the app in Livecode is the easy/fun part and getting it on the wide variety of platforms (Apple, windows, Chromebooks, iPads, the Android variations, etc, etc) is the time-consuming/mind-numbing challenge. I have build iOS apps and hate to spend my time fighting the deployment issues. My comments are from the perspective of a guy who is retired, enjoys building useful education tools, and gives away my creations for free to pay back the National Science Foundation for all the support I got while working. So, I?m trying to maximize my satisfaction from this hobby. I came to Livecode from Director and Shockwave. I love Livecode, but wish it could do the same in a browser that it does so well with desktop and apps. Everybody: Be Well, Be Safe, it?s been a crazy year in the US, and in the world too. Bill William Prothero https://earthlearningsolutions.org From harrison at all-auctions.com Mon Jan 18 17:53:18 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 18 Jan 2021 17:53:18 -0500 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> Message-ID: Hi Bill, If you just want to put together good-looking quick and dirty webpages that don?t need database interaction, you might want to use Apple?s Keynote software. You can put together a presentation with links from one page to another, and just export the whole thing as HTML. It works really great for what it is. Try it out! Good luck! Rick > On Jan 18, 2021, at 5:20 PM, William Prothero via use-livecode wrote: > > Richard, > I did understand that the server was pretty much like php, but I didn?t know how much beyond that it could go in terms of dynamic interaction with screen objects. > > The reason I wanted to look into it?s use in a browser is that for education, lower level grades use a lot of browser based materials because they don?t require kids to download apps and the most disadvantaged of kids can mostly use a browser. Also, teachers are pretty much max?d out and want to keep things the way students are accustomed. Building a single web-based app that avoids the world of all the mobile apps and desktop idiosyncrasies is attractive. My experience is that building the app in Livecode is the easy/fun part and getting it on the wide variety of platforms (Apple, windows, Chromebooks, iPads, the Android variations, etc, etc) is the time-consuming/mind-numbing challenge. I have build iOS apps and hate to spend my time fighting the deployment issues. > > My comments are from the perspective of a guy who is retired, enjoys building useful education tools, and gives away my creations for free to pay back the National Science Foundation for all the support I got while working. So, I?m trying to maximize my satisfaction from this hobby. > > I came to Livecode from Director and Shockwave. I love Livecode, but wish it could do the same in a browser that it does so well with desktop and apps. > > Everybody: Be Well, Be Safe, it?s been a crazy year in the US, and in the world too. > > Bill > > William Prothero > https://earthlearningsolutions.org From selander at tkf.att.ne.jp Mon Jan 18 19:44:29 2021 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 19 Jan 2021 09:44:29 +0900 Subject: background images In-Reply-To: <401D4C42-B807-4D20-A727-76529BC68EDA@major-k.de> References: <6005CFA9.1030602@tkf.att.ne.jp> <401D4C42-B807-4D20-A727-76529BC68EDA@major-k.de> Message-ID: <60062B6D.2070600@tkf.att.ne.jp> Right, which is why this is so confusing. I do not want a 'shared text' image. Each card should keep it's own unique image, but when I change the image on one card, all the cards end up with the same image. That is what I want to fix. Tim Selander On 2021.01.19 3:21, Klaus major-k via use-livecode wrote: > Hi Tim, > >> Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode : >> >> This is driving me nuts. >> >> Have a 'background' group with an image. If I change the filename of an image on one card, ALL the cards change to that image. Yet a field in the same group properly will take unique values for each card. >> >> I know I've done this before... what setting am I missing?? >> Dropbox link to test stack: https://www.dropbox.com/s/0r0ku3fw2i2pen7/test.livecode?dl=0 > > fields can have a "sharedtext" property, so they can hold different text on each card if part of a group. > Images can NOT! > >> Any help appreciated! >> >> Tim Selander >> Tokyo, Japan > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > 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 bogdanoff at me.com Mon Jan 18 20:20:30 2021 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 18 Jan 2021 17:20:30 -0800 Subject: background images In-Reply-To: <60062B6D.2070600@tkf.att.ne.jp> References: <6005CFA9.1030602@tkf.att.ne.jp> <401D4C42-B807-4D20-A727-76529BC68EDA@major-k.de> <60062B6D.2070600@tkf.att.ne.jp> Message-ID: <1065EADB-B964-4A1E-8603-C21A71DD671D@me.com> That?s where a image that is not part of the group is useful; it?s only on that card. Otherwise you would have to set the background image dynamically on preOpenCard based on stored data about that image/card combination. Peter Bogdanoff > On Jan 18, 2021, at 4:44 PM, Tim Selander via use-livecode wrote: > > Right, which is why this is so confusing. I do not want a 'shared text' image. > Each card should keep it's own unique image, but when I change the image on one card, all the cards end up with the same image. That is what I want to fix. > > Tim Selander > > On 2021.01.19 3:21, Klaus major-k via use-livecode wrote: >> Hi Tim, >> >>> Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode : >>> >>> This is driving me nuts. >>> >>> Have a 'background' group with an image. If I change the filename of an image on one card, ALL the cards change to that image. Yet a field in the same group properly will take unique values for each card. >>> >>> I know I've done this before... what setting am I missing?? >>> Dropbox link to test stack: https://www.dropbox.com/s/0r0ku3fw2i2pen7/test.livecode?dl=0 >> >> fields can have a "sharedtext" property, so they can hold different text on each card if part of a group. >> Images can NOT! >> >>> Any help appreciated! >>> >>> Tim Selander >>> Tokyo, Japan >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Jan 18 20:26:30 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Jan 2021 17:26:30 -0800 Subject: Considering work with livecode server In-Reply-To: References: Message-ID: <7c8d2df0-1a75-7ec8-dc7d-e341531c4ee9@fourthworld.com> William Prothero wrote: > Richard, > I did understand that the server was pretty much like php, but I > didn?t know how much beyond that it could go in terms of dynamic > interaction with screen objects. LC Server does have the ability to export graphics, but being at the far end of an HTTP connection it's not quite what you're looking for. As for client-side option: > The reason I wanted to look into it?s use in a browser is that for > education, lower level grades use a lot of browser based materials > because they don?t require kids to download apps and the most > disadvantaged of kids can mostly use a browser. Also, teachers are > pretty much max?d out and want to keep things the way students are > accustomed. Building a single web-based app that avoids the world of > all the mobile apps and desktop idiosyncrasies is attractive. Yeah, it's a funny thing I see as you do, but can't quite wrap my head around: On mobile devices, it's all "No, it can't be in a browser, it MUST be a native app!" But then with a larger screen it's somehow "No, it can't be a native app, it MUST be in a browser!" :) These days I tend to consider browser first, looking at native apps (desktop or mobile both) only when there's some solid reason not to use a browser. But there are many reasons, and for most of the last several years just about everything I make is a slim standalone that pulls stuff down from web servers, so for the small cost of a one-time install the user always has the latest and greatest without ever having to think about it again. > My experience is that building the app in Livecode is the easy/fun > part and getting it on the wide variety of platforms (Apple, windows, > Chromebooks, iPads, the Android variations, etc, etc) is the time- > consuming/mind-numbing challenge. I have build iOS apps and hate to > spend my time fighting the deployment issues. If you need platform coverage that broad your options are narrow. The design requirements for such a range of screen sizes require a deep re-think for most UI layouts, something that CSS is designed to handle but little else is. > My comments are from the perspective of a guy who is retired, enjoys > building useful education tools, and gives away my creations for free > to pay back the National Science Foundation for all the support I got > while working. So, I?m trying to maximize my satisfaction from this > hobby. > > I came to Livecode from Director and Shockwave. I love Livecode, but > wish it could do the same in a browser that it does so well with > desktop and apps. If you're not bound to market expectations you may be able to call the shots. Do what you want, and if people's preoccupations prevent them from enjoying it their loss. :) Browsers are DEEPLY, VASTLY different from native apps. Born for trading research papers with everything else we enjoy grafted on after the fact, browsers handle content with a built-in reflow logic that no authoring environment for desktop can or even should be expected to match, any more than we bite into an apple expecting it to taste like an orange. A small subset of things can port nicely, and my preferred way of working is authoring with custom LC tools and generating web-ready HTML from those. If the only interaction you need is hiding/showing things and maybe a few other things, it would be fairly straightforward to write library in LC and a matching library in JavaScript, so you can author away to your heart's content by just setting properties, and the interaction behavior carries over nicely from your desktop authoring to the browser viewing. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From selander at tkf.att.ne.jp Mon Jan 18 20:59:51 2021 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 19 Jan 2021 10:59:51 +0900 Subject: background images In-Reply-To: <1065EADB-B964-4A1E-8603-C21A71DD671D@me.com> References: <6005CFA9.1030602@tkf.att.ne.jp> <401D4C42-B807-4D20-A727-76529BC68EDA@major-k.de> <60062B6D.2070600@tkf.att.ne.jp> <1065EADB-B964-4A1E-8603-C21A71DD671D@me.com> Message-ID: <60063D17.5090103@tkf.att.ne.jp> Thanks, Peter. I added a little opencard script to load the image for each card, which is fine and solves the immediate problem. But I was quite certain that in the past, I had a stack, with an image control in a background that would keep a unique image for each card without scripting. I must be dreaming/getting forgetful in my old age! Tim Selander On 2021.01.19 10:20, Peter Bogdanoff via use-livecode wrote: > That?s where a image that is not part of the group is useful; it?s only on that card. Otherwise you would have to set the background image dynamically on preOpenCard based on stored data about that image/card combination. > > Peter Bogdanoff > >> On Jan 18, 2021, at 4:44 PM, Tim Selander via use-livecode wrote: >> >> Right, which is why this is so confusing. I do not want a 'shared text' image. >> Each card should keep it's own unique image, but when I change the image on one card, all the cards end up with the same image. That is what I want to fix. >> >> Tim Selander >> >> On 2021.01.19 3:21, Klaus major-k via use-livecode wrote: >>> Hi Tim, >>> >>>> Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode : >>>> >>>> This is driving me nuts. >>>> >>>> Have a 'background' group with an image. If I change the filename of an image on one card, ALL the cards change to that image. Yet a field in the same group properly will take unique values for each card. >>>> >>>> I know I've done this before... what setting am I missing?? >>>> Dropbox link to test stack: https://www.dropbox.com/s/0r0ku3fw2i2pen7/test.livecode?dl=0 >>> >>> fields can have a "sharedtext" property, so they can hold different text on each card if part of a group. >>> Images can NOT! >>> >>>> Any help appreciated! >>>> >>>> Tim Selander >>>> Tokyo, Japan >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jan 18 21:05:01 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 18 Jan 2021 18:05:01 -0800 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> Message-ID: <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> On 1/18/21 2:20 PM, William Prothero via use-livecode wrote: > Building a single web-based app that avoids the world of all the mobile apps and desktop idiosyncrasies is attractive. I thought mobile stores (Apple, etc) explicitly disallowed apps that were essentially just web browsers to external content. Am I wrong about this? -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Jan 18 23:42:32 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Jan 2021 22:42:32 -0600 Subject: Considering work with livecode server In-Reply-To: <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> Message-ID: <17718f392c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's right. Apps that are just portals to web content are forbidden. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 18, 2021 8:07:08 PM Mark Wieder via use-livecode wrote: > On 1/18/21 2:20 PM, William Prothero via use-livecode wrote: > >> Building a single web-based app that avoids the world of all the mobile >> apps and desktop idiosyncrasies is attractive. > > I thought mobile stores (Apple, etc) explicitly disallowed apps that > were essentially just web browsers to external content. > > Am I wrong about this? > > -- > 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 jacque at hyperactivesw.com Mon Jan 18 23:45:25 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Jan 2021 22:45:25 -0600 Subject: background images In-Reply-To: <60063D17.5090103@tkf.att.ne.jp> References: <6005CFA9.1030602@tkf.att.ne.jp> <401D4C42-B807-4D20-A727-76529BC68EDA@major-k.de> <60062B6D.2070600@tkf.att.ne.jp> <1065EADB-B964-4A1E-8603-C21A71DD671D@me.com> <60063D17.5090103@tkf.att.ne.jp> Message-ID: <17718f63688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's what I do too. Each card has a custom property containing the name of the image that loads in preopencard. You may be remembering shared fields which can contain different text per card even if they're part of a group. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 18, 2021 8:02:06 PM Tim Selander via use-livecode wrote: > Thanks, Peter. > > I added a little opencard script to load the image for each card, > which is fine and solves the immediate problem. > But I was quite certain that in the past, I had a stack, with an > image control in a background that would keep a unique image for > each card without scripting. I must be dreaming/getting forgetful > in my old age! > > Tim Selander > > On 2021.01.19 10:20, Peter Bogdanoff via use-livecode wrote: >> That?s where a image that is not part of the group is useful; it?s only on >> that card. Otherwise you would have to set the background image dynamically >> on preOpenCard based on stored data about that image/card combination. >> >> Peter Bogdanoff >> >>> On Jan 18, 2021, at 4:44 PM, Tim Selander via use-livecode >>> wrote: >>> >>> Right, which is why this is so confusing. I do not want a 'shared text' image. >>> Each card should keep it's own unique image, but when I change the image on >>> one card, all the cards end up with the same image. That is what I want to fix. >>> >>> Tim Selander >>> >>> On 2021.01.19 3:21, Klaus major-k via use-livecode wrote: >>>> Hi Tim, >>>> >>>>> Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode >>>>> : >>>>> >>>>> This is driving me nuts. >>>>> >>>>> Have a 'background' group with an image. If I change the filename of an >>>>> image on one card, ALL the cards change to that image. Yet a field in the >>>>> same group properly will take unique values for each card. >>>>> >>>>> I know I've done this before... what setting am I missing?? >>>>> Dropbox link to test stack: >>>>> https://www.dropbox.com/s/0r0ku3fw2i2pen7/test.livecode?dl=0 >>>> >>>> fields can have a "sharedtext" property, so they can hold different text on >>>> each card if part of a group. >>>> Images can NOT! >>>> >>>>> Any help appreciated! >>>>> >>>>> Tim Selander >>>>> Tokyo, Japan >>>> >>>> Best >>>> >>>> Klaus >>>> >>>> -- >>>> Klaus Major >>>> https://www.major-k.de >>>> klaus at major-k.de >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ludovic.thebault at laposte.net Tue Jan 19 01:28:20 2021 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Tue, 19 Jan 2021 07:28:20 +0100 Subject: Swipe gesture script on datagrid Message-ID: Hello, How edit the script of a swipe gesture control ? I want to add two buttons to the right swipe control, it?s ok for appearance but I cannot find where to edit the script. Is it even possible? PS : i have datagrid helper plugin 2.5. Thanks ! From ludovic.thebault at laposte.net Tue Jan 19 01:39:44 2021 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Tue, 19 Jan 2021 07:39:44 +0100 Subject: Swipe gesture script on datagrid In-Reply-To: References: Message-ID: > Le 19 janv. 2021 ? 07:28, Ludovic THEBAULT a ?crit : > > Hello, > > How edit the script of a swipe gesture control ? > I want to add two buttons to the right swipe control, it?s ok for appearance but I cannot find where to edit the script. > > Is it even possible? I dug into the dictionary and found : RowRightSwipeControlClicked From phil at pdslabs.net Tue Jan 19 02:37:40 2021 From: phil at pdslabs.net (Phil Davis) Date: Mon, 18 Jan 2021 23:37:40 -0800 Subject: Swipe gesture script on datagrid In-Reply-To: References: Message-ID: <01ce635e-cc52-7eb0-b619-e9d25c7e26b3@pdslabs.net> Would the dgProp["left swipe control"] of grp "yourDG" help? At least that might let you change the default trash can to some other control (maybe to a group that contains your 2 buttons?). If you get that far, maybe the message path of your 2 buttons would go through the DG template row behavior script. I don't know for sure but that would be my first guess. Phil Davis On 1/18/21 10:28 PM, Ludovic THEBAULT via use-livecode wrote: > Hello, > > How edit the script of a swipe gesture control ? > I want to add two buttons to the right swipe control, it?s ok for appearance but I cannot find where to edit the script. > > Is it even possible? > > PS : i have datagrid helper plugin 2.5. > > Thanks ! > _______________________________________________ > use-livecode mailing list > use-livecode 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 richmondmathewson at gmail.com Tue Jan 19 04:47:25 2021 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 19 Jan 2021 11:47:25 +0200 Subject: background images In-Reply-To: <60062B6D.2070600@tkf.att.ne.jp> References: <6005CFA9.1030602@tkf.att.ne.jp> <401D4C42-B807-4D20-A727-76529BC68EDA@major-k.de> <60062B6D.2070600@tkf.att.ne.jp> Message-ID: <1d0e2db7-cb33-307a-95b0-1fbc4c4b22d0@gmail.com> Just import an image for a card and set its level to 1: no 'nonsense' about background images at all. Richmond. On 19.01.21 2:44, Tim Selander via use-livecode wrote: > Right, which is why this is so confusing. I do not want a 'shared > text' image. > Each card should keep it's own unique image, but when I change the > image on one card, all the cards end up with the same image. That is > what I want to fix. > > Tim Selander > > On 2021.01.19 3:21, Klaus major-k via use-livecode wrote: >> Hi Tim, >> >>> Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode >>> : >>> >>> This is driving me nuts. >>> >>> Have a 'background' group with an image. If I change the filename of >>> an image on one card, ALL the cards change to that image. Yet a >>> field in the same group properly will take unique values for each card. >>> >>> I know I've done this before... what setting am I missing?? >>> Dropbox link to test stack: >>> https://www.dropbox.com/s/0r0ku3fw2i2pen7/test.livecode?dl=0 >> >> fields can have a "sharedtext" property, so they can hold different >> text on each card if part of a group. >> Images can NOT! >> >>> Any help appreciated! >>> >>> Tim Selander >>> Tokyo, Japan >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Tue Jan 19 08:49:14 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 19 Jan 2021 13:49:14 +0000 Subject: Considering work with livecode server In-Reply-To: <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> Message-ID: But apps that are browsers to bundled content are OK. That is how you get Apache Cordova and Phonegap to work. On Tue, 19 Jan 2021 at 02:06, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 1/18/21 2:20 PM, William Prothero via use-livecode wrote: > > > Building a single web-based app that avoids the world of all the mobile > apps and desktop idiosyncrasies is attractive. > > I thought mobile stores (Apple, etc) explicitly disallowed apps that > were essentially just web browsers to external content. > > Am I wrong about this? > > -- > 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 > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From andre at andregarzia.com Tue Jan 19 08:56:49 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 19 Jan 2021 13:56:49 +0000 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> Message-ID: Bill, Let me second what Richard said, you'd be better served by building desktop stack apps than by building web apps. There is no silver bullet for doing web work, there is no magical technology that makes it as easy as LC. The Web is a design by committee with various multi-billion companies doing power plays around it. To be effective on the web, you need to learn HTML, CSS, and JS. You don't need to be an expert, but you need to learn up to some intermediate level to do the kind of interactions you are talking about. The web has quirks and some anachronisms in it but that is because it can't afford to break compatibility with itself. A website from 1995 needs to be just as valid to the browser as one from 2021. What this means is that there are still people programming the web as if it still is 1995, so the quality of material you find online varies a lot. I'm happy that I know it well but when I need some app on my day to day work, I will more often turn to LC than building a web solution. You can build richer experiences more easily by using LC and shipping a loader standalone than by using LC server without knowing JS. Kind regards a On Tue, 19 Jan 2021 at 13:49, Andre Garzia wrote: > But apps that are browsers to bundled content are OK. That is how you get > Apache Cordova and Phonegap to work. > > On Tue, 19 Jan 2021 at 02:06, Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 1/18/21 2:20 PM, William Prothero via use-livecode wrote: >> >> > Building a single web-based app that avoids the world of all the mobile >> apps and desktop idiosyncrasies is attractive. >> >> I thought mobile stores (Apple, etc) explicitly disallowed apps that >> were essentially just web browsers to external content. >> >> Am I wrong about this? >> >> -- >> 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 >> > > > -- > https://www.andregarzia.com > Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From bryan at exnihilo-media.com Tue Jan 19 09:30:14 2021 From: bryan at exnihilo-media.com (Bryan Anderson) Date: Tue, 19 Jan 2021 09:30:14 -0500 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> Message-ID: <1D75608E-92D2-49AC-BB18-1DFEF21551CA@exnihilo-media.com> Hey everyone. I got buried yesterday and missed the meeting. Apologies. Was it recorded? Very interested in this. Bryan Anderson exnihilo-media.com > On Jan 18, 2021, at 1:34 PM, Martin Koob via use-livecode wrote: > > Hi. > > Sorry I am on a train and trying to connect with my phone with cell and we are goin thru an area with 3G. > > If we get back to LTE territory I will try again. > > I did hear a bit of what David was saying about his use case with playing videos at different starting points. > > I am interested in seeing how xAPI and/or Cmi5 can be used to store a learning record that contains a number of video time points in a video of a student?s work including current time, start time and end time. I have the app that records this info. Next step is to create xAPI statements. > > Another comment I had was that in the Fall 2020 xAPI cohort I joined team #audio-video > Hoping to work on this idea. This team worked on this in past cohorts so there is work we could build on if we took this on as a project. > > Can someone post the above to meeting chat? > > Hopefully I can join back in soon. > > If not I will watch the recording. Let me know when the next meeting is. > > Martin > > > Sent from my iPhone > >> On Jan 18, 2021, at 11:58 AM, Martin Koob via use-livecode wrote: >> >> Hi. >> >> I can join the 1:00 pm or 2:00 pm meeting today depending on WiFi access. >> >> Martin >> >> >> Sent from my iPhone >> >>> On Jan 18, 2021, at 11:51 AM, Brian K. Duck wrote: >>> >>> Hello, >>> >>> I have scheduled back to back meetings today at 1 PM and 2 Pm, until 2:30, for those who are able to join in zoom: >>> >>> #2 1/18/21 1 PM EST >>> >>> Topic: CMI5 in LiveCode Zoom Meeting 1 PM EST >>> Time: Jan 18, 2021 01:00 PM America/Detroit >>> >>> Join Zoom Meeting >>> https://us04web.zoom.us/j/75302230176?pwd=dk5TVkRLdWtyU0k1S1diYUpTSlc3Zz09 >>> >>> Meeting ID: 753 0223 0176 >>> Passcode: Cc0az8 >>> >>> #3 1/18/21 2 PM EST >>> Topic: CMI5 In LiveCode Zoom Meeting 2 PM EST >>> Time: Jan 18, 2021 02:00 PM America/Detroit >>> >>> Join Zoom Meeting >>> https://us04web.zoom.us/j/76047154315?pwd=cUd2VjVlRmd2UnpvTzE5UGdGaEdoUT09 >>> >>> Meeting ID: 760 4715 4315 >>> Passcode: JG1CgZ >>> >>> 1 PM would be best, but I saw at least one conflict with that time. >>> >>> Later today, I will summarize the notes from these meetings for the list and provide xAPI, CMI5 and LRS references; as well as the gitHub URL to prior LiveCode xAPI Project for #team-MakeyMakey. >>> >>> General References: >>> >>> xAPI >>> >>> xAPI.com >>> >>> xAPICohort.com >>> >>> >>> CMI5 >>> https://aicc.github.io/CMI-5_Spec_Current/ >>> >>> >>> https://aicc.github.io/CMI-5_Spec_Current/samples/ >>> >>> >>> If you are interested, but unable to join these first few meeting, reply to me or the list and I?ll keep you posted... >>> >>> >>> Brian Duck >>> Bduck at Mac dot Com >>> >>>> On Jan 18, 2021, at 10:49 AM, David Bovill wrote: >>>> >>>> I?ve done some research, and it looks interesting to create a LiveCode library that would allow logging of learning events using the experience Api (xAPI). >>>> >>>> There are some free servers to use, and hosting our own community server would also be readable. I feel that any LiveCode developers with a focus on education would benefit from this library. >>>> >>>> Do we have a Zoom today Brian? >>>> David >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Jan 19 10:33:53 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Jan 2021 07:33:53 -0800 Subject: Considering work with livecode server In-Reply-To: References: Message-ID: Andre Garzia wrote: > But apps that are browsers to bundled content are OK. That is how you > get Apache Cordova and Phonegap to work. > > On Tue, 19 Jan 2021 at 02:06, Mark Wieder wrote: >> >>> On 1/18/21 2:20 PM, William Prothero via use-livecode wrote: >>> Building a single web-based app that avoids the world of all >> the mobile apps and desktop idiosyncrasies is attractive. >> >> I thought mobile stores (Apple, etc) explicitly disallowed apps that >> were essentially just web browsers to external content. Roger that, Andre. Apple's emphasis has to do with the user experience, rather than the technical means by which that experience is derived. What they want to avoid is an app that could just as easily have been a web site. It's one of the few areas in which Apple (or any of the Big Five) support the Open Web. Indeed, even in their most draconian moment, the infamous-and-ultimately-backpedaled debacle with iOS SDK v4,0 Section 3.3.1 mess of 2010, they explicitly blessed JavaScript frameworks as a tech stack for deploying native iOS apps. In this case here, I believe Bill was looking to bypass self-appointed gatekeepers altogether, using "web app" to refer to the Open Web, beyond the control of FAANG. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From marksmithhfx at gmail.com Tue Jan 19 10:58:43 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 19 Jan 2021 15:58:43 +0000 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> Message-ID: <9D86049B-90E6-4503-8314-FB45F3B46A16@gmail.com> Hi Andre, how are ?apps to bundled content? different from ?apps that are portals to web content" (Jacque?s description)? Or put another way, if someone wanted to design a tourist app that highlighted interesting local tourist destinations near them with a link you can click on to purchase tickets or book reservations etc, would that violate Apple?s guidelines? Asking for a friend :) Cheers, Mark > On Jan 19, 2021, at 1:49 PM, Andre Garzia via use-livecode wrote: > > But apps that are browsers to bundled content are OK. That is how you get > Apache Cordova and Phonegap to work. > > On Tue, 19 Jan 2021 at 02:06, Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 1/18/21 2:20 PM, William Prothero via use-livecode wrote: >> >>> Building a single web-based app that avoids the world of all the mobile >> apps and desktop idiosyncrasies is attractive. >> >> I thought mobile stores (Apple, etc) explicitly disallowed apps that >> were essentially just web browsers to external content. >> >> Am I wrong about this? >> >> -- >> 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 >> > > > -- > 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 ludovic.thebault at laposte.net Tue Jan 19 11:02:20 2021 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Tue, 19 Jan 2021 17:02:20 +0100 Subject: Swipe gesture script on datagrid In-Reply-To: <01ce635e-cc52-7eb0-b619-e9d25c7e26b3@pdslabs.net> References: <01ce635e-cc52-7eb0-b619-e9d25c7e26b3@pdslabs.net> Message-ID: > Le 19 janv. 2021 ? 08:37, Phil Davis via use-livecode a ?crit : > > Would the dgProp["left swipe control"] of grp "yourDG" help? At least that might let you change the default trash can to some other control (maybe to a group that contains your 2 buttons?). If you get that far, maybe the message path of your 2 buttons would go through the DG template row behavior script. I don't know for sure but that would be my first guess. > > Thanks. I add this script in each button of the ?right swipe ? template : on mouseup set the idBtn of grp ? data grid ? to the long id of me pass mouseup end mouseup And in the behavior script of the grp ? data grid ? : on RowRightSwipeControlClicked pTarget // just to verify if it?s work put ptarget & cr & the idBtn of grp ? data grid ? into msg end RowRightSwipeControlClicked And it seem to work ! Ludovic From jmac at consensustech.com Tue Jan 19 11:11:54 2021 From: jmac at consensustech.com (Jim At Consensus) Date: Tue, 19 Jan 2021 08:11:54 -0800 Subject: background images In-Reply-To: <1d0e2db7-cb33-307a-95b0-1fbc4c4b22d0@gmail.com> References: <1d0e2db7-cb33-307a-95b0-1fbc4c4b22d0@gmail.com> Message-ID: I usually use the preOpenCard approach with background images but have occasionally wanted to have a set of images on individual cards that do not change dynamically over time. In that case I?ve used an image that was NOT part of the background group. To create a new card (with a new image), I use ?clone card? rather than new card. The image is created on the new card but is an individual image. I assign it a new file name and it doesn?t affect anything else. The best approach really depends on you use case. Not sure which is more efficient. Storing images separately and loading on preOpenCard or having them preloaded on individual cards.... would guess the former if the stack starts with only a few images. Sent from my iPhone Please excuse brevity, typos and errors > On Jan 19, 2021, at 1:49 AM, Richmond via use-livecode wrote: > > ?Just import an image for a card and set its level to 1: no 'nonsense' about > background images at all. > > Richmond. > >> On 19.01.21 2:44, Tim Selander via use-livecode wrote: >> Right, which is why this is so confusing. I do not want a 'shared text' image. >> Each card should keep it's own unique image, but when I change the image on one card, all the cards end up with the same image. That is what I want to fix. >> >> Tim Selander >> >>> On 2021.01.19 3:21, Klaus major-k via use-livecode wrote: >>> Hi Tim, >>> >>>> Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode : >>>> >>>> This is driving me nuts. >>>> >>>> Have a 'background' group with an image. If I change the filename of an image on one card, ALL the cards change to that image. Yet a field in the same group properly will take unique values for each card. >>>> >>>> I know I've done this before... what setting am I missing?? >>>> Dropbox link to test stack: https://www.dropbox.com/s/0r0ku3fw2i2pen7/test.livecode?dl=0 >>> >>> fields can have a "sharedtext" property, so they can hold different text on each card if part of a group. >>> Images can NOT! >>> >>>> Any help appreciated! >>>> >>>> Tim Selander >>>> Tokyo, Japan >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Tue Jan 19 11:18:41 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 19 Jan 2021 16:18:41 +0000 Subject: Swipe gesture script on datagrid In-Reply-To: <01ce635e-cc52-7eb0-b619-e9d25c7e26b3@pdslabs.net> References: <01ce635e-cc52-7eb0-b619-e9d25c7e26b3@pdslabs.net> Message-ID: <5AB4F8FB-F28A-499F-B0F5-0A57CB4B3EAF@gmail.com> Yes, that?s how it?s done. And then in your row behavior script respond to on EditModeActionControlClicked pTarget with pTarget containing the short name of your action control button. > On Jan 19, 2021, at 7:37 AM, Phil Davis via use-livecode wrote: > > Would the dgProp["left swipe control"] of grp "yourDG" help? At least that might let you change the default trash can to some other control (maybe to a group that contains your 2 buttons?). If you get that far, maybe the message path of your 2 buttons would go through the DG template row behavior script. I don't know for sure but that would be my first guess. > > Phil Davis > > > On 1/18/21 10:28 PM, Ludovic THEBAULT via use-livecode wrote: >> Hello, >> >> How edit the script of a swipe gesture control ? >> I want to add two buttons to the right swipe control, it?s ok for appearance but I cannot find where to edit the script. >> >> Is it even possible? >> >> PS : i have datagrid helper plugin 2.5. >> >> Thanks ! >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Tue Jan 19 11:21:48 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 19 Jan 2021 16:21:48 +0000 Subject: Swipe gesture script on datagrid In-Reply-To: <5AB4F8FB-F28A-499F-B0F5-0A57CB4B3EAF@gmail.com> References: <01ce635e-cc52-7eb0-b619-e9d25c7e26b3@pdslabs.net> <5AB4F8FB-F28A-499F-B0F5-0A57CB4B3EAF@gmail.com> Message-ID: <03CFD931-92E2-4F93-830F-8A42EDBE9FC7@gmail.com> Or ?RowRightSwipeControlClicked? in your case. It depends on how you invoke the action control. > On Jan 19, 2021, at 4:18 PM, Mark Smith wrote: > > Yes, that?s how it?s done. And then in your row behavior script respond to > on EditModeActionControlClicked pTarget > > with pTarget containing the short name of your action control button. > > > >> On Jan 19, 2021, at 7:37 AM, Phil Davis via use-livecode > wrote: >> >> Would the dgProp["left swipe control"] of grp "yourDG" help? At least that might let you change the default trash can to some other control (maybe to a group that contains your 2 buttons?). If you get that far, maybe the message path of your 2 buttons would go through the DG template row behavior script. I don't know for sure but that would be my first guess. >> >> Phil Davis >> >> >> On 1/18/21 10:28 PM, Ludovic THEBAULT via use-livecode wrote: >>> Hello, >>> >>> How edit the script of a swipe gesture control ? >>> I want to add two buttons to the right swipe control, it?s ok for appearance but I cannot find where to edit the script. >>> >>> Is it even possible? >>> >>> PS : i have datagrid helper plugin 2.5. >>> >>> Thanks ! >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From bduck at mac.com Tue Jan 19 11:53:13 2021 From: bduck at mac.com (Brian K. Duck) Date: Tue, 19 Jan 2021 11:53:13 -0500 Subject: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) In-Reply-To: References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> Message-ID: <71D77D7B-C4EB-49C8-987B-1E5DCCB67F7A@mac.com> Hello, I wanted to get this sent before the list digest was sent today. After the first week of discussions, I?m realizing that CMI5, which is a standard profile (subset) of xAPI is too narrow of a topic, so we?re broadening to include xAPI in LiveCode. Other profiles include video content, eBooks, etc. Initially, we discussed the value of xAPI, references at ADLnet.gov and XAPI.com , how a LiveCode project might be architected for reuse by multiple teams, and we researched open or trial Learning Management Systems LMS and Learning Record Stores LRS. Also, I mentioned the Team-MakeyMakey, this was our first effort to build a LiveCode app for sending xAPI statements. This is known as a learning record provider or LRP, this was the initial effort for the Spring 2020 cohort and our notes, project videos and source code is up in GitHub. The Wiki has project notes, and links to the video updates provided through the 12 week xAPI Cohort: https://github.com/xapicohort/MakeyMakey The next xAPI Cohort begins Feb 4th, it is FREE to register and attend, so sign up at xAPICohort.com Please take the time to sign in to When2Meet at this URL, and let us know when you are available for week #2 of xAPI in LiveCode: xAPI in LiveCode (Week 2) https://www.when2meet.com/?10756300-eiYV4 Thanks for your attention, Brian Duck Bduck at Mac dot com From bobsneidar at iotecdigital.com Tue Jan 19 11:57:54 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 19 Jan 2021 16:57:54 +0000 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> Message-ID: <4B8BD21C-ADCF-4ABB-B59F-7FA4A3D699FC@iotecdigital.com> If only! Bob S On Jan 19, 2021, at 5:56 AM, Andre Garzia via use-livecode > wrote: A website from 1995 needs to be just as valid to the browser as one from 2021. From mkoob at rogers.com Tue Jan 19 12:10:44 2021 From: mkoob at rogers.com (Martin Koob) Date: Tue, 19 Jan 2021 12:10:44 -0500 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: <6704CB74-4334-4408-A4F8-989B494AC418@gmail.com> References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> <7DB53059-0BDE-411A-87D8-E5280135D4EF@rogers.com> <87E5758A-A444-4F7D-8334-D772224AA7DA@rogers.com> <6704CB74-4334-4408-A4F8-989B494AC418@gmail.com> Message-ID: <984196E7-638A-45B7-AAB2-932F070EA3F8@rogers.com> Attachments available until Feb 18, 2021 Hi David I have attached a manual for VideoLinkwell. It walks through the different features that the app has. It is for an older version (3.2) but mostly applicable. I haven?t had time to update it yet. I have also attached the most recent Mac version of Videolinkwell - 3.5.2. If you need the windows version I can send it soon. It is done but I am having trouble with code signing it. I got it to work for the earlier versions but won?t work now. Not sure what I am doing differently now than before. To try out the software you can start a trial on videolinkwell.com to get your login credentials then you will use those credentials to log into the VideoLinkwell software. If you want we can do a Zoom session and I could do a demo for you. Martin Click to Download VideoLinkwell 3.5.2.dmg 41.9 MB Click to Download VideoLinkwell 3.2 Manual.pdf 25.5 MB > On Jan 18, 2021, at 2:13 PM, David V Glasgow via use-livecode wrote: > > VideoLinkwell looks like a great tool, Martin. I spend a lot of time analysing video recorded police interviews, so I I know what a huge slog it is to document what happens and at which point(s) in a video. > > Is there a walkthrough of features/tools? > > Cheers > > David G > >> On 18 Jan 2021, at 6:49 pm, Martin Koob via use-livecode wrote: >> >> Hi >> >> I am back to 3G. So go on without me. It is more frustration for you than it is worth. >> >> I will watch the video. >> >> If you want to see and try my SaaS Product VideoLinkwell go to VideoLinkwell.com. >> >> Let me know when the next meeting is. Thanks. >> >> Martin >> >> Sent from my iPhone >> >>> On Jan 18, 2021, at 1:43 PM, David Bovill wrote: > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 19 12:37:06 2021 From: mkoob at rogers.com (Martin Koob) Date: Tue, 19 Jan 2021 12:37:06 -0500 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: <984196E7-638A-45B7-AAB2-932F070EA3F8@rogers.com> References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> <7DB53059-0BDE-411A-87D8-E5280135D4EF@rogers.com> <87E5758A-A444-4F7D-8334-D772224AA7DA@rogers.com> <6704CB74-4334-4408-A4F8-989B494AC418@gmail.com> <984196E7-638A-45B7-AAB2-932F070EA3F8@rogers.com> Message-ID: <7A2DBC77-7499-4577-B211-CEF6BF65113F@rogers.com> Hi List. ? I didn't mean to spam everyone with this. I did not notice I was conversing with David G thru the use-LiveCode list till just now. We can take this offline. But since you now have the links you can do a trial of my software. Curious what people think. Martin > On Jan 19, 2021, at 12:10 PM, Martin Koob via use-livecode wrote: > > Attachments available until Feb 18, 2021 > Hi David > > I have attached a manual for VideoLinkwell. It walks through the different features that the app has. > It is for an older version (3.2) but mostly applicable. I haven?t had time to update it yet. > > > I have also attached the most recent Mac version of Videolinkwell - 3.5.2. If you need the windows version I can send it soon. It is done but I am having trouble with code signing it. I got it to work for the earlier versions but won?t work now. Not sure what I am doing differently now than before. > > To try out the software you can start a trial on videolinkwell.com to get your login credentials then you will use those credentials to log into the VideoLinkwell software. > > If you want we can do a Zoom session and I could do a demo for you. > > Martin > > Click to Download > VideoLinkwell 3.5.2.dmg > 41.9 MB > Click to Download > VideoLinkwell 3.2 Manual.pdf > 25.5 MB >> On Jan 18, 2021, at 2:13 PM, David V Glasgow via use-livecode wrote: >> >> VideoLinkwell looks like a great tool, Martin. I spend a lot of time analysing video recorded police interviews, so I I know what a huge slog it is to document what happens and at which point(s) in a video. >> >> Is there a walkthrough of features/tools? >> >> Cheers >> >> David G >> >>> On 18 Jan 2021, at 6:49 pm, Martin Koob via use-livecode wrote: >>> >>> Hi >>> >>> I am back to 3G. So go on without me. It is more frustration for you than it is worth. >>> >>> I will watch the video. >>> >>> If you want to see and try my SaaS Product VideoLinkwell go to VideoLinkwell.com. >>> >>> Let me know when the next meeting is. Thanks. >>> >>> Martin >>> >>> Sent from my iPhone >>> >>>> On Jan 18, 2021, at 1:43 PM, David Bovill wrote: >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Tue Jan 19 13:45:16 2021 From: waprothero at gmail.com (William Prothero) Date: Tue, 19 Jan 2021 10:45:16 -0800 Subject: Considering work with livecode server In-Reply-To: <4B8BD21C-ADCF-4ABB-B59F-7FA4A3D699FC@iotecdigital.com> References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> <4B8BD21C-ADCF-4ABB-B59F-7FA4A3D699FC@iotecdigital.com> Message-ID: Thanks, all, for your comments. It would sure be nice if there was some equivalent to shockwave, back in the days. Of course, downloadable plug-ins like shockwave and flash apparently have too many security issues and are not allowed anymore. HTML5 eventually? I assume HTML5 apps would run in a browser. Thanks again, Bill > On Jan 19, 2021, at 8:57 AM, Bob Sneidar via use-livecode wrote: > > If only! > > Bob S > > > On Jan 19, 2021, at 5:56 AM, Andre Garzia via use-livecode > wrote: > > A website from 1995 > needs to be just as valid to the browser as one from 2021. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode William A. Prothero https://earthlearningsolutions.org From dvglasgow at gmail.com Tue Jan 19 14:09:22 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Tue, 19 Jan 2021 19:09:22 +0000 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: <7A2DBC77-7499-4577-B211-CEF6BF65113F@rogers.com> References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> <7DB53059-0BDE-411A-87D8-E5280135D4EF@rogers.com> <87E5758A-A444-4F7D-8334-D772224AA7DA@rogers.com> <6704CB74-4334-4408-A4F8-989B494AC418@gmail.com> <984196E7-638A-45B7-AAB2-932F070EA3F8@rogers.com> <7A2DBC77-7499-4577-B211-CEF6BF65113F@rogers.com> Message-ID: <15D4035C-1143-4245-B3AD-8721CFB0A58D@gmail.com> I intended to comment on list, because I was impressed with Videolinkwell and thought folks on the list might be interested! I watched the videos and think your app is really cool and worthwhile. There! I did it again! David G > On 19 Jan 2021, at 5:37 pm, Martin Koob wrote: > > Hi List. > ? > > I didn't mean to spam everyone with this. I did not notice I was conversing with David G thru the use-LiveCode list till just now. We can take this offline. > > But since you now have the links you can do a trial of my software. Curious what people think. > > From daniel at digitalfauna.io Tue Jan 19 14:13:56 2021 From: daniel at digitalfauna.io (Dan Brown) Date: Tue, 19 Jan 2021 21:13:56 +0200 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> <4B8BD21C-ADCF-4ABB-B59F-7FA4A3D699FC@iotecdigital.com> Message-ID: When livecode supports WebAssembly as a build target you'll be able to do what you've asked On Tue, 19 Jan 2021, 20:46 William Prothero via use-livecode, < use-livecode at lists.runrev.com> wrote: > Thanks, all, for your comments. It would sure be nice if there was some > equivalent to shockwave, back in the days. Of course, downloadable plug-ins > like shockwave and flash apparently have too many security issues and are > not allowed anymore. > > HTML5 eventually? I assume HTML5 apps would run in a browser. > > Thanks again, > Bill > > > On Jan 19, 2021, at 8:57 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > If only! > > > > Bob S > > > > > > On Jan 19, 2021, at 5:56 AM, Andre Garzia via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > > > A website from 1995 > > needs to be just as valid to the browser as one from 2021. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > William A. Prothero > https://earthlearningsolutions.org > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From waprothero at gmail.com Tue Jan 19 14:41:57 2021 From: waprothero at gmail.com (William Prothero) Date: Tue, 19 Jan 2021 11:41:57 -0800 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> <4B8BD21C-ADCF-4ABB-B59F-7FA4A3D699FC@iotecdigital.com> Message-ID: <53BF845F-7B22-4873-B46B-0F53D0D6816D@gmail.com> Dan: I just did a bit of Googling and wow! It sounds like a capability to compile to WebAssembly would put LiveCode in the big time. I wonder if there is any interest from the dev team. Sounds much more useful than HTML5. Best, Bill > On Jan 19, 2021, at 11:13 AM, Dan Brown wrote: > > When livecode supports WebAssembly as a build target you'll be able to do what you've asked > > On Tue, 19 Jan 2021, 20:46 William Prothero via use-livecode, > wrote: > Thanks, all, for your comments. It would sure be nice if there was some equivalent to shockwave, back in the days. Of course, downloadable plug-ins like shockwave and flash apparently have too many security issues and are not allowed anymore. > > HTML5 eventually? I assume HTML5 apps would run in a browser. > > Thanks again, > Bill > > > On Jan 19, 2021, at 8:57 AM, Bob Sneidar via use-livecode > wrote: > > > > If only! > > > > Bob S > > > > > > On Jan 19, 2021, at 5:56 AM, Andre Garzia via use-livecode >> wrote: > > > > A website from 1995 > > needs to be just as valid to the browser as one from 2021. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > William A. Prothero > https://earthlearningsolutions.org > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode William A. Prothero https://earthlearningsolutions.org From williamdesmet at gmail.com Tue Jan 19 15:50:43 2021 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 19 Jan 2021 21:50:43 +0100 Subject: Considering work with livecode server In-Reply-To: <53BF845F-7B22-4873-B46B-0F53D0D6816D@gmail.com> References: <53BF845F-7B22-4873-B46B-0F53D0D6816D@gmail.com> Message-ID: <8531B81D-E993-4B0B-824D-95A6CB2AB55A@gmail.com> WebAssembly is on the roadmap. https://livecode.com/resources/roadmap/ > Op 19 jan. 2021 om 20:43 heeft William Prothero via use-livecode het volgende geschreven: > > ?Dan: > I just did a bit of Googling and wow! It sounds like a capability to compile to WebAssembly would put LiveCode in the big time. I wonder if there is any interest from the dev team. Sounds much more useful than HTML5. > > Best, > Bill > >> On Jan 19, 2021, at 11:13 AM, Dan Brown wrote: >> >> When livecode supports WebAssembly as a build target you'll be able to do what you've asked >> >> On Tue, 19 Jan 2021, 20:46 William Prothero via use-livecode, > wrote: >> Thanks, all, for your comments. It would sure be nice if there was some equivalent to shockwave, back in the days. Of course, downloadable plug-ins like shockwave and flash apparently have too many security issues and are not allowed anymore. >> >> HTML5 eventually? I assume HTML5 apps would run in a browser. >> >> Thanks again, >> Bill >> >>>> On Jan 19, 2021, at 8:57 AM, Bob Sneidar via use-livecode > wrote: >>> >>> If only! >>> >>> Bob S >>> >>> >>>> On Jan 19, 2021, at 5:56 AM, Andre Garzia via use-livecode >> wrote: >>> >>> A website from 1995 >>> needs to be just as valid to the browser as one from 2021. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> William A. Prothero >> https://earthlearningsolutions.org >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > William A. Prothero > https://earthlearningsolutions.org > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Jan 19 15:56:34 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Jan 2021 14:56:34 -0600 Subject: In-app purchasing Message-ID: <8364b6ce-31ec-89f8-75a1-8aa058e55684@hyperactivesw.com> Has anyone done in-app purchasing on iOS and Android? Does it work? We're looking into possibly implementing this but I've never done it before. Any tips welcome. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Tue Jan 19 19:09:00 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 19 Jan 2021 19:09:00 -0500 Subject: In-app purchasing In-Reply-To: <8364b6ce-31ec-89f8-75a1-8aa058e55684@hyperactivesw.com> References: <8364b6ce-31ec-89f8-75a1-8aa058e55684@hyperactivesw.com> Message-ID: <007401d6eec0$77da3910$678eab30$@net> Yes it works. I've done it on both platforms. The tutorial in the LC lesions pretty much says it all. 1) Name your in-app purchase products exactly the same on both platforms. Make them all lowercase. One of them does not allow uppercase(forgot which) and of course I used the upper on the one that allowed it first. The LC calls to purchase commands are case sensitive. 2) It's an async environment. So you have to set up a wait loop while watching the progress of the mobileStoreMakePurchase using some global var or property. This starts the ball rolling and then messages from the store are sent to "purchaseStateUpdate pPurchaseID, pProductID, pState" depending on pState you either bail from a user's cancel or bad user credentials... or confirm the purchase. When a final type of pstate is received then bail out of the loop and let the user know the final status of the purchase attempt. purchaseStateUpdate is just switch on pState with these cases "SendingRequest, paymentReceived, alreadyEntitled, invalidSKU, complete, restored, cancelled, error). 3) Setup your sandbox environment on both platforms. Apple is pretty straight forward except you can never change a tester password, so if you forget the password your done and have to make another tester username. ====>>>> Android does not allow a device using your PlayStore developer Gmail account to make sandbox purchases. The device can never have been logged into that account. I found the android sandbox device registration a little wonky sometimes, but it will work. On iOS You can also monitor the purchases/in-app purchase activities real time via a web api that you create and host on your server. The format is straight forward so LC server is your friend here. Then save the purchase data in a DB. The PlayStore has an API that you can get purchase information to load into a DB. If you run into any snags give me a shout. 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: Tuesday, January 19, 2021 3:57 PM To: LiveCode Mailing List Cc: J. Landman Gay Subject: In-app purchasing Has anyone done in-app purchasing on iOS and Android? Does it work? We're looking into possibly implementing this but I've never done it before. Any tips welcome. -- 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 waprothero at gmail.com Tue Jan 19 22:27:15 2021 From: waprothero at gmail.com (William Prothero) Date: Tue, 19 Jan 2021 19:27:15 -0800 Subject: Considering work with livecode server In-Reply-To: <8531B81D-E993-4B0B-824D-95A6CB2AB55A@gmail.com> References: <53BF845F-7B22-4873-B46B-0F53D0D6816D@gmail.com> <8531B81D-E993-4B0B-824D-95A6CB2AB55A@gmail.com> Message-ID: Hmmm?. I see: "Add WebAssembly build target in HTML5 deployment?, in the"team is working on right now? category. I guess, given all the delays and getting HTML5 up, I won?t hold my breath. But, I?ll certainly be watching for it. Gaads, another subscription to purchase. But getting real livecode dynamic features on the web would be a game-changer for me. Best, Bill > On Jan 19, 2021, at 12:50 PM, William de Smet via use-livecode wrote: > > WebAssembly is on the roadmap. > https://livecode.com/resources/roadmap/ > > > >> Op 19 jan. 2021 om 20:43 heeft William Prothero via use-livecode het volgende geschreven: >> >> ?Dan: >> I just did a bit of Googling and wow! It sounds like a capability to compile to WebAssembly would put LiveCode in the big time. I wonder if there is any interest from the dev team. Sounds much more useful than HTML5. >> >> Best, >> Bill >> >>> On Jan 19, 2021, at 11:13 AM, Dan Brown wrote: >>> >>> When livecode supports WebAssembly as a build target you'll be able to do what you've asked >>> >>> On Tue, 19 Jan 2021, 20:46 William Prothero via use-livecode, > wrote: >>> Thanks, all, for your comments. It would sure be nice if there was some equivalent to shockwave, back in the days. Of course, downloadable plug-ins like shockwave and flash apparently have too many security issues and are not allowed anymore. >>> >>> HTML5 eventually? I assume HTML5 apps would run in a browser. >>> >>> Thanks again, >>> Bill >>> >>>>> On Jan 19, 2021, at 8:57 AM, Bob Sneidar via use-livecode > wrote: >>>> >>>> If only! >>>> >>>> Bob S >>>> >>>> >>>>> On Jan 19, 2021, at 5:56 AM, Andre Garzia via use-livecode >> wrote: >>>> >>>> A website from 1995 >>>> needs to be just as valid to the browser as one from 2021. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> William A. Prothero >>> https://earthlearningsolutions.org >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> William A. Prothero >> https://earthlearningsolutions.org >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode William A. Prothero https://earthlearningsolutions.org From kee.nethery at elloco.com Tue Jan 19 23:25:45 2021 From: kee.nethery at elloco.com (kee nethery) Date: Tue, 19 Jan 2021 20:25:45 -0800 Subject: Considering work with livecode server In-Reply-To: <9D86049B-90E6-4503-8314-FB45F3B46A16@gmail.com> References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> <9D86049B-90E6-4503-8314-FB45F3B46A16@gmail.com> Message-ID: > On Jan 19, 2021, at 7:58 AM, Mark Smith via use-livecode wrote: > > Hi Andre, how are ?apps to bundled content? different from ?apps that are portals to web content" (Jacque?s description)? Or put another way, if someone wanted to design a tourist app that highlighted interesting local tourist destinations near them with a link you can click on to purchase tickets or book reservations etc, would that violate Apple?s guidelines? Asking for a friend :) > > Cheers, > Mark Pick me! I know this one! An app to bundled content means that they can review everything that is going to get displayed to a user and approve or deny based upon the content they review. An app to web content is a mystery app. Your restaurant review app that pulls from the web could easily be transformed into a pedophile shopping app by entering a secret pass phrase and then changing the data on the web site. (as an extreme example) Kee Nethery From ambassador at fourthworld.com Wed Jan 20 01:49:11 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Jan 2021 22:49:11 -0800 Subject: Considering work with livecode server In-Reply-To: References: Message-ID: <883b59af-e264-6558-e49b-061732d4057c@fourthworld.com> William Prothero wrote: > It would sure be nice if there was some equivalent to shockwave... For all practical purposes we do: The Shockwave plugin was an executable engine you could download and install once, and then play a wide range of scripted interactive media with it. A LiveCode standalone is an executable engine you can download and install once, and then play a wide range of scripted interactive media with it. The differences are that Shockwave was confined to the limitations of a browser window. And that it no longer exists. LiveCode lives outside the confines of a browser window, allowing full desktop integration (cache control, document associations, etc.). And LiveCode exists. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Jan 20 01:57:42 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Jan 2021 22:57:42 -0800 Subject: Considering work with livecode server In-Reply-To: References: Message-ID: <6c1e560c-bbc7-c36f-d802-d20adc686c8a@fourthworld.com> kee nethery wrote: > On Jan 19, 2021, at 7:58 AM, Mark Smith wrote: >> >> Hi Andre, how are ?apps to bundled content? different from ?apps that >> are portals to web content" (Jacque?s description)? Or put another >> way, if someone wanted to design a tourist app that highlighted >> interesting local tourist destinations near them with a link you can >> click on to purchase tickets or book reservations etc, would that >> violate Apple?s guidelines? Asking for a friend :) > > Pick me! I know this one! > > An app to bundled content means that they can review everything that > is going to get displayed to a user and approve or deny based upon the > content they review. > > An app to web content is a mystery app. Your restaurant review app > that pulls from the web could easily be transformed into a pedophile > shopping app by entering a secret pass phrase and then changing the > data on the web site. (as an extreme example) Any data can be replaced with porn or other contraband. Any app can transform itself at a later date into something other than what was reviewed. Neither can be prevented. Both are remedied with banning. This is not unique to LiveCode; it applies to all apps. So don't do that, in any language. I've seen no restrictions on specific binary formats. Stack files, spreadsheets, interactive books -- all variants of the same thing. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at smarttsoftware.co.uk Wed Jan 20 04:49:44 2021 From: paul at smarttsoftware.co.uk (Paul Richards) Date: Wed, 20 Jan 2021 09:49:44 +0000 Subject: Considering work with livecode server In-Reply-To: References: <53BF845F-7B22-4873-B46B-0F53D0D6816D@gmail.com> <8531B81D-E993-4B0B-824D-95A6CB2AB55A@gmail.com> Message-ID: This looks to be marked against 9.7.0 DP1. You can track it's progress on GitHub. https://github.com/livecode/livecode/pull/7330 -----Original Message----- From: use-livecode On Behalf Of William Prothero via use-livecode Sent: 20 January 2021 03:27 To: JJS via use-livecode Cc: William Prothero Subject: Re: Considering work with livecode server Hmmm?. I see: "Add WebAssembly build target in HTML5 deployment?, in the"team is working on right now? category. I guess, given all the delays and getting HTML5 up, I won?t hold my breath. But, I?ll certainly be watching for it. Gaads, another subscription to purchase. But getting real livecode dynamic features on the web would be a game-changer for me. Best, Bill > On Jan 19, 2021, at 12:50 PM, William de Smet via use-livecode wrote: > > WebAssembly is on the roadmap. > https://livecode.com/resources/roadmap/ > > > >> Op 19 jan. 2021 om 20:43 heeft William Prothero via use-livecode het volgende geschreven: >> >> ?Dan: >> I just did a bit of Googling and wow! It sounds like a capability to compile to WebAssembly would put LiveCode in the big time. I wonder if there is any interest from the dev team. Sounds much more useful than HTML5. >> >> Best, >> Bill >> >>> On Jan 19, 2021, at 11:13 AM, Dan Brown wrote: >>> >>> When livecode supports WebAssembly as a build target you'll be able to do what you've asked >>> >>> On Tue, 19 Jan 2021, 20:46 William Prothero via use-livecode, > wrote: >>> Thanks, all, for your comments. It would sure be nice if there was some equivalent to shockwave, back in the days. Of course, downloadable plug-ins like shockwave and flash apparently have too many security issues and are not allowed anymore. >>> >>> HTML5 eventually? I assume HTML5 apps would run in a browser. >>> >>> Thanks again, >>> Bill >>> >>>>> On Jan 19, 2021, at 8:57 AM, Bob Sneidar via use-livecode > wrote: >>>> >>>> If only! >>>> >>>> Bob S >>>> >>>> >>>>> On Jan 19, 2021, at 5:56 AM, Andre Garzia via use-livecode >> wrote: >>>> >>>> A website from 1995 >>>> needs to be just as valid to the browser as one from 2021. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> William A. Prothero >>> https://earthlearningsolutions.org >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> William A. Prothero >> https://earthlearningsolutions.org >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode William A. Prothero https://earthlearningsolutions.org _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Wed Jan 20 07:20:39 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 20 Jan 2021 12:20:39 +0000 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> <9D86049B-90E6-4503-8314-FB45F3B46A16@gmail.com> Message-ID: Thanks Kee, but I am a bit puzzled by the restriction. That would require complicity from the businesses, which if reputable would be a stretch, no? For example, if I had an app that linked to course selections on University websites, are they going to suggest that these could be portals to pedophile shopping sites by entering a secret pass phrase? By the sounds of it, please correct me if I am wrong, no iStore app can link to a website for content regardless of the status of the organization that stands behind the site? Hmmmm, I still have a lot to learn in this space. Are there any links available to guidelines that describe these limitations? Thanks Mark > On Jan 20, 2021, at 4:25 AM, kee nethery via use-livecode wrote: > > An app to web content is a mystery app. Your restaurant review app that pulls from the web could easily be transformed into a pedophile shopping app by entering a secret pass phrase and then changing the data on the web site. (as an extreme example) From david.bovill at gmail.com Wed Jan 20 07:32:36 2021 From: david.bovill at gmail.com (David Bovill) Date: Wed, 20 Jan 2021 12:32:36 +0000 Subject: Cmi5 eLearning Standard in LiveCode MEETING TODAY AT 1 PM EST In-Reply-To: <15D4035C-1143-4245-B3AD-8721CFB0A58D@gmail.com> References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> <00453125-6C0A-4D63-9F9C-0E01DF292A72@rogers.com> <7DB53059-0BDE-411A-87D8-E5280135D4EF@rogers.com> <87E5758A-A444-4F7D-8334-D772224AA7DA@rogers.com> <6704CB74-4334-4408-A4F8-989B494AC418@gmail.com> <984196E7-638A-45B7-AAB2-932F070EA3F8@rogers.com> <7A2DBC77-7499-4577-B211-CEF6BF65113F@rogers.com> <15D4035C-1143-4245-B3AD-8721CFB0A58D@gmail.com> Message-ID: I like this conversation on list - I don?t consider it spam. Martin are there elements of Videolinkwell that you would consider useful as a community library? On 19 Jan 2021, 19:10 +0000, David V Glasgow via use-livecode , wrote: > I intended to comment on list, because I was impressed with Videolinkwell and thought folks on the list might be interested! > > I watched the videos and think your app is really cool and worthwhile. > > There! I did it again! > > David G > > > On 19 Jan 2021, at 5:37 pm, Martin Koob wrote: > > > > Hi List. > > ? > > > > I didn't mean to spam everyone with this. I did not notice I was conversing with David G thru the use-LiveCode list till just now. We can take this offline. > > > > But since you now have the links you can do a trial of my software. Curious what people think. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at midwestcoastmedia.com Wed Jan 20 08:08:04 2021 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Wed, 20 Jan 2021 08:08:04 -0500 Subject: Considering work with livecode server In-Reply-To: References: Message-ID: <62F21266-B389-43C6-9744-A1BAFCAD63D3@midwestcoastmedia.com> > Thanks Kee, but I am a bit puzzled by the restriction. > > That would require complicity from the businesses, which if reputable would be a stretch, no? For example, if I had an app that linked to course selections on University websites, are they going to suggest that these could be portals to pedophile shopping sites by entering a secret pass phrase? By the sounds of it, please correct me if I am wrong, no iStore app can link to a website for content regardless of the status of the organization that stands behind the site? Hmmmm, I still have a lot to learn in this space. > > Are there any links available to guidelines that describe these limitations? The guidelines don?t matter much because you?re at the mercy of whatever tester get?s your build to approve: it seems to be very subjective by reviewer. What I have found is that you can have some website stuff, but you need some mobile app specific features as well (push notifications, location services, etc.). It has also been my experience that ?leading? with the web content isn?t as successful as opening with some static content. YMMV Last week I got a brand new app approved (for TestFlight, not fully released yet but is the same approval process) for a University that contains a web viewer. This is only 1 of half a dozen cards in the app, and goes directly to a mobile landing page for a particular department. You are free to click around and visit the site, but you can?t manually enter a URL into a field and visit that site you are ?stuck? with whatever links we provide. Since this isn?t the main focus, and is fairly contained, I had no worries about this being an issue (and it wasn?t). If you message me off-list with your AppleID, I?d be happy to add to TestFlight so you can see what I?m talking about. But I have had apps with services that were ?coming soon? so to start there was some bare bones content and a few browser widgets going to specific pages on a business website: this got rejected due to Apple?s 4.2 Minimum Functionality clause. After rushing to add a feature or two, and make sure those cards were the first to appear rather than the browser widget, got the barebones project approved. (A year later, the client still hasn?t paid to finish the project so it?s still sitting in the App Store at v0.4.03) ?Andrew Bell From andre at andregarzia.com Wed Jan 20 10:53:12 2021 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 20 Jan 2021 15:53:12 +0000 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> <9D86049B-90E6-4503-8314-FB45F3B46A16@gmail.com> Message-ID: So, Displaying bundled content only (or mostly) allows Apple's static analysis tools to take a look at your app. They can also identify outgoing connections, so they know if you are opening remote pages. If all you do is display local content, and there is no outgoing connections, then security analysis of your app is easier (also, it works offline from the start which is good). This is not an infalible system, but it works for the average case. As for having an app, that displays external webpages which allow you to buy stuff might be a violation of Apple TOS. That is why you don't buy Kindle books on the Kindle app on iOS. Amazon doesn't want to give Apple a cut. An app that advertises itself as a browser has more leeway with this than others. For example it is OK for Mozilla to ship "Firefox" (not really Firefox, more like mozSafari) in iOS even though you can open web pages and buy stuff with it. It is not OK for you to create an app that opens your webstore and sells stuff. I'll write another message about WebAssembly... On Wed, 20 Jan 2021 at 12:22, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Kee, but I am a bit puzzled by the restriction. > > That would require complicity from the businesses, which if reputable > would be a stretch, no? For example, if I had an app that linked to course > selections on University websites, are they going to suggest that these > could be portals to pedophile shopping sites by entering a secret pass > phrase? By the sounds of it, please correct me if I am wrong, no iStore app > can link to a website for content regardless of the status of the > organization that stands behind the site? Hmmmm, I still have a lot to > learn in this space. > > Are there any links available to guidelines that describe these > limitations? > > Thanks > Mark > > > On Jan 20, 2021, at 4:25 AM, kee nethery via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > An app to web content is a mystery app. Your restaurant review app that > pulls from the web could easily be transformed into a pedophile shopping > app by entering a secret pass phrase and then changing the data on the web > site. (as an extreme example) > > _______________________________________________ > use-livecode mailing list > use-livecode 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 andre at andregarzia.com Wed Jan 20 11:02:50 2021 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 20 Jan 2021 16:02:50 +0000 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> <9D86049B-90E6-4503-8314-FB45F3B46A16@gmail.com> Message-ID: WebAssembly (aka WASM) is not a silver bullet. It is not something like "you compile to WebAssembly and then PROFIT". WebAssembly and ASM.js (which is what the current HTML5 LC Runtime uses) are very similar. The advantages of WASM is that it is a lot smaller ? since it is bytecode and not strings in source code ? than ASM.js, also, it can be streamed so you can start loading it in the VM before it finishes transferring. Given the same source code in WASM and ASM.js, the WASM one will transfer and load faster, but that is it. One of the main objectives of WASM was to reduce latency between the beginning of the load action and having something running. WASM backends have been integrated in many languages ? mostly notable LLVM ? which means that is somewhat doable to compile C/C++ code to WASM. That doesn't mean that all libraries work. WASM has no graphics part. It deals with memory and integers (floats?). It doesn't even have a string type. It is basically a small assembly language to be targeted by compilers. Apps made with WASM do not work with just 100% WASM. You always need JS. JavaScript is the glue that links DOM, events, and WASM. What you usually do is have a bunch of JS and then speed up some parts of that code with WASM. WASM can't touch the DOM, WASM can't handle input events. JS and WASM are built to complement each other. Most languages targeting WebAssembly deployments have their own "JS Standard library toolkit" so that when you compile, you end up with a combination of WASM and JS files (maybe even HTML). The benefit for LC would be a smaller runtime and faster loading, both are great. Just don't believe it is something magical like we were promised in the 90s with Java Applets that you'd compile your Java App and it would magically load on the Web. That is not how this works. If you want to learn more about WebAssembly go to the learning area of MDN WebDocs: https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts#what_is_webassembly On Wed, 20 Jan 2021 at 15:53, Andre Garzia wrote: > So, > > Displaying bundled content only (or mostly) allows Apple's static analysis > tools to take a look at your app. They can also identify outgoing > connections, so they know if you are opening remote pages. If all you do is > display local content, and there is no outgoing connections, then security > analysis of your app is easier (also, it works offline from the start which > is good). This is not an infalible system, but it works for the average > case. > > As for having an app, that displays external webpages which allow you to > buy stuff might be a violation of Apple TOS. That is why you don't buy > Kindle books on the Kindle app on iOS. Amazon doesn't want to give Apple a > cut. An app that advertises itself as a browser has more leeway with this > than others. For example it is OK for Mozilla to ship "Firefox" (not really > Firefox, more like mozSafari) in iOS even though you can open web pages and > buy stuff with it. It is not OK for you to create an app that opens your > webstore and sells stuff. > > I'll write another message about WebAssembly... > > On Wed, 20 Jan 2021 at 12:22, Mark Smith via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Thanks Kee, but I am a bit puzzled by the restriction. >> >> That would require complicity from the businesses, which if reputable >> would be a stretch, no? For example, if I had an app that linked to course >> selections on University websites, are they going to suggest that these >> could be portals to pedophile shopping sites by entering a secret pass >> phrase? By the sounds of it, please correct me if I am wrong, no iStore app >> can link to a website for content regardless of the status of the >> organization that stands behind the site? Hmmmm, I still have a lot to >> learn in this space. >> >> Are there any links available to guidelines that describe these >> limitations? >> >> Thanks >> Mark >> >> > On Jan 20, 2021, at 4:25 AM, kee nethery via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > An app to web content is a mystery app. Your restaurant review app that >> pulls from the web could easily be transformed into a pedophile shopping >> app by entering a secret pass phrase and then changing the data on the web >> site. (as an extreme example) >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From prothero at earthlearningsolutions.org Wed Jan 20 11:20:17 2021 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Wed, 20 Jan 2021 08:20:17 -0800 Subject: Considering work with livecode server In-Reply-To: References: Message-ID: <179401B2-475A-476F-BE7E-373FAEFA3870@earthlearningsolutions.org> Thank you, Andre, for you wisdom. What I take from your comments is if I want to develop dynamic interactive web based apps with Livecode, I should get up to speed on JavaScript and will need to either use Livecode to generate html5, compiled with webAssembly, or find another platform to develop the software. Perhaps this topic is an idea for a short book (hint, hint). Best, Bill William Prothero http://es.earthednet.org > On Jan 20, 2021, at 8:03 AM, Andre Garzia via use-livecode wrote: > > ?WebAssembly (aka WASM) is not a silver bullet. It is not something like > "you compile to WebAssembly and then PROFIT". > > WebAssembly and ASM.js (which is what the current HTML5 LC Runtime uses) > are very similar. The advantages of WASM is that it is a lot smaller ? > since it is bytecode and not strings in source code ? than ASM.js, also, it > can be streamed so you can start loading it in the VM before it finishes > transferring. Given the same source code in WASM and ASM.js, the WASM one > will transfer and load faster, but that is it. One of the main objectives > of WASM was to reduce latency between the beginning of the load action and > having something running. > > WASM backends have been integrated in many languages ? mostly notable LLVM > ? which means that is somewhat doable to compile C/C++ code to WASM. That > doesn't mean that all libraries work. WASM has no graphics part. It deals > with memory and integers (floats?). It doesn't even have a string type. It > is basically a small assembly language to be targeted by compilers. > > Apps made with WASM do not work with just 100% WASM. You always need JS. > JavaScript is the glue that links DOM, events, and WASM. What you usually > do is have a bunch of JS and then speed up some parts of that code with > WASM. WASM can't touch the DOM, WASM can't handle input events. JS and WASM > are built to complement each other. > > Most languages targeting WebAssembly deployments have their own "JS > Standard library toolkit" so that when you compile, you end up with a > combination of WASM and JS files (maybe even HTML). > > The benefit for LC would be a smaller runtime and faster loading, both are > great. > > Just don't believe it is something magical like we were promised in the 90s > with Java Applets that you'd compile your Java App and it would magically > load on the Web. That is not how this works. > > If you want to learn more about WebAssembly go to the learning area of MDN > WebDocs: > https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts#what_is_webassembly > > > >> On Wed, 20 Jan 2021 at 15:53, Andre Garzia wrote: >> >> So, >> >> Displaying bundled content only (or mostly) allows Apple's static analysis >> tools to take a look at your app. They can also identify outgoing >> connections, so they know if you are opening remote pages. If all you do is >> display local content, and there is no outgoing connections, then security >> analysis of your app is easier (also, it works offline from the start which >> is good). This is not an infalible system, but it works for the average >> case. >> >> As for having an app, that displays external webpages which allow you to >> buy stuff might be a violation of Apple TOS. That is why you don't buy >> Kindle books on the Kindle app on iOS. Amazon doesn't want to give Apple a >> cut. An app that advertises itself as a browser has more leeway with this >> than others. For example it is OK for Mozilla to ship "Firefox" (not really >> Firefox, more like mozSafari) in iOS even though you can open web pages and >> buy stuff with it. It is not OK for you to create an app that opens your >> webstore and sells stuff. >> >> I'll write another message about WebAssembly... >> >> On Wed, 20 Jan 2021 at 12:22, Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Thanks Kee, but I am a bit puzzled by the restriction. >>> >>> That would require complicity from the businesses, which if reputable >>> would be a stretch, no? For example, if I had an app that linked to course >>> selections on University websites, are they going to suggest that these >>> could be portals to pedophile shopping sites by entering a secret pass >>> phrase? By the sounds of it, please correct me if I am wrong, no iStore app >>> can link to a website for content regardless of the status of the >>> organization that stands behind the site? Hmmmm, I still have a lot to >>> learn in this space. >>> >>> Are there any links available to guidelines that describe these >>> limitations? >>> >>> Thanks >>> Mark >>> >>>> On Jan 20, 2021, at 4:25 AM, kee nethery via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> An app to web content is a mystery app. Your restaurant review app that >>> pulls from the web could easily be transformed into a pedophile shopping >>> app by entering a secret pass phrase and then changing the data on the web >>> site. (as an extreme example) >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 >> > > > -- > 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 andre at andregarzia.com Wed Jan 20 11:21:54 2021 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 20 Jan 2021 16:21:54 +0000 Subject: Considering work with livecode server In-Reply-To: <179401B2-475A-476F-BE7E-373FAEFA3870@earthlearningsolutions.org> References: <179401B2-475A-476F-BE7E-373FAEFA3870@earthlearningsolutions.org> Message-ID: Bill, :-) that topic is too large for a book to be honest. What I recommend is actually building a desktop standalone. Forget the web for that app, push for an app. Best A On Wed, 20 Jan 2021 at 16:20, ELS Prothero < prothero at earthlearningsolutions.org> wrote: > Thank you, Andre, for you wisdom. What I take from your comments is if I > want to develop dynamic interactive web based apps with Livecode, I should > get up to speed on JavaScript and will need to either use Livecode to > generate html5, compiled with webAssembly, or find another platform to > develop the software. > > Perhaps this topic is an idea for a short book (hint, hint). > > Best, > Bill > > William Prothero > http://es.earthednet.org > > > On Jan 20, 2021, at 8:03 AM, Andre Garzia via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?WebAssembly (aka WASM) is not a silver bullet. It is not something like > > "you compile to WebAssembly and then PROFIT". > > > > WebAssembly and ASM.js (which is what the current HTML5 LC Runtime uses) > > are very similar. The advantages of WASM is that it is a lot smaller ? > > since it is bytecode and not strings in source code ? than ASM.js, also, > it > > can be streamed so you can start loading it in the VM before it finishes > > transferring. Given the same source code in WASM and ASM.js, the WASM one > > will transfer and load faster, but that is it. One of the main objectives > > of WASM was to reduce latency between the beginning of the load action > and > > having something running. > > > > WASM backends have been integrated in many languages ? mostly notable > LLVM > > ? which means that is somewhat doable to compile C/C++ code to WASM. That > > doesn't mean that all libraries work. WASM has no graphics part. It deals > > with memory and integers (floats?). It doesn't even have a string type. > It > > is basically a small assembly language to be targeted by compilers. > > > > Apps made with WASM do not work with just 100% WASM. You always need JS. > > JavaScript is the glue that links DOM, events, and WASM. What you usually > > do is have a bunch of JS and then speed up some parts of that code with > > WASM. WASM can't touch the DOM, WASM can't handle input events. JS and > WASM > > are built to complement each other. > > > > Most languages targeting WebAssembly deployments have their own "JS > > Standard library toolkit" so that when you compile, you end up with a > > combination of WASM and JS files (maybe even HTML). > > > > The benefit for LC would be a smaller runtime and faster loading, both > are > > great. > > > > Just don't believe it is something magical like we were promised in the > 90s > > with Java Applets that you'd compile your Java App and it would magically > > load on the Web. That is not how this works. > > > > If you want to learn more about WebAssembly go to the learning area of > MDN > > WebDocs: > > > https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts#what_is_webassembly > > > > > > > >> On Wed, 20 Jan 2021 at 15:53, Andre Garzia > wrote: > >> > >> So, > >> > >> Displaying bundled content only (or mostly) allows Apple's static > analysis > >> tools to take a look at your app. They can also identify outgoing > >> connections, so they know if you are opening remote pages. If all you > do is > >> display local content, and there is no outgoing connections, then > security > >> analysis of your app is easier (also, it works offline from the start > which > >> is good). This is not an infalible system, but it works for the average > >> case. > >> > >> As for having an app, that displays external webpages which allow you to > >> buy stuff might be a violation of Apple TOS. That is why you don't buy > >> Kindle books on the Kindle app on iOS. Amazon doesn't want to give > Apple a > >> cut. An app that advertises itself as a browser has more leeway with > this > >> than others. For example it is OK for Mozilla to ship "Firefox" (not > really > >> Firefox, more like mozSafari) in iOS even though you can open web pages > and > >> buy stuff with it. It is not OK for you to create an app that opens your > >> webstore and sells stuff. > >> > >> I'll write another message about WebAssembly... > >> > >> On Wed, 20 Jan 2021 at 12:22, Mark Smith via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> Thanks Kee, but I am a bit puzzled by the restriction. > >>> > >>> That would require complicity from the businesses, which if reputable > >>> would be a stretch, no? For example, if I had an app that linked to > course > >>> selections on University websites, are they going to suggest that these > >>> could be portals to pedophile shopping sites by entering a secret pass > >>> phrase? By the sounds of it, please correct me if I am wrong, no > iStore app > >>> can link to a website for content regardless of the status of the > >>> organization that stands behind the site? Hmmmm, I still have a lot to > >>> learn in this space. > >>> > >>> Are there any links available to guidelines that describe these > >>> limitations? > >>> > >>> Thanks > >>> Mark > >>> > >>>> On Jan 20, 2021, at 4:25 AM, kee nethery via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> An app to web content is a mystery app. Your restaurant review app > that > >>> pulls from the web could easily be transformed into a pedophile > shopping > >>> app by entering a secret pass phrase and then changing the data on the > web > >>> site. (as an extreme example) > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode 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 > >> > > > > > > -- > > 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 > > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From prothero at earthlearningsolutions.org Wed Jan 20 11:24:59 2021 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Wed, 20 Jan 2021 08:24:59 -0800 Subject: Considering work with livecode server In-Reply-To: References: Message-ID: Andre, You are probably correct. Thanks to all of you who have responded to my question about deployment on the web. Best, Bill William Prothero http://es.earthednet.org > On Jan 20, 2021, at 8:22 AM, Andre Garzia wrote: > > ? > Bill, > > :-) that topic is too large for a book to be honest. > > What I recommend is actually building a desktop standalone. Forget the web for that app, push for an app. > > Best > A > >> On Wed, 20 Jan 2021 at 16:20, ELS Prothero wrote: >> Thank you, Andre, for you wisdom. What I take from your comments is if I want to develop dynamic interactive web based apps with Livecode, I should get up to speed on JavaScript and will need to either use Livecode to generate html5, compiled with webAssembly, or find another platform to develop the software. >> >> Perhaps this topic is an idea for a short book (hint, hint). >> >> Best, >> Bill >> >> William Prothero >> http://es.earthednet.org >> >> > On Jan 20, 2021, at 8:03 AM, Andre Garzia via use-livecode wrote: >> > >> > ?WebAssembly (aka WASM) is not a silver bullet. It is not something like >> > "you compile to WebAssembly and then PROFIT". >> > >> > WebAssembly and ASM.js (which is what the current HTML5 LC Runtime uses) >> > are very similar. The advantages of WASM is that it is a lot smaller ? >> > since it is bytecode and not strings in source code ? than ASM.js, also, it >> > can be streamed so you can start loading it in the VM before it finishes >> > transferring. Given the same source code in WASM and ASM.js, the WASM one >> > will transfer and load faster, but that is it. One of the main objectives >> > of WASM was to reduce latency between the beginning of the load action and >> > having something running. >> > >> > WASM backends have been integrated in many languages ? mostly notable LLVM >> > ? which means that is somewhat doable to compile C/C++ code to WASM. That >> > doesn't mean that all libraries work. WASM has no graphics part. It deals >> > with memory and integers (floats?). It doesn't even have a string type. It >> > is basically a small assembly language to be targeted by compilers. >> > >> > Apps made with WASM do not work with just 100% WASM. You always need JS. >> > JavaScript is the glue that links DOM, events, and WASM. What you usually >> > do is have a bunch of JS and then speed up some parts of that code with >> > WASM. WASM can't touch the DOM, WASM can't handle input events. JS and WASM >> > are built to complement each other. >> > >> > Most languages targeting WebAssembly deployments have their own "JS >> > Standard library toolkit" so that when you compile, you end up with a >> > combination of WASM and JS files (maybe even HTML). >> > >> > The benefit for LC would be a smaller runtime and faster loading, both are >> > great. >> > >> > Just don't believe it is something magical like we were promised in the 90s >> > with Java Applets that you'd compile your Java App and it would magically >> > load on the Web. That is not how this works. >> > >> > If you want to learn more about WebAssembly go to the learning area of MDN >> > WebDocs: >> > https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts#what_is_webassembly >> > >> > >> > >> >> On Wed, 20 Jan 2021 at 15:53, Andre Garzia wrote: >> >> >> >> So, >> >> >> >> Displaying bundled content only (or mostly) allows Apple's static analysis >> >> tools to take a look at your app. They can also identify outgoing >> >> connections, so they know if you are opening remote pages. If all you do is >> >> display local content, and there is no outgoing connections, then security >> >> analysis of your app is easier (also, it works offline from the start which >> >> is good). This is not an infalible system, but it works for the average >> >> case. >> >> >> >> As for having an app, that displays external webpages which allow you to >> >> buy stuff might be a violation of Apple TOS. That is why you don't buy >> >> Kindle books on the Kindle app on iOS. Amazon doesn't want to give Apple a >> >> cut. An app that advertises itself as a browser has more leeway with this >> >> than others. For example it is OK for Mozilla to ship "Firefox" (not really >> >> Firefox, more like mozSafari) in iOS even though you can open web pages and >> >> buy stuff with it. It is not OK for you to create an app that opens your >> >> webstore and sells stuff. >> >> >> >> I'll write another message about WebAssembly... >> >> >> >> On Wed, 20 Jan 2021 at 12:22, Mark Smith via use-livecode < >> >> use-livecode at lists.runrev.com> wrote: >> >> >> >>> Thanks Kee, but I am a bit puzzled by the restriction. >> >>> >> >>> That would require complicity from the businesses, which if reputable >> >>> would be a stretch, no? For example, if I had an app that linked to course >> >>> selections on University websites, are they going to suggest that these >> >>> could be portals to pedophile shopping sites by entering a secret pass >> >>> phrase? By the sounds of it, please correct me if I am wrong, no iStore app >> >>> can link to a website for content regardless of the status of the >> >>> organization that stands behind the site? Hmmmm, I still have a lot to >> >>> learn in this space. >> >>> >> >>> Are there any links available to guidelines that describe these >> >>> limitations? >> >>> >> >>> Thanks >> >>> Mark >> >>> >> >>>> On Jan 20, 2021, at 4:25 AM, kee nethery via use-livecode < >> >>> use-livecode at lists.runrev.com> wrote: >> >>>> >> >>>> An app to web content is a mystery app. Your restaurant review app that >> >>> pulls from the web could easily be transformed into a pedophile shopping >> >>> app by entering a secret pass phrase and then changing the data on the web >> >>> site. (as an extreme example) >> >>> >> >>> _______________________________________________ >> >>> use-livecode mailing list >> >>> use-livecode 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 >> >> >> > >> > >> > -- >> > 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 >> > > > -- > https://www.andregarzia.com > Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From klaus at major-k.de Wed Jan 20 13:14:05 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 20 Jan 2021 19:14:05 +0100 Subject: GRID and GRIDSIZE Message-ID: <542EBEF8-EB14-433D-AB14-872BF090A0BE@major-k.de> Hi friends, is it correct that "snap to grid" does only work in the IDE in "Pointer" mode? Thanks for any insight. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Wed Jan 20 15:02:01 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Jan 2021 12:02:01 -0800 Subject: GRID and GRIDSIZE In-Reply-To: <542EBEF8-EB14-433D-AB14-872BF090A0BE@major-k.de> References: <542EBEF8-EB14-433D-AB14-872BF090A0BE@major-k.de> Message-ID: <2e00220c-ca84-b06f-a803-c3ae11b73170@fourthworld.com> Klaus wrote: > is it correct that "snap to grid" does only work in the IDE in > "Pointer" mode? Given its role in snapping the dragging of selected objects, what else might it do? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From klaus at major-k.de Wed Jan 20 15:11:24 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 20 Jan 2021 21:11:24 +0100 Subject: GRID and GRIDSIZE In-Reply-To: <2e00220c-ca84-b06f-a803-c3ae11b73170@fourthworld.com> References: <542EBEF8-EB14-433D-AB14-872BF090A0BE@major-k.de> <2e00220c-ca84-b06f-a803-c3ae11b73170@fourthworld.com> Message-ID: <38D54EB6-8FC0-4E9A-A63B-285328D58979@major-k.de> Hi Richard, > Am 20.01.2021 um 21:02 schrieb Richard Gaskin via use-livecode : > > Klaus wrote: > > > is it correct that "snap to grid" does only work in the IDE in > > "Pointer" mode? > > Given its role in snapping the dragging of selected objects, what else might it do? I actually exspected a simple "yes" or "no". 8-) Remember, I am not a native english speaker, so I am not sure what exactly you mean. > -- > Richard Gaskin Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Wed Jan 20 15:52:48 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Jan 2021 12:52:48 -0800 Subject: GRID and GRIDSIZE In-Reply-To: <38D54EB6-8FC0-4E9A-A63B-285328D58979@major-k.de> References: <38D54EB6-8FC0-4E9A-A63B-285328D58979@major-k.de> Message-ID: Klaus wrote: > Am 20.01.2021 um 21:02 schrieb Richard Gaskin: > >> Klaus wrote: >> >>> is it correct that "snap to grid" does only work in the IDE in >>> "Pointer" mode? >> >> Given its role in snapping the dragging of selected objects, what >> else might it do? > > I actually exspected a simple "yes" or "no". 8-) Then "Yes". > Remember, I am not a native english speaker, so I am not sure what > exactly you mean. You write English so much better than many Americans I know it's easy to forget. I was asking what you wanted the grid snap feature to do beyond working only in Pointer mode. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tore.nilsen at me.com Wed Jan 20 16:02:30 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 20 Jan 2021 22:02:30 +0100 Subject: GRID and GRIDSIZE In-Reply-To: References: <38D54EB6-8FC0-4E9A-A63B-285328D58979@major-k.de> Message-ID: > 20. jan. 2021 kl. 21:52 skrev Richard Gaskin via use-livecode : > > I was asking what you wanted the grid snap feature to do beyond working only in Pointer mode. One could think that the grid snap feature would work in Run mode in the IDE if scripts would allow the user to move controls in this mode. One could also think that the grid snap feature would work in a standalone under the same circumstances. This would allow for better control of placement of controls ?out of the box?. Best regards Tore Nilsen From klaus at major-k.de Wed Jan 20 16:03:05 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 20 Jan 2021 22:03:05 +0100 Subject: GRID and GRIDSIZE In-Reply-To: References: <38D54EB6-8FC0-4E9A-A63B-285328D58979@major-k.de> Message-ID: <773A3571-8657-47BD-9C1E-84BB7D49E2BF@major-k.de> Hi Richard, > Am 20.01.2021 um 21:52 schrieb Richard Gaskin via use-livecode : > ... > >>> is it correct that "snap to grid" does only work in the IDE in > >>> "Pointer" mode? > > > >> Given its role in snapping the dragging of selected objects, what > >> else might it do? > > I actually exspected a simple "yes" or "no". 8-) > Then "Yes". Ah, thank you. > > Remember, I am not a native english speaker, so I am not sure what > > exactly you mean. > You write English so much better than many Americans I know it's easy to forget. Thank you for the flowers! Sometimes I "don't get it" immediately however. ;-) > I was asking what you wanted the grid snap feature to do beyond working only in Pointer mode. Well, to also work with the BROWSE tool in a runtime. 8-) > -- > Richard Gaskin Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Wed Jan 20 16:33:55 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Jan 2021 15:33:55 -0600 Subject: Trying to use the Segmented Control In-Reply-To: References: Message-ID: On 12/4/20 3:32 AM, Niggemann, Bernd via use-livecode wrote: >> Ralf Bitter wrote > >> See: https://github.com/revig/universal-button-widget/releases/tag/1.0.1 > > > Thank you Ralf for this brilliant widget. > > Kind regards > Bernd I finally had a chance to look at this widget. Thank you Ralf for your generous contribution, this is very useful! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Wed Jan 20 17:32:01 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 20 Jan 2021 22:32:01 +0000 Subject: GRID and GRIDSIZE In-Reply-To: References: <38D54EB6-8FC0-4E9A-A63B-285328D58979@major-k.de> Message-ID: <1A160F74-FC5F-4524-9E22-3B2CEF7EEDFC@iotecdigital.com> If that were allowed one could conceive of writing a standalone that was it?s own IDE and selling it as a third party app. Bob S On Jan 20, 2021, at 1:02 PM, Tore Nilsen via use-livecode > wrote: One could think that the grid snap feature would work in Run mode in the IDE if scripts would allow the user to move controls in this mode. One could also think that the grid snap feature would work in a standalone under the same circumstances. This would allow for better control of placement of controls ?out of the box?. Best regards Tore Nilsen From klaus at major-k.de Wed Jan 20 17:37:52 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 20 Jan 2021 23:37:52 +0100 Subject: GRID and GRIDSIZE In-Reply-To: <1A160F74-FC5F-4524-9E22-3B2CEF7EEDFC@iotecdigital.com> References: <38D54EB6-8FC0-4E9A-A63B-285328D58979@major-k.de> <1A160F74-FC5F-4524-9E22-3B2CEF7EEDFC@iotecdigital.com> Message-ID: Hi Bob, > Am 20.01.2021 um 23:32 schrieb Bob Sneidar via use-livecode : > > If that were allowed one could conceive of writing a standalone that was it?s own IDE and selling it as a third party app. this is in any case explicitely forbidden by LC license agreement (the fineprint)! :-) But this is not a special IDE feature, one could also use it in a runtime. So I thought we could use this if not in the IDE, too. > Bob S > > On Jan 20, 2021, at 1:02 PM, Tore Nilsen via use-livecode > wrote: > > One could think that the grid snap feature would work in Run mode in the IDE if scripts would allow the user to move controls in this mode. One could also think that the grid snap feature would work in a standalone under the same circumstances. This would allow for better control of placement of controls ?out of the box?. > > Best regards > Tore Nilsen Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Wed Jan 20 18:08:50 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 20 Jan 2021 23:08:50 +0000 Subject: Standalone app settings Message-ID: Hi all. Weird issue. In my Forms Generator app I can no longer open Standalone Settings using Indy 9.6.1. I CAN for a brand new stack though! And I CAN if I use Community 9.6.0. Is there a way to intercept a message when I attempt to get those settings? Bob S From neville.smythe at optusnet.com.au Wed Jan 20 18:53:51 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 21 Jan 2021 10:53:51 +1100 Subject: Call lc from php? Message-ID: <6E315A9A-3A30-40BF-B53F-E5CE94168289@optusnet.com.au> Quick question: is it possible to execute a .lc server script from within php (eg from an index.php page)? This other way is documented, but on a cursory perusal I couldn?t see how to do it, and I?ve forgotten more about php than I remember. Maybe using a shell command within the php, but is there a way set up php to automatically recognise .lc? Php.ini?? Neville From bobsneidar at iotecdigital.com Wed Jan 20 19:21:12 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 21 Jan 2021 00:21:12 +0000 Subject: LC Community Ask Password Message-ID: <107F47B3-6EDE-4095-BE1B-86FC3996B933@iotecdigital.com> Hi all. Ask Password dialog pops but will not take input, nor can I click the Cancel or OK buttons. V9.6.2 RC2 Bob S From bobsneidar at iotecdigital.com Wed Jan 20 19:29:03 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 21 Jan 2021 00:29:03 +0000 Subject: LC Community Ask Password In-Reply-To: <107F47B3-6EDE-4095-BE1B-86FC3996B933@iotecdigital.com> References: <107F47B3-6EDE-4095-BE1B-86FC3996B933@iotecdigital.com> Message-ID: <631CCA6F-2FB0-431E-B407-50C01CD14F1C@iotecdigital.com> Oddly 9.6.2 RC2 Community DOES solve the Standalone App settings bug I mentioned in another post. This is all Mac BTW. Bob S > On Jan 20, 2021, at 4:21 PM, Bob Sneidar via use-livecode wrote: > > Hi all. > > Ask Password dialog pops but will not take input, nor can I click the Cancel or OK buttons. > > V9.6.2 RC2 > > 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 ambassador at fourthworld.com Thu Jan 21 01:14:19 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Jan 2021 22:14:19 -0800 Subject: Call lc from php? In-Reply-To: <6E315A9A-3A30-40BF-B53F-E5CE94168289@optusnet.com.au> References: <6E315A9A-3A30-40BF-B53F-E5CE94168289@optusnet.com.au> Message-ID: <661c5e0b-96a5-8513-4ec9-e6325687cd0c@fourthworld.com> Neville Smythe wrote: > Quick question: is it possible to execute a .lc server script from > within php (eg from an index.php page)? > > This other way is documented, but on a cursory perusal I couldn?t see > how to do it, and I?ve forgotten more about php than I remember. > > Maybe using a shell command within the php, but is there a way set up > php to automatically recognise .lc? Php.ini?? No recognition needed if you're explicit: you can pass the name of the .lc page to the Server engine as a param, e.g.: ./livecode-server mycoolscript.lc And there's also a second way: make the .lc script executable, and let the shell know what engine is needed to run it with a shebang on the top line: #!/usr/local/bin/livecode-server More on that from David Williams in the LC blog: https://livecode.com/a-livecode-shell/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jbv at souslelogo.com Thu Jan 21 02:31:14 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Thu, 21 Jan 2021 02:31:14 -0500 Subject: Call lc from php? In-Reply-To: <6E315A9A-3A30-40BF-B53F-E5CE94168289@optusnet.com.au> References: <6E315A9A-3A30-40BF-B53F-E5CE94168289@optusnet.com.au> Message-ID: Hi, Le 2021-01-20 18:53, Neville Smythe via use-livecode a ?crit?: > Quick question: is it possible to execute a .lc server script from > within php (eg from an index.php page)? > I don't know if it will be useful, but here's the method I've been using for years : $data = 'https://www.mydomain.com/myscript.lc?a=' . $mydata; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); curl_close($ch); From merakosp at gmail.com Thu Jan 21 03:35:54 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 21 Jan 2021 10:35:54 +0200 Subject: LC Community Ask Password In-Reply-To: <631CCA6F-2FB0-431E-B407-50C01CD14F1C@iotecdigital.com> References: <107F47B3-6EDE-4095-BE1B-86FC3996B933@iotecdigital.com> <631CCA6F-2FB0-431E-B407-50C01CD14F1C@iotecdigital.com> Message-ID: Hello Bob, I just did a quick test in LC 9.6.2 RC-2 and I cannot reproduce this bug. I put this code in a button: on mouseUp pButtonNumber ask password "Please log in:" titled "Password Test" end mouseUp I also tried putting this button in a modal stack. In both cases, I can type in the ask password dialog, and the OK and Cancel buttons do respond. Could you file a bug report and attach a sample stack that demonstrates the problem, so as we fix it asap? Also, what is your MacOS version? I tested on Mojave. Kind regards, Panos -- On Thu, 21 Jan 2021 at 02:30, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Oddly 9.6.2 RC2 Community DOES solve the Standalone App settings bug I > mentioned in another post. This is all Mac BTW. > > Bob S > > > > On Jan 20, 2021, at 4:21 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi all. > > > > Ask Password dialog pops but will not take input, nor can I click the > Cancel or OK buttons. > > > > V9.6.2 RC2 > > > > Bob S > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From keith.clarke at me.com Thu Jan 21 04:30:38 2021 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 21 Jan 2021 09:30:38 +0000 Subject: How to find the offset of the first character in a string that's not a tab? Message-ID: <3FBE7F92-A264-411B-A9D9-E76FCEF6821C@me.com> Hi folks, Please can anyone advise on the correct syntax for trying to find the first non-tab character offset in a string, as 'offset(not(tab), tString)? seems to be returning strange results - i.e. a number but not the correct one? Best, Keith From dick.kriesel at mail.com Thu Jan 21 05:25:33 2021 From: dick.kriesel at mail.com (Dick Kriesel) Date: Thu, 21 Jan 2021 02:25:33 -0800 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: <3FBE7F92-A264-411B-A9D9-E76FCEF6821C@me.com> References: <3FBE7F92-A264-411B-A9D9-E76FCEF6821C@me.com> Message-ID: <86D7F440-E317-4437-ACB1-B7821297B03D@mail.com> > On Jan 21, 2021, at 1:30 AM, Keith Clarke via use-livecode > wrote: > > Please can anyone advise on the correct syntax for trying to find the first non-tab character offset in a string Hi, Keith. You could test each character until you find a tab: function offsetOfNotTab pString local i repeat for each char tChar in pString add 1 to i if tChar <> tab then return i end repeat end offsetOfNotTab ? Dick From dick.kriesel at mail.com Thu Jan 21 05:33:08 2021 From: dick.kriesel at mail.com (Dick Kriesel) Date: Thu, 21 Jan 2021 02:33:08 -0800 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: <86D7F440-E317-4437-ACB1-B7821297B03D@mail.com> References: <3FBE7F92-A264-411B-A9D9-E76FCEF6821C@me.com> <86D7F440-E317-4437-ACB1-B7821297B03D@mail.com> Message-ID: > On Jan 21, 2021, at 2:25 AM, Dick Kriesel via use-livecode wrote: > > Hi, Keith. You could test each character until you find a tab: > correction: until you find one that?s not a tab From keith.clarke at me.com Thu Jan 21 05:34:08 2021 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 21 Jan 2021 10:34:08 +0000 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: <86D7F440-E317-4437-ACB1-B7821297B03D@mail.com> References: <3FBE7F92-A264-411B-A9D9-E76FCEF6821C@me.com> <86D7F440-E317-4437-ACB1-B7821297B03D@mail.com> Message-ID: <44216495-D1AE-494F-BE0F-C770C1BD03D4@me.com> Thanks Dick, this would definitely work - and I?m iterating through characters and lines anyway as I attempt to prettify a long data string for eased human readability. I was just keen to understand why offset wasn?t happy with the ?not(tab)? in this instance. Best, Keith > On 21 Jan 2021, at 10:25, Dick Kriesel via use-livecode wrote: > > >> On Jan 21, 2021, at 1:30 AM, Keith Clarke via use-livecode > wrote: >> >> Please can anyone advise on the correct syntax for trying to find the first non-tab character offset in a string > > Hi, Keith. You could test each character until you find a tab: > > function offsetOfNotTab pString > local i > repeat for each char tChar in pString > add 1 to i > if tChar <> tab then return i > end repeat > end offsetOfNotTab > > ? Dick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dick.kriesel at mail.com Thu Jan 21 05:49:31 2021 From: dick.kriesel at mail.com (Dick Kriesel) Date: Thu, 21 Jan 2021 02:49:31 -0800 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: <44216495-D1AE-494F-BE0F-C770C1BD03D4@me.com> References: <3FBE7F92-A264-411B-A9D9-E76FCEF6821C@me.com> <86D7F440-E317-4437-ACB1-B7821297B03D@mail.com> <44216495-D1AE-494F-BE0F-C770C1BD03D4@me.com> Message-ID: <28B0A145-8888-47E5-93F0-1F24EE81D2B2@mail.com> > On Jan 21, 2021, at 2:34 AM, Keith Clarke via use-livecode wrote: > I was just keen to understand why offset wasn?t happy with the ?not(tab)? in this instance. expression "not(tab)" evaluates to true, which doesn?t serve your purpose ? Dick From neville.smythe at optusnet.com.au Thu Jan 21 06:13:48 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 21 Jan 2021 22:13:48 +1100 Subject: Call lc from php? Message-ID: <8B525863-1D33-419F-AF24-AA948AAA41E9@optusnet.com.au> A slightly less cursory investigation informs me that works, as I should;d have known. Neville From rabit at revigniter.com Thu Jan 21 06:19:37 2021 From: rabit at revigniter.com (Ralf Bitter) Date: Thu, 21 Jan 2021 12:19:37 +0100 Subject: Trying to use the Segmented Control In-Reply-To: References: Message-ID: Thank you, I'm glad to see that there is someone who finds use for the widget. Ralf On 20.01.21 22:33, J. Landman Gay via use-livecode wrote: > On 12/4/20 3:32 AM, Niggemann, Bernd via use-livecode wrote: >>> Ralf Bitter wrote >> >>> See: https://github.com/revig/universal-button-widget/releases/tag/1.0.1 >> >> >> Thank you Ralf for this brilliant widget. >> >> Kind regards >> Bernd > > I finally had a chance to look at this widget. Thank you Ralf for your > generous contribution, this is very useful! From keith.clarke at me.com Thu Jan 21 07:13:03 2021 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 21 Jan 2021 12:13:03 +0000 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: <28B0A145-8888-47E5-93F0-1F24EE81D2B2@mail.com> References: <3FBE7F92-A264-411B-A9D9-E76FCEF6821C@me.com> <86D7F440-E317-4437-ACB1-B7821297B03D@mail.com> <44216495-D1AE-494F-BE0F-C770C1BD03D4@me.com> <28B0A145-8888-47E5-93F0-1F24EE81D2B2@mail.com> Message-ID: <7C578CDB-6B84-4380-9A5D-322ADD0B1C39@me.com> Ah yes indeed, I?d forgotten I could test with 'put not(tab)? in the message box - that certainly proves the syntax was wrong! :-) Best, Keith > On 21 Jan 2021, at 10:49, Dick Kriesel via use-livecode wrote: > > > >> On Jan 21, 2021, at 2:34 AM, Keith Clarke via use-livecode wrote: > >> I was just keen to understand why offset wasn?t happy with the ?not(tab)? in this instance. > > expression "not(tab)" evaluates to true, which doesn?t serve your purpose > > ? Dick > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Thu Jan 21 09:03:15 2021 From: brian at milby7.com (Brian Milby) Date: Thu, 21 Jan 2021 09:03:15 -0500 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: <7C578CDB-6B84-4380-9A5D-322ADD0B1C39@me.com> References: <7C578CDB-6B84-4380-9A5D-322ADD0B1C39@me.com> Message-ID: <5421DD55-8CD3-44B1-A5FB-6BB3309C4F48@milby7.com> You could also use matchChunk with a regular expression that excludes the tab character. Sent from my iPhone > On Jan 21, 2021, at 7:14 AM, Keith Clarke via use-livecode wrote: > > ?Ah yes indeed, I?d forgotten I could test with 'put not(tab)? in the message box - that certainly proves the syntax was wrong! :-) > Best, > Keith > >>> On 21 Jan 2021, at 10:49, Dick Kriesel via use-livecode wrote: >>> >>> >>> >>>> On Jan 21, 2021, at 2:34 AM, Keith Clarke via use-livecode wrote: >>> >>> I was just keen to understand why offset wasn?t happy with the ?not(tab)? in this instance. >> >> expression "not(tab)" evaluates to true, which doesn?t serve your purpose >> >> ? Dick >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Thu Jan 21 09:36:46 2021 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 21 Jan 2021 14:36:46 +0000 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: <5421DD55-8CD3-44B1-A5FB-6BB3309C4F48@milby7.com> References: <7C578CDB-6B84-4380-9A5D-322ADD0B1C39@me.com> <5421DD55-8CD3-44B1-A5FB-6BB3309C4F48@milby7.com> Message-ID: Thanks Brian. I looked at matchChunk in the dictionary & it seems to return a boolean, rather than the offset. Thanks all - I?ve stopped trying to find the syntax for ?find any char but this? in offset and instead, taken Dick?s advice to iterate through the chars and count the loops until char <> tab. :) Best, Keith > On 21 Jan 2021, at 14:03, Brian Milby via use-livecode wrote: > > You could also use matchChunk with a regular expression that excludes the tab character. > > Sent from my iPhone > >> On Jan 21, 2021, at 7:14 AM, Keith Clarke via use-livecode wrote: >> >> ?Ah yes indeed, I?d forgotten I could test with 'put not(tab)? in the message box - that certainly proves the syntax was wrong! :-) >> Best, >> Keith >> >>>> On 21 Jan 2021, at 10:49, Dick Kriesel via use-livecode wrote: >>>> >>>> >>>> >>>>> On Jan 21, 2021, at 2:34 AM, Keith Clarke via use-livecode wrote: >>>> >>>> I was just keen to understand why offset wasn?t happy with the ?not(tab)? in this instance. >>> >>> expression "not(tab)" evaluates to true, which doesn?t serve your purpose >>> >>> ? Dick >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Thu Jan 21 10:06:30 2021 From: brian at milby7.com (Brian Milby) Date: Thu, 21 Jan 2021 10:06:30 -0500 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: References: Message-ID: Just to clarify my suggestion, it isn?t the return value that you would use (other than to check for success), but the third variable in the call that has the position that you would be looking for. When you say that you are prettifying... are you doing something to adjust each tab in the line? If so, split may be useful to chunk the data into an array. And yes, there are many ways to do just about anything. Glad you found something that works for your situation. Sent from my iPhone > On Jan 21, 2021, at 9:38 AM, Keith Clarke via use-livecode wrote: > > ?Thanks Brian. I looked at matchChunk in the dictionary & it seems to return a boolean, rather than the offset. > > Thanks all - I?ve stopped trying to find the syntax for ?find any char but this? in offset and instead, taken Dick?s advice to iterate through the chars and count the loops until char <> tab. :) > Best, > Keith > >> On 21 Jan 2021, at 14:03, Brian Milby via use-livecode wrote: >> >> You could also use matchChunk with a regular expression that excludes the tab character. >> >> Sent from my iPhone >> >>>> On Jan 21, 2021, at 7:14 AM, Keith Clarke via use-livecode wrote: >>> >>> ?Ah yes indeed, I?d forgotten I could test with 'put not(tab)? in the message box - that certainly proves the syntax was wrong! :-) >>> Best, >>> Keith >>> >>>>> On 21 Jan 2021, at 10:49, Dick Kriesel via use-livecode wrote: >>>>> >>>>> >>>>> >>>>>> On Jan 21, 2021, at 2:34 AM, Keith Clarke via use-livecode wrote: >>>>> >>>>> I was just keen to understand why offset wasn?t happy with the ?not(tab)? in this instance. >>>> >>>> expression "not(tab)" evaluates to true, which doesn?t serve your purpose >>>> >>>> ? Dick >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Jan 21 10:17:45 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 21 Jan 2021 10:17:45 -0500 Subject: Call lc from php? In-Reply-To: <8B525863-1D33-419F-AF24-AA948AAA41E9@optusnet.com.au> References: <8B525863-1D33-419F-AF24-AA948AAA41E9@optusnet.com.au> Message-ID: <9A20091F-75BB-45B8-9196-AE912F8DBA97@all-auctions.com> Hi Neville, Why are you still using PHP when LC is better? Why are you still using PHP when the hackers are all trying to hack it, and are apparently quite successful at it too! If you check your system logs you will discover that hackers try to install PHP on your system if it isn?t running there yet, so they can hack it! The only reason I can see for still running PHP is if you have years worth of old PHP code that you can?t afford to give up because the cost is too great to replace it with LC code. Oh well, at least you found what you needed in the meantime. Just my 2 cents for the day. ;-) Good luck! Rick > On Jan 21, 2021, at 6:13 AM, Neville Smythe via use-livecode wrote: > > A slightly less cursory investigation informs me that > > > > works, as I should;d have known. > > > 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 keith.clarke at me.com Thu Jan 21 10:35:49 2021 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 21 Jan 2021 15:35:49 +0000 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: References: Message-ID: Ah, thanks, Brian - re-reading more carefully, I see how the first item in the positionVarsList would provide the offset of the first non-tab character. Re prettification, I?m trying to create a quick & dirty tool to process a set of comma-delimited query strings - to see their common patterns. They have nested label:value pairs, some of which expand further into arrays of varying depth bounded with curly braces & square brackets but they?re not standards-based JSON HTML or XML, so Coda prettification tools can?t won?t recognise and clean them up for me. It?s (hopefully) a one-off activity, so I?m hoping to get away with quick & dirty text manipulation. I?ve made reasonable progress by iterating through chars but now need to do some post-processing cleanup of the ?tab-nested? lines - hence the need to count the tab indentations. I try to avoid arrays, as I can?t see the workings! :-D Best, Keith > On 21 Jan 2021, at 15:06, Brian Milby via use-livecode wrote: > > Just to clarify my suggestion, it isn?t the return value that you would use (other than to check for success), but the third variable in the call that has the position that you would be looking for. > > When you say that you are prettifying... are you doing something to adjust each tab in the line? If so, split may be useful to chunk the data into an array. > > And yes, there are many ways to do just about anything. Glad you found something that works for your situation. > > Sent from my iPhone > >> On Jan 21, 2021, at 9:38 AM, Keith Clarke via use-livecode wrote: >> >> ?Thanks Brian. I looked at matchChunk in the dictionary & it seems to return a boolean, rather than the offset. >> >> Thanks all - I?ve stopped trying to find the syntax for ?find any char but this? in offset and instead, taken Dick?s advice to iterate through the chars and count the loops until char <> tab. :) >> Best, >> Keith >> >>> On 21 Jan 2021, at 14:03, Brian Milby via use-livecode wrote: >>> >>> You could also use matchChunk with a regular expression that excludes the tab character. >>> >>> Sent from my iPhone >>> >>>>> On Jan 21, 2021, at 7:14 AM, Keith Clarke via use-livecode wrote: >>>> >>>> ?Ah yes indeed, I?d forgotten I could test with 'put not(tab)? in the message box - that certainly proves the syntax was wrong! :-) >>>> Best, >>>> Keith >>>> >>>>>> On 21 Jan 2021, at 10:49, Dick Kriesel via use-livecode wrote: >>>>>> >>>>>> >>>>>> >>>>>>> On Jan 21, 2021, at 2:34 AM, Keith Clarke via use-livecode wrote: >>>>>> >>>>>> I was just keen to understand why offset wasn?t happy with the ?not(tab)? in this instance. >>>>> >>>>> expression "not(tab)" evaluates to true, which doesn?t serve your purpose >>>>> >>>>> ? Dick >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 21 12:24:08 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 21 Jan 2021 12:24:08 -0500 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: References: Message-ID: Always remember who is the computer, and who is the coder! The computer may need to perform a loop under the hood, but that doesn't mean you need to use the "repeat" keyword. It's often cleaner/faster when you don't. For those who value concise code and good performance in LiveCode, avoid unnecessary repeats. Several other methods - regex as already suggested, or replace, word (if you're also skipping spaces), etc.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From mkoob at rogers.com Thu Jan 21 14:18:02 2021 From: mkoob at rogers.com (Martin Koob) Date: Thu, 21 Jan 2021 14:18:02 -0500 Subject: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) In-Reply-To: <71D77D7B-C4EB-49C8-987B-1E5DCCB67F7A@mac.com> References: <576C865C-2649-4215-AEE8-E7E001FB713D@mac.com> <71D77D7B-C4EB-49C8-987B-1E5DCCB67F7A@mac.com> Message-ID: Hi Brian I put my availability for https://www.when2meet.com/?10756300-eiYV4 Mine overlaps with yours and Henk?s availability on Friday Jan 22, 2021 9:30 am - 10:00 am EST and on Tuesday Jan 26, 2021 from 9:30 am - 10:45 am EST Anyone else available at those times? Martin > On Jan 19, 2021, at 11:53 AM, Brian K. Duck wrote: > > > Please take the time to sign in to When2Meet at this URL, and let us know when you are available for week #2 of xAPI in LiveCode: > xAPI in LiveCode (Week 2) > > https://www.when2meet.com/?10756300-eiYV4 > > Thanks for your attention, From ambassador at fourthworld.com Thu Jan 21 15:50:02 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Jan 2021 12:50:02 -0800 Subject: Call lc from php? In-Reply-To: <9A20091F-75BB-45B8-9196-AE912F8DBA97@all-auctions.com> References: <9A20091F-75BB-45B8-9196-AE912F8DBA97@all-auctions.com> Message-ID: <30cf2926-b160-caac-fa10-e600f4f39f80@fourthworld.com> Rick Harrison wrote: >> On Jan 21, 2021, at 6:13 AM, Neville Smythe wrote: >> A slightly less cursory investigation informs me that >> > > Why are you still using PHP when LC is better? I agree of course that LC is a strong contender against any popular server-side language, as LC's chunk expressions and self-documenting style make clear. But it isn't nearly as popular. LC is where Ruby was before Rails: an interesting and useful language largely underappreciated for server work. We don't even have a single generalized user management library for LC, let alone any of the CMSes, CRMs, LMSes, or hundreds of other categories where PHP is well established. So one way LC can play a growing role in server development is through integration with existing services. And odds are those existing services are written in PHP. So Neville's question is one we might all ask ourselves: How can we use LC to add new capabilities to the PHP-based systems that run most of the online world? For my own part I've been exploring ways LC can be usefully integrated with the breadth of services provided with Nextcloud, which like most server systems is written in PHP. I could theoretically reinvent everything in Nextcloud using LC, but given the countless thousands of hours that have gone into the vast suite of apps that community provides, why would I? Right out of the box I get an API for user management, with access to arbitrary user-specific storage via WebDAV. One line of install code gives me a ready-to-go backend for a wide range of apps, letting me focus on the client side. Lately I've begun taking that further, poking around the server side similar to whatever Neville's working on, looking for ways to integrate LC services with the services already built into Nextcloud. Rewriting Nextcloud from scratch would be doable but prohibitively expensive. But building on top of the Nextcloud platform lets me stand on the shoulders of giants, to see much further than I could on my own. Integration is increasingly a core part of what my clients ask me to do as well. The days of monolithic one-size-fits-all systems are passing, if they haven't passed already. From here forward, the biggest opportunities are in integration with well established services. This not only lets us focus on the specific functionality we enjoy building, but also carries the additional benefit for all of us in the LC community in introducing our favorite language into the communities for those systems. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bduck at mac.com Thu Jan 21 16:55:57 2021 From: bduck at mac.com (Brian K. Duck) Date: Thu, 21 Jan 2021 16:55:57 -0500 Subject: Fwd: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) Message-ID: <369A8F3D-DF1A-4A88-98ED-B23D5EDC9CDD@mac.com> ? Martin, et al. I see both Friday 9-11 am EST and Tuuesday 9-11 am as good working times. David Boville has offered his premium Zoom account, so I?ve forwarded meeting notices to him to see if he is available. If anyone has a PRO/paid zoom account and may be able to host meetings, please let me know - it seems we may be best served with 2 hour work sessions. These are longer than the 40 minute free account allows, and it?s a challenge to get going, only to be kicked out of the room and get everyone to rejoin. I should have said this sooner: one major drawback of When2Meet is that I don?t see email addresses for those who add their time, but don?t respond to this group. If you are interested, please send email Il directly to bduck at mac dot com, and we?ll get you on this list. We?ve also had some interest from the CMI5 working group, they meet Fridays at 10:30 EST, so there is overlap with their meeting. Sent from my iPad, Brian Duck From brahma at hindu.org Thu Jan 21 21:30:11 2021 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 22 Jan 2021 02:30:11 +0000 Subject: I Want to Print Out the Entire "mobile (ad,Control,Set,Get,Do" Message-ID: It seems to be NOT in the guide. At least printable From brian at milby7.com Thu Jan 21 21:54:48 2021 From: brian at milby7.com (Brian Milby) Date: Thu, 21 Jan 2021 21:54:48 -0500 Subject: I Want to Print Out the Entire "mobile (ad,Control,Set,Get,Do" In-Reply-To: References: Message-ID: I think you will need to print the dictionary entries for mobileControlSet and mobileControlGet and mobileControlDo. Sent from my iPhone > On Jan 21, 2021, at 9:31 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > ?It seems to be NOT in the guide. At least printable > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bduck at mac.com Fri Jan 22 00:54:53 2021 From: bduck at mac.com (Brian K. Duck) Date: Fri, 22 Jan 2021 00:54:53 -0500 Subject: Fwd: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) References: <4B1DE94D-63C4-49C5-93D6-77DDD0CC5DE2@mac.com> Message-ID: <19602FA0-E0A2-4A02-9291-93CA1B2A3E0F@mac.com> Copy to the list... > Begin forwarded message: > > From: "Brian K. Duck" > Subject: Re: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) > Date: January 22, 2021 at 12:52:40 AM EST > To: Martin Koob , David Bovill , Brian Duck > Cc: irog at mac.com, Alex , chipsm at themartinz.com, Henry Ryng , Bryan Anderson > > I?ve not heard back that David can make the meeting or host the zoom, with that in mind, I?ll make the first Zoom meeting for. 9 AM EST later this morning, and if we run out of time, I?ll schedule another and share via email and chat. > > Brian > > Brian Duck is inviting you to a scheduled Zoom meeting. > > Topic: xAPI in LiveCode - Zoom Meeting > Time: Jan 22, 2021 09:00 AM America/Detroit > > Join Zoom Meeting > https://us04web.zoom.us/j/76771139503?pwd=UGRpWno1b0d6c1hPUlRUY0pTdmtzZz09 > > Meeting ID: 767 7113 9503 > Passcode: g95CH6 > >> On Jan 21, 2021, at 4:51 PM, Brian K. Duck > wrote: >> >> Martin, et al. >> >> I see both Friday 9-11 am EST and Tuuesday 9-11 am as good working times. >> >> David Boville has offered his premium Zoom account, so I?ve forwarded meeting notices to him to see if he is available. >> >> If anyone has a PRO/paid zoom account and may be able to host meetings, please let me know - it seems we may be best served with 2 hour work sessions. These are longer than the 40 minute free account allows, and it?s a challenge to get going, only to be kicked out of the room and get everyone to rejoin. >> >> I should have said this sooner: one major drawback of When2Meet is that I don?t see email addresses for those who add their time, but don?t respond to this group. >> If you are interested, please send email Il directly to bduck at mac dot com, and we?ll get you on this list. >> >> We?ve also had some interest from the CMI5 working group, they meet Fridays at 10:30 EST, so there is overlap with their meeting. >> >> Sent from my iPad, >> Brian Duck >> >>> On Jan 21, 2021, at 2:18 PM, Martin Koob > wrote: >>> >>> ?Hi Brian >>> >>> I put my availability for https://www.when2meet.com/?10756300-eiYV4 Mine overlaps with yours and Henk?s availability on Friday Jan 22, 2021 9:30 am - 10:00 am EST and on Tuesday Jan 26, 2021 from 9:30 am - 10:45 am EST >>> >>> Anyone else available at those times? >>> >>> Martin >>> >>> >>>> On Jan 19, 2021, at 11:53 AM, Brian K. Duck > wrote: >>>> >>>> >>>> Please take the time to sign in to When2Meet at this URL, and let us know when you are available for week #2 of xAPI in LiveCode: >>>> xAPI in LiveCode (Week 2) >>>> >>>> https://www.when2meet.com/?10756300-eiYV4 >>>> >>>> Thanks for your attention, >>> > From lheaford at icloud.com Fri Jan 22 03:56:10 2021 From: lheaford at icloud.com (Terence Heaford) Date: Fri, 22 Jan 2021 08:56:10 +0000 Subject: lock screen Message-ID: Just looking for clarity with regard to lock screen. Is there only one state for the screen, either locked or not locked and when is that state changed. --------------- on mouseUp lock screen aTest end mouseUp ---------------- on aTest ? is the screen still locked here end aTest ???????? At what point is unlock screen called by livecode without me calling it directly. The docs say when all pending handlers have completed but what exactly is a pending handler. Thanks Terry From brian at milby7.com Fri Jan 22 06:49:57 2021 From: brian at milby7.com (Brian Milby) Date: Fri, 22 Jan 2021 06:49:57 -0500 Subject: lock screen In-Reply-To: References: Message-ID: <1A04E438-3EEF-4F12-8AE2-9D7B387BB1D9@milby7.com> I?m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. Sent from my iPhone > On Jan 22, 2021, at 3:57 AM, Terence Heaford via use-livecode wrote: > > ?Just looking for clarity with regard to lock screen. > > Is there only one state for the screen, either locked or not locked and when is that state changed. > > --------------- > on mouseUp > > lock screen > > aTest > > end mouseUp > > ---------------- > on aTest > > ? is the screen still locked here > > end aTest > > ???????? > > At what point is unlock screen called by livecode without me calling it directly. > > The docs say when all pending handlers have completed but what exactly is a pending handler. > > > > Thanks > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Fri Jan 22 08:58:01 2021 From: david.bovill at gmail.com (David Bovill) Date: Fri, 22 Jan 2021 13:58:01 +0000 Subject: Fwd: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) In-Reply-To: <19602FA0-E0A2-4A02-9291-93CA1B2A3E0F@mac.com> References: <4B1DE94D-63C4-49C5-93D6-77DDD0CC5DE2@mac.com> <19602FA0-E0A2-4A02-9291-93CA1B2A3E0F@mac.com> Message-ID: I?m here :- but only occasionally in email) See you in a minute! On 22 Jan 2021, 05:56 +0000, Brian K. Duck via use-livecode , wrote: > Copy to the list... > > > Begin forwarded message: > > > > From: "Brian K. Duck" > > Subject: Re: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) > > Date: January 22, 2021 at 12:52:40 AM EST > > To: Martin Koob , David Bovill , Brian Duck > > Cc: irog at mac.com, Alex , chipsm at themartinz.com, Henry Ryng , Bryan Anderson > > > > I?ve not heard back that David can make the meeting or host the zoom, with that in mind, I?ll make the first Zoom meeting for. 9 AM EST later this morning, and if we run out of time, I?ll schedule another and share via email and chat. > > > > Brian > > > > Brian Duck is inviting you to a scheduled Zoom meeting. > > > > Topic: xAPI in LiveCode - Zoom Meeting > > Time: Jan 22, 2021 09:00 AM America/Detroit > > > > Join Zoom Meeting > > https://us04web.zoom.us/j/76771139503?pwd=UGRpWno1b0d6c1hPUlRUY0pTdmtzZz09 > > > > Meeting ID: 767 7113 9503 > > Passcode: g95CH6 > > > > > On Jan 21, 2021, at 4:51 PM, Brian K. Duck > wrote: > > > > > > Martin, et al. > > > > > > I see both Friday 9-11 am EST and Tuuesday 9-11 am as good working times. > > > > > > David Boville has offered his premium Zoom account, so I?ve forwarded meeting notices to him to see if he is available. > > > > > > If anyone has a PRO/paid zoom account and may be able to host meetings, please let me know - it seems we may be best served with 2 hour work sessions. These are longer than the 40 minute free account allows, and it?s a challenge to get going, only to be kicked out of the room and get everyone to rejoin. > > > > > > I should have said this sooner: one major drawback of When2Meet is that I don?t see email addresses for those who add their time, but don?t respond to this group. > > > If you are interested, please send email Il directly to bduck at mac dot com, and we?ll get you on this list. > > > > > > We?ve also had some interest from the CMI5 working group, they meet Fridays at 10:30 EST, so there is overlap with their meeting. > > > > > > Sent from my iPad, > > > Brian Duck > > > > > > > On Jan 21, 2021, at 2:18 PM, Martin Koob > wrote: > > > > > > > > Hi Brian > > > > > > > > I put my availability for https://www.when2meet.com/?10756300-eiYV4 Mine overlaps with yours and Henk?s availability on Friday Jan 22, 2021 9:30 am - 10:00 am EST and on Tuesday Jan 26, 2021 from 9:30 am - 10:45 am EST > > > > > > > > Anyone else available at those times? > > > > > > > > Martin > > > > > > > > > > > > > On Jan 19, 2021, at 11:53 AM, Brian K. Duck > wrote: > > > > > > > > > > > > > > > Please take the time to sign in to When2Meet at this URL, and let us know when you are available for week #2 of xAPI in LiveCode: > > > > > xAPI in LiveCode (Week 2) > > > > > > > > > > https://www.when2meet.com/?10756300-eiYV4 > > > > > > > > > > Thanks for your attention, > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Fri Jan 22 09:06:37 2021 From: david.bovill at gmail.com (David Bovill) Date: Fri, 22 Jan 2021 14:06:37 +0000 Subject: Fwd: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) In-Reply-To: References: <4B1DE94D-63C4-49C5-93D6-77DDD0CC5DE2@mac.com> <19602FA0-E0A2-4A02-9291-93CA1B2A3E0F@mac.com> Message-ID: <1b575053-c404-4888-a2f4-a93b3d139a41@Spark> Im in the waiting room? On 22 Jan 2021, 13:58 +0000, David Bovill , wrote: > I?m here :- but only occasionally in email) See you in a minute! > On 22 Jan 2021, 05:56 +0000, Brian K. Duck via use-livecode , wrote: > > Copy to the list... > > > > > Begin forwarded message: > > > > > > From: "Brian K. Duck" > > > Subject: Re: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) > > > Date: January 22, 2021 at 12:52:40 AM EST > > > To: Martin Koob , David Bovill , Brian Duck > > > Cc: irog at mac.com, Alex , chipsm at themartinz.com, Henry Ryng , Bryan Anderson > > > > > > I?ve not heard back that David can make the meeting or host the zoom, with that in mind, I?ll make the first Zoom meeting for. 9 AM EST later this morning, and if we run out of time, I?ll schedule another and share via email and chat. > > > > > > Brian > > > > > > Brian Duck is inviting you to a scheduled Zoom meeting. > > > > > > Topic: xAPI in LiveCode - Zoom Meeting > > > Time: Jan 22, 2021 09:00 AM America/Detroit > > > > > > Join Zoom Meeting > > > https://us04web.zoom.us/j/76771139503?pwd=UGRpWno1b0d6c1hPUlRUY0pTdmtzZz09 > > > > > > Meeting ID: 767 7113 9503 > > > Passcode: g95CH6 > > > > > > > On Jan 21, 2021, at 4:51 PM, Brian K. Duck > wrote: > > > > > > > > Martin, et al. > > > > > > > > I see both Friday 9-11 am EST and Tuuesday 9-11 am as good working times. > > > > > > > > David Boville has offered his premium Zoom account, so I?ve forwarded meeting notices to him to see if he is available. > > > > > > > > If anyone has a PRO/paid zoom account and may be able to host meetings, please let me know - it seems we may be best served with 2 hour work sessions. These are longer than the 40 minute free account allows, and it?s a challenge to get going, only to be kicked out of the room and get everyone to rejoin. > > > > > > > > I should have said this sooner: one major drawback of When2Meet is that I don?t see email addresses for those who add their time, but don?t respond to this group. > > > > If you are interested, please send email Il directly to bduck at mac dot com, and we?ll get you on this list. > > > > > > > > We?ve also had some interest from the CMI5 working group, they meet Fridays at 10:30 EST, so there is overlap with their meeting. > > > > > > > > Sent from my iPad, > > > > Brian Duck > > > > > > > > > On Jan 21, 2021, at 2:18 PM, Martin Koob > wrote: > > > > > > > > > > Hi Brian > > > > > > > > > > I put my availability for https://www.when2meet.com/?10756300-eiYV4 Mine overlaps with yours and Henk?s availability on Friday Jan 22, 2021 9:30 am - 10:00 am EST and on Tuesday Jan 26, 2021 from 9:30 am - 10:45 am EST > > > > > > > > > > Anyone else available at those times? > > > > > > > > > > Martin > > > > > > > > > > > > > > > > On Jan 19, 2021, at 11:53 AM, Brian K. Duck > wrote: > > > > > > > > > > > > > > > > > > Please take the time to sign in to When2Meet at this URL, and let us know when you are available for week #2 of xAPI in LiveCode: > > > > > > xAPI in LiveCode (Week 2) > > > > > > > > > > > > https://www.when2meet.com/?10756300-eiYV4 > > > > > > > > > > > > Thanks for your attention, > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Jan 22 09:24:28 2021 From: craig at starfirelighting.com (Craig newman) Date: Fri, 22 Jan 2021 09:24:28 -0500 Subject: lock screen In-Reply-To: <1A04E438-3EEF-4F12-8AE2-9D7B387BB1D9@milby7.com> References: <1A04E438-3EEF-4F12-8AE2-9D7B387BB1D9@milby7.com> Message-ID: <000201d6f0ca$4af3a5b0$e0daf110$@starfirelighting.com> Something else you might want to to know, though it may only be academic. LockScreen commands are queued. So if you lock the screen twice, you have to explicitly unlock twice in order to clear the locked state. It does not matter what happens in the flow of code in terms of screen locking, whether other command or function calls are made. The queue rules throughout. All is reset at idle time. Craig -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode Sent: Friday, January 22, 2021 6:50 AM To: How to use LiveCode Cc: Brian Milby Subject: Re: lock screen I?m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. Sent from my iPhone > On Jan 22, 2021, at 3:57 AM, Terence Heaford via use-livecode wrote: > > ?Just looking for clarity with regard to lock screen. > > Is there only one state for the screen, either locked or not locked and when is that state changed. > > --------------- > on mouseUp > > lock screen > > aTest > > end mouseUp > > ---------------- > on aTest > > ? is the screen still locked here > > end aTest > > ???????? > > At what point is unlock screen called by livecode without me calling it directly. > > The docs say when all pending handlers have completed but what exactly is a pending handler. > > > > Thanks > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From General.2018 at outlook.com Fri Jan 22 09:42:48 2021 From: General.2018 at outlook.com (General 2018) Date: Fri, 22 Jan 2021 14:42:48 +0000 Subject: MergExt BLE In-Reply-To: References: Message-ID: Hi , I think the issue is the need for ?Thread Safe? and / or ?Concurrent Buffering? for write/read function with MergExt BLE. Can anyone give guidance on application of the above using Livecode ? Regards Camm > On 14 Jan 2021, at 15:09, General 2018 via use-livecode wrote: > > ?Hi , > > Have an application for IOS and started to use MergExt BLE. > > This is working great with livecode on finding devices , connecting and writing. > > I have an issue with reading , it works but missing data randomly on read. > > The BLE device is using Notify. > > In ?didupatevalueforcharactistic? values are return after writing a request. But sometimes half the response or other random results. > > The application needs to send a few commands each will reply with unique data. > > So :- > Write 123 > Read result and action > Write 456 > Read result and action and so on... > > I am sure this is no fault of MergBLE it just cannot find livecode doc on how to structure the data flow using MergBLE commands and Messages. > > Any help would be appreciated. > > Regards Camm > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dvglasgow at gmail.com Fri Jan 22 09:44:09 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Fri, 22 Jan 2021 14:44:09 +0000 Subject: lock screen In-Reply-To: <000201d6f0ca$4af3a5b0$e0daf110$@starfirelighting.com> References: <1A04E438-3EEF-4F12-8AE2-9D7B387BB1D9@milby7.com> <000201d6f0ca$4af3a5b0$e0daf110$@starfirelighting.com> Message-ID: <31644021-3A9C-44CB-AC75-EF8F26CC66E8@gmail.com> I once got in an unholy mess with a couple of lock screens which, of their own accord, had sneaked into repeat loops. > On 22 Jan 2021, at 2:24 pm, Craig newman via use-livecode wrote: > > Something else you might want to to know, though it may only be academic. > > LockScreen commands are queued. So if you lock the screen twice, you have to explicitly unlock twice in order to clear the locked state. > > It does not matter what happens in the flow of code in terms of screen locking, whether other command or function calls are made. The queue rules throughout. All is reset at idle time. > > Craig > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode > Sent: Friday, January 22, 2021 6:50 AM > To: How to use LiveCode > Cc: Brian Milby > Subject: Re: lock screen > > I?m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. > > Sent from my iPhone > >> On Jan 22, 2021, at 3:57 AM, Terence Heaford via use-livecode wrote: >> >> ?Just looking for clarity with regard to lock screen. >> >> Is there only one state for the screen, either locked or not locked and when is that state changed. >> >> --------------- >> on mouseUp >> >> lock screen >> >> aTest >> >> end mouseUp >> >> ---------------- >> on aTest >> >> ? is the screen still locked here >> >> end aTest >> >> ???????? >> >> At what point is unlock screen called by livecode without me calling it directly. >> >> The docs say when all pending handlers have completed but what exactly is a pending handler. >> >> >> >> Thanks >> >> Terry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Fri Jan 22 09:50:21 2021 From: david.bovill at gmail.com (David Bovill) Date: Fri, 22 Jan 2021 14:50:21 +0000 Subject: Fwd: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) In-Reply-To: <1b575053-c404-4888-a2f4-a93b3d139a41@Spark> References: <4B1DE94D-63C4-49C5-93D6-77DDD0CC5DE2@mac.com> <19602FA0-E0A2-4A02-9291-93CA1B2A3E0F@mac.com> <1b575053-c404-4888-a2f4-a93b3d139a41@Spark> Message-ID: We've switched to: - https://us02web.zoom.us/j/6819268068 For the second half of the meeting. On Fri, 22 Jan 2021 at 14:07, David Bovill wrote: > Im in the waiting room? > On 22 Jan 2021, 13:58 +0000, David Bovill , wrote: > > I?m here :- but only occasionally in email) See you in a minute! > On 22 Jan 2021, 05:56 +0000, Brian K. Duck via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Copy to the list... > > Begin forwarded message: > > From: "Brian K. Duck" > Subject: Re: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) > Date: January 22, 2021 at 12:52:40 AM EST > To: Martin Koob , David Bovill , > Brian Duck > Cc: irog at mac.com, Alex , chipsm at themartinz.com, > Henry Ryng , Bryan Anderson > > I?ve not heard back that David can make the meeting or host the zoom, with > that in mind, I?ll make the first Zoom meeting for. 9 AM EST later this > morning, and if we run out of time, I?ll schedule another and share via > email and chat. > > Brian > > Brian Duck is inviting you to a scheduled Zoom meeting. > > Topic: xAPI in LiveCode - Zoom Meeting > Time: Jan 22, 2021 09:00 AM America/Detroit > > Join Zoom Meeting > https://us04web.zoom.us/j/76771139503?pwd=UGRpWno1b0d6c1hPUlRUY0pTdmtzZz09 > < > https://us04web.zoom.us/j/76771139503?pwd=UGRpWno1b0d6c1hPUlRUY0pTdmtzZz09 > > > > Meeting ID: 767 7113 9503 > Passcode: g95CH6 > > On Jan 21, 2021, at 4:51 PM, Brian K. Duck bduck at mac.com>> wrote: > > Martin, et al. > > I see both Friday 9-11 am EST and Tuuesday 9-11 am as good working times. > > David Boville has offered his premium Zoom account, so I?ve forwarded > meeting notices to him to see if he is available. > > If anyone has a PRO/paid zoom account and may be able to host meetings, > please let me know - it seems we may be best served with 2 hour work > sessions. These are longer than the 40 minute free account allows, and it?s > a challenge to get going, only to be kicked out of the room and get > everyone to rejoin. > > I should have said this sooner: one major drawback of When2Meet is that I > don?t see email addresses for those who add their time, but don?t respond > to this group. > If you are interested, please send email Il directly to bduck at mac dot > com, and we?ll get you on this list. > > We?ve also had some interest from the CMI5 working group, they meet > Fridays at 10:30 EST, so there is overlap with their meeting. > > Sent from my iPad, > Brian Duck > > On Jan 21, 2021, at 2:18 PM, Martin Koob mkoob at rogers.com>> wrote: > > ?Hi Brian > > I put my availability for https://www.when2meet.com/?10756300-eiYV4 < > https://www.when2meet.com/?10756300-eiYV4> Mine overlaps with yours and > Henk?s availability on Friday Jan 22, 2021 9:30 am - 10:00 am EST and on > Tuesday Jan 26, 2021 from 9:30 am - 10:45 am EST > > Anyone else available at those times? > > Martin > > > On Jan 19, 2021, at 11:53 AM, Brian K. Duck bduck at mac.com>> wrote: > > > Please take the time to sign in to When2Meet at this URL, and let us know > when you are available for week #2 of xAPI in LiveCode: > xAPI in LiveCode (Week 2) > > https://www.when2meet.com/?10756300-eiYV4 < > https://www.when2meet.com/?10756300-eiYV4> > > Thanks for your attention, > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From paul at researchware.com Fri Jan 22 10:36:39 2021 From: paul at researchware.com (Paul Dupuis) Date: Fri, 22 Jan 2021 10:36:39 -0500 Subject: lock screen In-Reply-To: <000201d6f0ca$4af3a5b0$e0daf110$@starfirelighting.com> References: <1A04E438-3EEF-4F12-8AE2-9D7B387BB1D9@milby7.com> <000201d6f0ca$4af3a5b0$e0daf110$@starfirelighting.com> Message-ID: <0a077b6c-d1bb-4971-1420-4ec9bb7beb35@researchware.com> When I have a handler that needs to lock the screen I will often do the following begins handler put the lockScreen into tPreserveLockScreen if not tPreserveLockScreen then lock screen ... code ... if not tPreserveLockScreen then unlock screen end handler Code in our main LC app is large enough that there are instances where the some code that calls the handler needs to lock the screen and other code that call it does not, but the handler always wants to hide changed until done. On 1/22/2021 9:24 AM, Craig newman via use-livecode wrote: > Something else you might want to to know, though it may only be academic. > > LockScreen commands are queued. So if you lock the screen twice, you have to explicitly unlock twice in order to clear the locked state. > > It does not matter what happens in the flow of code in terms of screen locking, whether other command or function calls are made. The queue rules throughout. All is reset at idle time. > > Craig > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode > Sent: Friday, January 22, 2021 6:50 AM > To: How to use LiveCode > Cc: Brian Milby > Subject: Re: lock screen > > I?m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. > > Sent from my iPhone > >> On Jan 22, 2021, at 3:57 AM, Terence Heaford via use-livecode wrote: >> >> ?Just looking for clarity with regard to lock screen. >> >> Is there only one state for the screen, either locked or not locked and when is that state changed. >> >> --------------- >> on mouseUp >> >> lock screen >> >> aTest >> >> end mouseUp >> >> ---------------- >> on aTest >> >> ? is the screen still locked here >> >> end aTest >> >> ???????? >> >> At what point is unlock screen called by livecode without me calling it directly. >> >> The docs say when all pending handlers have completed but what exactly is a pending handler. >> >> >> >> Thanks >> >> Terry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Jan 22 10:59:26 2021 From: dochawk at gmail.com (doc hawk) Date: Fri, 22 Jan 2021 08:59:26 -0700 Subject: lock screen In-Reply-To: References: Message-ID: Not so much either/or as it?s a counter, with 0 being unlocked. Lock increments the counter, and unlock excrements. The counter gets set to 0 when the engine idles, as well -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dan at clearvisiontech.com Fri Jan 22 11:39:25 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 22 Jan 2021 16:39:25 +0000 Subject: lock screen In-Reply-To: <0a077b6c-d1bb-4971-1420-4ec9bb7beb35@researchware.com> References: <1A04E438-3EEF-4F12-8AE2-9D7B387BB1D9@milby7.com> <000201d6f0ca$4af3a5b0$e0daf110$@starfirelighting.com> <0a077b6c-d1bb-4971-1420-4ec9bb7beb35@researchware.com> Message-ID: <2139F569-82B2-4CA9-AB1A-64CFFC44086A@clearvisiontech.com> Same here. Anytime I want to lock the screen, I do this: on lockTheScreen if not the lockScreen then lock screen end if end lockTheScreen When needed, I use this: on unLockTheScreen repeat until not lockScreen unlock screen end repeat end unLockTheScreen That's my 2 cents. -Dan ?On 1/22/21, 7:38 AM, "use-livecode on behalf of Paul Dupuis via use-livecode" wrote: When I have a handler that needs to lock the screen I will often do the following begins handler put the lockScreen into tPreserveLockScreen if not tPreserveLockScreen then lock screen ... code ... if not tPreserveLockScreen then unlock screen end handler Code in our main LC app is large enough that there are instances where the some code that calls the handler needs to lock the screen and other code that call it does not, but the handler always wants to hide changed until done. On 1/22/2021 9:24 AM, Craig newman via use-livecode wrote: > Something else you might want to to know, though it may only be academic. > > LockScreen commands are queued. So if you lock the screen twice, you have to explicitly unlock twice in order to clear the locked state. > > It does not matter what happens in the flow of code in terms of screen locking, whether other command or function calls are made. The queue rules throughout. All is reset at idle time. > > Craig > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode > Sent: Friday, January 22, 2021 6:50 AM > To: How to use LiveCode > Cc: Brian Milby > Subject: Re: lock screen > > I?m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. > > Sent from my iPhone > >> On Jan 22, 2021, at 3:57 AM, Terence Heaford via use-livecode wrote: >> >> Just looking for clarity with regard to lock screen. >> >> Is there only one state for the screen, either locked or not locked and when is that state changed. >> >> --------------- >> on mouseUp >> >> lock screen >> >> aTest >> >> end mouseUp >> >> ---------------- >> on aTest >> >> ? is the screen still locked here >> >> end aTest >> >> ???????? >> >> At what point is unlock screen called by livecode without me calling it directly. >> >> The docs say when all pending handlers have completed but what exactly is a pending handler. >> >> >> >> Thanks >> >> Terry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lheaford at icloud.com Fri Jan 22 11:43:51 2021 From: lheaford at icloud.com (Terence Heaford) Date: Fri, 22 Jan 2021 16:43:51 +0000 Subject: lock screen In-Reply-To: <2139F569-82B2-4CA9-AB1A-64CFFC44086A@clearvisiontech.com> References: <1A04E438-3EEF-4F12-8AE2-9D7B387BB1D9@milby7.com> <000201d6f0ca$4af3a5b0$e0daf110$@starfirelighting.com> <0a077b6c-d1bb-4971-1420-4ec9bb7beb35@researchware.com> <2139F569-82B2-4CA9-AB1A-64CFFC44086A@clearvisiontech.com> Message-ID: Thanks for all the replies. How does lock screen affect widgets? It does not appear to have any effect as if you run a Javascript in a Browser having applied lock screen, the Browser widget seems unaffected. Thanks Terry > On 22 Jan 2021, at 16:39, Dan Friedman via use-livecode wrote: > > Same here. Anytime I want to lock the screen, I do this: > > on lockTheScreen > if not the lockScreen then > lock screen > end if > end lockTheScreen > > When needed, I use this: > > on unLockTheScreen > repeat until not lockScreen > unlock screen > end repeat > end unLockTheScreen > > > That's my 2 cents. > > -Dan > > > ?On 1/22/21, 7:38 AM, "use-livecode on behalf of Paul Dupuis via use-livecode" wrote: > > When I have a handler that needs to lock the screen I will often do the > following > > begins handler > > put the lockScreen into tPreserveLockScreen > if not tPreserveLockScreen then lock screen > ... > code > ... > if not tPreserveLockScreen then unlock screen > > end handler > > Code in our main LC app is large enough that there are instances where > the some code that calls the handler needs to lock the screen and other > code that call it does not, but the handler always wants to hide changed > until done. > > > On 1/22/2021 9:24 AM, Craig newman via use-livecode wrote: >> Something else you might want to to know, though it may only be academic. >> >> LockScreen commands are queued. So if you lock the screen twice, you have to explicitly unlock twice in order to clear the locked state. >> >> It does not matter what happens in the flow of code in terms of screen locking, whether other command or function calls are made. The queue rules throughout. All is reset at idle time. >> >> Craig >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode >> Sent: Friday, January 22, 2021 6:50 AM >> To: How to use LiveCode >> Cc: Brian Milby >> Subject: Re: lock screen >> >> I?m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. >> >> Sent from my iPhone >> >>> On Jan 22, 2021, at 3:57 AM, Terence Heaford via use-livecode wrote: >>> >>> Just looking for clarity with regard to lock screen. >>> >>> Is there only one state for the screen, either locked or not locked and when is that state changed. >>> >>> --------------- >>> on mouseUp >>> >>> lock screen >>> >>> aTest >>> >>> end mouseUp >>> >>> ---------------- >>> on aTest >>> >>> ? is the screen still locked here >>> >>> end aTest >>> >>> ???????? >>> >>> At what point is unlock screen called by livecode without me calling it directly. >>> >>> The docs say when all pending handlers have completed but what exactly is a pending handler. >>> >>> >>> >>> Thanks >>> >>> Terry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Fri Jan 22 11:54:31 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Fri, 22 Jan 2021 17:54:31 +0100 Subject: lock screen In-Reply-To: References: <1A04E438-3EEF-4F12-8AE2-9D7B387BB1D9@milby7.com> <000201d6f0ca$4af3a5b0$e0daf110$@starfirelighting.com> <0a077b6c-d1bb-4971-1420-4ec9bb7beb35@researchware.com> <2139F569-82B2-4CA9-AB1A-64CFFC44086A@clearvisiontech.com> Message-ID: <9ADDACF3-747B-4D52-A23B-040A23F1FEEE@me.com> The browser widget is drawn in a layer of its own and is not affected by lock screen. If you need to do a visual effect you then hide the widget itself and perform the visual effect on the snapshot. You can then delete the snapshot when it is no longer needed. Best regards Tore Nilsen > 22. jan. 2021 kl. 17:43 skrev Terence Heaford via use-livecode : > > Thanks for all the replies. > > How does lock screen affect widgets? > > It does not appear to have any effect as if you run a Javascript in a Browser having applied lock screen, the Browser widget seems unaffected. > > Thanks > > Terry > >> On 22 Jan 2021, at 16:39, Dan Friedman via use-livecode wrote: >> >> Same here. Anytime I want to lock the screen, I do this: >> >> on lockTheScreen >> if not the lockScreen then >> lock screen >> end if >> end lockTheScreen >> >> When needed, I use this: >> >> on unLockTheScreen >> repeat until not lockScreen >> unlock screen >> end repeat >> end unLockTheScreen >> >> >> That's my 2 cents. >> >> -Dan >> >> >> ?On 1/22/21, 7:38 AM, "use-livecode on behalf of Paul Dupuis via use-livecode" wrote: >> >> When I have a handler that needs to lock the screen I will often do the >> following >> >> begins handler >> >> put the lockScreen into tPreserveLockScreen >> if not tPreserveLockScreen then lock screen >> ... >> code >> ... >> if not tPreserveLockScreen then unlock screen >> >> end handler >> >> Code in our main LC app is large enough that there are instances where >> the some code that calls the handler needs to lock the screen and other >> code that call it does not, but the handler always wants to hide changed >> until done. >> >> >> On 1/22/2021 9:24 AM, Craig newman via use-livecode wrote: >>> Something else you might want to to know, though it may only be academic. >>> >>> LockScreen commands are queued. So if you lock the screen twice, you have to explicitly unlock twice in order to clear the locked state. >>> >>> It does not matter what happens in the flow of code in terms of screen locking, whether other command or function calls are made. The queue rules throughout. All is reset at idle time. >>> >>> Craig >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode >>> Sent: Friday, January 22, 2021 6:50 AM >>> To: How to use LiveCode >>> Cc: Brian Milby >>> Subject: Re: lock screen >>> >>> I?m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. >>> >>> Sent from my iPhone >>> >>>> On Jan 22, 2021, at 3:57 AM, Terence Heaford via use-livecode wrote: >>>> >>>> Just looking for clarity with regard to lock screen. >>>> >>>> Is there only one state for the screen, either locked or not locked and when is that state changed. >>>> >>>> --------------- >>>> on mouseUp >>>> >>>> lock screen >>>> >>>> aTest >>>> >>>> end mouseUp >>>> >>>> ---------------- >>>> on aTest >>>> >>>> ? is the screen still locked here >>>> >>>> end aTest >>>> >>>> ???????? >>>> >>>> At what point is unlock screen called by livecode without me calling it directly. >>>> >>>> The docs say when all pending handlers have completed but what exactly is a pending handler. >>>> >>>> >>>> >>>> Thanks >>>> >>>> Terry >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Fri Jan 22 11:56:00 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Fri, 22 Jan 2021 17:56:00 +0100 Subject: lock screen In-Reply-To: <9ADDACF3-747B-4D52-A23B-040A23F1FEEE@me.com> References: <1A04E438-3EEF-4F12-8AE2-9D7B387BB1D9@milby7.com> <000201d6f0ca$4af3a5b0$e0daf110$@starfirelighting.com> <0a077b6c-d1bb-4971-1420-4ec9bb7beb35@researchware.com> <2139F569-82B2-4CA9-AB1A-64CFFC44086A@clearvisiontech.com> <9ADDACF3-747B-4D52-A23B-040A23F1FEEE@me.com> Message-ID: I forgot to write that you import a snapshot of the widget before you set out to perform the visual effect. > 22. jan. 2021 kl. 17:54 skrev Tore Nilsen : > > The browser widget is drawn in a layer of its own and is not affected by lock screen. If you need to do a visual effect you then hide the widget itself and perform the visual effect on the snapshot. You can then delete the snapshot when it is no longer needed. > > Best regards > Tore Nilsen >> 22. jan. 2021 kl. 17:43 skrev Terence Heaford via use-livecode : >> >> Thanks for all the replies. >> >> How does lock screen affect widgets? >> >> It does not appear to have any effect as if you run a Javascript in a Browser having applied lock screen, the Browser widget seems unaffected. >> >> Thanks >> >> Terry >> >>> On 22 Jan 2021, at 16:39, Dan Friedman via use-livecode wrote: >>> >>> Same here. Anytime I want to lock the screen, I do this: >>> >>> on lockTheScreen >>> if not the lockScreen then >>> lock screen >>> end if >>> end lockTheScreen >>> >>> When needed, I use this: >>> >>> on unLockTheScreen >>> repeat until not lockScreen >>> unlock screen >>> end repeat >>> end unLockTheScreen >>> >>> >>> That's my 2 cents. >>> >>> -Dan >>> >>> >>> ?On 1/22/21, 7:38 AM, "use-livecode on behalf of Paul Dupuis via use-livecode" wrote: >>> >>> When I have a handler that needs to lock the screen I will often do the >>> following >>> >>> begins handler >>> >>> put the lockScreen into tPreserveLockScreen >>> if not tPreserveLockScreen then lock screen >>> ... >>> code >>> ... >>> if not tPreserveLockScreen then unlock screen >>> >>> end handler >>> >>> Code in our main LC app is large enough that there are instances where >>> the some code that calls the handler needs to lock the screen and other >>> code that call it does not, but the handler always wants to hide changed >>> until done. >>> >>> >>> On 1/22/2021 9:24 AM, Craig newman via use-livecode wrote: >>>> Something else you might want to to know, though it may only be academic. >>>> >>>> LockScreen commands are queued. So if you lock the screen twice, you have to explicitly unlock twice in order to clear the locked state. >>>> >>>> It does not matter what happens in the flow of code in terms of screen locking, whether other command or function calls are made. The queue rules throughout. All is reset at idle time. >>>> >>>> Craig >>>> >>>> -----Original Message----- >>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode >>>> Sent: Friday, January 22, 2021 6:50 AM >>>> To: How to use LiveCode >>>> Cc: Brian Milby >>>> Subject: Re: lock screen >>>> >>>> I?m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. >>>> >>>> Sent from my iPhone >>>> >>>>> On Jan 22, 2021, at 3:57 AM, Terence Heaford via use-livecode wrote: >>>>> >>>>> Just looking for clarity with regard to lock screen. >>>>> >>>>> Is there only one state for the screen, either locked or not locked and when is that state changed. >>>>> >>>>> --------------- >>>>> on mouseUp >>>>> >>>>> lock screen >>>>> >>>>> aTest >>>>> >>>>> end mouseUp >>>>> >>>>> ---------------- >>>>> on aTest >>>>> >>>>> ? is the screen still locked here >>>>> >>>>> end aTest >>>>> >>>>> ???????? >>>>> >>>>> At what point is unlock screen called by livecode without me calling it directly. >>>>> >>>>> The docs say when all pending handlers have completed but what exactly is a pending handler. >>>>> >>>>> >>>>> >>>>> Thanks >>>>> >>>>> Terry >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From lheaford at icloud.com Fri Jan 22 13:06:18 2021 From: lheaford at icloud.com (Terence Heaford) Date: Fri, 22 Jan 2021 18:06:18 +0000 Subject: lock screen In-Reply-To: References: Message-ID: <591699FC-20FE-489D-A56F-6EC5CCD3F09A@icloud.com> So a widget is not a real live code object. I presume that the browser widget is just an overlaid window without its paraphernalia. Terry > On 22 Jan 2021, at 16:57, Tore Nilsen via use-livecode wrote: > > ?I forgot to write that you import a snapshot of the widget before you set out to perform the visual effect. > >> 22. jan. 2021 kl. 17:54 skrev Tore Nilsen : >> >> The browser widget is drawn in a layer of its own and is not affected by lock screen. If you need to do a visual effect you then hide the widget itself and perform the visual effect on the snapshot. You can then delete the snapshot when it is no longer needed. >> >> Best regards >> Tore Nilsen >>>> 22. jan. 2021 kl. 17:43 skrev Terence Heaford via use-livecode : >>> >>> Thanks for all the replies. >>> >>> How does lock screen affect widgets? >>> >>> It does not appear to have any effect as if you run a Javascript in a Browser having applied lock screen, the Browser widget seems unaffected. >>> >>> Thanks >>> >>> Terry >>> >>>> On 22 Jan 2021, at 16:39, Dan Friedman via use-livecode wrote: >>>> >>>> Same here. Anytime I want to lock the screen, I do this: >>>> >>>> on lockTheScreen >>>> if not the lockScreen then >>>> lock screen >>>> end if >>>> end lockTheScreen >>>> >>>> When needed, I use this: >>>> >>>> on unLockTheScreen >>>> repeat until not lockScreen >>>> unlock screen >>>> end repeat >>>> end unLockTheScreen >>>> >>>> >>>> That's my 2 cents. >>>> >>>> -Dan >>>> >>>> >>>> ?On 1/22/21, 7:38 AM, "use-livecode on behalf of Paul Dupuis via use-livecode" wrote: >>>> >>>> When I have a handler that needs to lock the screen I will often do the >>>> following >>>> >>>> begins handler >>>> >>>> put the lockScreen into tPreserveLockScreen >>>> if not tPreserveLockScreen then lock screen >>>> ... >>>> code >>>> ... >>>> if not tPreserveLockScreen then unlock screen >>>> >>>> end handler >>>> >>>> Code in our main LC app is large enough that there are instances where >>>> the some code that calls the handler needs to lock the screen and other >>>> code that call it does not, but the handler always wants to hide changed >>>> until done. >>>> >>>> >>>> On 1/22/2021 9:24 AM, Craig newman via use-livecode wrote: >>>>> Something else you might want to to know, though it may only be academic. >>>>> >>>>> LockScreen commands are queued. So if you lock the screen twice, you have to explicitly unlock twice in order to clear the locked state. >>>>> >>>>> It does not matter what happens in the flow of code in terms of screen locking, whether other command or function calls are made. The queue rules throughout. All is reset at idle time. >>>>> >>>>> Craig >>>>> >>>>> -----Original Message----- >>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode >>>>> Sent: Friday, January 22, 2021 6:50 AM >>>>> To: How to use LiveCode >>>>> Cc: Brian Milby >>>>> Subject: Re: lock screen >>>>> >>>>> I?m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. >>>>> >>>>> Sent from my iPhone >>>>> >>>>>> On Jan 22, 2021, at 3:57 AM, Terence Heaford via use-livecode wrote: >>>>>> >>>>>> Just looking for clarity with regard to lock screen. >>>>>> >>>>>> Is there only one state for the screen, either locked or not locked and when is that state changed. >>>>>> >>>>>> --------------- >>>>>> on mouseUp >>>>>> >>>>>> lock screen >>>>>> >>>>>> aTest >>>>>> >>>>>> end mouseUp >>>>>> >>>>>> ---------------- >>>>>> on aTest >>>>>> >>>>>> ? is the screen still locked here >>>>>> >>>>>> end aTest >>>>>> >>>>>> ???????? >>>>>> >>>>>> At what point is unlock screen called by livecode without me calling it directly. >>>>>> >>>>>> The docs say when all pending handlers have completed but what exactly is a pending handler. >>>>>> >>>>>> >>>>>> >>>>>> Thanks >>>>>> >>>>>> Terry >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Fri Jan 22 13:24:05 2021 From: brian at milby7.com (Brian Milby) Date: Fri, 22 Jan 2021 13:24:05 -0500 Subject: lock screen In-Reply-To: <591699FC-20FE-489D-A56F-6EC5CCD3F09A@icloud.com> References: <591699FC-20FE-489D-A56F-6EC5CCD3F09A@icloud.com> Message-ID: <617F293B-8901-4B7F-8972-C7584D60CD13@milby7.com> Not all widgets behave that way. Only widgets that use a native control will layer over everything else. Things like the tree view widget are still impacted by Lock Screen. Sent from my iPhone > On Jan 22, 2021, at 1:07 PM, Terence Heaford via use-livecode wrote: > > ?So a widget is not a real live code object. I presume that the browser widget is just an overlaid window without its paraphernalia. > > Terry > >> On 22 Jan 2021, at 16:57, Tore Nilsen via use-livecode wrote: >> >> ?I forgot to write that you import a snapshot of the widget before you set out to perform the visual effect. >> >>>> 22. jan. 2021 kl. 17:54 skrev Tore Nilsen : >>> >>> The browser widget is drawn in a layer of its own and is not affected by lock screen. If you need to do a visual effect you then hide the widget itself and perform the visual effect on the snapshot. You can then delete the snapshot when it is no longer needed. >>> >>> Best regards >>> Tore Nilsen >>>>> 22. jan. 2021 kl. 17:43 skrev Terence Heaford via use-livecode : >>>> >>>> Thanks for all the replies. >>>> >>>> How does lock screen affect widgets? >>>> >>>> It does not appear to have any effect as if you run a Javascript in a Browser having applied lock screen, the Browser widget seems unaffected. >>>> >>>> Thanks >>>> >>>> Terry >>>> >>>>> On 22 Jan 2021, at 16:39, Dan Friedman via use-livecode wrote: >>>>> >>>>> Same here. Anytime I want to lock the screen, I do this: >>>>> >>>>> on lockTheScreen >>>>> if not the lockScreen then >>>>> lock screen >>>>> end if >>>>> end lockTheScreen >>>>> >>>>> When needed, I use this: >>>>> >>>>> on unLockTheScreen >>>>> repeat until not lockScreen >>>>> unlock screen >>>>> end repeat >>>>> end unLockTheScreen >>>>> >>>>> >>>>> That's my 2 cents. >>>>> >>>>> -Dan >>>>> >>>>> >>>>> ?On 1/22/21, 7:38 AM, "use-livecode on behalf of Paul Dupuis via use-livecode" wrote: >>>>> >>>>> When I have a handler that needs to lock the screen I will often do the >>>>> following >>>>> >>>>> begins handler >>>>> >>>>> put the lockScreen into tPreserveLockScreen >>>>> if not tPreserveLockScreen then lock screen >>>>> ... >>>>> code >>>>> ... >>>>> if not tPreserveLockScreen then unlock screen >>>>> >>>>> end handler >>>>> >>>>> Code in our main LC app is large enough that there are instances where >>>>> the some code that calls the handler needs to lock the screen and other >>>>> code that call it does not, but the handler always wants to hide changed >>>>> until done. >>>>> >>>>> >>>>> On 1/22/2021 9:24 AM, Craig newman via use-livecode wrote: >>>>>> Something else you might want to to know, though it may only be academic. >>>>>> >>>>>> LockScreen commands are queued. So if you lock the screen twice, you have to explicitly unlock twice in order to clear the locked state. >>>>>> >>>>>> It does not matter what happens in the flow of code in terms of screen locking, whether other command or function calls are made. The queue rules throughout. All is reset at idle time. >>>>>> >>>>>> Craig >>>>>> >>>>>> -----Original Message----- >>>>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode >>>>>> Sent: Friday, January 22, 2021 6:50 AM >>>>>> To: How to use LiveCode >>>>>> Cc: Brian Milby >>>>>> Subject: Re: lock screen >>>>>> >>>>>> I?m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. >>>>>> >>>>>> Sent from my iPhone >>>>>> >>>>>>> On Jan 22, 2021, at 3:57 AM, Terence Heaford via use-livecode wrote: >>>>>>> >>>>>>> Just looking for clarity with regard to lock screen. >>>>>>> >>>>>>> Is there only one state for the screen, either locked or not locked and when is that state changed. >>>>>>> >>>>>>> --------------- >>>>>>> on mouseUp >>>>>>> >>>>>>> lock screen >>>>>>> >>>>>>> aTest >>>>>>> >>>>>>> end mouseUp >>>>>>> >>>>>>> ---------------- >>>>>>> on aTest >>>>>>> >>>>>>> ? is the screen still locked here >>>>>>> >>>>>>> end aTest >>>>>>> >>>>>>> ???????? >>>>>>> >>>>>>> At what point is unlock screen called by livecode without me calling it directly. >>>>>>> >>>>>>> The docs say when all pending handlers have completed but what exactly is a pending handler. >>>>>>> >>>>>>> >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> Terry >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Fri Jan 22 13:25:40 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 22 Jan 2021 13:25:40 -0500 Subject: lock screen In-Reply-To: References: Message-ID: <98E21E21-7942-4DE2-AF3D-B0CB272A3DF5@all-auctions.com> To ensure that our screen doesn?t accidentally get overlocked, even though the system may unlock it at idle time, the best practice is to always unlock it at the proper time within you code. That way you can?t confuse things and find yourself scratching your head as to why it looks like your code isn?t working. On a side note, just a point about proper computer grammar here: That should read: "Lock increments the counter, and unlock decrements the counter.? Excrement is a Doctor?s term. We don?t want our code to ?excrement? anything! Yuk! LOL Thanks for the laugh! Rick > On Jan 22, 2021, at 10:59 AM, doc hawk via use-livecode wrote: > > Not so much either/or as it?s a counter, with 0 being unlocked. > > Lock increments the counter, and unlock excrements. > > The counter gets set to 0 when the engine idles, as well > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jan 22 13:26:44 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Jan 2021 12:26:44 -0600 Subject: lock screen In-Reply-To: References: Message-ID: <1772b593aa0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Eww. Speak for yourself. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 22, 2021 10:01:45 AM doc hawk via use-livecode wrote: > Not so much either/or as it?s a counter, with 0 being unlocked. > > Lock increments the counter, and unlock excrements. > > The counter gets set to 0 when the engine idles, as well > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dougr at telus.net Fri Jan 22 13:33:26 2021 From: dougr at telus.net (Douglas A. Ruisaard) Date: Fri, 22 Jan 2021 10:33:26 -0800 Subject: lock screen In-Reply-To: <1772b593aa0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1772b593aa0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <046001d6f0ed$13144820$393cd860$@telus.net> Oh ... I dunno ... after all, what goes "in" must come "out" Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Friday, January 22, 2021 10:27 AM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: lock screen Eww. Speak for yourself. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 22, 2021 10:01:45 AM doc hawk via use-livecode wrote: > Not so much either/or as it?s a counter, with 0 being unlocked. > > Lock increments the counter, and unlock excrements. > > The counter gets set to 0 when the engine idles, as well > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Jan 22 14:51:56 2021 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 22 Jan 2021 19:51:56 +0000 Subject: I Want to Print Out the Entire "mobile (ad,Control,Set,Get,Do") In-Reply-To: References: , Message-ID: But there is no print option in API | Guide And their in no entry in for ?mobile? in LiveCode User Guide.pdf ? I think you will need to print the dictionary entries for mobileControlSet and mobileControlGet and mobileControlDo. Sent from my iPhone > On Jan 21, 2021, at 9:31 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > ?It seems to be NOT in the guide. At least printable > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From kray at sonsothunder.com Fri Jan 22 17:33:16 2021 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 22 Jan 2021 16:33:16 -0600 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: References: <7C578CDB-6B84-4380-9A5D-322ADD0B1C39@me.com> <5421DD55-8CD3-44B1-A5FB-6BB3309C4F48@milby7.com> Message-ID: <48D16BBD-4DB3-4CB0-B869-E3EEF373545D@sonsothunder.com> > On Jan 21, 2021, at 8:36 AM, Keith Clarke via use-livecode wrote: > > Thanks Brian. I looked at matchChunk in the dictionary & it seems to return a boolean, rather than the offset. The boolean is just whether or not the matchChunk operation was successful; you need to provide variables for the start and end character offsets in the function call: if matchChunk(myString,"([^\t])",tStart,tEnd) then put "The offset to the first non-tab character is:" && tStart else -- matchChunk had an error because the regex was bad or something end if I know you've moved on, but just for the record... :D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Website: https://www.sonsothunder.com > > Thanks all - I?ve stopped trying to find the syntax for ?find any char but this? in offset and instead, taken Dick?s advice to iterate through the chars and count the loops until char <> tab. :) > Best, > Keith > >> On 21 Jan 2021, at 14:03, Brian Milby via use-livecode wrote: >> >> You could also use matchChunk with a regular expression that excludes the tab character. >> >> Sent from my iPhone >> >>> On Jan 21, 2021, at 7:14 AM, Keith Clarke via use-livecode wrote: >>> >>> ?Ah yes indeed, I?d forgotten I could test with 'put not(tab)? in the message box - that certainly proves the syntax was wrong! :-) >>> Best, >>> Keith >>> >>>>> On 21 Jan 2021, at 10:49, Dick Kriesel via use-livecode wrote: >>>>> >>>>> >>>>> >>>>>> On Jan 21, 2021, at 2:34 AM, Keith Clarke via use-livecode wrote: >>>>> >>>>> I was just keen to understand why offset wasn?t happy with the ?not(tab)? in this instance. >>>> >>>> expression "not(tab)" evaluates to true, which doesn?t serve your purpose >>>> >>>> ? Dick >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bduck at mac.com Fri Jan 22 18:43:00 2021 From: bduck at mac.com (Brian K. Duck) Date: Fri, 22 Jan 2021 18:43:00 -0500 Subject: Fwd: xAPI in LiveCode (was Cmi5 eLearning Standard in LiveCode) Message-ID: <31146E05-E098-4232-A2CC-55393F345E78@mac.com> ? Hello LiveCoders, Our next meeting is Tuesday, 9 Am Est, we?ll blocking two hours in case people come and go. I added Henk, but I?m not sure I got an email for Peter (Music in the Air)... David / Martin, am I missing others? Sent from my iPad, Brian > On Jan 22, 2021, at 4:29 PM, Martin Koob wrote: > > ?Hi all > > I enjoyed the meeting today. I was wondering if you had firmed up a time for Tuesday Jan 26th yet? Let me know so I can get it in my schedule before I inadvertently schedule a work appointment. > > Thanks. > > Martin > From bobsneidar at iotecdigital.com Fri Jan 22 18:55:12 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 22 Jan 2021 23:55:12 +0000 Subject: lock screen In-Reply-To: References: Message-ID: <7D8C42FC-F022-4DC7-9736-19073FE8D912@iotecdigital.com> I?ll throw in my lot: Some things unlock the screen without an idle. I think setting the visible of a stack will do it. Bob S > On Jan 22, 2021, at 12:56 AM, Terence Heaford via use-livecode wrote: > > Just looking for clarity with regard to lock screen. > > Is there only one state for the screen, either locked or not locked and when is that state changed. > > --------------- > on mouseUp > > lock screen > > aTest > > end mouseUp > > ---------------- > on aTest > > ? is the screen still locked here > > end aTest > > ???????? > > At what point is unlock screen called by livecode without me calling it directly. > > The docs say when all pending handlers have completed but what exactly is a pending handler. > > > > Thanks > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jan 22 18:58:43 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 22 Jan 2021 23:58:43 +0000 Subject: How to find the offset of the first character in a string that's not a tab? In-Reply-To: <48D16BBD-4DB3-4CB0-B869-E3EEF373545D@sonsothunder.com> References: <7C578CDB-6B84-4380-9A5D-322ADD0B1C39@me.com> <5421DD55-8CD3-44B1-A5FB-6BB3309C4F48@milby7.com> <48D16BBD-4DB3-4CB0-B869-E3EEF373545D@sonsothunder.com> Message-ID: I did not know this! Isn?t anyone else shocked and surprised?? Bob S On Jan 22, 2021, at 2:33 PM, Ken Ray via use-livecode > wrote: On Jan 21, 2021, at 8:36 AM, Keith Clarke via use-livecode > wrote: Thanks Brian. I looked at matchChunk in the dictionary & it seems to return a boolean, rather than the offset. The boolean is just whether or not the matchChunk operation was successful; you need to provide variables for the start and end character offsets in the function call: if matchChunk(myString,"([^\t])",tStart,tEnd) then put "The offset to the first non-tab character is:" && tStart else -- matchChunk had an error because the regex was bad or something end if I know you've moved on, but just for the record... :D Ken Ray Sons of Thunder Software, Inc. From tom at makeshyft.com Sat Jan 23 00:11:05 2021 From: tom at makeshyft.com (Tom Glod) Date: Sat, 23 Jan 2021 00:11:05 -0500 Subject: lock screen In-Reply-To: <7D8C42FC-F022-4DC7-9736-19073FE8D912@iotecdigital.com> References: <7D8C42FC-F022-4DC7-9736-19073FE8D912@iotecdigital.com> Message-ID: Great thread here I recently wrote an animation loop where I only unlocked the screen every 33 milliseconds via a self calling command in my main stack. seemed to work partially, but i knew it was too simple. Interestingly...... That update loop takes nearly no cpu but ram consumption keep on going, even if the loop only updates a field. This is why i have been asking about the GC, because it seems to kick in mostly when engine is idle, or reaches some threshold I suppose. a little annoying to see ram going up considerably, and i am only updating the text in a small field on a blank stack. i'm not sure if its a bug or if i am failing to realize something. TIA if anyone here knows. using 9.61 windows On Fri, Jan 22, 2021 at 6:56 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I?ll throw in my lot: Some things unlock the screen without an idle. I > think setting the visible of a stack will do it. > > Bob S > > > > > On Jan 22, 2021, at 12:56 AM, Terence Heaford via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Just looking for clarity with regard to lock screen. > > > > Is there only one state for the screen, either locked or not locked and > when is that state changed. > > > > --------------- > > on mouseUp > > > > lock screen > > > > aTest > > > > end mouseUp > > > > ---------------- > > on aTest > > > > ? is the screen still locked here > > > > end aTest > > > > ???????? > > > > At what point is unlock screen called by livecode without me calling it > directly. > > > > The docs say when all pending handlers have completed but what exactly > is a pending handler. > > > > > > > > Thanks > > > > Terry > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 e.beugelaar at me.com Sat Jan 23 04:39:14 2021 From: e.beugelaar at me.com (Erik Beugelaar) Date: Sat, 23 Jan 2021 10:39:14 +0100 Subject: Call lc from php? In-Reply-To: <30cf2926-b160-caac-fa10-e600f4f39f80@fourthworld.com> References: <9A20091F-75BB-45B8-9196-AE912F8DBA97@all-auctions.com> <30cf2926-b160-caac-fa10-e600f4f39f80@fourthworld.com> Message-ID: <007a01d6f16b$9e565120$db02f360$@me.com> We do have revIgniter or am I missing the clue? -----Original Message----- From: use-livecode On Behalf Of Richard Gaskin via use-livecode Sent: donderdag 21 januari 2021 21:50 To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: Call lc from php? Rick Harrison wrote: >> On Jan 21, 2021, at 6:13 AM, Neville Smythe wrote: >> A slightly less cursory investigation informs me that >> > > Why are you still using PHP when LC is better? I agree of course that LC is a strong contender against any popular server-side language, as LC's chunk expressions and self-documenting style make clear. But it isn't nearly as popular. LC is where Ruby was before Rails: an interesting and useful language largely underappreciated for server work. We don't even have a single generalized user management library for LC, let alone any of the CMSes, CRMs, LMSes, or hundreds of other categories where PHP is well established. So one way LC can play a growing role in server development is through integration with existing services. And odds are those existing services are written in PHP. So Neville's question is one we might all ask ourselves: How can we use LC to add new capabilities to the PHP-based systems that run most of the online world? For my own part I've been exploring ways LC can be usefully integrated with the breadth of services provided with Nextcloud, which like most server systems is written in PHP. I could theoretically reinvent everything in Nextcloud using LC, but given the countless thousands of hours that have gone into the vast suite of apps that community provides, why would I? Right out of the box I get an API for user management, with access to arbitrary user-specific storage via WebDAV. One line of install code gives me a ready-to-go backend for a wide range of apps, letting me focus on the client side. Lately I've begun taking that further, poking around the server side similar to whatever Neville's working on, looking for ways to integrate LC services with the services already built into Nextcloud. Rewriting Nextcloud from scratch would be doable but prohibitively expensive. But building on top of the Nextcloud platform lets me stand on the shoulders of giants, to see much further than I could on my own. Integration is increasingly a core part of what my clients ask me to do as well. The days of monolithic one-size-fits-all systems are passing, if they haven't passed already. From here forward, the biggest opportunities are in integration with well established services. This not only lets us focus on the specific functionality we enjoy building, but also carries the additional benefit for all of us in the LC community in introducing our favorite language into the communities for those systems. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sat Jan 23 08:03:41 2021 From: paul at researchware.com (Paul Dupuis) Date: Sat, 23 Jan 2021 08:03:41 -0500 Subject: Comments for Properties in the Property Inspector? Message-ID: <24bd0a22-7b6b-cb8e-8a7d-ddec96747659@researchware.com> Random Thought of the Day: Does anyone else wish that custom properties had an optional comment field that could be viewed in the Property Inspector (PI)? I realize you can always comment properties in the code where you use them, but I find myself often in the PI looking at a Property that has, say an enumerated set of values, and I don't remember what all the values are, nor do I remember exactly where in the many stacks of code the property is first documented. I find myself wishing each custom property has a comment field. I suppose I could create a library of setProp and getProp handlers for every property I might like to document and document the values or constraints there. I suppose if I am doing that extra degree of work then I could enforce any constraints on the customer property in the getProp and setProp handlers, but that seems like a non-trivial extra amount of work just to remember that the custom property should only have values of X, Y, and Z. Thoughts? From brian at milby7.com Sat Jan 23 08:55:48 2021 From: brian at milby7.com (Brian Milby) Date: Sat, 23 Jan 2021 08:55:48 -0500 Subject: Comments for Properties in the Property Inspector? In-Reply-To: <24bd0a22-7b6b-cb8e-8a7d-ddec96747659@researchware.com> References: <24bd0a22-7b6b-cb8e-8a7d-ddec96747659@researchware.com> Message-ID: <9BCA5C60-0F39-40F0-AE90-80FCC9EF8370@milby7.com> Could you either create a ?comments? custom property set or a ?comments? key? Sent from my iPhone > On Jan 23, 2021, at 8:05 AM, Paul Dupuis via use-livecode wrote: > > ?Random Thought of the Day: > > Does anyone else wish that custom properties had an optional comment field that could be viewed in the Property Inspector (PI)? > > I realize you can always comment properties in the code where you use them, but I find myself often in the PI looking at a Property that has, say an enumerated set of values, and I don't remember what all the values are, nor do I remember exactly where in the many stacks of code the property is first documented. I find myself wishing each custom property has a comment field. > > I suppose I could create a library of setProp and getProp handlers for every property I might like to document and document the values or constraints there. I suppose if I am doing that extra degree of work then I could enforce any constraints on the customer property in the getProp and setProp handlers, but that seems like a non-trivial extra amount of work just to remember that the custom property should only have values of X, Y, and Z. > > Thoughts? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Sat Jan 23 12:12:51 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Sat, 23 Jan 2021 17:12:51 +0000 Subject: Comments for Properties in the Property Inspector? In-Reply-To: <24bd0a22-7b6b-cb8e-8a7d-ddec96747659@researchware.com> References: <24bd0a22-7b6b-cb8e-8a7d-ddec96747659@researchware.com> Message-ID: <4060B30C-B296-4BB1-86F8-31372D7C0986@gmail.com> I?ve recently taken to prefacing custom properties with the initials ?cp? and find that when I do a global search on ?cp? all that shows up are my custom properties. I don?t know if this will help solve your problem but it helps me to know what cp?s are declared, as well as where they are used. > On Jan 23, 2021, at 1:03 PM, Paul Dupuis via use-livecode wrote: > > Random Thought of the Day: > > Does anyone else wish that custom properties had an optional comment field that could be viewed in the Property Inspector (PI)? > > I realize you can always comment properties in the code where you use them, but I find myself often in the PI looking at a Property that has, say an enumerated set of values, and I don't remember what all the values are, nor do I remember exactly where in the many stacks of code the property is first documented. I find myself wishing each custom property has a comment field. > > I suppose I could create a library of setProp and getProp handlers for every property I might like to document and document the values or constraints there. I suppose if I am doing that extra degree of work then I could enforce any constraints on the customer property in the getProp and setProp handlers, but that seems like a non-trivial extra amount of work just to remember that the custom property should only have values of X, Y, and Z. > > Thoughts? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jan 23 12:20:23 2021 From: curry at pair.com (Curry Kenworthy) Date: Sat, 23 Jan 2021 12:20:23 -0500 Subject: Comments for Properties in the Property Inspector? In-Reply-To: <24bd0a22-7b6b-cb8e-8a7d-ddec96747659@researchware.com> References: <24bd0a22-7b6b-cb8e-8a7d-ddec96747659@researchware.com> Message-ID: Paul: > I find myself wishing each custom > property has a comment field. DIY approach with another cp: cProperty = cp itself iProperty = info Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From sean at pidigital.co.uk Sat Jan 23 13:45:10 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sat, 23 Jan 2021 18:45:10 +0000 Subject: lock screen In-Reply-To: References: <7D8C42FC-F022-4DC7-9736-19073FE8D912@iotecdigital.com> Message-ID: Hi Tom, Make a sample stack (sounds like you already have) and make a bug report labelled 'Memory leak on looping field update'. I don't think this has anything to do with the lock screen. Sean On Sat, 23 Jan 2021 at 05:11, Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Great thread here > I recently wrote an animation loop where I only unlocked the screen every > 33 milliseconds via a self calling command in my main stack. seemed to work > partially, but i knew it was too simple. > Interestingly...... > That update loop takes nearly no cpu > but ram consumption keep on going, even if the loop only updates a field. > This is why i have been asking about the GC, because it seems to kick in > mostly when engine is idle, or reaches some threshold I suppose. > a little annoying to see ram going up considerably, and i am only updating > the text in a small field on a blank stack. > i'm not sure if its a bug or if i am failing to realize something. > TIA if anyone here knows. using 9.61 windows > > > On Fri, Jan 22, 2021 at 6:56 PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I?ll throw in my lot: Some things unlock the screen without an idle. I > > think setting the visible of a stack will do it. > > > > Bob S > > > > > > > > > On Jan 22, 2021, at 12:56 AM, Terence Heaford via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Just looking for clarity with regard to lock screen. > > > > > > Is there only one state for the screen, either locked or not locked and > > when is that state changed. > > > > > > --------------- > > > on mouseUp > > > > > > lock screen > > > > > > aTest > > > > > > end mouseUp > > > > > > ---------------- > > > on aTest > > > > > > ? is the screen still locked here > > > > > > end aTest > > > > > > ???????? > > > > > > At what point is unlock screen called by livecode without me calling it > > directly. > > > > > > The docs say when all pending handlers have completed but what exactly > > is a pending handler. > > > > > > > > > > > > Thanks > > > > > > Terry > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 ambassador at fourthworld.com Sat Jan 23 15:02:49 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Jan 2021 12:02:49 -0800 Subject: Call lc from php? In-Reply-To: <007a01d6f16b$9e565120$db02f360$@me.com> References: <007a01d6f16b$9e565120$db02f360$@me.com> Message-ID: <96d06684-d4fa-fd1b-e27b-73966439ffb2@fourthworld.com> revIgniter* is a wonderful framework, and one of most well-managed open source projects in our community. Ralf has delivered a faithful re-envisioning of the popular WebIgniter framework for PHP, with some very savvy twists that make it a joy for LiveCode scripters. But WebIgniter is far from PHP's only server framework, and I'd guess Ralf would agree that as valuable as revIgniter is, it isn't the only possible solution for every conceivable type of web site, app, or service. Reproducing many well-established PHP packages in LC is more possible with frameworks like revIgniter than without. But if the PHP package is sophisticated enough it'll be a lot of work. And in many cases we're asked to extend systems we have no control over. There are many good reasons to pursue integration with existing services rather than replacing the entire service from scratch. With my interest in Nextcloud as a backend, for example, I could save a lot of time using revIgniter to build out self-signup. user permissions groups, password reset, WebDAV support, OAuth in both directions, headless REST, even federation, and an admin UI to manage it all. But with Nextcloud I get all that with one Snap command, so I can jump right into the client-side functionality which is my main interest on this project. Similarly, some of my work these days has me integrating LC apps with popular CRMs - the good CRMs are very expensive to produce and not easily replicated, even with a great framework like revIgniter. Like anything else in development, it's just another case of choosing the best tool for the task at hand. For a wide range of projects, revIgniter is a perfect choice. And when you need to integrate LC with an existing PHP system, we can do that too. * For those of you who haven't seen Ralf's recent work on the revIgniter site, in addition to offering truly exemplary documentation I also appreciate the little touches he puts in, like the SVG intro animation for the top banner: https://revigniter.com/ -- Richard Gaskin Fourth World Systems Erik Beugelaar wrote: > We do have revIgniter or am I missing the clue? > > -----Original Message----- > Richard Gaskin via use-livecode > > Rick Harrison wrote: > > Why are you still using PHP when LC is better? > > > I agree of course that LC is a strong contender against any popular > server-side language, as LC's chunk expressions and self-documenting style > make clear. > > But it isn't nearly as popular. > > LC is where Ruby was before Rails: an interesting and useful language > largely underappreciated for server work. > > We don't even have a single generalized user management library for LC, let > alone any of the CMSes, CRMs, LMSes, or hundreds of other categories where > PHP is well established. > > So one way LC can play a growing role in server development is through > integration with existing services. > > And odds are those existing services are written in PHP. > > So Neville's question is one we might all ask ourselves: > > How can we use LC to add new capabilities to the PHP-based systems that run > most of the online world? > > > For my own part I've been exploring ways LC can be usefully integrated > with the breadth of services provided with Nextcloud, which like most > server systems is written in PHP. > > I could theoretically reinvent everything in Nextcloud using LC, but > given the countless thousands of hours that have gone into the vast > suite of apps that community provides, why would I? > > Right out of the box I get an API for user management, with access to > arbitrary user-specific storage via WebDAV. One line of install code > gives me a ready-to-go backend for a wide range of apps, letting me > focus on the client side. > > Lately I've begun taking that further, poking around the server side > similar to whatever Neville's working on, looking for ways to integrate > LC services with the services already built into Nextcloud. > > Rewriting Nextcloud from scratch would be doable but prohibitively > expensive. But building on top of the Nextcloud platform lets me stand > on the shoulders of giants, to see much further than I could on my own. > > Integration is increasingly a core part of what my clients ask me to do > as well. > > The days of monolithic one-size-fits-all systems are passing, if they > haven't passed already. > > From here forward, the biggest opportunities are in integration with > well established services. > > This not only lets us focus on the specific functionality we enjoy > building, but also carries the additional benefit for all of us in the > LC community in introducing our favorite language into the communities > for those systems. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com From tom at makeshyft.com Sat Jan 23 17:48:42 2021 From: tom at makeshyft.com (Tom Glod) Date: Sat, 23 Jan 2021 17:48:42 -0500 Subject: lock screen In-Reply-To: References: <7D8C42FC-F022-4DC7-9736-19073FE8D912@iotecdigital.com> Message-ID: good idea ... we'll do. On Sat, Jan 23, 2021 at 1:46 PM Sean Cole (Pi) via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom, > > Make a sample stack (sounds like you already have) and make a bug report > labelled 'Memory leak on looping field update'. I don't think this has > anything to do with the lock screen. > > Sean > > On Sat, 23 Jan 2021 at 05:11, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Great thread here > > I recently wrote an animation loop where I only unlocked the screen every > > 33 milliseconds via a self calling command in my main stack. seemed to > work > > partially, but i knew it was too simple. > > Interestingly...... > > That update loop takes nearly no cpu > > but ram consumption keep on going, even if the loop only updates a field. > > This is why i have been asking about the GC, because it seems to kick in > > mostly when engine is idle, or reaches some threshold I suppose. > > a little annoying to see ram going up considerably, and i am only > updating > > the text in a small field on a blank stack. > > i'm not sure if its a bug or if i am failing to realize something. > > TIA if anyone here knows. using 9.61 windows > > > > > > On Fri, Jan 22, 2021 at 6:56 PM Bob Sneidar via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I?ll throw in my lot: Some things unlock the screen without an idle. I > > > think setting the visible of a stack will do it. > > > > > > Bob S > > > > > > > > > > > > > On Jan 22, 2021, at 12:56 AM, Terence Heaford via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > Just looking for clarity with regard to lock screen. > > > > > > > > Is there only one state for the screen, either locked or not locked > and > > > when is that state changed. > > > > > > > > --------------- > > > > on mouseUp > > > > > > > > lock screen > > > > > > > > aTest > > > > > > > > end mouseUp > > > > > > > > ---------------- > > > > on aTest > > > > > > > > ? is the screen still locked here > > > > > > > > end aTest > > > > > > > > ???????? > > > > > > > > At what point is unlock screen called by livecode without me calling > it > > > directly. > > > > > > > > The docs say when all pending handlers have completed but what > exactly > > > is a pending handler. > > > > > > > > > > > > > > > > Thanks > > > > > > > > Terry > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From ludovic.thebault at laposte.net Sun Jan 24 04:38:38 2021 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sun, 24 Jan 2021 10:38:38 +0100 Subject: Test on android Simulator : app has stopped Message-ID: <68A43622-B35D-40CB-AA34-23D6E234D791@laposte.net> Hello, I can?t test apps on the android simulator, install are ok, but when the app launch (even a simple test stack), the app quit suddenly. I?ve updated Android Studio, SDK, SDK tools. All is uptodate. I reselect the sdk in the livecode prefs. I checked all in this lesson. https://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio In standalone settings, all Android?s platforms are checked and the minimal android version is set the Android 6. What I miss ? I need to test an app on an device with a notch. Thanks ! From kee.nethery at elloco.com Sun Jan 24 10:14:08 2021 From: kee.nethery at elloco.com (kee nethery) Date: Sun, 24 Jan 2021 07:14:08 -0800 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> <9D86049B-90E6-4503-8314-FB45F3B46A16@gmail.com> Message-ID: > On Jan 20, 2021, at 4:20 AM, Mark Smith via use-livecode wrote: > > Thanks Kee, but I am a bit puzzled by the restriction. > > That would require complicity from the businesses, which if reputable would be a stretch, no? There is a significantly large number of certified developers. I personally have three developer accounts for three separate efforts. If I was willing, I could risk burning one of those accounts. Not that I?m going to do so, just saying, yes, the business amd the developer would have to be in on it. > For example, if I had an app that linked to course selections on University websites, are they going to suggest that these could be portals to pedophile shopping sites by entering a secret pass phrase? By the sounds of it, please correct me if I am wrong, no iStore app can link to a website for content regardless of the status of the organization that stands behind the site? Hmmmm, I still have a lot to learn in this space. Just saying that you need to really read the published rules and follow them. When there is an exception needed, you need to really sell your case to Apple and they might go for it, but assume they won?t. Not all app ideas can be apps. > > Are there any links available to guidelines that describe these limitations? Apple developer site makes you agree to their terms and conditions. Thats what you want to reread with a very critical ete. Kee > > Thanks > Mark > >> On Jan 20, 2021, at 4:25 AM, kee nethery via use-livecode wrote: >> >> An app to web content is a mystery app. Your restaurant review app that pulls from the web could easily be transformed into a pedophile shopping app by entering a secret pass phrase and then changing the data on the web site. (as an extreme example) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rabit at revigniter.com Sun Jan 24 12:01:02 2021 From: rabit at revigniter.com (Ralf Bitter) Date: Sun, 24 Jan 2021 18:01:02 +0100 Subject: Call lc from php? In-Reply-To: <96d06684-d4fa-fd1b-e27b-73966439ffb2@fourthworld.com> References: <007a01d6f16b$9e565120$db02f360$@me.com> <96d06684-d4fa-fd1b-e27b-73966439ffb2@fourthworld.com> Message-ID: Hi Richard, I agree to your comments, especially to the first paragraph ;) Joking aside, regarding CMS, CRS, LMS etc., I was thinking about developing a CMS based on revIgniter for quite some time, just for the sake of increasing the diversity, but stayed away from doing it because, if done right, it is such a huge task and because it would not pay my bills. Todd Fabacher once started to develop a revIgniter based CMS but I have no idea if it was ever released. Ralf On 23.01.21 21:02, Richard Gaskin via use-livecode wrote: > revIgniter* is a wonderful framework, and one of most well-managed open > source projects in our community.? Ralf has delivered a faithful > re-envisioning of the popular WebIgniter framework for PHP, with some > very savvy twists that make it a joy for LiveCode scripters. > > But WebIgniter is far from PHP's only server framework, and I'd guess > Ralf would agree that as valuable as revIgniter is, it isn't the only > possible solution for every conceivable type of web site, app, or service. > > Reproducing many well-established PHP packages in LC is more possible > with frameworks like revIgniter than without. > > But if the PHP package is sophisticated enough it'll be a lot of work. > > And in many cases we're asked to extend systems we have no control over. > > There are many good reasons to pursue integration with existing services > rather than replacing the entire service from scratch. > > > With my interest in Nextcloud as a backend, for example, I could save a > lot of time using revIgniter to build out self-signup. user permissions > groups, password reset, WebDAV support, OAuth in both directions, > headless REST, even federation, and an admin UI to manage it all. But > with Nextcloud I get all that with one Snap command, so I can jump right > into the client-side functionality which is my main interest on this > project. > > Similarly, some of my work these days has me integrating LC apps with > popular CRMs - the good CRMs are very expensive to produce and not > easily replicated, even with a great framework like revIgniter. > > > Like anything else in development, it's just another case of choosing > the best tool for the task at hand. > > For a wide range of projects, revIgniter is a perfect choice. > > And when you need to integrate LC with an existing PHP system, we can do > that too. > > > > * For those of you who haven't seen Ralf's recent work on the revIgniter > site, in addition to offering truly exemplary documentation I also > appreciate the little touches he puts in, like the SVG intro animation > for the top banner: > https://revigniter.com/ > > -- > ?Richard Gaskin > ?Fourth World Systems From marksmithhfx at gmail.com Sun Jan 24 12:26:50 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Sun, 24 Jan 2021 17:26:50 +0000 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> <9D86049B-90E6-4503-8314-FB45F3B46A16@gmail.com> Message-ID: Thanks for weighing in on this issue Kee. I realize Apple grants unto itself certain inalienable rights that are not always (in my opinion) wise, or justified (ie. they are open to all sorts of corporate bias and malfeasance) but as you say, ?them?s the rules? and if you want to play in their sandbox you had better abide by them. I presume there is some semblance of common sense at Apple, at least I hope so :) Mark > On Jan 24, 2021, at 3:14 PM, kee nethery via use-livecode wrote: > > > >> On Jan 20, 2021, at 4:20 AM, Mark Smith via use-livecode wrote: >> >> Thanks Kee, but I am a bit puzzled by the restriction. >> >> That would require complicity from the businesses, which if reputable would be a stretch, no? > > There is a significantly large number of certified developers. I personally have three developer accounts for three separate efforts. If I was willing, I could risk burning one of those accounts. Not that I?m going to do so, just saying, yes, the business amd the developer would have to be in on it. > >> For example, if I had an app that linked to course selections on University websites, are they going to suggest that these could be portals to pedophile shopping sites by entering a secret pass phrase? By the sounds of it, please correct me if I am wrong, no iStore app can link to a website for content regardless of the status of the organization that stands behind the site? Hmmmm, I still have a lot to learn in this space. > > Just saying that you need to really read the published rules and follow them. When there is an exception needed, you need to really sell your case to Apple and they might go for it, but assume they won?t. Not all app ideas can be apps. > >> >> Are there any links available to guidelines that describe these limitations? > > Apple developer site makes you agree to their terms and conditions. Thats what you want to reread with a very critical ete. > > Kee > >> >> Thanks >> Mark >> >>> On Jan 20, 2021, at 4:25 AM, kee nethery via use-livecode wrote: >>> >>> An app to web content is a mystery app. Your restaurant review app that pulls from the web could easily be transformed into a pedophile shopping app by entering a secret pass phrase and then changing the data on the web site. (as an extreme example) >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Jan 24 23:18:37 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 25 Jan 2021 04:18:37 +0000 Subject: Considering work with livecode server In-Reply-To: References: <18df11c7-5735-a30a-05f5-0763af516b84@fourthworld.com> <3748d7f9-6eb5-7fa7-768a-3e67ec42f6f9@sonic.net> <9D86049B-90E6-4503-8314-FB45F3B46A16@gmail.com> Message-ID: certain inalienable rights? Ahhh. I love cheese. Bob S On Jan 24, 2021, at 9:26 AM, Mark Smith via use-livecode > wrote: Thanks for weighing in on this issue Kee. I realize Apple grants unto itself certain inalienable rights that are not always (in my opinion) wise, or justified (ie. they are open to all sorts of corporate bias and malfeasance) but as you say, ?them?s the rules? and if you want to play in their sandbox you had better abide by them. I presume there is some semblance of common sense at Apple, at least I hope so :) From waprothero at gmail.com Mon Jan 25 00:45:31 2021 From: waprothero at gmail.com (William Prothero) Date: Sun, 24 Jan 2021 21:45:31 -0800 Subject: LC Community Ask Password In-Reply-To: References: <107F47B3-6EDE-4095-BE1B-86FC3996B933@iotecdigital.com> <631CCA6F-2FB0-431E-B407-50C01CD14F1C@iotecdigital.com> Message-ID: I tried it on LC 9.6.2 RC-2 in Big Sur and it worked, but it didn?t put the window title on the entry window. on mouseUp ask password "Please log in:" titled "Password Test" answer it end mouseUp Bill > On Jan 21, 2021, at 12:35 AM, panagiotis merakos via use-livecode wrote: > > Hello Bob, > > I just did a quick test in LC 9.6.2 RC-2 and I cannot reproduce this bug. I > put this code in a button: > > on mouseUp pButtonNumber > ask password "Please log in:" titled "Password Test" > end mouseUp > > I also tried putting this button in a modal stack. > > In both cases, I can type in the ask password dialog, and the OK and Cancel > buttons do respond. > > Could you file a bug report and attach a sample stack that demonstrates the > problem, so as we fix it asap? > > Also, what is your MacOS version? I tested on Mojave. > > Kind regards, > Panos > -- > > On Thu, 21 Jan 2021 at 02:30, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Oddly 9.6.2 RC2 Community DOES solve the Standalone App settings bug I >> mentioned in another post. This is all Mac BTW. >> >> Bob S >> >> >>> On Jan 20, 2021, at 4:21 PM, Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi all. >>> >>> Ask Password dialog pops but will not take input, nor can I click the >> Cancel or OK buttons. >>> >>> V9.6.2 RC2 >>> >>> Bob S >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode William A. Prothero https://earthlearningsolutions.org From ludovic.thebault at laposte.net Mon Jan 25 02:07:33 2021 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Mon, 25 Jan 2021 08:07:33 +0100 Subject: Test on android Simulator : app has stopped In-Reply-To: <68A43622-B35D-40CB-AA34-23D6E234D791@laposte.net> References: <68A43622-B35D-40CB-AA34-23D6E234D791@laposte.net> Message-ID: > Le 24 janv. 2021 ? 10:38, Ludovic THEBAULT via use-livecode a ?crit : > > Hello, > > I can?t test apps on the android simulator, install are ok, but when the app launch (even a simple test stack), the app quit suddenly. > > I?ve updated Android Studio, SDK, SDK tools. All is uptodate. > I reselect the sdk in the livecode prefs. > > I checked all in this lesson. > > https://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio > > In standalone settings, all Android?s platforms are checked and the minimal android version is set the Android 6. > > What I miss ? > > I need to test an app on an device with a notch. > > Thanks ! I?ve tested also to drag the apk onto the screen emulator, no change. Tested one platform at time (arm v4, v7, x86?)? no change Same apk is ok on a real Android device. Ludovic From merakosp at gmail.com Mon Jan 25 02:25:58 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 25 Jan 2021 09:25:58 +0200 Subject: Test on android Simulator : app has stopped In-Reply-To: References: <68A43622-B35D-40CB-AA34-23D6E234D791@laposte.net> Message-ID: Hello Ludovic, What is the Android version of the simulator(s) you have tried? Kind regards, Panos -- On Mon, 25 Jan 2021 at 09:08, Ludovic THEBAULT via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > Le 24 janv. 2021 ? 10:38, Ludovic THEBAULT via use-livecode < > use-livecode at lists.runrev.com> a ?crit : > > > > Hello, > > > > I can?t test apps on the android simulator, install are ok, but when the > app launch (even a simple test stack), the app quit suddenly. > > > > I?ve updated Android Studio, SDK, SDK tools. All is uptodate. > > I reselect the sdk in the livecode prefs. > > > > I checked all in this lesson. > > > > https://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio > > > > > In standalone settings, all Android?s platforms are checked and the > minimal android version is set the Android 6. > > > > What I miss ? > > > > I need to test an app on an device with a notch. > > > > Thanks ! > > > I?ve tested also to drag the apk onto the screen emulator, no change. > Tested one platform at time (arm v4, v7, x86?)? no change > > Same apk is ok on a real Android device. > > Ludovic > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 25 11:33:02 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 25 Jan 2021 16:33:02 +0000 Subject: LC Community Ask Password In-Reply-To: References: <107F47B3-6EDE-4095-BE1B-86FC3996B933@iotecdigital.com> <631CCA6F-2FB0-431E-B407-50C01CD14F1C@iotecdigital.com> Message-ID: <0E7BAE08-0E5C-47AE-9855-FE3C19565E61@iotecdigital.com> Hi Panos. I?m running High Sierra. I?ll try again with a new stack. It may be something in my stack that the older versions of LC do not mind but the latest does. Bob S > On Jan 21, 2021, at 12:35 AM, panagiotis merakos via use-livecode wrote: > > Hello Bob, > > I just did a quick test in LC 9.6.2 RC-2 and I cannot reproduce this bug. I > put this code in a button: > > on mouseUp pButtonNumber > ask password "Please log in:" titled "Password Test" > end mouseUp > > I also tried putting this button in a modal stack. > > In both cases, I can type in the ask password dialog, and the OK and Cancel > buttons do respond. > > Could you file a bug report and attach a sample stack that demonstrates the > problem, so as we fix it asap? > > Also, what is your MacOS version? I tested on Mojave. > > Kind regards, > Panos > -- > > On Thu, 21 Jan 2021 at 02:30, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Oddly 9.6.2 RC2 Community DOES solve the Standalone App settings bug I >> mentioned in another post. This is all Mac BTW. >> >> Bob S >> >> >>> On Jan 20, 2021, at 4:21 PM, Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi all. >>> >>> Ask Password dialog pops but will not take input, nor can I click the >> Cancel or OK buttons. >>> >>> V9.6.2 RC2 >>> >>> Bob S >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Jan 25 13:01:08 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 25 Jan 2021 20:01:08 +0200 Subject: [ANN] This Week in LiveCode 252 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #252 here: http://bit.ly/3sVnLfh This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From bduck at mac.com Mon Jan 25 14:08:11 2021 From: bduck at mac.com (Brian K. Duck) Date: Mon, 25 Jan 2021 14:08:11 -0500 Subject: xAPI in LiveCode meets tomorrow, 9/26 at 9 am EST Message-ID: ?Marc has offered to host tomorrows meeting. I?m under the weather, and will have limited energy to facilitate. I am hopeful David or Martin can step in. Marc, if we could also impose upon you to make a recording, it would be appreciated. Sent from my iPad, Brian Duck > On Jan 25, 2021, at 11:00 AM, Marc Siskin wrote: > > ? Brian, > > I am offering the use of my CMU Zoom for the upcoming meeting. Here are the particulars. Go ahead and send them out if you want to use the meeting. > > Marac > > Marc Neil Siskin is inviting you to a scheduled Zoom meeting. > > Topic: xAPI in LiveCode > Time: Jan 26, 2021 09:00 AM Eastern Time (US and Canada) > > Join Zoom Meeting > https://cmu.zoom.us/j/92187202226?pwd=TUJLUWN1UlFRVXQ5WUh5UXJQbFpiZz09 > > Meeting ID: 921 8720 2226 > Passcode: 365252 > One tap mobile > +12678310333,,92187202226#,,,,*365252# US (Philadelphia) > +17866351003,,92187202226#,,,,*365252# US (Miami) > > Dial by your location > +1 267 831 0333 US (Philadelphia) > +1 786 635 1003 US (Miami) > +1 929 205 6099 US (New York) > +1 301 715 8592 US (Washington DC) > +1 312 626 6799 US (Chicago) > +1 470 250 9358 US (Atlanta) > +1 470 381 2552 US (Atlanta) > +1 646 518 9805 US (New York) > +1 651 372 8299 US (Minnesota) > +1 602 753 0140 US (Phoenix) > +1 669 219 2599 US (San Jose) > +1 669 900 6833 US (San Jose) > +1 720 928 9299 US (Denver) > +1 971 247 1195 US (Portland) > +1 206 337 9723 US (Seattle) > +1 213 338 8477 US (Los Angeles) > +1 253 215 8782 US (Tacoma) > +1 346 248 7799 US (Houston) > Meeting ID: 921 8720 2226 > Passcode: 365252 > Find your local number: https://cmu.zoom.us/u/adGTNrsMUr > > Join by SIP > 92187202226 at zoomcrc.com > > Join by H.323 > 162.255.37.11 (US West) > 162.255.36.11 (US East) > 221.122.88.195 (China) > 115.114.131.7 (India Mumbai) > 115.114.115.7 (India Hyderabad) > 213.19.144.110 (Amsterdam Netherlands) > 213.244.140.110 (Germany) > 103.122.166.55 (Australia) > 209.9.211.110 (Hong Kong SAR) > 149.137.40.110 (Singapore) > 64.211.144.160 (Brazil) > 69.174.57.160 (Canada) > 207.226.132.110 (Japan) > Meeting ID: 921 8720 2226 > Passcode: 365252 > > >> On Jan 22, 2021, at 6:43 PM, Brian K. Duck via use-livecode wrote: >> >> Hello LiveCoders, >> >> Our next meeting is Tuesday, 9 Am Est, we?ll blocking two hours in case people come and go. >> >> I added Henk, but I?m not sure I got an email for Peter (Music in the Air)... >> David / Martin, am I missing others? >> >> Sent from my iPad, >> Brian >> >>> On Jan 22, 2021, at 4:29 PM, Martin Koob wrote: >>> >>> ?Hi all >>> >>> I enjoyed the meeting today. I was wondering if you had firmed up a time for Tuesday Jan 26th yet? Let me know so I can get it in my schedule before I inadvertently schedule a work appointment. >>> >>> Thanks. >>> >>> Martin >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > --------------- > Marc Siskin, Learning Engineer > Manager, Modern Language Resource Center > Carnegie Mellon University > msiskin at andrew.cmu.edu > > From martyknappster at gmail.com Mon Jan 25 19:24:52 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 25 Jan 2021 16:24:52 -0800 Subject: Stack check-out/check-in Message-ID: <2D95490F-E5FD-4DD0-B259-8FAB16BA5565@gmail.com> I have an app that allows user to create specialized editable documents (stacks) that open in my app. Some customers use Dropbox, iCloud, OneDrive or similar to store these documents so that they can be accessed from 2 different computers. Is there a way to tell if a stack is already open on one computer? I need to prevent them from opening a 2nd instance of the stack on the other computer so that Dropbox (or other cloud sync service) does not create a conflicted copy. If there is not a way to tell, has anyone created some sort of stack check-out/check-in system that they'd be willing to share? I need this for Mac, PC and mixed. Marty From bobsneidar at iotecdigital.com Mon Jan 25 19:53:27 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 26 Jan 2021 00:53:27 +0000 Subject: LC Community Ask Password In-Reply-To: <0E7BAE08-0E5C-47AE-9855-FE3C19565E61@iotecdigital.com> References: <107F47B3-6EDE-4095-BE1B-86FC3996B933@iotecdigital.com> <631CCA6F-2FB0-431E-B407-50C01CD14F1C@iotecdigital.com> <0E7BAE08-0E5C-47AE-9855-FE3C19565E61@iotecdigital.com> Message-ID: Hi Panos. I have a recipe. It?s when the stack is modal AND I ask password as sheet. I?ll open a bug report and send the stack along. Bob S > On Jan 25, 2021, at 8:33 AM, Bob Sneidar via use-livecode wrote: > > Hi Panos. > > I?m running High Sierra. I?ll try again with a new stack. It may be something in my stack that the older versions of LC do not mind but the latest does. > > Bob S > > >> On Jan 21, 2021, at 12:35 AM, panagiotis merakos via use-livecode wrote: >> >> Hello Bob, >> >> I just did a quick test in LC 9.6.2 RC-2 and I cannot reproduce this bug. I >> put this code in a button: >> >> on mouseUp pButtonNumber >> ask password "Please log in:" titled "Password Test" >> end mouseUp >> >> I also tried putting this button in a modal stack. >> >> In both cases, I can type in the ask password dialog, and the OK and Cancel >> buttons do respond. >> >> Could you file a bug report and attach a sample stack that demonstrates the >> problem, so as we fix it asap? >> >> Also, what is your MacOS version? I tested on Mojave. >> >> Kind regards, >> Panos >> -- >> >> On Thu, 21 Jan 2021 at 02:30, Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Oddly 9.6.2 RC2 Community DOES solve the Standalone App settings bug I >>> mentioned in another post. This is all Mac BTW. >>> >>> Bob S >>> >>> >>>> On Jan 20, 2021, at 4:21 PM, Bob Sneidar via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hi all. >>>> >>>> Ask Password dialog pops but will not take input, nor can I click the >>> Cancel or OK buttons. >>>> >>>> V9.6.2 RC2 >>>> >>>> Bob S >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Mon Jan 25 20:06:50 2021 From: paul at researchware.com (Paul Dupuis) Date: Mon, 25 Jan 2021 20:06:50 -0500 Subject: Stack check-out/check-in In-Reply-To: <2D95490F-E5FD-4DD0-B259-8FAB16BA5565@gmail.com> References: <2D95490F-E5FD-4DD0-B259-8FAB16BA5565@gmail.com> Message-ID: <01e9f898-6908-2d41-5920-99435cae2495@researchware.com> If the could storage the stack is on has write access, the easiest mechanism is a file based flag. When the stack is launched, if checks: if there is a file then ? -- the stack is already open, so exit else ?? put empty into URL ("file:"&) -- creates a empty file to mark as open end and? when the stack exists remove the file on quit ? delete file end quit Or something like that. I do not have LC open to check my code above. On 1/25/2021 7:24 PM, Marty Knapp via use-livecode wrote: > I have an app that allows user to create specialized editable documents (stacks) that open in my app. Some customers use Dropbox, iCloud, OneDrive or similar to store these documents so that they can be accessed from 2 different computers. Is there a way to tell if a stack is already open on one computer? I need to prevent them from opening a 2nd instance of the stack on the other computer so that Dropbox (or other cloud sync service) does not create a conflicted copy. > > If there is not a way to tell, has anyone created some sort of stack check-out/check-in system that they'd be willing to share? I need this for Mac, PC and mixed. > > Marty > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jan 25 20:14:34 2021 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 26 Jan 2021 01:14:34 +0000 Subject: Stack check-out/check-in In-Reply-To: <01e9f898-6908-2d41-5920-99435cae2495@researchware.com> References: <2D95490F-E5FD-4DD0-B259-8FAB16BA5565@gmail.com> <01e9f898-6908-2d41-5920-99435cae2495@researchware.com> Message-ID: which is fine if you are OK doing manual clean-up when, not if, if the stack should ever exit without 'quit'ing, or become disconnected from the network, or ... any of which would leave the file-flag behind. The? easiest alternative is to have the stack update the file periodically, and instead of checking for the file's existence, check how up-to-date it is. Do the update this periodically (maybe every minute, every 5 minutes , ...) and if the file exists but is old by more than 3 * the chosen interval then delete the file and continue.? (And do be careful of time drift between different machines). Alex. On 26/01/2021 01:06, Paul Dupuis via use-livecode wrote: > If the could storage the stack is on has write access, the easiest > mechanism is a file based flag. > > When the stack is launched, if checks: > > if there is a file then > ? -- the stack is already open, so exit > else > ?? put empty into URL ("file:"&) -- creates a empty file to > mark as open > end > > and? when the stack exists remove the file > > on quit > ? delete file > end quit > > Or something like that. I do not have LC open to check my code above. > > > On 1/25/2021 7:24 PM, Marty Knapp via use-livecode wrote: >> I have an app that allows user to create specialized editable >> documents (stacks) that open in my app. Some customers use Dropbox, >> iCloud, OneDrive or similar to store these documents so that they can >> be accessed from 2 different computers. Is there a way to tell if a >> stack is already open on one computer? I need to prevent them from >> opening a 2nd instance of the stack on the other computer so that >> Dropbox (or other cloud sync service) does not create a conflicted copy. >> >> If there is not a way to tell, has anyone created some sort of stack >> check-out/check-in system that they'd be willing to share? I need >> this for Mac, PC and mixed. >> >> Marty >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 25 20:24:55 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 26 Jan 2021 01:24:55 +0000 Subject: LC Community Ask Password In-Reply-To: References: <107F47B3-6EDE-4095-BE1B-86FC3996B933@iotecdigital.com> <631CCA6F-2FB0-431E-B407-50C01CD14F1C@iotecdigital.com> <0E7BAE08-0E5C-47AE-9855-FE3C19565E61@iotecdigital.com> Message-ID: Okay Bug Report https://quality.livecode.com/show_bug.cgi?id=23075 Bob S On Jan 25, 2021, at 4:53 PM, Bob Sneidar via use-livecode > wrote: Hi Panos. I have a recipe. It?s when the stack is modal AND I ask password as sheet. I?ll open a bug report and send the stack along. Bob S On Jan 25, 2021, at 8:33 AM, Bob Sneidar via use-livecode > wrote: Hi Panos. I?m running High Sierra. I?ll try again with a new stack. It may be something in my stack that the older versions of LC do not mind but the latest does. Bob S On Jan 21, 2021, at 12:35 AM, panagiotis merakos via use-livecode > wrote: Hello Bob, I just did a quick test in LC 9.6.2 RC-2 and I cannot reproduce this bug. I put this code in a button: on mouseUp pButtonNumber ask password "Please log in:" titled "Password Test" end mouseUp I also tried putting this button in a modal stack. In both cases, I can type in the ask password dialog, and the OK and Cancel buttons do respond. Could you file a bug report and attach a sample stack that demonstrates the problem, so as we fix it asap? Also, what is your MacOS version? I tested on Mojave. Kind regards, Panos -- On Thu, 21 Jan 2021 at 02:30, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: Oddly 9.6.2 RC2 Community DOES solve the Standalone App settings bug I mentioned in another post. This is all Mac BTW. Bob S On Jan 20, 2021, at 4:21 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: Hi all. Ask Password dialog pops but will not take input, nor can I click the Cancel or OK buttons. V9.6.2 RC2 Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 26 09:05:30 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 26 Jan 2021 14:05:30 +0000 Subject: open secure socket... using certificate Message-ID: According to the Dictionary in LC 9.5.1 there is this command: open secure socket [from [localHostName][:localPort]] [to] socketID [with message callbackMessage] [without verification] *[using certificate certificate and key key]* However I can't get it to work. open secure socket to "localhost:443" using certificate throws a runtime error "no handler: using" If I use open secure socket to "localhost:443" I get a socket connection, but all the security of a client certificate does not work This causes a syntax error in the IDE: open secure socket to "localhost:443" using certificate tName Looking through the archives I see that a couple of discussions where people were asking about this variant of the "open socket" command 5 to 6 years ago, *saying that the "certificate" part has not been implemented*, regardless of what the Dictionary says. Is it really the case that for the past 6 years LC documentation has been misleading people concerning the implementation of certificates for secure socket connections? I notice in the Dictionary the entry for "open socket" in the table of options for this command has entries for "certificate" and "key", but these are both empty. As if these features were meant to be implemented but were never implemented and the Dictionary was never updated to remove this misleading information. I just find that hard to believe. Regards Bernard From brian at milby7.com Tue Jan 26 09:33:50 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 26 Jan 2021 09:33:50 -0500 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: <3F05E1A5-C94C-4A10-A38E-788A1596FB28@milby7.com> Did you try with ?and key tKey?... it does not look like that part is optional. Sent from my iPhone > On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode wrote: > > ?According to the Dictionary in LC 9.5.1 there is this command: > > open secure socket [from [localHostName][:localPort]] [to] socketID [with > message callbackMessage] [without verification] *[using certificate > certificate and key key]* > > However I can't get it to work. > > open secure socket to "localhost:443" using certificate > > throws a runtime error "no handler: using" > > If I use > > open secure socket to "localhost:443" > > I get a socket connection, but all the security of a client certificate > does not work > > > This causes a syntax error in the IDE: > > open secure socket to "localhost:443" using certificate tName > > Looking through the archives I see that a couple of discussions where > people were asking about this variant of the "open socket" command 5 to 6 > years ago, *saying that the "certificate" part has not been implemented*, > regardless of what the Dictionary says. > > Is it really the case that for the past 6 years LC documentation has been > misleading people concerning the implementation of certificates for secure > socket connections? > > I notice in the Dictionary the entry for "open socket" in the table of > options for this command has entries for "certificate" and "key", but these > are both empty. As if these features were meant to be implemented but were > never implemented and the Dictionary was never updated to remove this > misleading information. > > I just find that hard to believe. > > Regards > > Bernard > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 26 10:39:48 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 26 Jan 2021 15:39:48 +0000 Subject: open secure socket... using certificate In-Reply-To: <3F05E1A5-C94C-4A10-A38E-788A1596FB28@milby7.com> References: <3F05E1A5-C94C-4A10-A38E-788A1596FB28@milby7.com> Message-ID: I did. I tried these too: *open* *secure* socket to "localhost:443" using certificate tc and key tk *open* *secure* socket to "localhost:443" without verification using certificate tc and key tk When the above lines are entered in the script editor they are flagged as being syntax errors. In both cases it is what comes after "certificate" that is flagged as a syntax error (flagged as: missing "," near "tc"). There seems to be no combination of command options that works with certificates. The fact that the Dictionary has zero information about what is expected for certificate/key was not a good sign, which is why I searched the archive. I just went to have a look at the code on Github and I can seen nothing to suggest that "using certificate and key" is implemented. The server and client certificate are working in a browser, so the problem is definitely on the LC side. On Tue, Jan 26, 2021 at 2:34 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > Did you try with ?and key tKey?... it does not look like that part is > optional. > > Sent from my iPhone > > > On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?According to the Dictionary in LC 9.5.1 there is this command: > > > > open secure socket [from [localHostName][:localPort]] [to] socketID [with > > message callbackMessage] [without verification] *[using certificate > > certificate and key key]* > > > > However I can't get it to work. > > > > open secure socket to "localhost:443" using certificate > > > > throws a runtime error "no handler: using" > > > > If I use > > > > open secure socket to "localhost:443" > > > > I get a socket connection, but all the security of a client certificate > > does not work > > > > > > This causes a syntax error in the IDE: > > > > open secure socket to "localhost:443" using certificate tName > > > > Looking through the archives I see that a couple of discussions where > > people were asking about this variant of the "open socket" command 5 to 6 > > years ago, *saying that the "certificate" part has not been implemented*, > > regardless of what the Dictionary says. > > > > Is it really the case that for the past 6 years LC documentation has been > > misleading people concerning the implementation of certificates for > secure > > socket connections? > > > > I notice in the Dictionary the entry for "open socket" in the table of > > options for this command has entries for "certificate" and "key", but > these > > are both empty. As if these features were meant to be implemented but > were > > never implemented and the Dictionary was never updated to remove this > > misleading information. > > > > I just find that hard to believe. > > > > Regards > > > > Bernard > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Tue Jan 26 12:16:06 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 26 Jan 2021 18:16:06 +0100 Subject: OT Friendly customers.... Message-ID: Hi all, today i had a really unfriendly email from a customer and i would like to show what independent developers sometimes have to deal with. First some information... i am selling a Win/Mac/Linux tool through Fastspring for years. The software is protected using Zygodact from Jacqueline Landman Gay. Btw. a really great tool. The purchase process is quite easy. After successful purchase/payment Fastspring contacts post some data to a Livecode Server Script. If the Fastpring call contains all needed information the Livecode Server scripts call the Zygodact stack to generate the registration data for that order and then returns that information. T he customer then get's an automated email from Fastspring which contains the details to unlock the software from demo mode to full mode. This works for years now and worked before Fastspring for years with KAGI. Today this email arrived: < I plugged in the registration code and received a message that it was not valid for the current version that I had downloaded and that I had to send more money. Either send me a valid code or refund my money. Unless I hear from you today I will contact my bank and my credit card company and report this as a fraudulent charge. Let me know what are your intentions. > The funny part is, my software does not return such a message. If the code is not accepted because email address and key code do not match, it just returns the message "Name or Key incorrect." So what should i conclude from this? Did the customer try to unlock a wrong program? Or did he just interpret the message "Name or Key incorrect" as "You have to send more money"? But what annoys me the most is the way he wrote the support request. As the friendly person i am, i tried his unlock data here w/o problem. I replied to him that the unlock data is definitely working and if that is not the case at his side, then i would assume that he either tried to use the unlock details with an other program not mine or that he did not exactly enter the unlock details. I even offered a free one2one remote session to do the unlock process for him. Until now i did not receive any answers. Btw. according to his LinkeIn profile he is a Digital Journalist and Web Designer and is working for a US University.... Anyway. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code From prothero at earthlearningsolutions.org Tue Jan 26 12:29:00 2021 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Tue, 26 Jan 2021 09:29:00 -0800 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: <86D81469-249E-4F97-BA6B-A288687D4D28@earthlearningsolutions.org> Matthias, I regularly get emails that threaten to do financial harm if I don?t do some kind of payment to them. If it?s a scam, the return email may be spoofed also. Once I got an email from a known friend requesting assistance during a travel problem, but the email had been hijacked. From that email address, I got sincere sounding requests for emergency assistance. When I checked a Facebook account, I found postings about her hijacked email. If you can find an alternative email address to contact, for the person you found on the internet, you could contact him that way. However, the request sounds very suspicious to me. Good luck, Bill William Prothero http://es.earthednet.org > On Jan 26, 2021, at 9:17 AM, matthias rebbe via use-livecode wrote: > > ?Hi all, > > today i had a really unfriendly email from a customer > and i would like to show what independent developers sometimes have to deal with. > > First some information... > i am selling a Win/Mac/Linux tool through Fastspring for years. > The software is protected using Zygodact from Jacqueline Landman Gay. > Btw. a really great tool. > > The purchase process is quite easy. After successful purchase/payment Fastspring contacts post some data to a Livecode Server Script. If the Fastpring call contains all needed information the Livecode Server scripts call the Zygodact stack to generate the registration data for that order and then returns that information. T he customer then get's an automated email from Fastspring which contains the details to unlock the software from demo mode to full mode. This works for years now and worked before Fastspring for years with KAGI. > > Today this email arrived: > > < > I plugged in the registration code and received a message that it was not valid for the current version that I had downloaded and that I had to send more money. > > Either send me a valid code or refund my money. > > Unless I hear from you today I will contact my bank and my credit card company and report this as a fraudulent charge. > > Let me know what are your intentions. >> > > > The funny part is, my software does not return such a message. If the code is not accepted because email address and key code do not match, it just returns the message "Name or Key incorrect." > > So what should i conclude from this? Did the customer try to unlock a wrong program? Or did he just interpret the message "Name or Key incorrect" as "You have to send more money"? > > But what annoys me the most is the way he wrote the support request. > > As the friendly person i am, i tried his unlock data here w/o problem. I replied to him that the unlock data is definitely working and if that is not the case at his side, then i would assume that he either tried to use the unlock details with an other program not mine or that he did not exactly enter the unlock details. > I even offered a free one2one remote session to do the unlock process for him. > > Until now i did not receive any answers. > > Btw. according to his LinkeIn profile he is a Digital Journalist and Web Designer and is working for a US University.... > > Anyway. > > Regards, > > Matthias > > > > > > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Jan 26 12:43:44 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 26 Jan 2021 18:43:44 +0100 Subject: OT Friendly customers.... In-Reply-To: <86D81469-249E-4F97-BA6B-A288687D4D28@earthlearningsolutions.org> References: <86D81469-249E-4F97-BA6B-A288687D4D28@earthlearningsolutions.org> Message-ID: <5DBF21AE-CCEB-425D-B6D6-4805090624A2@m-r-d.de> Hi Bill, then of course i could be happy to get such emails not so often. ;) Regarding your concerns, i don't think that it is scam. The customer really purchased the software and if i would refund the purchase no one else as the customer himself had an advantage of it. But i keep that in mind. Thanks. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 26.01.2021 um 18:29 schrieb ELS Prothero via use-livecode : > > Matthias, > I regularly get emails that threaten to do financial harm if I don?t do some kind of payment to them. If it?s a scam, the return email may be spoofed also. Once I got an email from a known friend requesting assistance during a travel problem, but the email had been hijacked. From that email address, I got sincere sounding requests for emergency assistance. When I checked a Facebook account, I found postings about her hijacked email. > > If you can find an alternative email address to contact, for the person you found on the internet, you could contact him that way. However, the request sounds very suspicious to me. > > Good luck, > Bill > > William Prothero > http://es.earthednet.org > >> On Jan 26, 2021, at 9:17 AM, matthias rebbe via use-livecode wrote: >> >> ?Hi all, >> >> today i had a really unfriendly email from a customer >> and i would like to show what independent developers sometimes have to deal with. >> >> First some information... >> i am selling a Win/Mac/Linux tool through Fastspring for years. >> The software is protected using Zygodact from Jacqueline Landman Gay. >> Btw. a really great tool. >> >> The purchase process is quite easy. After successful purchase/payment Fastspring contacts post some data to a Livecode Server Script. If the Fastpring call contains all needed information the Livecode Server scripts call the Zygodact stack to generate the registration data for that order and then returns that information. T he customer then get's an automated email from Fastspring which contains the details to unlock the software from demo mode to full mode. This works for years now and worked before Fastspring for years with KAGI. >> >> Today this email arrived: >> >> < >> I plugged in the registration code and received a message that it was not valid for the current version that I had downloaded and that I had to send more money. >> >> Either send me a valid code or refund my money. >> >> Unless I hear from you today I will contact my bank and my credit card company and report this as a fraudulent charge. >> >> Let me know what are your intentions. >>> >> >> >> The funny part is, my software does not return such a message. If the code is not accepted because email address and key code do not match, it just returns the message "Name or Key incorrect." >> >> So what should i conclude from this? Did the customer try to unlock a wrong program? Or did he just interpret the message "Name or Key incorrect" as "You have to send more money"? >> >> But what annoys me the most is the way he wrote the support request. >> >> As the friendly person i am, i tried his unlock data here w/o problem. I replied to him that the unlock data is definitely working and if that is not the case at his side, then i would assume that he either tried to use the unlock details with an other program not mine or that he did not exactly enter the unlock details. >> I even offered a free one2one remote session to do the unlock process for him. >> >> Until now i did not receive any answers. >> >> Btw. according to his LinkeIn profile he is a Digital Journalist and Web Designer and is working for a US University.... >> >> Anyway. >> >> Regards, >> >> Matthias >> >> >> >> >> >> >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 26 12:45:06 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 26 Jan 2021 12:45:06 -0500 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: <461648a6-5707-2bbb-fcdc-940dd190cb29@researchware.com> When? people buy our software an email with a license key is sent to them. We probably get a handful of people contacting support each MONTH with problems - in most cases they are polite and just want the problem solved, which is usually that they are using the wrong license key with the wrong software version or the email with the license key went into some SPAM filter and they never saw it (or they just never saw it or noticed it). Out of that, we probably get a handful per YEAR that are like your email - where the customer thinks that the issue must be we're a fraudulent company trying to scam them. In most all of that handful per YEAR it ends up being that the customer was also using the wrong key with the wrong version or missed the email with the key, but their first assumption is that it is some kind of SCAM. Honestly with all the SCAM email out there from Nigerian Princes to "I am dying and wish you to manage my million as I have no heirs" to the "You email account is shutdown until you click here" and on and on, you should not be surprised some people assume SCAM first. Don't take it personally. It is also possible they have fallen for some scam or other in the past and are now especially gun shy. On 1/26/2021 12:16 PM, matthias rebbe via use-livecode wrote: > Hi all, > > today i had a really unfriendly email from a customer > and i would like to show what independent developers sometimes have to deal with. > > First some information... > i am selling a Win/Mac/Linux tool through Fastspring for years. > The software is protected using Zygodact from Jacqueline Landman Gay. > Btw. a really great tool. > > The purchase process is quite easy. After successful purchase/payment Fastspring contacts post some data to a Livecode Server Script. If the Fastpring call contains all needed information the Livecode Server scripts call the Zygodact stack to generate the registration data for that order and then returns that information. T he customer then get's an automated email from Fastspring which contains the details to unlock the software from demo mode to full mode. This works for years now and worked before Fastspring for years with KAGI. > > Today this email arrived: > > < > I plugged in the registration code and received a message that it was not valid for the current version that I had downloaded and that I had to send more money. > > Either send me a valid code or refund my money. > > Unless I hear from you today I will contact my bank and my credit card company and report this as a fraudulent charge. > > Let me know what are your intentions. > > The funny part is, my software does not return such a message. If the code is not accepted because email address and key code do not match, it just returns the message "Name or Key incorrect." > > So what should i conclude from this? Did the customer try to unlock a wrong program? Or did he just interpret the message "Name or Key incorrect" as "You have to send more money"? > > But what annoys me the most is the way he wrote the support request. > > As the friendly person i am, i tried his unlock data here w/o problem. I replied to him that the unlock data is definitely working and if that is not the case at his side, then i would assume that he either tried to use the unlock details with an other program not mine or that he did not exactly enter the unlock details. > I even offered a free one2one remote session to do the unlock process for him. > > Until now i did not receive any answers. > > Btw. according to his LinkeIn profile he is a Digital Journalist and Web Designer and is working for a US University.... > > Anyway. > > Regards, > > Matthias > > > > > > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Jan 26 12:45:56 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Jan 2021 11:45:56 -0600 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: <1773fcd5020.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Can you contact him on LinkedIn to verify he sent that email? If it isn't fraudulent he may be looking for a free copy by requesting a refund and then using the app anyway. But it sounds like a fake email to me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 26, 2021 11:18:25 AM matthias rebbe via use-livecode wrote: > Hi all, > > today i had a really unfriendly email from a customer > and i would like to show what independent developers sometimes have to deal > with. > > First some information... > i am selling a Win/Mac/Linux tool through Fastspring for years. > The software is protected using Zygodact from Jacqueline Landman Gay. > Btw. a really great tool. > > The purchase process is quite easy. After successful purchase/payment > Fastspring contacts post some data to a Livecode Server Script. If the > Fastpring call contains all needed information the Livecode Server scripts > call the Zygodact stack to generate the registration data for that order > and then returns that information. T he customer then get's an automated > email from Fastspring which contains the details to unlock the software > from demo mode to full mode. This works for years now and worked before > Fastspring for years with KAGI. > > Today this email arrived: > > < > I plugged in the registration code and received a message that it was not > valid for the current version that I had downloaded and that I had to send > more money. > > Either send me a valid code or refund my money. > > Unless I hear from you today I will contact my bank and my credit card > company and report this as a fraudulent charge. > > Let me know what are your intentions. >> > > > The funny part is, my software does not return such a message. If the code > is not accepted because email address and key code do not match, it just > returns the message "Name or Key incorrect." > > So what should i conclude from this? Did the customer try to unlock a wrong > program? Or did he just interpret the message "Name or Key incorrect" as > "You have to send more money"? > > But what annoys me the most is the way he wrote the support request. > > As the friendly person i am, i tried his unlock data here w/o problem. I > replied to him that the unlock data is definitely working and if that is > not the case at his side, then i would assume that he either tried to use > the unlock details with an other program not mine or that he did not > exactly enter the unlock details. > I even offered a free one2one remote session to do the unlock process for him. > > Until now i did not receive any answers. > > Btw. according to his LinkeIn profile he is a Digital Journalist and Web > Designer and is working for a US University.... > > Anyway. > > Regards, > > Matthias > > > > > > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 26 12:54:34 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 26 Jan 2021 17:54:34 +0000 Subject: OT Friendly customers.... In-Reply-To: <461648a6-5707-2bbb-fcdc-940dd190cb29@researchware.com> References: <461648a6-5707-2bbb-fcdc-940dd190cb29@researchware.com> Message-ID: <533CACEC-F753-4F46-8702-E2DD2DE7F35F@iotecdigital.com> WAIT? THAT was a SCAM??? Bob S On Jan 26, 2021, at 9:45 AM, Paul Dupuis via use-livecode > wrote: Honestly with all the SCAM email out there from Nigerian Princes to "I am dying and wish you to manage my million as I have no heirs" From e.beugelaar at me.com Tue Jan 26 13:02:14 2021 From: e.beugelaar at me.com (Erik Beugelaar) Date: Tue, 26 Jan 2021 19:02:14 +0100 Subject: open secure socket... using certificate In-Reply-To: References: <3F05E1A5-C94C-4A10-A38E-788A1596FB28@milby7.com> Message-ID: <001301d6f40d$61ec8110$25c58330$@me.com> Maybe this: secure socket "livecode.com:443" Examples: https://livecode.fandom.com/wiki/Secure_socket -----Original Message----- From: use-livecode On Behalf Of Bernard Devlin via use-livecode Sent: dinsdag 26 januari 2021 16:40 To: How to use LiveCode Cc: Bernard Devlin Subject: Re: open secure socket... using certificate I did. I tried these too: *open* *secure* socket to "localhost:443" using certificate tc and key tk *open* *secure* socket to "localhost:443" without verification using certificate tc and key tk When the above lines are entered in the script editor they are flagged as being syntax errors. In both cases it is what comes after "certificate" that is flagged as a syntax error (flagged as: missing "," near "tc"). There seems to be no combination of command options that works with certificates. The fact that the Dictionary has zero information about what is expected for certificate/key was not a good sign, which is why I searched the archive. I just went to have a look at the code on Github and I can seen nothing to suggest that "using certificate and key" is implemented. The server and client certificate are working in a browser, so the problem is definitely on the LC side. On Tue, Jan 26, 2021 at 2:34 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > Did you try with ?and key tKey?... it does not look like that part is > optional. > > Sent from my iPhone > > > On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?According to the Dictionary in LC 9.5.1 there is this command: > > > > open secure socket [from [localHostName][:localPort]] [to] socketID > > [with message callbackMessage] [without verification] *[using > > certificate certificate and key key]* > > > > However I can't get it to work. > > > > open secure socket to "localhost:443" using certificate > > > > throws a runtime error "no handler: using" > > > > If I use > > > > open secure socket to "localhost:443" > > > > I get a socket connection, but all the security of a client > > certificate does not work > > > > > > This causes a syntax error in the IDE: > > > > open secure socket to "localhost:443" using certificate tName > > > > Looking through the archives I see that a couple of discussions > > where people were asking about this variant of the "open socket" > > command 5 to 6 years ago, *saying that the "certificate" part has > > not been implemented*, regardless of what the Dictionary says. > > > > Is it really the case that for the past 6 years LC documentation has > > been misleading people concerning the implementation of certificates > > for > secure > > socket connections? > > > > I notice in the Dictionary the entry for "open socket" in the table > > of options for this command has entries for "certificate" and "key", > > but > these > > are both empty. As if these features were meant to be implemented > > but > were > > never implemented and the Dictionary was never updated to remove > > this misleading information. > > > > I just find that hard to believe. > > > > Regards > > > > Bernard > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 26 13:29:01 2021 From: dochawk at gmail.com (doc hawk) Date: Tue, 26 Jan 2021 10:29:01 -0800 Subject: OT Friendly customers.... In-Reply-To: <533CACEC-F753-4F46-8702-E2DD2DE7F35F@iotecdigital.com> References: <461648a6-5707-2bbb-fcdc-940dd190cb29@researchware.com> <533CACEC-F753-4F46-8702-E2DD2DE7F35F@iotecdigital.com> Message-ID: <345DF1CD-F916-494E-910D-FAD1D6734FA8@gmail.com> Bob bumbled, > WAIT? THAT was a SCAM??? Definitely. He actually sent the money to me. There was a great website years ago that I can no longer find, in which a women strung along one of these guys, posting what she was doing and the correspondence. She became increasingly salacious, eventually asking about playing games like ?hide the salami? when they met, and watched these fly over his head. She also insisted on a personal meeting, and that he come alone. She found a location in Amsterdam, iirc, with a webcam, and watched him arrive to collect the money?from her home in the US. To his indignation that she wasn?t there, she pointed out that she said to come alone. Eventually, she emailed him the address of the website, but his actual English was to poor to understand. And he continued trying to run the scam on her! He even slipped up and used one of his other identities in onej email, and tried to explain it away when she called him on it. From bdrunrev at gmail.com Tue Jan 26 14:11:26 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 26 Jan 2021 19:11:26 +0000 Subject: open secure socket... using certificate In-Reply-To: <001301d6f40d$61ec8110$25c58330$@me.com> References: <3F05E1A5-C94C-4A10-A38E-788A1596FB28@milby7.com> <001301d6f40d$61ec8110$25c58330$@me.com> Message-ID: Thanks for the suggestion Erik, but I don't see from that how one specifies the certificate. Regards, Bernard On Tue, Jan 26, 2021 at 6:03 PM Erik Beugelaar via use-livecode < use-livecode at lists.runrev.com> wrote: > Maybe this: > > secure socket "livecode.com:443" > > Examples: > > https://livecode.fandom.com/wiki/Secure_socket > > -----Original Message----- > From: use-livecode On Behalf Of > Bernard Devlin via use-livecode > Sent: dinsdag 26 januari 2021 16:40 > To: How to use LiveCode > Cc: Bernard Devlin > Subject: Re: open secure socket... using certificate > > I did. I tried these too: > > *open* *secure* socket to "localhost:443" using certificate tc and key tk > > *open* *secure* socket to "localhost:443" without verification using > certificate tc and key tk > > When the above lines are entered in the script editor they are flagged as > being syntax errors. In both cases it is what comes after "certificate" > that is flagged as a syntax error (flagged as: missing "," near "tc"). > There seems to be no combination of command options that works with > certificates. > > The fact that the Dictionary has zero information about what is expected > for certificate/key was not a good sign, which is why I searched the > archive. I just went to have a look at the code on Github and I can seen > nothing to suggest that "using certificate and key" is implemented. > > The server and client certificate are working in a browser, so the problem > is definitely on the LC side. > > On Tue, Jan 26, 2021 at 2:34 PM Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Did you try with ?and key tKey?... it does not look like that part is > > optional. > > > > Sent from my iPhone > > > > > On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > ?According to the Dictionary in LC 9.5.1 there is this command: > > > > > > open secure socket [from [localHostName][:localPort]] [to] socketID > > > [with message callbackMessage] [without verification] *[using > > > certificate certificate and key key]* > > > > > > However I can't get it to work. > > > > > > open secure socket to "localhost:443" using certificate > > > > > > throws a runtime error "no handler: using" > > > > > > If I use > > > > > > open secure socket to "localhost:443" > > > > > > I get a socket connection, but all the security of a client > > > certificate does not work > > > > > > > > > This causes a syntax error in the IDE: > > > > > > open secure socket to "localhost:443" using certificate tName > > > > > > Looking through the archives I see that a couple of discussions > > > where people were asking about this variant of the "open socket" > > > command 5 to 6 years ago, *saying that the "certificate" part has > > > not been implemented*, regardless of what the Dictionary says. > > > > > > Is it really the case that for the past 6 years LC documentation has > > > been misleading people concerning the implementation of certificates > > > for > > secure > > > socket connections? > > > > > > I notice in the Dictionary the entry for "open socket" in the table > > > of options for this command has entries for "certificate" and "key", > > > but > > these > > > are both empty. As if these features were meant to be implemented > > > but > > were > > > never implemented and the Dictionary was never updated to remove > > > this misleading information. > > > > > > I just find that hard to believe. > > > > > > Regards > > > > > > Bernard > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brian at milby7.com Tue Jan 26 14:25:53 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 26 Jan 2021 14:25:53 -0500 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: ?Using tCertificate and tKey? compiles but I don?t know how to test. It does seem like the parser doesn?t recognize those keywords. Sent from my iPhone > On Jan 26, 2021, at 2:13 PM, Bernard Devlin via use-livecode wrote: > > ?Thanks for the suggestion Erik, but I don't see from that how one specifies > the certificate. > > Regards, Bernard > >> On Tue, Jan 26, 2021 at 6:03 PM Erik Beugelaar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Maybe this: >> >> secure socket "livecode.com:443" >> >> Examples: >> >> https://livecode.fandom.com/wiki/Secure_socket >> >> -----Original Message----- >> From: use-livecode On Behalf Of >> Bernard Devlin via use-livecode >> Sent: dinsdag 26 januari 2021 16:40 >> To: How to use LiveCode >> Cc: Bernard Devlin >> Subject: Re: open secure socket... using certificate >> >> I did. I tried these too: >> >> *open* *secure* socket to "localhost:443" using certificate tc and key tk >> >> *open* *secure* socket to "localhost:443" without verification using >> certificate tc and key tk >> >> When the above lines are entered in the script editor they are flagged as >> being syntax errors. In both cases it is what comes after "certificate" >> that is flagged as a syntax error (flagged as: missing "," near "tc"). >> There seems to be no combination of command options that works with >> certificates. >> >> The fact that the Dictionary has zero information about what is expected >> for certificate/key was not a good sign, which is why I searched the >> archive. I just went to have a look at the code on Github and I can seen >> nothing to suggest that "using certificate and key" is implemented. >> >> The server and client certificate are working in a browser, so the problem >> is definitely on the LC side. >> >> On Tue, Jan 26, 2021 at 2:34 PM Brian Milby via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Did you try with ?and key tKey?... it does not look like that part is >>> optional. >>> >>> Sent from my iPhone >>> >>>> On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> ?According to the Dictionary in LC 9.5.1 there is this command: >>>> >>>> open secure socket [from [localHostName][:localPort]] [to] socketID >>>> [with message callbackMessage] [without verification] *[using >>>> certificate certificate and key key]* >>>> >>>> However I can't get it to work. >>>> >>>> open secure socket to "localhost:443" using certificate >>>> >>>> throws a runtime error "no handler: using" >>>> >>>> If I use >>>> >>>> open secure socket to "localhost:443" >>>> >>>> I get a socket connection, but all the security of a client >>>> certificate does not work >>>> >>>> >>>> This causes a syntax error in the IDE: >>>> >>>> open secure socket to "localhost:443" using certificate tName >>>> >>>> Looking through the archives I see that a couple of discussions >>>> where people were asking about this variant of the "open socket" >>>> command 5 to 6 years ago, *saying that the "certificate" part has >>>> not been implemented*, regardless of what the Dictionary says. >>>> >>>> Is it really the case that for the past 6 years LC documentation has >>>> been misleading people concerning the implementation of certificates >>>> for >>> secure >>>> socket connections? >>>> >>>> I notice in the Dictionary the entry for "open socket" in the table >>>> of options for this command has entries for "certificate" and "key", >>>> but >>> these >>>> are both empty. As if these features were meant to be implemented >>>> but >>> were >>>> never implemented and the Dictionary was never updated to remove >>>> this misleading information. >>>> >>>> I just find that hard to believe. >>>> >>>> Regards >>>> >>>> Bernard >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 26 16:21:20 2021 From: tom at makeshyft.com (Tom Glod) Date: Tue, 26 Jan 2021 16:21:20 -0500 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: super happy to see this, hopefully it will when i need it. Going to look this up. Wondering if it will be super hard to create certificate and make it work on localhost sockets. On Tue, Jan 26, 2021 at 2:26 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > ?Using tCertificate and tKey? compiles but I don?t know how to test. It > does seem like the parser doesn?t recognize those keywords. > > Sent from my iPhone > > > On Jan 26, 2021, at 2:13 PM, Bernard Devlin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Thanks for the suggestion Erik, but I don't see from that how one > specifies > > the certificate. > > > > Regards, Bernard > > > >> On Tue, Jan 26, 2021 at 6:03 PM Erik Beugelaar via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >> Maybe this: > >> > >> secure socket "livecode.com:443" > >> > >> Examples: > >> > >> https://livecode.fandom.com/wiki/Secure_socket > >> > >> -----Original Message----- > >> From: use-livecode On Behalf Of > >> Bernard Devlin via use-livecode > >> Sent: dinsdag 26 januari 2021 16:40 > >> To: How to use LiveCode > >> Cc: Bernard Devlin > >> Subject: Re: open secure socket... using certificate > >> > >> I did. I tried these too: > >> > >> *open* *secure* socket to "localhost:443" using certificate tc and key > tk > >> > >> *open* *secure* socket to "localhost:443" without verification using > >> certificate tc and key tk > >> > >> When the above lines are entered in the script editor they are flagged > as > >> being syntax errors. In both cases it is what comes after "certificate" > >> that is flagged as a syntax error (flagged as: missing "," near "tc"). > >> There seems to be no combination of command options that works with > >> certificates. > >> > >> The fact that the Dictionary has zero information about what is expected > >> for certificate/key was not a good sign, which is why I searched the > >> archive. I just went to have a look at the code on Github and I can > seen > >> nothing to suggest that "using certificate and key" is implemented. > >> > >> The server and client certificate are working in a browser, so the > problem > >> is definitely on the LC side. > >> > >> On Tue, Jan 26, 2021 at 2:34 PM Brian Milby via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> Did you try with ?and key tKey?... it does not look like that part is > >>> optional. > >>> > >>> Sent from my iPhone > >>> > >>>> On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> ?According to the Dictionary in LC 9.5.1 there is this command: > >>>> > >>>> open secure socket [from [localHostName][:localPort]] [to] socketID > >>>> [with message callbackMessage] [without verification] *[using > >>>> certificate certificate and key key]* > >>>> > >>>> However I can't get it to work. > >>>> > >>>> open secure socket to "localhost:443" using certificate > >>>> > >>>> throws a runtime error "no handler: using" > >>>> > >>>> If I use > >>>> > >>>> open secure socket to "localhost:443" > >>>> > >>>> I get a socket connection, but all the security of a client > >>>> certificate does not work > >>>> > >>>> > >>>> This causes a syntax error in the IDE: > >>>> > >>>> open secure socket to "localhost:443" using certificate tName > >>>> > >>>> Looking through the archives I see that a couple of discussions > >>>> where people were asking about this variant of the "open socket" > >>>> command 5 to 6 years ago, *saying that the "certificate" part has > >>>> not been implemented*, regardless of what the Dictionary says. > >>>> > >>>> Is it really the case that for the past 6 years LC documentation has > >>>> been misleading people concerning the implementation of certificates > >>>> for > >>> secure > >>>> socket connections? > >>>> > >>>> I notice in the Dictionary the entry for "open socket" in the table > >>>> of options for this command has entries for "certificate" and "key", > >>>> but > >>> these > >>>> are both empty. As if these features were meant to be implemented > >>>> but > >>> were > >>>> never implemented and the Dictionary was never updated to remove > >>>> this misleading information. > >>>> > >>>> I just find that hard to believe. > >>>> > >>>> Regards > >>>> > >>>> Bernard > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ahsoftware at sonic.net Tue Jan 26 19:56:11 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 26 Jan 2021 16:56:11 -0800 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: On 1/26/21 6:05 AM, Bernard Devlin via use-livecode wrote: > Is it really the case that for the past 6 years LC documentation has been > misleading people concerning the implementation of certificates for secure > socket connections? Sadly, yes. > > I notice in the Dictionary the entry for "open socket" in the table of > options for this command has entries for "certificate" and "key", but these > are both empty. As if these features were meant to be implemented but were > never implemented and the Dictionary was never updated to remove this > misleading information. > > I just find that hard to believe. https://quality.livecode.com/show_bug.cgi?id=13410 although the earliest bug report seems to be from 2006: https://quality.livecode.com/show_bug.cgi?id=3737 -- Mark Wieder ahsoftware at gmail.com From bdrunrev at gmail.com Wed Jan 27 05:44:41 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 27 Jan 2021 10:44:41 +0000 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: Thanks for confirming it Mark. I feel like a sucker. I started on this project a few months ago on the assumption that socket certificates now worked as they'd been included in the Dictionary for years. I was away from development for a few years and hadn't noticed the complaints that the Dictionary was misrepresenting the situation. Depressing to see my own name in that bug report from 7 years ago, pointing out that secure sockets with certificates was something that we'd been told was on the horizon in LC version 2, which must have been around 2004. https://quality.livecode.com/show_bug.cgi?id=13410 Regards, Bernard On Wed, Jan 27, 2021 at 12:57 AM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 1/26/21 6:05 AM, Bernard Devlin via use-livecode wrote: > > > Is it really the case that for the past 6 years LC documentation has been > > misleading people concerning the implementation of certificates for > secure > > socket connections? > > Sadly, yes. > > > > > I notice in the Dictionary the entry for "open socket" in the table of > > options for this command has entries for "certificate" and "key", but > these > > are both empty. As if these features were meant to be implemented but > were > > never implemented and the Dictionary was never updated to remove this > > misleading information. > > > > I just find that hard to believe. > > https://quality.livecode.com/show_bug.cgi?id=13410 > > although the earliest bug report seems to be from 2006: > > https://quality.livecode.com/show_bug.cgi?id=3737 > > -- > Mark Wieder > > From bdrunrev at gmail.com Wed Jan 27 05:48:11 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 27 Jan 2021 10:48:11 +0000 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: Hi Tom You shouldn't get any hopes up. I'd commented in the bug report in 2014 that this was something that we'd been told was coming back in the days of LC version 2. I think when a development environment has failed to deliver a feature from version 2 to version 10 that thing is never going to appear. On Tue, Jan 26, 2021 at 9:22 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > super happy to see this, hopefully it will when i need it. > Going to look this up. > Wondering if it will be super hard to create certificate and make it work > on localhost sockets. > > > On Tue, Jan 26, 2021 at 2:26 PM Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > ?Using tCertificate and tKey? compiles but I don?t know how to test. It > > does seem like the parser doesn?t recognize those keywords. > > > > Sent from my iPhone > > > > > On Jan 26, 2021, at 2:13 PM, Bernard Devlin via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > ?Thanks for the suggestion Erik, but I don't see from that how one > > specifies > > > the certificate. > > > > > > Regards, Bernard > > > > > >> On Tue, Jan 26, 2021 at 6:03 PM Erik Beugelaar via use-livecode < > > >> use-livecode at lists.runrev.com> wrote: > > >> > > >> Maybe this: > > >> > > >> secure socket "livecode.com:443" > > >> > > >> Examples: > > >> > > >> https://livecode.fandom.com/wiki/Secure_socket > > >> > > >> -----Original Message----- > > >> From: use-livecode On Behalf > Of > > >> Bernard Devlin via use-livecode > > >> Sent: dinsdag 26 januari 2021 16:40 > > >> To: How to use LiveCode > > >> Cc: Bernard Devlin > > >> Subject: Re: open secure socket... using certificate > > >> > > >> I did. I tried these too: > > >> > > >> *open* *secure* socket to "localhost:443" using certificate tc and > key > > tk > > >> > > >> *open* *secure* socket to "localhost:443" without verification using > > >> certificate tc and key tk > > >> > > >> When the above lines are entered in the script editor they are flagged > > as > > >> being syntax errors. In both cases it is what comes after > "certificate" > > >> that is flagged as a syntax error (flagged as: missing "," near "tc"). > > >> There seems to be no combination of command options that works with > > >> certificates. > > >> > > >> The fact that the Dictionary has zero information about what is > expected > > >> for certificate/key was not a good sign, which is why I searched the > > >> archive. I just went to have a look at the code on Github and I can > > seen > > >> nothing to suggest that "using certificate and key" is implemented. > > >> > > >> The server and client certificate are working in a browser, so the > > problem > > >> is definitely on the LC side. > > >> > > >> On Tue, Jan 26, 2021 at 2:34 PM Brian Milby via use-livecode < > > >> use-livecode at lists.runrev.com> wrote: > > >> > > >>> Did you try with ?and key tKey?... it does not look like that part is > > >>> optional. > > >>> > > >>> Sent from my iPhone > > >>> > > >>>> On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode < > > >>> use-livecode at lists.runrev.com> wrote: > > >>>> > > >>>> ?According to the Dictionary in LC 9.5.1 there is this command: > > >>>> > > >>>> open secure socket [from [localHostName][:localPort]] [to] socketID > > >>>> [with message callbackMessage] [without verification] *[using > > >>>> certificate certificate and key key]* > > >>>> > > >>>> However I can't get it to work. > > >>>> > > >>>> open secure socket to "localhost:443" using certificate > > >>>> > > >>>> throws a runtime error "no handler: using" > > >>>> > > >>>> If I use > > >>>> > > >>>> open secure socket to "localhost:443" > > >>>> > > >>>> I get a socket connection, but all the security of a client > > >>>> certificate does not work > > >>>> > > >>>> > > >>>> This causes a syntax error in the IDE: > > >>>> > > >>>> open secure socket to "localhost:443" using certificate tName > > >>>> > > >>>> Looking through the archives I see that a couple of discussions > > >>>> where people were asking about this variant of the "open socket" > > >>>> command 5 to 6 years ago, *saying that the "certificate" part has > > >>>> not been implemented*, regardless of what the Dictionary says. > > >>>> > > >>>> Is it really the case that for the past 6 years LC documentation has > > >>>> been misleading people concerning the implementation of certificates > > >>>> for > > >>> secure > > >>>> socket connections? > > >>>> > > >>>> I notice in the Dictionary the entry for "open socket" in the table > > >>>> of options for this command has entries for "certificate" and "key", > > >>>> but > > >>> these > > >>>> are both empty. As if these features were meant to be implemented > > >>>> but > > >>> were > > >>>> never implemented and the Dictionary was never updated to remove > > >>>> this misleading information. > > >>>> > > >>>> I just find that hard to believe. > > >>>> > > >>>> Regards > > >>>> > > >>>> Bernard > > >>>> _______________________________________________ > > >>>> use-livecode mailing list > > >>>> use-livecode at lists.runrev.com > > >>>> Please visit this url to subscribe, unsubscribe and manage your > > >>> subscription preferences: > > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >>> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 neville.smythe at optusnet.com.au Wed Jan 27 07:02:19 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Wed, 27 Jan 2021 23:02:19 +1100 Subject: revCopyFolder in LC Server Message-ID: I get a ?Can?t find handler (revCopyFolder)? error in LC Server from a script line revCopyFolder tTemplateDir,tDirPath The script works up to that line. Is there a problem with using revCopyFolder in LCServer? Neville From matthias_livecode_150811 at m-r-d.de Wed Jan 27 07:26:23 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 27 Jan 2021 13:26:23 +0100 Subject: revCopyFolder in LC Server In-Reply-To: References: Message-ID: <6C38FEE2-A538-4785-8555-D58C12DA0132@m-r-d.de> Neville, revCopyFolder is part of the revCommonLibary which is located in the folder Tools/Toolset/libraries within the LivecodeIDE app bundle (MacOS) or program folder (Windows). The file revCommonLibrary.livecodescript is not included in the LivecodeServer Installation files by default. You could either copy that library into your LivecodeServer folder on your webserver and make use of the complete library or you just use that part that is needed and include that in your LivecodeServer script. This is the complete revCopyFolder Handler from the common library on revCopyFolder pSrcFolder, pDestFolder if the last char of pSrcFolder is "/" then delete the last char of pSrcFolder if the platform is "MacOS" then if "applescript" is in the alternateLanguages then if there is not a folder pDestFolder then create folder pDestFolder end if do revAppleScriptFull("copyFolder",pSrcFolder,pDestFolder) as "applescript" if word 1 of the result is "folder" then #Copy successful so don't return anything return empty else return the result end if else return "Error: AppleScript not installed" else if the platform is "Win32" then revSetWindowsShellCommand if there is a directory pDestFolder then set the itemDel to "/" if char -1 of pDestFolder is "/" then delete char -1 of pDestFolder local tLastItemOfSrcFolder put item -1 of pSrcFolder into tLastItemofSrcFolder put "/" & tLastItemofSrcFolder after pDestFolder create directory pDestFolder end if # TH-2008-03-11 : Fix for 5465, should remedy problem with copy sometimes crashing on vista # now use robocopy instead of xcopy if operating under vista. if the systemVersion is "NT 6.0" then get shell ("robocopy" && revWindowsFromUnixPath(quote&pSrcFolder"e) && revWindowsFromUnixPath(quote&pDestFolder"e) && "/E /NFL /NDL /NS /NC /NJH /NJS") else get shell ("xcopy /I /E /Y /R" && revWindowsFromUnixPath(quote&pSrcFolder"e) && revWindowsFromUnixPath(quote&pDestFolder"e)) end if else get shell ("cp -rf" && quote&pSrcFolder"e && quote&pDestFolder"e) end if return the result end revCopyFolder Regards, - Matthias Rebbe Life Is Too Short For Boring Code > Am 27.01.2021 um 13:02 schrieb Neville Smythe via use-livecode : > > I get a ?Can?t find handler (revCopyFolder)? error in LC Server from a script line > revCopyFolder tTemplateDir,tDirPath > > The script works up to that line. Is there a problem with using revCopyFolder in LCServer? > > 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 mkoob at rogers.com Wed Jan 27 09:09:47 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 27 Jan 2021 09:09:47 -0500 Subject: Scheduling xAPI in LiveCode (Week 4 -5) References: <8C1349DC-B6AD-4BD0-98BF-83F429C46FEC.ref@rogers.com> Message-ID: <8C1349DC-B6AD-4BD0-98BF-83F429C46FEC@rogers.com> Hi All, I am sending this out for Brian Duck. We are trying to see when we're all available for xAPI in LiveCode (Week 4 -5). Please visit https://www.when2meet.com/?10848261-ZWeng to let us know when you're available. The Spring 2021 xAPI Cohort starts next week with its first session on Thursday Feb 4, 2021 ( think the time of the session is 2:00 pm EST (-5 UTC) I will check and send out a confirmation) so if you are interested register for that as well.https://xapicohort.com/ Members of this group have been discussing setting up a team in the xAPI cohort and discussing a project to pursue for that team during the spring 2021 semester of the xAPI cohort. Thanks, Martin Koob From jacque at hyperactivesw.com Wed Jan 27 15:05:26 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Jan 2021 14:05:26 -0600 Subject: OT Friendly customers.... In-Reply-To: <345DF1CD-F916-494E-910D-FAD1D6734FA8@gmail.com> References: <461648a6-5707-2bbb-fcdc-940dd190cb29@researchware.com> <533CACEC-F753-4F46-8702-E2DD2DE7F35F@iotecdigital.com> <345DF1CD-F916-494E-910D-FAD1D6734FA8@gmail.com> Message-ID: <401a2b27-3e0e-5ab3-279e-0ca78dd5c389@hyperactivesw.com> On 1/26/21 12:29 PM, doc hawk via use-livecode wrote: > There was a great website years ago that I can no longer find, in which a women strung along one of these guys, posting what she was doing and the correspondence. If you like that, you'll absolutely love this: Hysterically funny. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From neville.smythe at optusnet.com.au Wed Jan 27 16:54:07 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 28 Jan 2021 08:54:07 +1100 Subject: revCopyFolder in LC Server Message-ID: Thanks Matthias. I would not have guessed that from the Documentation which simply says that revCopyHandler is available for ?desktop,server?. I was thinking I would just use a one-line shell call to replace the handler ? but I suppose I should install the whole shebang Neville From dan at clearvisiontech.com Wed Jan 27 18:56:38 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 27 Jan 2021 23:56:38 +0000 Subject: clipboardData on Mobile? Message-ID: <0504E6B7-0241-4476-ACDB-3DC5E0465FA2@clearvisiontech.com> Greetings! Is there a way to set the clipboardData a mobile device? (iOS and Android). Client want's a "copy" button so they can paste the text outside of the app (in Notes, or a external document). -Dan From matthias_livecode_150811 at m-r-d.de Thu Jan 28 03:32:07 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 28 Jan 2021 09:32:07 +0100 Subject: clipboardData on Mobile? In-Reply-To: <0504E6B7-0241-4476-ACDB-3DC5E0465FA2@clearvisiontech.com> References: <0504E6B7-0241-4476-ACDB-3DC5E0465FA2@clearvisiontech.com> Message-ID: <98473F0E-1DB1-40A2-8C0F-653C61C211E7@m-r-d.de> Hi Dan, The ClipboardData property is only supported on desktop operating systems. If using native fields, then you could let the mobile os copy/paste the clipboard data. But i am afraid using a LC to copy/paste to/from Clipboard on mobile is currently not possible. - Matthias Rebbe Life Is Too Short For Boring Code > Am 28.01.2021 um 00:56 schrieb Dan Friedman via use-livecode : > > Greetings! > > Is there a way to set the clipboardData a mobile device? (iOS and Android). > > Client want's a "copy" button so they can paste the text outside of the app (in Notes, or a external document). > > > -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 matthias_livecode_150811 at m-r-d.de Thu Jan 28 04:02:51 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 28 Jan 2021 10:02:51 +0100 Subject: clipboardData on Mobile? In-Reply-To: <98473F0E-1DB1-40A2-8C0F-653C61C211E7@m-r-d.de> References: <0504E6B7-0241-4476-ACDB-3DC5E0465FA2@clearvisiontech.com> <98473F0E-1DB1-40A2-8C0F-653C61C211E7@m-r-d.de> Message-ID: <9BF94E96-9211-421F-8D56-0BDC6459067B@m-r-d.de> > But i am afraid using a LC to copy/paste to/from Clipboard on mobile is currently not possible. was meanto be But i am afraid using a LC script to copy/paste to/from clipboard on mobile is currently not possible. - Matthias Rebbe Life Is Too Short For Boring Code > Am 28.01.2021 um 09:32 schrieb matthias rebbe via use-livecode : > > Hi Dan, > > The ClipboardData property is only supported on desktop operating systems. > > If using native fields, then you could let the mobile os copy/paste the clipboard data. > > But i am afraid using a LC to copy/paste to/from Clipboard on mobile is currently not possible. > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 28.01.2021 um 00:56 schrieb Dan Friedman via use-livecode : >> >> Greetings! >> >> Is there a way to set the clipboardData a mobile device? (iOS and Android). >> >> Client want's a "copy" button so they can paste the text outside of the app (in Notes, or a external document). >> >> >> -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 marksmithhfx at gmail.com Thu Jan 28 05:50:59 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 28 Jan 2021 10:50:59 +0000 Subject: clipboardData on Mobile? In-Reply-To: <0504E6B7-0241-4476-ACDB-3DC5E0465FA2@clearvisiontech.com> References: <0504E6B7-0241-4476-ACDB-3DC5E0465FA2@clearvisiontech.com> Message-ID: I could definitely use the same feature in my upcoming app. Does anyone know if a feature request has been logged? > On Jan 27, 2021, at 11:56 PM, Dan Friedman via use-livecode wrote: > > Greetings! > > Is there a way to set the clipboardData a mobile device? (iOS and Android). > > Client want's a "copy" button so they can paste the text outside of the app (in Notes, or a external document). > > > -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 matthias_livecode_150811 at m-r-d.de Thu Jan 28 08:19:54 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 28 Jan 2021 14:19:54 +0100 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: <31A93878-540B-4333-B2FB-F42E5E979847@m-r-d.de> Hi again, the customer finally replied and for whatever reason the software is working now. ?? But no excuses or so from his side. So in my case it was not scam but just a rude person. Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 26.01.2021 um 18:16 schrieb matthias rebbe via use-livecode : > > Hi all, > > today i had a really unfriendly email from a customer > and i would like to show what independent developers sometimes have to deal with. > > First some information... > i am selling a Win/Mac/Linux tool through Fastspring for years. > The software is protected using Zygodact from Jacqueline Landman Gay. > Btw. a really great tool. > > The purchase process is quite easy. After successful purchase/payment Fastspring contacts post some data to a Livecode Server Script. If the Fastpring call contains all needed information the Livecode Server scripts call the Zygodact stack to generate the registration data for that order and then returns that information. T he customer then get's an automated email from Fastspring which contains the details to unlock the software from demo mode to full mode. This works for years now and worked before Fastspring for years with KAGI. > > Today this email arrived: > > < > I plugged in the registration code and received a message that it was not valid for the current version that I had downloaded and that I had to send more money. > > Either send me a valid code or refund my money. > > Unless I hear from you today I will contact my bank and my credit card company and report this as a fraudulent charge. > > Let me know what are your intentions. >> > > > The funny part is, my software does not return such a message. If the code is not accepted because email address and key code do not match, it just returns the message "Name or Key incorrect." > > So what should i conclude from this? Did the customer try to unlock a wrong program? Or did he just interpret the message "Name or Key incorrect" as "You have to send more money"? > > But what annoys me the most is the way he wrote the support request. > > As the friendly person i am, i tried his unlock data here w/o problem. I replied to him that the unlock data is definitely working and if that is not the case at his side, then i would assume that he either tried to use the unlock details with an other program not mine or that he did not exactly enter the unlock details. > I even offered a free one2one remote session to do the unlock process for him. > > Until now i did not receive any answers. > > Btw. according to his LinkeIn profile he is a Digital Journalist and Web Designer and is working for a US University.... > > Anyway. > > Regards, > > Matthias > > > > > > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From e.beugelaar at me.com Thu Jan 28 09:35:30 2021 From: e.beugelaar at me.com (Erik Beugelaar) Date: Thu, 28 Jan 2021 15:35:30 +0100 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: <00e401d6f582$d9c3cdd0$8d4b6970$@me.com> Maybe this is a possible workaround using cURL command-line utility? https://stackoverflow.com/questions/10079707/https-connection-using-curl-from-command-line Just my 2 cents. -----Original Message----- From: use-livecode On Behalf Of Bernard Devlin via use-livecode Sent: woensdag 27 januari 2021 11:48 To: How to use LiveCode Cc: Bernard Devlin Subject: Re: open secure socket... using certificate Hi Tom You shouldn't get any hopes up. I'd commented in the bug report in 2014 that this was something that we'd been told was coming back in the days of LC version 2. I think when a development environment has failed to deliver a feature from version 2 to version 10 that thing is never going to appear. On Tue, Jan 26, 2021 at 9:22 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > super happy to see this, hopefully it will when i need it. > Going to look this up. > Wondering if it will be super hard to create certificate and make it > work on localhost sockets. > > > On Tue, Jan 26, 2021 at 2:26 PM Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > ?Using tCertificate and tKey? compiles but I don?t know how to test. > > It does seem like the parser doesn?t recognize those keywords. > > > > Sent from my iPhone > > > > > On Jan 26, 2021, at 2:13 PM, Bernard Devlin via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > ?Thanks for the suggestion Erik, but I don't see from that how one > > specifies > > > the certificate. > > > > > > Regards, Bernard > > > > > >> On Tue, Jan 26, 2021 at 6:03 PM Erik Beugelaar via use-livecode < > > >> use-livecode at lists.runrev.com> wrote: > > >> > > >> Maybe this: > > >> > > >> secure socket "livecode.com:443" > > >> > > >> Examples: > > >> > > >> https://livecode.fandom.com/wiki/Secure_socket > > >> > > >> -----Original Message----- > > >> From: use-livecode On > > >> Behalf > Of > > >> Bernard Devlin via use-livecode > > >> Sent: dinsdag 26 januari 2021 16:40 > > >> To: How to use LiveCode > > >> Cc: Bernard Devlin > > >> Subject: Re: open secure socket... using certificate > > >> > > >> I did. I tried these too: > > >> > > >> *open* *secure* socket to "localhost:443" using certificate tc > > >> and > key > > tk > > >> > > >> *open* *secure* socket to "localhost:443" without verification > > >> using certificate tc and key tk > > >> > > >> When the above lines are entered in the script editor they are > > >> flagged > > as > > >> being syntax errors. In both cases it is what comes after > "certificate" > > >> that is flagged as a syntax error (flagged as: missing "," near "tc"). > > >> There seems to be no combination of command options that works > > >> with certificates. > > >> > > >> The fact that the Dictionary has zero information about what is > expected > > >> for certificate/key was not a good sign, which is why I searched > > >> the archive. I just went to have a look at the code on Github > > >> and I can > > seen > > >> nothing to suggest that "using certificate and key" is implemented. > > >> > > >> The server and client certificate are working in a browser, so > > >> the > > problem > > >> is definitely on the LC side. > > >> > > >> On Tue, Jan 26, 2021 at 2:34 PM Brian Milby via use-livecode < > > >> use-livecode at lists.runrev.com> wrote: > > >> > > >>> Did you try with ?and key tKey?... it does not look like that > > >>> part is optional. > > >>> > > >>> Sent from my iPhone > > >>> > > >>>> On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode < > > >>> use-livecode at lists.runrev.com> wrote: > > >>>> > > >>>> ?According to the Dictionary in LC 9.5.1 there is this command: > > >>>> > > >>>> open secure socket [from [localHostName][:localPort]] [to] > > >>>> socketID [with message callbackMessage] [without verification] > > >>>> *[using certificate certificate and key key]* > > >>>> > > >>>> However I can't get it to work. > > >>>> > > >>>> open secure socket to "localhost:443" using certificate > > >>>> > > >>>> throws a runtime error "no handler: using" > > >>>> > > >>>> If I use > > >>>> > > >>>> open secure socket to "localhost:443" > > >>>> > > >>>> I get a socket connection, but all the security of a client > > >>>> certificate does not work > > >>>> > > >>>> > > >>>> This causes a syntax error in the IDE: > > >>>> > > >>>> open secure socket to "localhost:443" using certificate tName > > >>>> > > >>>> Looking through the archives I see that a couple of discussions > > >>>> where people were asking about this variant of the "open socket" > > >>>> command 5 to 6 years ago, *saying that the "certificate" part > > >>>> has not been implemented*, regardless of what the Dictionary says. > > >>>> > > >>>> Is it really the case that for the past 6 years LC > > >>>> documentation has been misleading people concerning the > > >>>> implementation of certificates for > > >>> secure > > >>>> socket connections? > > >>>> > > >>>> I notice in the Dictionary the entry for "open socket" in the > > >>>> table of options for this command has entries for "certificate" > > >>>> and "key", but > > >>> these > > >>>> are both empty. As if these features were meant to be > > >>>> implemented but > > >>> were > > >>>> never implemented and the Dictionary was never updated to > > >>>> remove this misleading information. > > >>>> > > >>>> I just find that hard to believe. > > >>>> > > >>>> Regards > > >>>> > > >>>> Bernard > > >>>> _______________________________________________ > > >>>> use-livecode mailing list > > >>>> use-livecode at lists.runrev.com > > >>>> Please visit this url to subscribe, unsubscribe and manage your > > >>> subscription preferences: > > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >>> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 lists at mangomultimedia.com Thu Jan 28 10:44:56 2021 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 28 Jan 2021 09:44:56 -0600 Subject: clipboardData on Mobile? In-Reply-To: <9BF94E96-9211-421F-8D56-0BDC6459067B@m-r-d.de> References: <0504E6B7-0241-4476-ACDB-3DC5E0465FA2@clearvisiontech.com> <98473F0E-1DB1-40A2-8C0F-653C61C211E7@m-r-d.de> <9BF94E96-9211-421F-8D56-0BDC6459067B@m-r-d.de> Message-ID: This should be possible using LCB. Years ago I posted code for an external that copied to clipboard on iOS. I would guess that the APIs would be straightforward to wrap in LCB for someone motivated enough to do it. Here is the project: https://github.com/trevordevore/iosclipboard I don?t know about Android, but I believe there is a fair amount of Android LCB code in the livecode GitHub repo that could used for guidance. -- Trevor DeVore ScreenSteps On Thu, Jan 28, 2021 at 3:03 AM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > > But i am afraid using a LC to copy/paste to/from Clipboard on mobile is > currently not possible. > > > was meanto be > > But i am afraid using a LC script to copy/paste to/from clipboard on > mobile is currently not possible. > > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 28.01.2021 um 09:32 schrieb matthias rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Dan, > > > > The ClipboardData property is only supported on desktop operating > systems. > > > > If using native fields, then you could let the mobile os copy/paste the > clipboard data. > > > > But i am afraid using a LC to copy/paste to/from Clipboard on mobile is > currently not possible. > > > > > > - > > Matthias Rebbe > > Life Is Too Short For Boring Code > > > >> Am 28.01.2021 um 00:56 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Greetings! > >> > >> Is there a way to set the clipboardData a mobile device? (iOS and > Android). > >> > >> Client want's a "copy" button so they can paste the text outside of the > app (in Notes, or a external document). > >> > >> > >> -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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 28 11:40:52 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Jan 2021 08:40:52 -0800 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: <8d0f5ed9-eb16-55da-ee44-9301e9615d17@fourthworld.com> Tom Glod wrote: > Wondering if it will be super hard to create certificate and make it > work on localhost sockets. Pardon my naivete, but what is the value of a secured socket in local socket comms? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Jan 28 11:43:46 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Jan 2021 08:43:46 -0800 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: <31837fc1-fd39-00b6-0be9-1bc33f17da17@fourthworld.com> Bernard Devlin wrote: > I feel like a sucker. I started on this project a few months ago on > the assumption that socket certificates now worked as they'd been > included in the Dictionary for years. I was away from development for > a few years and hadn't noticed the complaints that the Dictionary was > misrepresenting the situation. Is this specific to the server "accept" not supporting SSL, or something client-side? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Jan 28 11:59:00 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Jan 2021 08:59:00 -0800 Subject: Stack check-out/check-in In-Reply-To: <2D95490F-E5FD-4DD0-B259-8FAB16BA5565@gmail.com> References: <2D95490F-E5FD-4DD0-B259-8FAB16BA5565@gmail.com> Message-ID: Marty Knapp wrote: > I have an app that allows user to create specialized editable > documents (stacks) that open in my app. Some customers use Dropbox, > iCloud, OneDrive or similar to store these documents so that they > can be accessed from 2 different computers. Is there a way to tell > if a stack is already open on one computer? I need to prevent them > from opening a 2nd instance of the stack on the other computer so > that Dropbox (or other cloud sync service) does not create a > conflicted copy. Nextcloud is the only file syncing system I know of that provides an API for file locking, but given the nature of syncing systems it comes with a good many caveats, noted here: https://docs.nextcloud.com/server/20/admin_manual/configuration_files/files_locking_transactional.html I have a similar need to support distributed workflows through syncing systems, and after reviewing those notes and other discussions it's became clear to me that with sufficient editing frequency conflict files are unavoidable, so now I'm focusing on smarter conflict-file resolution. > If there is not a way to tell, has anyone created some sort of stack > check-out/check-in system that they'd be willing to share? File syncing involves latency, and in those delays between saves and updates across all distributed clients there will inevitably be conflicts. Even if you use a lock file as a semaphore for other clients to know that a file is being edited, that semaphore itself needs to be distributed through the same inherently-latent system, and therefore is prone to arriving too late to be of any value. When data integrity is critical and conflict-file resolution is not a clean option, I can think of no other solution than to maintain storage of the files on a server, where check-in/check-out can be handled explicitly and immediately. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From curry at pair.com Thu Jan 28 12:35:23 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 28 Jan 2021 12:35:23 -0500 Subject: OT Friendly customers.... In-Reply-To: <31A93878-540B-4333-B2FB-F42E5E979847@m-r-d.de> References: <31A93878-540B-4333-B2FB-F42E5E979847@m-r-d.de> Message-ID: <6d4bf970-c864-e85a-b280-79d3d543fe89@pair.com> Matthias: > So in my case it was not scam but just a rude person. Plenty of those around. Including what comes around. Manipulative people usually follow 2 tactics. Either buttering up for a favor, or being rude to apply pressure. Sometimes both; they will abruptly switch if one fails. In which case I tend to grab either popcorn or a flamethrower. Not a huge fan of manipulation. Doc hawk: > asking about playing games like ?hide the salami? Careful - from a sandwich point of view, that could potentially imply the "c" word! Heather: > Did somebody say cheese?? Probably those damn portrait photographers again! Truly evil people - no souls behind the fake smiles. (A little humor now and then is the best medicine.) Paul: > you should not be surprised some people assume SCAM first My "unfavorites" were the "Windows tech support" and "Google listings" phone call scams. Right now during 2020-2021 my breathing isn't good enough for phone conversations anymore, and all calls go to voice mail. But in previous years those guys would call all the time. They weren't following any rules/laws anyway, so you couldn't get off their list by traditional methods. So I tried some unorthodox methods - pranking and wasting their time. I had one of the "Windows tech support" guys passionately defending himself when I asked what his family back in India would think about him becoming a criminal. Another couple of times, I played along with their spiel, got transferred from the little crook to the big crook, and wasted his time too for a while before scolding them and hanging up at the crucial moment. They eventually gave up on me just as I was planning some bigger pranks. (Our "FBI" is way too busy being a partisan political tool to handle any real crime; no telling how many scams they've allowed to flourish that it is their duty and job description to shut down and prevent.) But the "Google listings" people were unstoppable. They were operating in more of a legal/moral gray area, and they must have been raking in the $$$. Most persistent I've ever seen/heard. I suppose they are still at it; I just haven't been able to answer the phone for ages. My "unfavorite" email scam is the one where your email account will be closed unless you log in to verify it or approve the new security measures, etc. A couple of variations on this theme looked very real. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From stephen at barncard.com Thu Jan 28 13:07:06 2021 From: stephen at barncard.com (Stephen Barncard) Date: Thu, 28 Jan 2021 10:07:06 -0800 Subject: OT Friendly customers.... In-Reply-To: <6d4bf970-c864-e85a-b280-79d3d543fe89@pair.com> References: <31A93878-540B-4333-B2FB-F42E5E979847@m-r-d.de> <6d4bf970-c864-e85a-b280-79d3d543fe89@pair.com> Message-ID: Curry, Putting down the FBI won?t help anything and makes me think you might be partial to the dark forces and fake news. We get enough of the hate through other sources and it is unwelcome here. On Thu, Jan 28, 2021 at 09:36 Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com> wrote: > > Matthias: > > > So in my case it was not scam but just a rude person. > > Plenty of those around. Including what comes around. > > Manipulative people usually follow 2 tactics. > Either buttering up for a favor, or being rude to apply pressure. > Sometimes both; they will abruptly switch if one fails. > > In which case I tend to grab either popcorn or a flamethrower. > Not a huge fan of manipulation. > > Doc hawk: > > > asking about playing games like ?hide the salami? > > Careful - from a sandwich point of view, > that could potentially imply the "c" word! > > Heather: > > > Did somebody say cheese?? > > Probably those damn portrait photographers again! > Truly evil people - no souls behind the fake smiles. > > (A little humor now and then is the best medicine.) > > Paul: > > > you should not be surprised some people assume SCAM first > > My "unfavorites" were the "Windows tech support" and "Google listings" > phone call scams. > > Right now during 2020-2021 my breathing isn't good enough for phone > conversations anymore, and all calls go to voice mail. > > But in previous years those guys would call all the time. They weren't > following any rules/laws anyway, so you couldn't get off their list by > traditional methods. > > So I tried some unorthodox methods - pranking and wasting their time. > > I had one of the "Windows tech support" guys passionately defending > himself when I asked what his family back in India would think about him > becoming a criminal. Another couple of times, I played along with their > spiel, got transferred from the little crook to the big crook, and > wasted his time too for a while before scolding them and hanging up at > the crucial moment. They eventually gave up on me just as I was planning > some bigger pranks. > > (Our "FBI" is way too busy being a partisan political tool to handle any > real crime; no telling how many scams they've allowed to flourish that > it is their duty and job description to shut down and prevent.) > > But the "Google listings" people were unstoppable. They were operating > in more of a legal/moral gray area, and they must have been raking in > the $$$. Most persistent I've ever seen/heard. I suppose they are still > at it; I just haven't been able to answer the phone for ages. > > My "unfavorite" email scam is the one where your email account will be > closed unless you log in to verify it or approve the new security > measures, etc. A couple of variations on this theme looked very real. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > 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 > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From curry at pair.com Thu Jan 28 13:34:12 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 28 Jan 2021 13:34:12 -0500 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: Stephen: > Putting down the FBI won?t help anything and makes me think you > might be partial to the dark forces and fake news. We get enough > of the hate through other sources and it is unwelcome here. Ah Stephen, it's good to see that you've moved on from your previous practice of gender-bashing! That's rather nice for a change. Unfortunately, your current direction doesn't look any healthier. First, your conflating two very unrelated matters - that's (once again) illogical. And logic is healthier and more effective. Second, you are taking a general position AGAINST a law enforcement organization doing what it's supposed to do, i.e. uphold the law. You seem to be FOR politicization of law enforcement and government corruption. That leads to neglect of actual crimes, including scams. There is widespread agreement here that scams are common; the fact that crime is commonplace fits well with what I've suggested. My position is that law enforcement should NOT be political and SHOULD focus on the law. That is both the logical and the moral position to take. Third, you reveal your own unhealthy obsession with "dark forces and fake news" - you feel persecuted and pelted by hate from other sources (which you don't simply turn off/avoid?) and along with illogically projecting your own hate or the hate you perceive from said other sources, you also have a tendency toward the "royal we" where your own emotions/conflations are assigned to the list in general. Interesting, Stephen! Do go on. You reveal quite a lot about yourself each time you post. I think popcorn is appropriate. Consider me a fan of your show.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From devin_asay at byu.edu Thu Jan 28 13:39:58 2021 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 28 Jan 2021 18:39:58 +0000 Subject: OT Friendly customers.... In-Reply-To: References: <31A93878-540B-4333-B2FB-F42E5E979847@m-r-d.de> <6d4bf970-c864-e85a-b280-79d3d543fe89@pair.com> Message-ID: <0DDCD061-BB0B-4D86-AB9A-C41C30AE6DAB@byu.edu> The H word gets tossed about far too casually nowadays. Commenting on alleged abuses perpetrated by government agencies is not hate. And if it is, then what are allusions to ?dark forces? and ?fake news?? Regardless, it?s just the wrong forum. And also, ?cheese!? (That?s your cue, ListMom.) - Devin > On Jan 28, 2021, at 11:07 AM, Stephen Barncard via use-livecode wrote: > > Curry, > > Putting down the FBI won?t help anything and makes me think you might be > partial to the dark forces and fake news. We get enough of the hate through > other sources and it is unwelcome here. > > > On Thu, Jan 28, 2021 at 09:36 Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> Matthias: >> >>> So in my case it was not scam but just a rude person. >> >> Plenty of those around. Including what comes around. >> >> Manipulative people usually follow 2 tactics. >> Either buttering up for a favor, or being rude to apply pressure. >> Sometimes both; they will abruptly switch if one fails. >> >> In which case I tend to grab either popcorn or a flamethrower. >> Not a huge fan of manipulation. >> >> Doc hawk: >> >>> asking about playing games like ?hide the salami? >> >> Careful - from a sandwich point of view, >> that could potentially imply the "c" word! >> >> Heather: >> >>> Did somebody say cheese?? >> >> Probably those damn portrait photographers again! >> Truly evil people - no souls behind the fake smiles. >> >> (A little humor now and then is the best medicine.) >> >> Paul: >> >>> you should not be surprised some people assume SCAM first >> >> My "unfavorites" were the "Windows tech support" and "Google listings" >> phone call scams. >> >> Right now during 2020-2021 my breathing isn't good enough for phone >> conversations anymore, and all calls go to voice mail. >> >> But in previous years those guys would call all the time. They weren't >> following any rules/laws anyway, so you couldn't get off their list by >> traditional methods. >> >> So I tried some unorthodox methods - pranking and wasting their time. >> >> I had one of the "Windows tech support" guys passionately defending >> himself when I asked what his family back in India would think about him >> becoming a criminal. Another couple of times, I played along with their >> spiel, got transferred from the little crook to the big crook, and >> wasted his time too for a while before scolding them and hanging up at >> the crucial moment. They eventually gave up on me just as I was planning >> some bigger pranks. >> >> (Our "FBI" is way too busy being a partisan political tool to handle any >> real crime; no telling how many scams they've allowed to flourish that >> it is their duty and job description to shut down and prevent.) >> >> But the "Google listings" people were unstoppable. They were operating >> in more of a legal/moral gray area, and they must have been raking in >> the $$$. Most persistent I've ever seen/heard. I suppose they are still >> at it; I just haven't been able to answer the phone for ages. >> >> My "unfavorite" email scam is the one where your email account will be >> closed unless you log in to verify it or approve the new security >> measures, etc. A couple of variations on this theme looked very real. >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> 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 >> > -- > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From stephen at barncard.com Thu Jan 28 14:14:50 2021 From: stephen at barncard.com (Stephen Barncard) Date: Thu, 28 Jan 2021 11:14:50 -0800 Subject: OT Friendly customers.... In-Reply-To: References: <31A93878-540B-4333-B2FB-F42E5E979847@m-r-d.de> <6d4bf970-c864-e85a-b280-79d3d543fe89@pair.com> Message-ID: My last word. Curry's gaslight and personal attack tells me all I need to know about which team Curry is cheering for. I am defending my words - I said nothing wrong or inaccurate. I was trying to calm down the temperature and Curry's response just made it worse. Enough of this freaking cheese crap. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Jan 28, 2021 at 10:07 AM Stephen Barncard wrote: > Curry, > > Putting down the FBI won?t help anything and makes me think you might be > partial to the dark forces and fake news. We get enough of the hate through > other sources and it is unwelcome here. > > > On Thu, Jan 28, 2021 at 09:36 Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> Matthias: >> >> > So in my case it was not scam but just a rude person. >> >> Plenty of those around. Including what comes around. >> >> Manipulative people usually follow 2 tactics. >> Either buttering up for a favor, or being rude to apply pressure. >> Sometimes both; they will abruptly switch if one fails. >> >> In which case I tend to grab either popcorn or a flamethrower. >> Not a huge fan of manipulation. >> >> Doc hawk: >> >> > asking about playing games like ?hide the salami? >> >> Careful - from a sandwich point of view, >> that could potentially imply the "c" word! >> >> Heather: >> >> > Did somebody say cheese?? >> >> Probably those damn portrait photographers again! >> Truly evil people - no souls behind the fake smiles. >> >> (A little humor now and then is the best medicine.) >> >> Paul: >> >> > you should not be surprised some people assume SCAM first >> >> My "unfavorites" were the "Windows tech support" and "Google listings" >> phone call scams. >> >> Right now during 2020-2021 my breathing isn't good enough for phone >> conversations anymore, and all calls go to voice mail. >> >> But in previous years those guys would call all the time. They weren't >> following any rules/laws anyway, so you couldn't get off their list by >> traditional methods. >> >> So I tried some unorthodox methods - pranking and wasting their time. >> >> I had one of the "Windows tech support" guys passionately defending >> himself when I asked what his family back in India would think about him >> becoming a criminal. Another couple of times, I played along with their >> spiel, got transferred from the little crook to the big crook, and >> wasted his time too for a while before scolding them and hanging up at >> the crucial moment. They eventually gave up on me just as I was planning >> some bigger pranks. >> >> (Our "FBI" is way too busy being a partisan political tool to handle any >> real crime; no telling how many scams they've allowed to flourish that >> it is their duty and job description to shut down and prevent.) >> >> But the "Google listings" people were unstoppable. They were operating >> in more of a legal/moral gray area, and they must have been raking in >> the $$$. Most persistent I've ever seen/heard. I suppose they are still >> at it; I just haven't been able to answer the phone for ages. >> >> My "unfavorite" email scam is the one where your email account will be >> closed unless you log in to verify it or approve the new security >> measures, etc. A couple of variations on this theme looked very real. >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> 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 >> > -- > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > From curry at pair.com Thu Jan 28 14:46:38 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 28 Jan 2021 14:46:38 -0500 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: Stephen: > Curry's gaslight and personal attack Sorry guy, not true. Simply holding your post up to logic. You are political, so maybe you see politics everywhere. As I wrote to you offlist, in reply to your hateful and cursing rant: "Look again at my post. Notice the timeframe of the scams I mentioned. Now become aware of the timeframe of the FBI stuff YOU are talking about. Then apply logic. Or math. If you can!" It turns out that you are here promoting a particular brand of politics. Or at least attacking what you perceive as a different brand. And ironically, you display outright hatred against a group of people! Without being a bit bashful about it. Nice, Stephen. Great follow-up to your previous gender-bashing, which I'll be more than happy to link, if that's what you desire. I briefly mentioned lawfulness and spoke AGAINST politicizing institutions as a way to reduce crime and scams, in the context of and relevant to an already off-topic discussion. Too many scams, in turn affecting customer service for software. I don't believe politics should be on this list, anymore than in law enforcement. I was speaking AGAINST politics. You are still promoting them. As we see here: > tells me all I need to > know about which team Curry is cheering for. Offlist, you explained what you meant by "team" - you wrote: > I am against TRUMP and his party and all they stand for. > If you are one of those people, then I can only surmise you > support the hate and racism and I have ZERO respect for you > or your smartass opinions. > Are you really the dude I had lunch with downtown Sebastopol? So again, if you are able to notice details, look at the time frames in my post, and you may finally notice that your rant had no logical basis. Beyond that, it's very troubling - the only hate I see here is yours. You used illogical means to place me into a group that you hate. And then you acted upon and demonstrated that hate toward me. It's not pretty. I hope you can grow beyond this tendency to hate! It's a real handicap. You are obviously a person with a lot of potential. Ditch the hatred. Logic and math are good friends. Trust them instead of prejudices. Whether it's gender, Trump, or whatever. Ease off the politics a bit! Get back into LiveCode and logic. :) And BTW, I've never even been to Sebastopol. What is that about? Best way to respond to hate is with love: I love you, Stephen. You have potential. Hope you get better. Happy coding.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From jerry at jhjensen.com Thu Jan 28 15:06:32 2021 From: jerry at jhjensen.com (Jerry Jensen) Date: Thu, 28 Jan 2021 12:06:32 -0800 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: <97C096D6-BCEE-4AE4-ABA7-E18EA7A20B1F@jhjensen.com> > On Jan 28, 2021, at 11:46 AM, Curry Kenworthy via use-livecode wrote: > > As I wrote to you offlist, in reply to your hateful and cursing rant: Ce fromage pue ! Please keep it offlist. From ambassador at fourthworld.com Thu Jan 28 15:08:07 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Jan 2021 12:08:07 -0800 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: Before this thread gets shut down, let me voice my views on these very important subjects: I have a strong preference for camembert. I trust this communication is well understood. There are many places for discussions of cheese and other matters, and the hosts of this list have made it clear this isn't one of them. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From curry at pair.com Thu Jan 28 15:32:58 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 28 Jan 2021 15:32:58 -0500 Subject: OT Friendly customers.... In-Reply-To: <97C096D6-BCEE-4AE4-ABA7-E18EA7A20B1F@jhjensen.com> References: <97C096D6-BCEE-4AE4-ABA7-E18EA7A20B1F@jhjensen.com> Message-ID: Jerry: > Please keep it offlist. Sorry, guy. Any implication that I'm bringing brand-new stuff onlist is inaccurate; sharing an offlist definition of what was meant by "team" - which was used right here online. > Ce fromage pue ! Je ne sais pas. Je n'ai jamais go?t? de fromage fran?ais. Et la discussion sur le fromage est d?conseill?e ici. Back to LiveCode discussion would be a good direction! I know it's hard for some. But you can. Concentrate: LiveCode.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From curry at pair.com Thu Jan 28 16:06:15 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 28 Jan 2021 16:06:15 -0500 Subject: Call lc from php? In-Reply-To: <96d06684-d4fa-fd1b-e27b-73966439ffb2@fourthworld.com> References: <96d06684-d4fa-fd1b-e27b-73966439ffb2@fourthworld.com> Message-ID: <06599f1b-e016-3976-58a4-e651d112afcb@pair.com> Richard: > For those of you who haven't seen Ralf's recent work > on the revIgniter site [...] It's been on the edge of my radar, but never had a chance to use it yet. Thanks for the testimonial and reminder! Hope to try it later this year. Rick: > Why are you still using PHP when LC is better? Technically, depends on how you define "better." PHP definitely wins in some areas. And there are already a lot of well-tested tools available for PHP. But in general, I share your sentiment. I'm "all in" for LC. I'm one of the few who are 100% specialized in LiveCode for all development. But I predict that will be a growing segment. I think it's great when LC can tie into other interfaces - the more of that the better. And PHP is a giant. Good reason to tie in. Win-win. It will actually make even MORE projects suitable for LC. Or easier; most of this stuff was already possible for a long time. If a job can be done in LiveCode, that's where I'm doing it. And it's difficult to find a job that can't be done here. People STILL don't realize all that LC can do.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From andrew at midwestcoastmedia.com Thu Jan 28 16:31:28 2021 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Thu, 28 Jan 2021 16:31:28 -0500 Subject: Text field in Windows standalone not receiving keyboard focus Message-ID: <29F75C7E-4BBA-49E4-8DA3-71C4806D8EF1@midwestcoastmedia.com> I have an app with a group of fields who are struggling to accept keyboard input. It seems to just be 1 group of 4 fields on a single card (that has been noticed). You can click in the field and the blinking I-bar is inserted, but typing on the keyboard does nothing. Pasting text into any of these fields seems to unlock the ability to type, as does switching to another application and switching back, but only until you leave the card and come back again. This ONLY happens in executable on Windows, not in IDE and never on Mac (where I am developing which is why I missed the bug in testing). Once you unlock 1 of the 4 fields in the group they all unlock until you leave the card and come back where the problem manifests again.There is another group of text files (hidden so not on screen the same time as the offending group) that accepts keyboard input fine without any hacks which points to a problem with the group. There are no scripts on the field or group itself. I have already tried a ?focus on nothing? without any luck. -Andrew Bell From e.beugelaar at me.com Thu Jan 28 17:00:59 2021 From: e.beugelaar at me.com (Erik Beugelaar) Date: Thu, 28 Jan 2021 23:00:59 +0100 Subject: Call lc from php? In-Reply-To: <06599f1b-e016-3976-58a4-e651d112afcb@pair.com> References: <96d06684-d4fa-fd1b-e27b-73966439ffb2@fourthworld.com> <06599f1b-e016-3976-58a4-e651d112afcb@pair.com> Message-ID: <000001d6f5c1$110aebf0$3320c3d0$@me.com> What I still miss is a Kitchen Sink desktop/mobile/server demo application standard included In the LiveCode distribution. The book of Andre Garzia is a good start but it would be great to see how you can write command-line tools, floating desktop apps, background apps (desktop/mobile) etc. etc. in LiveCode. All kind of real word situations would be nice to see in a Kitchen Sink application. Best wishes, Erik -----Original Message----- From: use-livecode On Behalf Of Curry Kenworthy via use-livecode Sent: donderdag 28 januari 2021 22:06 To: use-livecode at lists.runrev.com Cc: Curry Kenworthy Subject: Re: Call lc from php? Richard: > For those of you who haven't seen Ralf's recent work > on the revIgniter site [...] It's been on the edge of my radar, but never had a chance to use it yet. Thanks for the testimonial and reminder! Hope to try it later this year. Rick: > Why are you still using PHP when LC is better? Technically, depends on how you define "better." PHP definitely wins in some areas. And there are already a lot of well-tested tools available for PHP. But in general, I share your sentiment. I'm "all in" for LC. I'm one of the few who are 100% specialized in LiveCode for all development. But I predict that will be a growing segment. I think it's great when LC can tie into other interfaces - the more of that the better. And PHP is a giant. Good reason to tie in. Win-win. It will actually make even MORE projects suitable for LC. Or easier; most of this stuff was already possible for a long time. If a job can be done in LiveCode, that's where I'm doing it. And it's difficult to find a job that can't be done here. People STILL don't realize all that LC can do.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" 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 bobsneidar at iotecdigital.com Thu Jan 28 17:24:54 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 28 Jan 2021 22:24:54 +0000 Subject: open secure socket... using certificate In-Reply-To: <8d0f5ed9-eb16-55da-ee44-9301e9615d17@fourthworld.com> References: <8d0f5ed9-eb16-55da-ee44-9301e9615d17@fourthworld.com> Message-ID: Agreed. All a cert does is guarantee (if I can use such a word in the security realm) that the current host is who they say they are. If simple encryption is needed, just do that. I use unsecured sockets in one of my libraries, but I encrypt the data before I send it, then decrypt it on the other end. Bob S On Jan 28, 2021, at 8:40 AM, Richard Gaskin via use-livecode > wrote: Tom Glod wrote: > Wondering if it will be super hard to create certificate and make it > work on localhost sockets. Pardon my naivete, but what is the value of a secured socket in local socket comms? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From curry at pair.com Thu Jan 28 17:49:56 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 28 Jan 2021 17:49:56 -0500 Subject: Text field in Windows standalone not receiving keyboard focus In-Reply-To: <29F75C7E-4BBA-49E4-8DA3-71C4806D8EF1@midwestcoastmedia.com> References: <29F75C7E-4BBA-49E4-8DA3-71C4806D8EF1@midwestcoastmedia.com> Message-ID: <69d02712-ce8d-9181-1863-b3bd9644c955@pair.com> Andrew: > You can click in the field and the blinking I-bar is inserted, > but typing on the keyboard does nothing. I love field topics! Win/Mac differences can really hit you, even on a stack that you thought was well-tested. Because only well-tested on one platform. This glitch sounds familiar from the past, but I've had less Mac work than usual for the past few months; mostly Windows. Rusty this month. I think I've seen this, but can't remember the cause. I've seen cases where the app or stack would lose focus. Other cases where the control itself loses focus. On Windows, a button may get the focus depending on properties. But usually you would lose the blinking. And I've seen scripts intercept the keystrokes. They may act differently per platform. To diagnose it methodically, if blinking really continues during typing: - add a keydown handler in the field. Is it received? - add a keydown handler in the card. Who's the target? - any front script or other library intercepting keystrokes? - any behaviors? Knowing what control is actually getting those keystrokes will lead you to the culprit. (Or even whether your stack/app is getting them.) And if the normal culprits are exonerated, don't forget the more obscure and exotic possibilities: - white text, or textshift? - text added but clipped by a tabstop? - does all your startup code get executed? (And preopencard/stack code?) - is this a real Windows machine or virtualized setup? (Weird things can happen if a startup-type script is interrupted silently by an error.) > This ONLY happens in executable on Windows, not in IDE That's always the biggest tip-off. So unless it's an LC bug/glitch, this can be effective: - check standalone inclusions - add error reporting to the standalone Without reporting, errors in exe are silent - and you might say, deadly. After an error, any code after it is not executed. > Pasting text into any of these fields seems to unlock the ability > to type, as does switching to another application and switching back, > but only until you leave the card and come back again. That's a big tip-off too. Any card script? Any paste script? There may be a script modifying a field property. Or another control getting in the way. All those can be tested and confirmed. You can log field properties. When you find it, could you let me know? I feel like I've seen this before. and would like to job my memory.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From stephen at barncard.com Thu Jan 28 18:41:02 2021 From: stephen at barncard.com (Stephen Barncard) Date: Thu, 28 Jan 2021 15:41:02 -0800 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: Dear Curry, What has happened in Washington was way beyond the definition of political. You are a vindictive, delusional, selfish person. I was trying to give you an off-ramp to your parade of lies, or at least apologize. Instead you repeated my off-list message to you on the use-list. Very low class. What was the purpose of that? What were you looking for, people to back up your sorry ass? If you are Republican and still support Trump the traitor and his supporters, then I have zero respect for you. period. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Jan 28, 2021 at 11:47 AM Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com> wrote: > > Stephen: > > > Curry's gaslight and personal attack > > Sorry guy, not true. Simply holding your post up to logic. > You are political, so maybe you see politics everywhere. > > As I wrote to you offlist, in reply to your hateful and cursing rant: > > "Look again at my post. Notice the timeframe of the scams I mentioned. > Now become aware of the timeframe of the FBI stuff YOU are talking > about. Then apply logic. Or math. If you can!" > > It turns out that you are here promoting a particular brand of politics. > Or at least attacking what you perceive as a different brand. > > And ironically, you display outright hatred against a group of people! > Without being a bit bashful about it. > Nice, Stephen. Great follow-up to your previous gender-bashing, which > I'll be more than happy to link, if that's what you desire. > > I briefly mentioned lawfulness and spoke AGAINST politicizing > institutions as a way to reduce crime and scams, in the context of and > relevant to an already off-topic discussion. Too many scams, in turn > affecting customer service for software. > > I don't believe politics should be on this list, anymore than in law > enforcement. I was speaking AGAINST politics. You are still promoting > them. As we see here: > > > tells me all I need to > > know about which team Curry is cheering for. > > Offlist, you explained what you meant by "team" - you wrote: > > > I am against TRUMP and his party and all they stand for. > > If you are one of those people, then I can only surmise you > > support the hate and racism and I have ZERO respect for you > > or your smartass opinions. > > Are you really the dude I had lunch with downtown Sebastopol? > > So again, if you are able to notice details, look at the time frames in > my post, and you may finally notice that your rant had no logical basis. > > Beyond that, it's very troubling - the only hate I see here is yours. > You used illogical means to place me into a group that you hate. > And then you acted upon and demonstrated that hate toward me. > It's not pretty. > > I hope you can grow beyond this tendency to hate! It's a real handicap. > You are obviously a person with a lot of potential. Ditch the hatred. > Logic and math are good friends. Trust them instead of prejudices. > > Whether it's gender, Trump, or whatever. Ease off the politics a bit! > Get back into LiveCode and logic. :) > > And BTW, I've never even been to Sebastopol. What is that about? > > Best way to respond to hate is with love: > I love you, Stephen. You have potential. Hope you get better. > Happy coding.... > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > 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 stephen at barncard.com Thu Jan 28 18:42:46 2021 From: stephen at barncard.com (Stephen Barncard) Date: Thu, 28 Jan 2021 15:42:46 -0800 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: forgive me that last post was supposed to be for Curry only. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Jan 28, 2021 at 3:41 PM Stephen Barncard wrote: > Dear Curry, > What has happened in Washington was way beyond the definition of political. > You are a vindictive, delusional, selfish person. > I was trying to give you an off-ramp to your parade of lies, or at least > apologize. > Instead you repeated my off-list message to you on the use-list. Very low > class. > What was the purpose of that? What were you looking for, people to back > up your sorry ass? > If you are Republican and still support Trump the traitor and his > supporters, then I have zero respect for you. > period. > > sqb > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > > On Thu, Jan 28, 2021 at 11:47 AM Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> Stephen: >> >> > Curry's gaslight and personal attack >> >> Sorry guy, not true. Simply holding your post up to logic. >> You are political, so maybe you see politics everywhere. >> >> As I wrote to you offlist, in reply to your hateful and cursing rant: >> >> "Look again at my post. Notice the timeframe of the scams I mentioned. >> Now become aware of the timeframe of the FBI stuff YOU are talking >> about. Then apply logic. Or math. If you can!" >> >> It turns out that you are here promoting a particular brand of politics. >> Or at least attacking what you perceive as a different brand. >> >> And ironically, you display outright hatred against a group of people! >> Without being a bit bashful about it. >> Nice, Stephen. Great follow-up to your previous gender-bashing, which >> I'll be more than happy to link, if that's what you desire. >> >> I briefly mentioned lawfulness and spoke AGAINST politicizing >> institutions as a way to reduce crime and scams, in the context of and >> relevant to an already off-topic discussion. Too many scams, in turn >> affecting customer service for software. >> >> I don't believe politics should be on this list, anymore than in law >> enforcement. I was speaking AGAINST politics. You are still promoting >> them. As we see here: >> >> > tells me all I need to >> > know about which team Curry is cheering for. >> >> Offlist, you explained what you meant by "team" - you wrote: >> >> > I am against TRUMP and his party and all they stand for. >> > If you are one of those people, then I can only surmise you >> > support the hate and racism and I have ZERO respect for you >> > or your smartass opinions. >> > Are you really the dude I had lunch with downtown Sebastopol? >> >> So again, if you are able to notice details, look at the time frames in >> my post, and you may finally notice that your rant had no logical basis. >> >> Beyond that, it's very troubling - the only hate I see here is yours. >> You used illogical means to place me into a group that you hate. >> And then you acted upon and demonstrated that hate toward me. >> It's not pretty. >> >> I hope you can grow beyond this tendency to hate! It's a real handicap. >> You are obviously a person with a lot of potential. Ditch the hatred. >> Logic and math are good friends. Trust them instead of prejudices. >> >> Whether it's gender, Trump, or whatever. Ease off the politics a bit! >> Get back into LiveCode and logic. :) >> >> And BTW, I've never even been to Sebastopol. What is that about? >> >> Best way to respond to hate is with love: >> I love you, Stephen. You have potential. Hope you get better. >> Happy coding.... >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> 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 Thu Jan 28 19:21:51 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 28 Jan 2021 19:21:51 -0500 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: Stephen: > forgive me that last post was supposed to be for Curry only Stephen, I want to thank you for providing verification of the kind of hate speech/harrassment you were sending offline. And for the record, I didn't attack you - I mentioned the FBI's lack of action when commenting on the proliferation of scams. Didn't start that thread, nor that topic. Didn't promote politics; stated my position AGAINST politicizing institutions, so that real crime can be addressed. Nor did I mention Trump or a political position. You ILLOGICALLY jumped to the conclusion that I was talking about this year's political situation (ignoring the details, including the dates that clearly preceded the situation you have in mind) and decided to mentally place me into a category of people that you hate. Then you proceeded to attack ME (based on irrational reasoning) and send me hateful messages. Along with creepy demands to know which "team" I'm on. You proactively mentioned Trump and your own brand of politics. I didn't mention any political position to you. I couldn't care less about your political opinions or proclivities. I'm not bothered if you have "zero respect" or hate me based on your prejudices and illogical thinking. I do find it disturbing when I see hatred, but it doesn't bother me personally when it's directed at me. I'll sleep just fine! Rest assured that I'm definitely not on your "team." You can keep all that offlist - and remember, I'm not your offlist. Start a hate blog, or talk to your buddies about it. But I do care about logic. Look at the years: you messed up. All that ranting and raving, interrupting a thread with attacks, all based a false premise: assuming that I was talking about this year's events. Congratulations! Now, can we get back to LC or not? I've stated that I am AGAINST politicizing organizations including this list. Nor do I want your offlist rants. LC only please! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Thu Jan 28 20:12:16 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 29 Jan 2021 01:12:16 +0000 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: Why am I still seeing this? Bob S > On Jan 28, 2021, at 4:21 PM, Curry Kenworthy via use-livecode wrote: > > > Stephen: > > > forgive me that last post was supposed to be for Curry only > > Stephen, I want to thank you for providing verification of the kind of hate speech/harrassment you were sending offline. > > And for the record, I didn't attack you - I mentioned the FBI's lack of action when commenting on the proliferation of scams. Didn't start that thread, nor that topic. Didn't promote politics; stated my position AGAINST politicizing institutions, so that real crime can be addressed. > > Nor did I mention Trump or a political position. > > You ILLOGICALLY jumped to the conclusion that I was talking about this year's political situation (ignoring the details, including the dates that clearly preceded the situation you have in mind) and decided to mentally place me into a category of people that you hate. > > Then you proceeded to attack ME (based on irrational reasoning) and send me hateful messages. Along with creepy demands to know which "team" I'm on. > > You proactively mentioned Trump and your own brand of politics. > I didn't mention any political position to you. > > I couldn't care less about your political opinions or proclivities. > I'm not bothered if you have "zero respect" or hate me based on your prejudices and illogical thinking. > > I do find it disturbing when I see hatred, but it doesn't bother me personally when it's directed at me. I'll sleep just fine! > > Rest assured that I'm definitely not on your "team." > You can keep all that offlist - and remember, I'm not your offlist. > Start a hate blog, or talk to your buddies about it. > > But I do care about logic. Look at the years: you messed up. > All that ranting and raving, interrupting a thread with attacks, all based a false premise: assuming that I was talking about this year's events. Congratulations! > > Now, can we get back to LC or not? > > I've stated that I am AGAINST politicizing organizations including this list. Nor do I want your offlist rants. LC only please! > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > 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 bogdanoff at me.com Thu Jan 28 21:04:24 2021 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 28 Jan 2021 18:04:24 -0800 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: <2F804251-04A3-4EF1-B876-5C44DA6F6C3E@me.com> The customers are friendly. The developers are grouchy. > On Jan 28, 2021, at 5:12 PM, Bob Sneidar via use-livecode wrote: > > Why am I still seeing this? > > Bob S > > >> On Jan 28, 2021, at 4:21 PM, Curry Kenworthy via use-livecode wrote: >> >> >> Stephen: >> >>> forgive me that last post was supposed to be for Curry only >> >> Stephen, I want to thank you for providing verification of the kind of hate speech/harrassment you were sending offline. >> >> And for the record, I didn't attack you - I mentioned the FBI's lack of action when commenting on the proliferation of scams. Didn't start that thread, nor that topic. Didn't promote politics; stated my position AGAINST politicizing institutions, so that real crime can be addressed. >> >> Nor did I mention Trump or a political position. >> >> You ILLOGICALLY jumped to the conclusion that I was talking about this year's political situation (ignoring the details, including the dates that clearly preceded the situation you have in mind) and decided to mentally place me into a category of people that you hate. >> >> Then you proceeded to attack ME (based on irrational reasoning) and send me hateful messages. Along with creepy demands to know which "team" I'm on. >> >> You proactively mentioned Trump and your own brand of politics. >> I didn't mention any political position to you. >> >> I couldn't care less about your political opinions or proclivities. >> I'm not bothered if you have "zero respect" or hate me based on your prejudices and illogical thinking. >> >> I do find it disturbing when I see hatred, but it doesn't bother me personally when it's directed at me. I'll sleep just fine! >> >> Rest assured that I'm definitely not on your "team." >> You can keep all that offlist - and remember, I'm not your offlist. >> Start a hate blog, or talk to your buddies about it. >> >> But I do care about logic. Look at the years: you messed up. >> All that ranting and raving, interrupting a thread with attacks, all based a false premise: assuming that I was talking about this year's events. Congratulations! >> >> Now, can we get back to LC or not? >> >> I've stated that I am AGAINST politicizing organizations including this list. Nor do I want your offlist rants. LC only please! >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> 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 From curry at pair.com Thu Jan 28 21:15:32 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 28 Jan 2021 21:15:32 -0500 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: <9d4908aa-9011-ea0e-cacb-d3e335c7a788@pair.com> Bob: > Why am I still seeing this? Why are you continuing this topic? And quoting the entire text? I consider the topic closed, and the horse just about beaten to death. Dead yet? Yeah...probably. Just about. I didn't start this, or even continue it - I received a series of unprovoked attacks. Each time I've responded only to correct the facts. The posts are all archived, and that's easily proven. This time too. But I am sorry that anyone else had to see this discussion. For that matter, sorry I had to see it too! I don't want it. Incredible waste of time and list space. This was Stephen's topic, so I can't answer the why. No idea. Stephen owns this topic and his political comments. Nor do I have the slightest interest in it. I suggest again that we move off this topic, and stick to LC discussion. Maybe next time you can quote an entire post that's LC-related! Back to LC please. Thanks. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From tom at makeshyft.com Thu Jan 28 22:46:13 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 28 Jan 2021 22:46:13 -0500 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: well..that was short lived. bummer I guess, esp if you really need it in that form. I would ask about it and try to get an answer in clear terms from the team. Richard..... in the labs ...... I am testing the viability of using Livecode as ONLY a UI layer. So I have to find the fastest way of getting decrypted JSON data from Core process (Go binary) to the UI Layer that is a LC stack. So when communicating data via the localhost or socket, I figured it should still be encrypted if possible when in transit between the 2 programs. It's an attack vector in this kind of a scenario, a local one, not remote as much. It would have been nice to reply on the protocol for it. I can get around this particular problem of course by encrypting on one side and decrypting on the other, also. If I am really paranoid about my security. What do you think will be the fastest way? Socket? Open Process? I'm still setting up a test for latency and throughput. I will not be testing this for a few months, but when I have results on this experiment, I will report. Thanks for asking I guess, got me thinking about it. Cheers, Tom On Wed, Jan 27, 2021 at 5:49 AM Bernard Devlin via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom > > You shouldn't get any hopes up. I'd commented in the bug report in 2014 > that this was something that we'd been told was coming back in the days of > LC version 2. > > > I think when a development environment has failed to deliver a feature from > version 2 to version 10 that thing is never going to appear. > > > On Tue, Jan 26, 2021 at 9:22 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > super happy to see this, hopefully it will when i need it. > > Going to look this up. > > Wondering if it will be super hard to create certificate and make it work > > on localhost sockets. > > > > > > On Tue, Jan 26, 2021 at 2:26 PM Brian Milby via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > ?Using tCertificate and tKey? compiles but I don?t know how to test. > It > > > does seem like the parser doesn?t recognize those keywords. > > > > > > Sent from my iPhone > > > > > > > On Jan 26, 2021, at 2:13 PM, Bernard Devlin via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > ?Thanks for the suggestion Erik, but I don't see from that how one > > > specifies > > > > the certificate. > > > > > > > > Regards, Bernard > > > > > > > >> On Tue, Jan 26, 2021 at 6:03 PM Erik Beugelaar via use-livecode < > > > >> use-livecode at lists.runrev.com> wrote: > > > >> > > > >> Maybe this: > > > >> > > > >> secure socket "livecode.com:443" > > > >> > > > >> Examples: > > > >> > > > >> https://livecode.fandom.com/wiki/Secure_socket > > > >> > > > >> -----Original Message----- > > > >> From: use-livecode On > Behalf > > Of > > > >> Bernard Devlin via use-livecode > > > >> Sent: dinsdag 26 januari 2021 16:40 > > > >> To: How to use LiveCode > > > >> Cc: Bernard Devlin > > > >> Subject: Re: open secure socket... using certificate > > > >> > > > >> I did. I tried these too: > > > >> > > > >> *open* *secure* socket to "localhost:443" using certificate tc and > > key > > > tk > > > >> > > > >> *open* *secure* socket to "localhost:443" without verification using > > > >> certificate tc and key tk > > > >> > > > >> When the above lines are entered in the script editor they are > flagged > > > as > > > >> being syntax errors. In both cases it is what comes after > > "certificate" > > > >> that is flagged as a syntax error (flagged as: missing "," near > "tc"). > > > >> There seems to be no combination of command options that works with > > > >> certificates. > > > >> > > > >> The fact that the Dictionary has zero information about what is > > expected > > > >> for certificate/key was not a good sign, which is why I searched the > > > >> archive. I just went to have a look at the code on Github and I can > > > seen > > > >> nothing to suggest that "using certificate and key" is implemented. > > > >> > > > >> The server and client certificate are working in a browser, so the > > > problem > > > >> is definitely on the LC side. > > > >> > > > >> On Tue, Jan 26, 2021 at 2:34 PM Brian Milby via use-livecode < > > > >> use-livecode at lists.runrev.com> wrote: > > > >> > > > >>> Did you try with ?and key tKey?... it does not look like that part > is > > > >>> optional. > > > >>> > > > >>> Sent from my iPhone > > > >>> > > > >>>> On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode < > > > >>> use-livecode at lists.runrev.com> wrote: > > > >>>> > > > >>>> ?According to the Dictionary in LC 9.5.1 there is this command: > > > >>>> > > > >>>> open secure socket [from [localHostName][:localPort]] [to] > socketID > > > >>>> [with message callbackMessage] [without verification] *[using > > > >>>> certificate certificate and key key]* > > > >>>> > > > >>>> However I can't get it to work. > > > >>>> > > > >>>> open secure socket to "localhost:443" using certificate > > > >>>> > > > >>>> throws a runtime error "no handler: using" > > > >>>> > > > >>>> If I use > > > >>>> > > > >>>> open secure socket to "localhost:443" > > > >>>> > > > >>>> I get a socket connection, but all the security of a client > > > >>>> certificate does not work > > > >>>> > > > >>>> > > > >>>> This causes a syntax error in the IDE: > > > >>>> > > > >>>> open secure socket to "localhost:443" using certificate tName > > > >>>> > > > >>>> Looking through the archives I see that a couple of discussions > > > >>>> where people were asking about this variant of the "open socket" > > > >>>> command 5 to 6 years ago, *saying that the "certificate" part has > > > >>>> not been implemented*, regardless of what the Dictionary says. > > > >>>> > > > >>>> Is it really the case that for the past 6 years LC documentation > has > > > >>>> been misleading people concerning the implementation of > certificates > > > >>>> for > > > >>> secure > > > >>>> socket connections? > > > >>>> > > > >>>> I notice in the Dictionary the entry for "open socket" in the > table > > > >>>> of options for this command has entries for "certificate" and > "key", > > > >>>> but > > > >>> these > > > >>>> are both empty. As if these features were meant to be implemented > > > >>>> but > > > >>> were > > > >>>> never implemented and the Dictionary was never updated to remove > > > >>>> this misleading information. > > > >>>> > > > >>>> I just find that hard to believe. > > > >>>> > > > >>>> Regards > > > >>>> > > > >>>> Bernard > > > >>>> _______________________________________________ > > > >>>> use-livecode mailing list > > > >>>> use-livecode at lists.runrev.com > > > >>>> Please visit this url to subscribe, unsubscribe and manage your > > > >>> subscription preferences: > > > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >>> > > > >>> _______________________________________________ > > > >>> use-livecode mailing list > > > >>> use-livecode at lists.runrev.com > > > >>> Please visit this url to subscribe, unsubscribe and manage your > > > >>> subscription preferences: > > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >>> > > > >> _______________________________________________ > > > >> use-livecode mailing list > > > >> use-livecode at lists.runrev.com > > > >> Please visit this url to subscribe, unsubscribe and manage your > > > >> subscription preferences: > > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > >> > > > >> _______________________________________________ > > > >> use-livecode mailing list > > > >> use-livecode at lists.runrev.com > > > >> Please visit this url to subscribe, unsubscribe and manage your > > > >> subscription preferences: > > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From bduck at mac.com Fri Jan 29 00:13:33 2021 From: bduck at mac.com (Brian K. Duck) Date: Fri, 29 Jan 2021 00:13:33 -0500 Subject: Double sided PDF Problem Message-ID: <8E82E5AD-E23D-4595-8212-12230E9EA99A@mac.com> I?d like to print decks of cards, front and back The front page is always easy. Cards print left to right: 1-3 Flipping the pages, in portrait layout, the cards are now face down, in order but reversed: 3,2, 1. The problem is, printing 3 wide by 4 tall, aligining the two. Any existing solutions or discussions? Thanks for your time, Brian Duck Bduck at m at c dot com From bobsneidar at iotecdigital.com Fri Jan 29 00:39:55 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 29 Jan 2021 05:39:55 +0000 Subject: OT Friendly customers.... In-Reply-To: <9d4908aa-9011-ea0e-cacb-d3e335c7a788@pair.com> References: <9d4908aa-9011-ea0e-cacb-d3e335c7a788@pair.com> Message-ID: Dude! I am quoting YOUR text! Bob S On Jan 28, 2021, at 6:15 PM, Curry Kenworthy via use-livecode > wrote: Bob: > Why am I still seeing this? Why are you continuing this topic? And quoting the entire text? From bobsneidar at iotecdigital.com Fri Jan 29 00:46:17 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 29 Jan 2021 05:46:17 +0000 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: <514CED7E-9571-433C-8B33-040312150394@iotecdigital.com> With SSL the encryption occurs at the socket level, that is the socket is secured by virtue of it?s creation. With StartTLS, also an SSL protocol, the socket is first established, then a secure tunnel is created. (Transport Layer Security) My point? The socket connection itself does not need to be secured, and indeed it?s less desirable if it is. An SSL encrypted certificate must be passed at least once so that host and client both have the public and private key. This is necessary when the host is unknown. To Richard?s point, if you control the host AND the client, a certificate is not needed. You KNOW the host is secure. Simply pass encrypted traffic over an unsecured socket. The result is the same, only nothing about the method is ever passed over the socket connection. I may misunderstand though. Bob S On Jan 28, 2021, at 7:46 PM, Tom Glod via use-livecode > wrote: well..that was short lived. bummer I guess, esp if you really need it in that form. I would ask about it and try to get an answer in clear terms from the team. Richard..... in the labs ...... I am testing the viability of using Livecode as ONLY a UI layer. So I have to find the fastest way of getting decrypted JSON data from Core process (Go binary) to the UI Layer that is a LC stack. So when communicating data via the localhost or socket, I figured it should still be encrypted if possible when in transit between the 2 programs. It's an attack vector in this kind of a scenario, a local one, not remote as much. From jacque at hyperactivesw.com Fri Jan 29 00:56:57 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 28 Jan 2021 23:56:57 -0600 Subject: Double sided PDF Problem In-Reply-To: <8E82E5AD-E23D-4595-8212-12230E9EA99A@mac.com> References: <8E82E5AD-E23D-4595-8212-12230E9EA99A@mac.com> Message-ID: <1774cb74c28.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm confused. Are you writing a card game with decks of cards? Or do you mean the cards in a lC stack? What is "flipping the page"? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 28, 2021 11:15:51 PM "Brian K. Duck via use-livecode" wrote: > I?d like to print decks of cards, front and back > > The front page is always easy. > Cards print left to right: 1-3 > > Flipping the pages, in portrait layout, the cards are now face down, in > order but reversed: 3,2, 1. > > The problem is, printing 3 wide by 4 tall, aligining the two. > > Any existing solutions or discussions? > > Thanks for your time, > Brian Duck > Bduck at m at c dot 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 Fri Jan 29 01:07:09 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Jan 2021 00:07:09 -0600 Subject: Text field in Windows standalone not receiving keyboard focus In-Reply-To: <29F75C7E-4BBA-49E4-8DA3-71C4806D8EF1@midwestcoastmedia.com> References: <29F75C7E-4BBA-49E4-8DA3-71C4806D8EF1@midwestcoastmedia.com> Message-ID: <1774cc0a2c8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Try comparing the properties of a group that works with the one that doesn't. Also compare individual field properties, in particular check the traversalOn, autoHilite, and lockText. That alone wouldn't explain why it appears to fix itself occasionally, but could point to a script that changes one of these properties. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 28, 2021 3:33:39 PM Andrew at MidWest Coast Media via use-livecode wrote: > I have an app with a group of fields who are struggling to accept keyboard > input. It seems to just be 1 group of 4 fields on a single card (that has > been noticed). You can click in the field and the blinking I-bar is > inserted, but typing on the keyboard does nothing. Pasting text into any of > these fields seems to unlock the ability to type, as does switching to > another application and switching back, but only until you leave the card > and come back again. > > This ONLY happens in executable on Windows, not in IDE and never on Mac > (where I am developing which is why I missed the bug in testing). Once you > unlock 1 of the 4 fields in the group they all unlock until you leave the > card and come back where the problem manifests again.There is another group > of text files (hidden so not on screen the same time as the offending > group) that accepts keyboard input fine without any hacks which points to a > problem with the group. There are no scripts on the field or group itself. > I have already tried a ?focus on nothing? without any luck. > > -Andrew Bell > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Jan 29 01:07:50 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Jan 2021 22:07:50 -0800 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: Tom Glod wrote: > Richard..... in the labs ...... I am testing the viability of using > Livecode as ONLY a UI layer. So I have to find the fastest way of > getting decrypted JSON data from Core process (Go binary) to the UI > Layer that is a LC stack. SLL encryption/decryption adds overhead to that process. > So when communicating data via the localhost or socket, I figured it > should still be encrypted if possible when in transit between the 2 > programs. It's an attack vector in this kind of a scenario, a local > one, not remote as much. The main benefit of encrypted sockets is to mitigate man-in-the-middle attacks. If you have a man in the middle of processes on a local computer that isn't you, it would seem you have bigger concerns. ;) > It would have been nice to reply on the protocol for it. I can get > around this particular problem of course by encrypting on one side > and decrypting on the other, also. If I am really paranoid about > my security. Paranoia can be healthy, when taken as directed. There may be a benefit to encrypting localhost sockets that I'm unfamiliar with, and if someone can point me to threat vector I'd be grateful to learn. But I can't recall seeing a system that uses encrypted comms on local sockets. > What do you think will be the fastest way? Socket? Open Process? Sockets and multiprocessing are such different things I'm pretty sure I don't understand the usage scenario. But if you can describe we can brainstorm to optimize, as many good threads here have done before. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Jan 29 01:13:46 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Jan 2021 22:13:46 -0800 Subject: Double sided PDF Problem In-Reply-To: <8E82E5AD-E23D-4595-8212-12230E9EA99A@mac.com> References: <8E82E5AD-E23D-4595-8212-12230E9EA99A@mac.com> Message-ID: <95665ea6-98a9-e792-28c0-fde93189dce1@fourthworld.com> Brian K. Duck wrote: > I?d like to print decks of cards, front and back Are you making components for a tabletop game? Is it one of your own design? I've begun designing games here myself as something to do that takes me away from the computer now and then. Modern tabletop games are fascinating systems; sometimes intricate like software, but laid bare in cardboard. > The front page is always easy. > Cards print left to right: 1-3 > > Flipping the pages, in portrait layout, the cards are now face down, > in order but reversed: 3,2, 1. > > The problem is, printing 3 wide by 4 tall, aligining the two. > > Any existing solutions or discussions? I'm not sure I'm imagining this accurately. Do you have a sketch or a mockup with numbered boxes you could point me to to see what you're output is like? And are you printing multiple individual cards into a page, or have one page-sized card with multiple card images? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Fri Jan 29 01:21:44 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Jan 2021 00:21:44 -0600 Subject: Double sided PDF Problem In-Reply-To: <1774cb74c28.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <8E82E5AD-E23D-4595-8212-12230E9EA99A@mac.com> <1774cb74c28.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1774ccdfcc0.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Right after I sent the message below, I think I understand what you meant. You want to print double-sided pages of all the cards in a stack. Is that right? On a regular printer you don't have to do anything special; if the printer driver supports double-sided printing then it just works. For PDFs, I'd have to check. What OS are you on? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 28, 2021 11:59:01 PM "J. Landman Gay via use-livecode" wrote: > I'm confused. Are you writing a card game with decks of cards? Or do you > mean the cards in a lC stack? What is "flipping the page"? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 28, 2021 11:15:51 PM "Brian K. Duck via use-livecode" > wrote: > >> I?d like to print decks of cards, front and back >> >> The front page is always easy. >> Cards print left to right: 1-3 >> >> Flipping the pages, in portrait layout, the cards are now face down, in >> order but reversed: 3,2, 1. >> >> The problem is, printing 3 wide by 4 tall, aligining the two. >> >> Any existing solutions or discussions? >> >> Thanks for your time, >> Brian Duck >> Bduck at m at c dot 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 livfoss at mac.com Fri Jan 29 04:38:52 2021 From: livfoss at mac.com (Graham Samuel) Date: Fri, 29 Jan 2021 09:38:52 +0000 Subject: Double sided PDF Problem In-Reply-To: <1774ccdfcc0.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <8E82E5AD-E23D-4595-8212-12230E9EA99A@mac.com> <1774cb74c28.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1774ccdfcc0.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I?m thinking (guessing) that he?s into the more general problem that you get when you are trying to print say a booklet with multiple pages of the book per printed sheet. You do have to print double-sided (and your printer may help you with that) but the key is lay it out so that page 2 of the booklet is at the back of page 1 etc. If for example you have an 8 page leaflet printed four up, the first - verso - physical page could be laid out like 1 3 5 7 and the other side of the paper - recto - would be laid out 4 2 8 6 People who print books etc are having to do this all the time, so it?s reasonable to assume that the problem has been encapsulated in a procedure by now. I won?t start with the links, since I don?t really know if this is the problem Brian is trying to solve. Graham > On 29 Jan 2021, at 06:21, J. Landman Gay via use-livecode wrote: > > Right after I sent the message below, I think I understand what you meant. You want to print double-sided pages of all the cards in a stack. Is that right? On a regular printer you don't have to do anything special; if the printer driver supports double-sided printing then it just works. > > For PDFs, I'd have to check. What OS are you on? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 28, 2021 11:59:01 PM "J. Landman Gay via use-livecode" wrote: > >> I'm confused. Are you writing a card game with decks of cards? Or do you >> mean the cards in a lC stack? What is "flipping the page"? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On January 28, 2021 11:15:51 PM "Brian K. Duck via use-livecode" >> wrote: >> >>> I?d like to print decks of cards, front and back >>> >>> The front page is always easy. >>> Cards print left to right: 1-3 >>> >>> Flipping the pages, in portrait layout, the cards are now face down, in >>> order but reversed: 3,2, 1. >>> >>> The problem is, printing 3 wide by 4 tall, aligining the two. >>> >>> Any existing solutions or discussions? >>> >>> Thanks for your time, >>> Brian Duck >>> Bduck at m at c dot 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 bdrunrev at gmail.com Fri Jan 29 05:18:54 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 29 Jan 2021 10:18:54 +0000 Subject: open secure socket... using certificate In-Reply-To: <31837fc1-fd39-00b6-0be9-1bc33f17da17@fourthworld.com> References: <31837fc1-fd39-00b6-0be9-1bc33f17da17@fourthworld.com> Message-ID: Hi Richard, it's client side. The project is a messaging app, principally for mobile. SSL/TLS certificates issued with client software enable servers to know that the connection is allowed at a network level before any user authentication. In the early stages of development it was simple enough for a LC messaging server to dismiss connections which didn't come from an accepted client and didn't meet the specification. Once I moved to an industry standard server then the connections have to be encrypted with certificates at both ends. Regards, Bernard On Thu, Jan 28, 2021 at 4:44 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Bernard Devlin wrote: > > > I feel like a sucker. I started on this project a few months ago on > > the assumption that socket certificates now worked as they'd been > > included in the Dictionary for years. I was away from development for > > a few years and hadn't noticed the complaints that the Dictionary was > > misrepresenting the situation. > > Is this specific to the server "accept" not supporting SSL, or something > client-side? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From heather at livecode.com Fri Jan 29 10:55:19 2021 From: heather at livecode.com (Heather Laine) Date: Fri, 29 Jan 2021 15:55:19 +0000 Subject: OT Friendly customers.... In-Reply-To: References: Message-ID: <6027B462-B9E0-470A-BC7A-22E4C1FC566A@livecode.com> Yikes. I took my eye off the list for just a few hours... Folks, please, no. None of this here. We are here to discuss something we have in common, viz, LiveCode. I like to think that focussing on something we have in common helps to heal divides and reduce extreme views on all sides, but whether it does or not it is never appropriate to air these kinds of views on this list. My best regards to all and not another peep out of any of you on this topic. Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 29 Jan 2021, at 01:12, Bob Sneidar via use-livecode wrote: > > Why am I still seeing this? > > Bob S > > >> On Jan 28, 2021, at 4:21 PM, Curry Kenworthy via use-livecode wrote: >> >> >> Stephen: >> >>> forgive me that last post was supposed to be for Curry only >> >> Stephen, I want to thank you for providing verification of the kind of hate speech/harrassment you were sending offline. >> >> And for the record, I didn't attack you - I mentioned the FBI's lack of action when commenting on the proliferation of scams. Didn't start that thread, nor that topic. Didn't promote politics; stated my position AGAINST politicizing institutions, so that real crime can be addressed. >> >> Nor did I mention Trump or a political position. >> >> You ILLOGICALLY jumped to the conclusion that I was talking about this year's political situation (ignoring the details, including the dates that clearly preceded the situation you have in mind) and decided to mentally place me into a category of people that you hate. >> >> Then you proceeded to attack ME (based on irrational reasoning) and send me hateful messages. Along with creepy demands to know which "team" I'm on. >> >> You proactively mentioned Trump and your own brand of politics. >> I didn't mention any political position to you. >> >> I couldn't care less about your political opinions or proclivities. >> I'm not bothered if you have "zero respect" or hate me based on your prejudices and illogical thinking. >> >> I do find it disturbing when I see hatred, but it doesn't bother me personally when it's directed at me. I'll sleep just fine! >> >> Rest assured that I'm definitely not on your "team." >> You can keep all that offlist - and remember, I'm not your offlist. >> Start a hate blog, or talk to your buddies about it. >> >> But I do care about logic. Look at the years: you messed up. >> All that ranting and raving, interrupting a thread with attacks, all based a false premise: assuming that I was talking about this year's events. Congratulations! >> >> Now, can we get back to LC or not? >> >> I've stated that I am AGAINST politicizing organizations including this list. Nor do I want your offlist rants. LC only please! >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> 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 From ambassador at fourthworld.com Fri Jan 29 11:11:29 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 29 Jan 2021 08:11:29 -0800 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: <224a9002-8e79-704e-8323-d8bc422ab3cc@fourthworld.com> Bernard Devlin wrote: > On Thu, Jan 28, 2021 at 4:44 PM Richard Gaskin wrote: >> Is this specific to the server "accept" not supporting SSL, >> or something client-side? > > Hi Richard, it's client side. > > The project is a messaging app, principally for mobile. SSL/TLS > certificates issued with client software enable servers to know that > the connection is allowed at a network level before any user > authentication. Thank you, Bernard. In bringing myself up to speed on this, once I stumbled across the phrase "two-way SSL" I was able to find much good reading about it. I just added Comment #11 to the bug report on this: The range of services requiring two-way SSL is increasing, and with IoT the scope of use cases is multiplying. Where required, I don't see an opportunity for a scripted workaround, so in those cases the only alternative is to leave LC for a tool that supports two-way SSL. This would seem a good time to bite the bullet on this implementation. What would be required to make it happen? https://quality.livecode.com/show_bug.cgi?id=13410#c11 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Fri Jan 29 11:12:25 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 29 Jan 2021 16:12:25 +0000 Subject: Double sided PDF Problem In-Reply-To: <1774ccdfcc0.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <8E82E5AD-E23D-4595-8212-12230E9EA99A@mac.com> <1774cb74c28.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1774ccdfcc0.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <669073EC-53BA-4FC9-8899-5631F0A42719@iotecdigital.com> I may be missing something, but a document itself is not double sided. I think you may be saying that you want to automate the process of printing and force the output to be double sided. I do not think that is possible, although I can see how that would be useful to push print properties before a print job. Bob S > On Jan 28, 2021, at 10:21 PM, J. Landman Gay via use-livecode wrote: > > Right after I sent the message below, I think I understand what you meant. You want to print double-sided pages of all the cards in a stack. Is that right? On a regular printer you don't have to do anything special; if the printer driver supports double-sided printing then it just works. > > For PDFs, I'd have to check. What OS are you on? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 28, 2021 11:59:01 PM "J. Landman Gay via use-livecode" wrote: > >> I'm confused. Are you writing a card game with decks of cards? Or do you >> mean the cards in a lC stack? What is "flipping the page"? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On January 28, 2021 11:15:51 PM "Brian K. Duck via use-livecode" >> wrote: >> >>> I?d like to print decks of cards, front and back >>> >>> The front page is always easy. >>> Cards print left to right: 1-3 >>> >>> Flipping the pages, in portrait layout, the cards are now face down, in >>> order but reversed: 3,2, 1. >>> >>> The problem is, printing 3 wide by 4 tall, aligining the two. >>> >>> Any existing solutions or discussions? >>> >>> Thanks for your time, >>> Brian Duck >>> Bduck at m at c dot 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 bobsneidar at iotecdigital.com Fri Jan 29 11:16:51 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 29 Jan 2021 16:16:51 +0000 Subject: Double sided PDF Problem In-Reply-To: References: <8E82E5AD-E23D-4595-8212-12230E9EA99A@mac.com> <1774cb74c28.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1774ccdfcc0.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0B8ECB79-A081-44CB-8A1B-FD81C08D6645@iotecdigital.com> As an IT technician working for a copier sales and service company, I always discourage page imposition in the document itself. Most print drivers have a means of producing booklets and handle the imposition for you. If you are indeed producing booklets, I assume they need to be center stapled as well. Adobe has it?s own means of imposing pages for a booklet. Typically I advise having Reader impose the pages, then everything else can be handled in the actual print driver properties. That of course is only for Adobe products. Bob S > On Jan 29, 2021, at 1:38 AM, Graham Samuel via use-livecode wrote: > > I?m thinking (guessing) that he?s into the more general problem that you get when you are trying to print say a booklet with multiple pages of the book per printed sheet. You do have to print double-sided (and your printer may help you with that) but the key is lay it out so that page 2 of the booklet is at the back of page 1 etc. If for example you have an 8 page leaflet printed four up, the first - verso - physical page could be laid out like > > 1 3 > 5 7 > > and the other side of the paper - recto - would be laid out > > 4 2 > 8 6 > > People who print books etc are having to do this all the time, so it?s reasonable to assume that the problem has been encapsulated in a procedure by now. I won?t start with the links, since I don?t really know if this is the problem Brian is trying to solve. > > Graham > >> On 29 Jan 2021, at 06:21, J. Landman Gay via use-livecode wrote: >> >> Right after I sent the message below, I think I understand what you meant. You want to print double-sided pages of all the cards in a stack. Is that right? On a regular printer you don't have to do anything special; if the printer driver supports double-sided printing then it just works. >> >> For PDFs, I'd have to check. What OS are you on? >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On January 28, 2021 11:59:01 PM "J. Landman Gay via use-livecode" wrote: >> >>> I'm confused. Are you writing a card game with decks of cards? Or do you >>> mean the cards in a lC stack? What is "flipping the page"? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On January 28, 2021 11:15:51 PM "Brian K. Duck via use-livecode" >>> wrote: >>> >>>> I?d like to print decks of cards, front and back >>>> >>>> The front page is always easy. >>>> Cards print left to right: 1-3 >>>> >>>> Flipping the pages, in portrait layout, the cards are now face down, in >>>> order but reversed: 3,2, 1. >>>> >>>> The problem is, printing 3 wide by 4 tall, aligining the two. >>>> >>>> Any existing solutions or discussions? >>>> >>>> Thanks for your time, >>>> Brian Duck >>>> Bduck at m at c dot com >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri Jan 29 11:58:41 2021 From: paul at researchware.com (Paul Dupuis) Date: Fri, 29 Jan 2021 11:58:41 -0500 Subject: Double sided PDF Problem In-Reply-To: <0B8ECB79-A081-44CB-8A1B-FD81C08D6645@iotecdigital.com> References: <8E82E5AD-E23D-4595-8212-12230E9EA99A@mac.com> <1774cb74c28.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1774ccdfcc0.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0B8ECB79-A081-44CB-8A1B-FD81C08D6645@iotecdigital.com> Message-ID: On 1/29/2021 11:16 AM, Bob Sneidar via use-livecode wrote: > As an IT technician working for a copier sales and service company, I always discourage page imposition in the document itself. Most print drivers have a means of producing booklets and handle the imposition for you. If you are indeed producing booklets, I assume they need to be center stapled as well. > > Adobe has it?s own means of imposing pages for a booklet. Typically I advise having Reader impose the pages, then everything else can be handled in the actual print driver properties. That of course is only for Adobe products. > > Bob S > Yea, PDFs are not double sided. You can print a PDF to any printer that supports double-sided printing and whatever original applications (MS-Word, etc.) you used to create the PDF can be formatted for double-sided, book-style printing by having alternating even and odd margins and so on, but PDFs themselves are not double sided. From curry at pair.com Fri Jan 29 12:36:03 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 29 Jan 2021 12:36:03 -0500 Subject: Double sided PDF Problem In-Reply-To: <0B8ECB79-A081-44CB-8A1B-FD81C08D6645@iotecdigital.com> References: <0B8ECB79-A081-44CB-8A1B-FD81C08D6645@iotecdigital.com> Message-ID: <1eaebe73-dcb2-c84e-891b-d605f6220c46@pair.com> Brian: > I?d like to print decks of cards, front and back This post has become a master puzzle of its own! Enough detail to elicit solutions, yet still open-ended. Each answer makes its own assumptions, and solves a different problem. But I like it. So OK, I'll join. Here goes.... My own assumptions derive from Keep It Simple (KISS) code philosophy. So I'm not going to read more into the problem than necessary. I tend to prefer the simplest and most universal answer. Also with the fewest dependencies. > The front page is always easy. Cards print left to right: 1-3 > Flipping the pages, in portrait layout, the cards are now > face down, in order but reversed: 3,2, 1. I'm not going to make ANY assumptions about print drivers solving it. (Unless first tested in LC, on target platforms, with target printers.) Bob and Jacque might be right. These days, drivers usually auto-fit. But often LC doesn't fit assumptions! Test first; don't build on theory. The way I read it, so far this is already solved by the 321 reversal. Brian already has his images in the proper order, front and back. And that approach should be very universal; no dependencies. I would expect it to work for any printer, or PDF, any platform. There was no mention of booklets or alternating margins, so I'm not adding that to the problem. Choosing a simple interpretation. > The problem is, printing 3 wide by 4 tall, aligning the two. I see this as just lining up the front and back images precisely so that the cards can be cut out. Right now, one side is too far left, or down? So my suggestion is: 1. Make sure your images are PRECISELY spaced in their arrangement. (Use code if necessary.) 2. Group the images. (Or whatever type of controls you are using for the playing cards.) 3. Set loc of group to loc of the LC card. (And LC card widths are usually divible by 2, so center might be a pixel different front and back, if you're using the same group of images. Depending on image design and driver auto-fit, usually that's moot. But if it's a problem, easy to solve - several good options.) Did I guess right about the nature of the problem? :) Nice topic! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From bdrunrev at gmail.com Fri Jan 29 13:19:58 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 29 Jan 2021 18:19:58 +0000 Subject: open secure socket... using certificate In-Reply-To: <224a9002-8e79-704e-8323-d8bc422ab3cc@fourthworld.com> References: <224a9002-8e79-704e-8323-d8bc422ab3cc@fourthworld.com> Message-ID: Hi Richard The idea of client certificates was why I was looking for this feature for the past 15 years. I know that PKI is complex but it is important (which is why browsers implemented it decades ago). Even tsNet behaves very differently on Windows and OS X when it comes to server certificates (looks to me that Microsoft is mis-implementing their libcurl/schannel interface, but I guess it stung them 20 years ago when they hadn't implemented Certificate Revocation Lists). Without LC having client certificates the only option I face is moving to another tool. Even the idea of implementing real secure sockets in a FFI external would be a huge amount of work for any of us users (as there is not even a single lower level language which we could rely on in each platform, so we'd be implementing a complex security layer and learning how to do it in several different languages). I'm going to look at moving to Xojo. Their docs say they implemented secure sockets with certificates in 2006. Their Android deployment platform is close to completion. It really would have been better for LC to have removed those claims from the Dictionary back in 2014, as then I'd have seen in recent years it still hadn't been implemented and would have looked at another tool months ago rather than get to this point and realise I'd wasted a lot of time. I've spent an entire week now just pondering on the options on how I can move forward. Regards, Bernard On Fri, Jan 29, 2021 at 4:12 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > > > Thank you, Bernard. In bringing myself up to speed on this, once I > stumbled across the phrase "two-way SSL" I was able to find much good > reading about it. > > I just added Comment #11 to the bug report on this: > > The range of services requiring two-way SSL is increasing, > and with IoT the scope of use cases is multiplying. > > Where required, I don't see an opportunity for a scripted > workaround, so in those cases the only alternative is to > leave LC for a tool that supports two-way SSL. > > This would seem a good time to bite the bullet on this > implementation. What would be required to make it happen? > > https://quality.livecode.com/show_bug.cgi?id=13410#c11 > > From benr_mc at cogapp.com Fri Jan 29 13:44:07 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 29 Jan 2021 18:44:07 +0000 Subject: installing and running LC on 'headless' linux server Message-ID: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> So I want to install LC on a headless - i.e. no GUI, access over SSH - Ubuntu 20. (Then I'll be using it to run a particular stack on a cron job.) I've done this a long time ago with a standalone - but in this case I'd rather be able to do it with a stack. The only thing that I know about is "-ui" but I'm not even far enough along to make use of this. My first question is what's the best way to install it? Do I download the installer, e.g. "LiveCodeCommunityInstaller-9_6_1-Linux.x64", move it to the server and run it there? Or is that going to be a GUI installer? Are there options I need to know about like where it should go? And then are there tips about where I put my stacks, how to see error or debugging output, how the stack reads command line parameters etc? Any and all advice welcome - especially of course "go and read this guide over here you idiot". TIA, Ben From matthias_livecode_150811 at m-r-d.de Fri Jan 29 15:30:06 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 29 Jan 2021 21:30:06 +0100 Subject: installing and running LC on 'headless' linux server In-Reply-To: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> Message-ID: <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> Ben, is there a reason why you do not install/use Livecode Server instead of Livecode IDE on your system? You could run livecode scripts directly from shell. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 29.01.2021 um 19:44 schrieb Ben Rubinstein via use-livecode : > > So I want to install LC on a headless - i.e. no GUI, access over SSH - Ubuntu 20. > > (Then I'll be using it to run a particular stack on a cron job.) > > I've done this a long time ago with a standalone - but in this case I'd rather be able to do it with a stack. > > The only thing that I know about is "-ui" but I'm not even far enough along to make use of this. > > My first question is what's the best way to install it? Do I download the installer, e.g. "LiveCodeCommunityInstaller-9_6_1-Linux.x64", move it to the server and run it there? Or is that going to be a GUI installer? > > Are there options I need to know about like where it should go? > > And then are there tips about where I put my stacks, how to see error or debugging output, how the stack reads command line parameters etc? > > Any and all advice welcome - especially of course "go and read this guide over here you idiot". > > 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 e.beugelaar at me.com Fri Jan 29 17:20:39 2021 From: e.beugelaar at me.com (e.beugelaar at me.com) Date: Fri, 29 Jan 2021 22:20:39 +0000 Subject: open secure socket... using certificate In-Reply-To: References: <224a9002-8e79-704e-8323-d8bc422ab3cc@fourthworld.com>, Message-ID: Xojo is not multi platform. If you want to move, which i regret, I strongly advise you to go for the B4X platform. Get Outlook for Android ________________________________ From: use-livecode on behalf of Bernard Devlin via use-livecode Sent: Friday, January 29, 2021 7:19:58 PM To: How to use LiveCode Cc: Bernard Devlin Subject: Re: open secure socket... using certificate Hi Richard The idea of client certificates was why I was looking for this feature for the past 15 years. I know that PKI is complex but it is important (which is why browsers implemented it decades ago). Even tsNet behaves very differently on Windows and OS X when it comes to server certificates (looks to me that Microsoft is mis-implementing their libcurl/schannel interface, but I guess it stung them 20 years ago when they hadn't implemented Certificate Revocation Lists). Without LC having client certificates the only option I face is moving to another tool. Even the idea of implementing real secure sockets in a FFI external would be a huge amount of work for any of us users (as there is not even a single lower level language which we could rely on in each platform, so we'd be implementing a complex security layer and learning how to do it in several different languages). I'm going to look at moving to Xojo. Their docs say they implemented secure sockets with certificates in 2006. Their Android deployment platform is close to completion. It really would have been better for LC to have removed those claims from the Dictionary back in 2014, as then I'd have seen in recent years it still hadn't been implemented and would have looked at another tool months ago rather than get to this point and realise I'd wasted a lot of time. I've spent an entire week now just pondering on the options on how I can move forward. Regards, Bernard On Fri, Jan 29, 2021 at 4:12 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > > > Thank you, Bernard. In bringing myself up to speed on this, once I > stumbled across the phrase "two-way SSL" I was able to find much good > reading about it. > > I just added Comment #11 to the bug report on this: > > The range of services requiring two-way SSL is increasing, > and with IoT the scope of use cases is multiplying. > > Where required, I don't see an opportunity for a scripted > workaround, so in those cases the only alternative is to > leave LC for a tool that supports two-way SSL. > > This would seem a good time to bite the bullet on this > implementation. What would be required to make it happen? > > https://quality.livecode.com/show_bug.cgi?id=13410#c11 > > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at midwestcoastmedia.com Fri Jan 29 17:48:07 2021 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Fri, 29 Jan 2021 17:48:07 -0500 Subject: Text field in Windows standalone not receiving keyboard focus In-Reply-To: References: Message-ID: <172AD6EE-5A6C-4C5C-BE63-279BEFA8B3FA@midwestcoastmedia.com> > - add a keydown handler in the field. Is it received? This is received under the same circumstances described before. I can?t add a breakpoint because the Remote Debugger will take focus from the standalone, which is one of the known workarounds. If I add an answer ?foo? the focus is properly shifted to the field after the modal. > - add a keydown handler in the card. Who's the target? The card also doesn?t receive this message until the focus issue is resolved as described before? interesting. > - any front script or other library intercepting keystrokes? Nope > - any behaviors? Datagrid, but not on this field or parent group. > And if the normal culprits are exonerated, don't forget the more obscure > and exotic possibilities: > > - white text, or textshift? Nope, standard text that displays as soon as focus is properly received. > - text added but clipped by a tabstop? No tabs > - does all your startup code get executed? (And preopencard/stack code?) No errors thrown > - is this a real Windows machine or virtualized setup? Win10 Boot Camp install running through Parallels, but the client who complained is on native Win10 box. From bogdanoff at me.com Fri Jan 29 18:23:06 2021 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 29 Jan 2021 15:23:06 -0800 Subject: Text field in Windows standalone not receiving keyboard focus In-Reply-To: <172AD6EE-5A6C-4C5C-BE63-279BEFA8B3FA@midwestcoastmedia.com> References: <172AD6EE-5A6C-4C5C-BE63-279BEFA8B3FA@midwestcoastmedia.com> Message-ID: <1C1713A5-D876-43AF-A086-C04D41F4F98E@me.com> Andrew, are you using Parallels/Windows for testing? I just saw something somewhat similar where I suddenly couldn?t paste into a field; typing did work (Windows 10 running in Parallels, in IDE, not runtime). I went to Parallels? settings for Windows, unchecked and rechecked ?Share clipboard? and it now worked?could paste text. Peter Bogdanoff > On Jan 29, 2021, at 2:48 PM, Andrew at MidWest Coast Media via use-livecode wrote: > > >> - add a keydown handler in the field. Is it received? > This is received under the same circumstances described before. I can?t add a breakpoint because the Remote Debugger will take focus from the standalone, which is one of the known workarounds. If I add an answer ?foo? the focus is properly shifted to the field after the modal. > >> - add a keydown handler in the card. Who's the target? > The card also doesn?t receive this message until the focus issue is resolved as described before? interesting. > >> - any front script or other library intercepting keystrokes? > Nope > >> - any behaviors? > Datagrid, but not on this field or parent group. > >> And if the normal culprits are exonerated, don't forget the more obscure >> and exotic possibilities: >> >> - white text, or textshift? > Nope, standard text that displays as soon as focus is properly received. > >> - text added but clipped by a tabstop? > No tabs > >> - does all your startup code get executed? (And preopencard/stack code?) > No errors thrown > >> - is this a real Windows machine or virtualized setup? > Win10 Boot Camp install running through Parallels, but the client who complained is on native Win10 box. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 29 20:42:49 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 29 Jan 2021 20:42:49 -0500 Subject: Text field in Windows standalone not receiving keyboard focus In-Reply-To: <172AD6EE-5A6C-4C5C-BE63-279BEFA8B3FA@midwestcoastmedia.com> References: <172AD6EE-5A6C-4C5C-BE63-279BEFA8B3FA@midwestcoastmedia.com> Message-ID: <8641a4ce-77ca-b793-c321-1c9cd34003ce@pair.com> Andrew: > I can?t add a breakpoint because the Remote Debugger > will take focus from the standalone Behold the power of the log file: Logs DOMINATE standalone debugging for all but the simplest issues. They don't affect focus, either. (Remote Debugger is cool, but like most things, has big limitations.) > If I add an answer ?foo? the focus is properly shifted > to the field after the modal. Yes, I've seen that happen! And getting focus back by switching the app. Familiar, but can't recall the culprit. Also, might have been on Mac: one Mac project with a window shape and floating window acted up. The more complexity a stack has, the more things can interact. I do remember this: it didn't take long to fix or work around! That's why it was a fleeting memory. So take heart. If pasting can work around it, so can your code. Take charge of focus. Or even better, finish debugging and fix the underlying cause. > The card also doesn?t receive this message until the focus issue > is resolved as described before So someone else is receiving those keystrokes. Who? Could be a script. A stack. A control that doesn't pass the message. (And for each of those - could be yours, or LiveCode's/third party.) Use your log, record where the focus is, pin down the perp. Record the relevant field properties too, just in case. >> - any front script or other library intercepting keystrokes? > Nope Is that proven, or just AFAYK? But I wouldn't be surprised if it's a stack or other group/control. > Datagrid, but not on this field or parent group. DG is beautiful, but so often introduces issues. Of course I wouldn't rip it out at this late point. It might not be the culprit. Even if it is, you can work around. Good news: pretty easy to fix or work around this! I've had a very similar issue.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From tom at makeshyft.com Fri Jan 29 22:04:29 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 29 Jan 2021 22:04:29 -0500 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: Hi Richard...the man in the middle attack is exactly the thing I was thinking of. On Fri, Jan 29, 2021 at 1:09 AM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > Richard..... in the labs ...... I am testing the viability of using > > Livecode as ONLY a UI layer. So I have to find the fastest way of > > getting decrypted JSON data from Core process (Go binary) to the UI > > Layer that is a LC stack. > > SLL encryption/decryption adds overhead to that process. > > > > So when communicating data via the localhost or socket, I figured it > > should still be encrypted if possible when in transit between the 2 > > programs. It's an attack vector in this kind of a scenario, a local > > one, not remote as much. > > The main benefit of encrypted sockets is to mitigate man-in-the-middle > attacks. > > If you have a man in the middle of processes on a local computer that > isn't you, it would seem you have bigger concerns. ;) > > > > > It would have been nice to reply on the protocol for it. I can get > > around this particular problem of course by encrypting on one side > > and decrypting on the other, also. If I am really paranoid about > > my security. > > Paranoia can be healthy, when taken as directed. There may be a benefit > to encrypting localhost sockets that I'm unfamiliar with, and if someone > can point me to threat vector I'd be grateful to learn. > > But I can't recall seeing a system that uses encrypted comms on local > sockets. > > > > What do you think will be the fastest way? Socket? Open Process? > > Sockets and multiprocessing are such different things I'm pretty sure I > don't understand the usage scenario. But if you can describe we can > brainstorm to optimize, as many good threads here have done before. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From General.2018 at outlook.com Sat Jan 30 09:16:34 2021 From: General.2018 at outlook.com (General 2018) Date: Sat, 30 Jan 2021 14:16:34 +0000 Subject: MergExt BLE In-Reply-To: References: , Message-ID: Hi, Is Monte able to support MergeBLE still or is this now solely with Livecode ? Anyone help please . Regards Camm > On 22 Jan 2021, at 14:43, General 2018 wrote: > > ?Hi , > > I think the issue is the need for ?Thread Safe? and / or ?Concurrent Buffering? for write/read function with MergExt BLE. > > Can anyone give guidance on application of the above using Livecode ? > > Regards Camm > >> On 14 Jan 2021, at 15:09, General 2018 via use-livecode wrote: >> >> ?Hi , >> >> Have an application for IOS and started to use MergExt BLE. >> >> This is working great with livecode on finding devices , connecting and writing. >> >> I have an issue with reading , it works but missing data randomly on read. >> >> The BLE device is using Notify. >> >> In ?didupatevalueforcharactistic? values are return after writing a request. But sometimes half the response or other random results. >> >> The application needs to send a few commands each will reply with unique data. >> >> So :- >> Write 123 >> Read result and action >> Write 456 >> Read result and action and so on... >> >> I am sure this is no fault of MergBLE it just cannot find livecode doc on how to structure the data flow using MergBLE commands and Messages. >> >> Any help would be appreciated. >> >> Regards Camm >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Sat Jan 30 11:34:32 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sat, 30 Jan 2021 16:34:32 +0000 Subject: installing and running LC on 'headless' linux server In-Reply-To: <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> Message-ID: <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> Hi Matthias, Thanks for answering. I haven't looked into Livecode Server. When you say I could run livecode scripts directly from shell, does that means scripts, but not stacks? Is Livecode Server easier to install on a 'headless' system? Is there somewhere I should look to find explanation of differences/pros/cons of Server versus IDE editions? thank you, Ben On 29/01/2021 20:30, matthias rebbe via use-livecode wrote: > Ben, > > is there a reason why you do not install/use Livecode Server instead of Livecode IDE on your system? > > You could run livecode scripts directly from shell. > > > Regards, > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 29.01.2021 um 19:44 schrieb Ben Rubinstein via use-livecode : >> >> So I want to install LC on a headless - i.e. no GUI, access over SSH - Ubuntu 20. >> >> (Then I'll be using it to run a particular stack on a cron job.) >> >> I've done this a long time ago with a standalone - but in this case I'd rather be able to do it with a stack. >> >> The only thing that I know about is "-ui" but I'm not even far enough along to make use of this. >> >> My first question is what's the best way to install it? Do I download the installer, e.g. "LiveCodeCommunityInstaller-9_6_1-Linux.x64", move it to the server and run it there? Or is that going to be a GUI installer? >> >> Are there options I need to know about like where it should go? >> >> And then are there tips about where I put my stacks, how to see error or debugging output, how the stack reads command line parameters etc? >> >> Any and all advice welcome - especially of course "go and read this guide over here you idiot". >> >> 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 matthias_livecode_150811 at m-r-d.de Sat Jan 30 17:20:21 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 30 Jan 2021 23:20:21 +0100 Subject: installing and running LC on 'headless' linux server In-Reply-To: <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> Message-ID: Hi Ben, Livecode Server can only execute Livecode script files, but it can make use of stackfiles if you want to use the stack as a library for example. I am sorry, if i cannot explain it more detailed. Ask me in German and i could tell you what i really mean. ;) But good example is this page here https://splash21.com/sQuiRt.php The sQuiRt library, which is now included in Livecode as a livecodescript library , was a stack library at the beginning. On this demo page a sample livecode server script is shown that uses a stackfile library to create QR codes and shows the QR Code then in the browser. And here's the script in action http://splash21.on-rev.com/index.lc Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 30.01.2021 um 17:34 schrieb Ben Rubinstein via use-livecode : > > Hi Matthias, > > Thanks for answering. > > I haven't looked into Livecode Server. When you say I could run livecode scripts directly from shell, does that means scripts, but not stacks? > > Is Livecode Server easier to install on a 'headless' system? Is there somewhere I should look to find explanation of differences/pros/cons of Server versus IDE editions? > > thank you, > > Ben > > On 29/01/2021 20:30, matthias rebbe via use-livecode wrote: >> Ben, >> is there a reason why you do not install/use Livecode Server instead of Livecode IDE on your system? >> You could run livecode scripts directly from shell. >> Regards, >> Matthias >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >>> Am 29.01.2021 um 19:44 schrieb Ben Rubinstein via use-livecode : >>> >>> So I want to install LC on a headless - i.e. no GUI, access over SSH - Ubuntu 20. >>> >>> (Then I'll be using it to run a particular stack on a cron job.) >>> >>> I've done this a long time ago with a standalone - but in this case I'd rather be able to do it with a stack. >>> >>> The only thing that I know about is "-ui" but I'm not even far enough along to make use of this. >>> >>> My first question is what's the best way to install it? Do I download the installer, e.g. "LiveCodeCommunityInstaller-9_6_1-Linux.x64", move it to the server and run it there? Or is that going to be a GUI installer? >>> >>> Are there options I need to know about like where it should go? >>> >>> And then are there tips about where I put my stacks, how to see error or debugging output, how the stack reads command line parameters etc? >>> >>> Any and all advice welcome - especially of course "go and read this guide over here you idiot". >>> >>> 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 bruce at prestodigital.net Sat Jan 30 19:19:46 2021 From: bruce at prestodigital.net (PrestoBruce) Date: Sat, 30 Jan 2021 17:19:46 -0700 Subject: Which of the current FTP legends should I be using? Message-ID: I need to upload a binary file (jpg,pdf,png,etc) to an FTP account. I have spent more hours than I care to admit trying to make tsNetUploadSync work for me. I used the example found at https://lessons.livecode.com/m/4071/l/851756-how-to-upload-a-file-using-ftp Which at first blush, worked the first time (once I put in my server path/login credentials etc). However, binary files are corrupted. I see nothing in the tsettings array to force binary xfer. I get Transfer complete with server response code 226 From curry at pair.com Sat Jan 30 19:52:18 2021 From: curry at pair.com (Curry Kenworthy) Date: Sat, 30 Jan 2021 19:52:18 -0500 Subject: Which of the current FTP legends should I be using? In-Reply-To: References: Message-ID: Bruce: > tsNetUploadSync > binary files are corrupted Try tsNetUploadFile - fewer steps! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From charles at techstrategies.com.au Sat Jan 30 20:16:35 2021 From: charles at techstrategies.com.au (Charles Warwick) Date: Sun, 31 Jan 2021 12:16:35 +1100 Subject: Which of the current FTP legends should I be using? In-Reply-To: References: Message-ID: <83548128-438D-4AA5-A16F-32DBD3A919CE@techstrategies.com.au> Hi, If you are following the code from the lesson, what are you getting back in the tRecvHeaders variable? Generally as part of the response stored in that variable, it will indicate whether it is using ascii or binary mode for transmission. Regards, Charles > On 31 Jan 2021, at 11:21 am, PrestoBruce via use-livecode wrote: > > ?I need to upload a binary file (jpg,pdf,png,etc) to an FTP account. > I have spent more hours than I care to admit trying to make > tsNetUploadSync work for me. > > I used the example found at https://lessons.livecode.com/m/4071/l/851756-how-to-upload-a-file-using-ftp > Which at first blush, worked the first time (once I put in my server path/login credentials etc). > > However, binary files are corrupted. I see nothing in the tsettings array to force binary xfer. > > I get Transfer complete with server response code 226 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 canelasoftware.com Sat Jan 30 21:22:56 2021 From: mark at canelasoftware.com (Mark Talluto) Date: Sat, 30 Jan 2021 18:22:56 -0800 Subject: installing and running LC on 'headless' linux server In-Reply-To: <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> Message-ID: Hi Ben, My favorite method is to build server code with standalones and script only stacks. You can run them headless using the -ui method as you proposed earlier. You can have the standalone act as a starter stack that loads in your script only stacks as libraries. This model makes it easy to do future updates because they are not built into the standalone itself. Place standalone and stack files here: - Apache IP Number/home/standalone /home/libaries/stack files here - nginx IP/usr/local/bin/standalone /bin/libraries/stack files here Each executable is always on for performance. They use very little cpu when they are waiting for something to do. In my experience, they rest a 0% between loops and jump to around 3% when checking on the workload. They will jump up to some other value when they are processing. When done, they return to the 0-3% consumption. We use PHP to receive incoming posts to the VM. After PHP does its thing, it passes the posted request to the LiveCode standalone. The process repeats itself as data is posted to the VM. This has been a proven model for us. We have used it for many years with LiveCloud. You can use this model in many ways. It will depend on what you are trying to accomplish. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com > On Jan 30, 2021, at 8:34 AM, Ben Rubinstein via use-livecode wrote: > > Hi Matthias, > > Thanks for answering. > > I haven't looked into Livecode Server. When you say I could run livecode scripts directly from shell, does that means scripts, but not stacks? > > Is Livecode Server easier to install on a 'headless' system? Is there somewhere I should look to find explanation of differences/pros/cons of Server versus IDE editions? > > thank you, > > Ben > > On 29/01/2021 20:30, matthias rebbe via use-livecode wrote: >> Ben, >> is there a reason why you do not install/use Livecode Server instead of Livecode IDE on your system? >> You could run livecode scripts directly from shell. >> Regards, >> Matthias >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >>> Am 29.01.2021 um 19:44 schrieb Ben Rubinstein via use-livecode : >>> >>> So I want to install LC on a headless - i.e. no GUI, access over SSH - Ubuntu 20. >>> >>> (Then I'll be using it to run a particular stack on a cron job.) >>> >>> I've done this a long time ago with a standalone - but in this case I'd rather be able to do it with a stack. >>> >>> The only thing that I know about is "-ui" but I'm not even far enough along to make use of this. >>> >>> My first question is what's the best way to install it? Do I download the installer, e.g. "LiveCodeCommunityInstaller-9_6_1-Linux.x64", move it to the server and run it there? Or is that going to be a GUI installer? >>> >>> Are there options I need to know about like where it should go? >>> >>> And then are there tips about where I put my stacks, how to see error or debugging output, how the stack reads command line parameters etc? >>> >>> Any and all advice welcome - especially of course "go and read this guide over here you idiot". >>> >>> 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 mark at canelasoftware.com Sun Jan 31 11:06:18 2021 From: mark at canelasoftware.com (Mark Talluto) Date: Sun, 31 Jan 2021 08:06:18 -0800 Subject: installing and running LC on 'headless' linux server In-Reply-To: References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> Message-ID: One more thought came to mind. You should run the executable in the background by applying an & as in this example: ./yourCoolExecutable -ui & If you run the executable from terminal and you do not apply the & the executable will die as terminal quits. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From david.bovill at gmail.com Sun Jan 31 11:13:02 2021 From: david.bovill at gmail.com (David Bovill) Date: Sun, 31 Jan 2021 16:13:02 +0000 Subject: installing and running LC on 'headless' linux server In-Reply-To: References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> Message-ID: <314e8702-2927-4cec-88f9-1dc21e72319b@Spark> Mark that is interesting. I would like to something similar during the Learning Cohort coding sprint over the next 12 weeks. I?d be happy to write up documentation and create a community GitHub project around that approach including Nginx config etc? ******** **************** ******************* ******************** ******************** \\ // ******** \\\// ******* \\\//// |||// , ||||| __/ ,,,,,,,,,,,//||||\,,,,,,,,,,,,,,,,,,o==o ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Schedule a meeting using this link. Writing and media work on?Media Garden. LinkedIn:?David Bovill Twitter: @fortyfoxes On 31 Jan 2021, 16:07 +0000, Mark Talluto via use-livecode , wrote: > One more thought came to mind. You should run the executable in the > background by applying an & as in this example: > > > ./yourCoolExecutable -ui & > > > If you run the executable from terminal and you do not apply the & the > executable will die as terminal quits. > > > Best regards, > > > Mark Talluto > > livecloud.io > > nursenotes.net > > canelasoftware.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 Bernd.Niggemann at uni-wh.de Sun Jan 31 12:27:56 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Sun, 31 Jan 2021 17:27:56 +0000 Subject: Is the DateFormat read only? Message-ID: <736410A8-35CB-454C-A06B-C75645452604@uni-wh.de> Alex Tweedly via use-livecode Sat, 07 Nov 2020 07:29:15 -0800 I tested out the TimeZone library with a couple of randomly chosen timezones - and they all came back incorrect (i.e. unchanged from UTC even though the timezones should have been different). I know that if you pass in a timezone that is not in the local machine's database, it will silently return the UTC value - but that's not the case here. I've now looked at it more closely - some of these timezones give the right answer, some give the wrong answer - though they are all in the TimeZones() list. Alex, After you mentioned the problems with the timezone library I had a look and it turns out that some of the timezones on the TimeZones() list are deprecated and they resolve to UTZ. I forgot to post that I bug reported the problem in case anyone runs into it. https://quality.livecode.com/show_bug.cgi?id=23012 Kind regards Bernd From matthias_livecode_150811 at m-r-d.de Sun Jan 31 12:33:34 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 31 Jan 2021 18:33:34 +0100 Subject: Which of the current FTP legends should I be using? In-Reply-To: References: Message-ID: <3EB44A95-F36C-4DEC-8E9A-1816809A73BB@m-r-d.de> Hi PrestoBruce, just a shot in the dark..., but how did you fill the pData parameter? Did you use put URL "binfile:..." into pData or maybe by mistake put URL "file:...." into pData That would explain why the data is corrupted after upload. - Matthias Rebbe Life Is Too Short For Boring Code > Am 31.01.2021 um 01:19 schrieb PrestoBruce via use-livecode : > > I need to upload a binary file (jpg,pdf,png,etc) to an FTP account. > I have spent more hours than I care to admit trying to make > tsNetUploadSync work for me. > > I used the example found at https://lessons.livecode.com/m/4071/l/851756-how-to-upload-a-file-using-ftp > Which at first blush, worked the first time (once I put in my server path/login credentials etc). > > However, binary files are corrupted. I see nothing in the tsettings array to force binary xfer. > > I get Transfer complete with server response code 226 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Sun Jan 31 20:09:39 2021 From: monte at appisle.net (Monte Goulding) Date: Mon, 1 Feb 2021 12:09:39 +1100 Subject: MergExt BLE In-Reply-To: References: Message-ID: Hi Camm The mergExt externals are supported by LiveCode so the best route for support is support at livecode.com . Cheers Monte > On 31 Jan 2021, at 1:16 am, General 2018 via use-livecode wrote: > > Hi, > > Is Monte able to support MergeBLE still or is this now solely with Livecode ? > > Anyone help please . > > Regards Camm From andrew at midwestcoastmedia.com Sun Jan 31 22:28:25 2021 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Sun, 31 Jan 2021 22:28:25 -0500 Subject: Text field in Windows standalone not receiving keyboard focus In-Reply-To: References: Message-ID: It turns out that this bug was actually another bug manifesting itself. There was a rogue browser widget (not visible) hiding in another group on the card gobbling up keystrokes on Windows platform. https://quality.livecode.com/show_bug.cgi?id=19023 What?s worse is that the same bug bit me in the ass a year ago too. Fool me once, shame on you. -Andrew Bell > > Try comparing the properties of a group that works with the one that > doesn't. Also compare individual field properties, in particular check the > traversalOn, autoHilite, and lockText. That alone wouldn't explain why it > appears to fix itself occasionally, but could point to a script that > changes one of these properties. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 28, 2021 3:33:39 PM Andrew at MidWest Coast Media via > use-livecode wrote: > >> I have an app with a group of fields who are struggling to accept keyboard >> input. It seems to just be 1 group of 4 fields on a single card (that has >> been noticed). You can click in the field and the blinking I-bar is >> inserted, but typing on the keyboard does nothing. Pasting text into any of >> these fields seems to unlock the ability to type, as does switching to >> another application and switching back, but only until you leave the card >> and come back again. >> >> This ONLY happens in executable on Windows, not in IDE and never on Mac >> (where I am developing which is why I missed the bug in testing). Once you >> unlock 1 of the 4 fields in the group they all unlock until you leave the >> card and come back where the problem manifests again.There is another group >> of text files (hidden so not on screen the same time as the offending >> group) that accepts keyboard input fine without any hacks which points to a >> problem with the group. There are no scripts on the field or group itself. >> I have already tried a ?focus on nothing? without any luck. >> >> -Andrew Bell >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >