From jbv at souslelogo.com Sat Apr 1 08:17:22 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 01 Apr 2023 08:17:22 -0400 Subject: How to split a large xml file Message-ID: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> Hi list, I have a 75Go xml file that I need to process, and therefore need to split it into smaller files. I tried to do that with LC, reading successive chunks of 50000 lines with an endless loop and save them in successive files, but it crashes LC (9.6.9 on OSX 10.15) every time before finishing. Of course, I am interested in any working solution using LC. On the other hand, I found EasySplitMerge that runs on Mac and the free trial version works fine on files under 30Mb. Does anyone have any experience with it on larger files ? I'd be interested in any feedback before purchasing a license. https://www.321soft.com/easysplitmerge/ Thank you in advance. jbv From kee.nethery at elloco.com Sat Apr 1 10:19:20 2023 From: kee.nethery at elloco.com (kee nethery) Date: Sat, 1 Apr 2023 07:19:20 -0700 Subject: How to split a large xml file In-Reply-To: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> References: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> Message-ID: <52D286C8-F586-40AE-9E76-77EF1A0E8F90@elloco.com> I had to do this once upon a time and I used some of the unix commands in Terminal on a mac. The command is “split” and it was wicked fast. Just be sure to work on a copy of the file. Many examples on the interwebs. If you were going to do this day in a day out, yes, a GUI app would be a good idea. But for an infrequent thing … use “split”. https://kb.iu.edu/d/afar https://www.geeksforgeeks.org/split-command-in-linux-with-examples/ I think I split mine into 5Gb files and used BBEdit to open and examine them. Not sure what maximum size file LiveCode can parse so you might want to adjust. But for sure BBEdit was a champ in opening them and scrolling through them easily. Kee Nethery > On Apr 1, 2023, at 5:17 AM, jbv via use-livecode wrote: > > Hi list, > > I have a 75Go xml file that I need to process, and therefore > need to split it into smaller files. > I tried to do that with LC, reading successive chunks of 50000 > lines with an endless loop and save them in successive files, > but it crashes LC (9.6.9 on OSX 10.15) every time before > finishing. > Of course, I am interested in any working solution using LC. > > On the other hand, I found EasySplitMerge that runs on Mac > and the free trial version works fine on files under 30Mb. > Does anyone have any experience with it on larger files ? > I'd be interested in any feedback before purchasing a > license. > https://www.321soft.com/easysplitmerge/ > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sun Apr 2 05:16:25 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sun, 02 Apr 2023 05:16:25 -0400 Subject: How to split a large xml file In-Reply-To: <52D286C8-F586-40AE-9E76-77EF1A0E8F90@elloco.com> References: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> <52D286C8-F586-40AE-9E76-77EF1A0E8F90@elloco.com> Message-ID: <7966199340b243e6200a8914c28ba4cd@souslelogo.com> Thank you so much for the tip. It took 12 hours to split 75 Gb into 1278 files of 200000 lines each. I had to add a -a5 parameter otherwise Terminal would output a "too many files" error. Thanks again. Le 2023-04-01 10:19, kee nethery via use-livecode a crit : > I had to do this once upon a time and I used some of the unix commands > in Terminal on a mac. The command is split and it was wicked fast. > Just be sure to work on a copy of the file. Many examples on the > interwebs. If you were going to do this day in a day out, yes, a GUI > app would be a good idea. But for an infrequent thing use split. > > https://kb.iu.edu/d/afar > > https://www.geeksforgeeks.org/split-command-in-linux-with-examples/ > > I think I split mine into 5Gb files and used BBEdit to open and > examine them. Not sure what maximum size file LiveCode can parse so > you might want to adjust. But for sure BBEdit was a champ in opening > them and scrolling through them easily. > > Kee Nethery > > > >> On Apr 1, 2023, at 5:17 AM, jbv via use-livecode >> wrote: >> >> Hi list, >> >> I have a 75Go xml file that I need to process, and therefore >> need to split it into smaller files. >> I tried to do that with LC, reading successive chunks of 50000 >> lines with an endless loop and save them in successive files, >> but it crashes LC (9.6.9 on OSX 10.15) every time before >> finishing. >> Of course, I am interested in any working solution using LC. >> >> On the other hand, I found EasySplitMerge that runs on Mac >> and the free trial version works fine on files under 30Mb. >> Does anyone have any experience with it on larger files ? >> I'd be interested in any feedback before purchasing a >> license. >> https://www.321soft.com/easysplitmerge/ >> >> Thank you in advance. >> jbv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Tue Apr 4 10:22:30 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Tue, 4 Apr 2023 16:22:30 +0200 Subject: How to loop through stacks with same name? Message-ID: When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! I have tried to: close stack tStack delete stack tStack That didn't work I then thought that it might be that the IDE needed some more time to clean up so I added a loop: delete stack tStack repeat while tStack is among the lines of the openStacks wait for 100 milliseconds with messages end repeat That didn’t work either as the next time I try to open a stack with the same name I get the dialog again I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: local sFileList # A text with one file path per line for all files that should be crawled local sCurrentStack # The name of the currently crawled stack on stackCrawl if sCurrentStack is among the lines of the openstacks then send “stackCrawl” to me in 500 milliseconds else if sCurrentStack is not empty then # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) put empty into sCurrentStack if sFileList is empty then # All stacks crawled => We are finished! else send “stackCrawl” to me in 0 milliseconds end if else # sCurrentStack is empty so we should move on to the next stack in the file list! put line 1 of sFileList into tFile delete line 1 of sFileList put the openStacks into tStackList open stack tFile repeat for each line aStack in the openStacks if aStack is not among the lines of tStackList then put aStack into sCurrentStack exit repeat end if end repeat # Do needed operations on sCurrentStack delete sCurrentStack send “stackCrawl” to me in 500 milliseconds end if end stackCrawl This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: put the substacks of stack sCurrentStack into tSubStacks lock messages repeat for each line tSubStack in tSubstacks close stack tSubStack end repeat delete stack sCurrentStack unlock messages I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks” I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! I’ve reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround… From paul at researchware.com Tue Apr 4 11:18:12 2023 From: paul at researchware.com (Paul Dupuis) Date: Tue, 4 Apr 2023 11:18:12 -0400 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> I believe there is a IDE handler you can call to unload a stack - something like "revUnloadStack" or similar, but I do not recall the exact API name. Hopefully, some one else on the list has the exact API details. Alternatively, contact support at livecode.com and ask what the IDE API is to unload a stack. On 4/4/2023 10:22 AM, Hkan Liljegren via use-livecode wrote: > When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! > > I have tried to: > > close stack tStack > delete stack tStack > > That didn't work > > I then thought that it might be that the IDE needed some more time to clean up so I added a loop: > delete stack tStack > repeat while tStack is among the lines of the openStacks > wait for 100 milliseconds with messages > end repeat > > That didnt work either as the next time I try to open a stack with the same name I get the dialog again > > I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: > > local sFileList # A text with one file path per line for all files that should be crawled > local sCurrentStack # The name of the currently crawled stack > > on stackCrawl > if sCurrentStack is among the lines of the openstacks then > send stackCrawl to me in 500 milliseconds > else if sCurrentStack is not empty then > # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) > put empty into sCurrentStack > if sFileList is empty then > # All stacks crawled => We are finished! > else > send stackCrawl to me in 0 milliseconds > end if > else # sCurrentStack is empty so we should move on to the next stack in the file list! > put line 1 of sFileList into tFile > delete line 1 of sFileList > put the openStacks into tStackList > open stack tFile > repeat for each line aStack in the openStacks > if aStack is not among the lines of tStackList then > put aStack into sCurrentStack > exit repeat > end if > end repeat > # Do needed operations on sCurrentStack > delete sCurrentStack > send stackCrawl to me in 500 milliseconds > end if > end stackCrawl > > This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: > > put the substacks of stack sCurrentStack into tSubStacks > lock messages > repeat for each line tSubStack in tSubstacks > close stack tSubStack > end repeat > delete stack sCurrentStack > unlock messages > > I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! > > Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! > > So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! > > Ive reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 11:31:57 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Apr 2023 15:31:57 +0000 Subject: test Message-ID: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> This is a test of the use list. Bob S From craig at starfirelighting.com Tue Apr 4 14:42:04 2023 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 4 Apr 2023 14:42:04 -0400 Subject: How to loop through stacks with same name? In-Reply-To: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> References: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> Message-ID: <1BF1D56C-7BE2-4AAB-97FD-FFBB285ECF02@starfirelighting.com> Bi. There has been much discussion on the forum why, if the “destroyStack” property is set to “true”, there still seems to be remnants of that stack that linger when the “close stack” command is given. Nonetheless, have you established that this property is set? If not, set it, and let us know if that worked. Craig > On Apr 4, 2023, at 11:18 AM, Paul Dupuis via use-livecode wrote: > > I believe there is a IDE handler you can call to unload a stack - something like "revUnloadStack" or similar, but I do not recall the exact API name. > > Hopefully, some one else on the list has the exact API details. Alternatively, contact support at livecode.com and ask what the IDE API is to unload a stack. > > > > On 4/4/2023 10:22 AM, Håkan Liljegren via use-livecode wrote: >> When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! >> >> I have tried to: >> >> close stack tStack >> delete stack tStack >> >> That didn't work >> >> I then thought that it might be that the IDE needed some more time to clean up so I added a loop: >> delete stack tStack >> repeat while tStack is among the lines of the openStacks >> wait for 100 milliseconds with messages >> end repeat >> >> That didn’t work either as the next time I try to open a stack with the same name I get the dialog again >> >> I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: >> >> local sFileList # A text with one file path per line for all files that should be crawled >> local sCurrentStack # The name of the currently crawled stack >> >> on stackCrawl >> if sCurrentStack is among the lines of the openstacks then >> send “stackCrawl” to me in 500 milliseconds >> else if sCurrentStack is not empty then >> # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) >> put empty into sCurrentStack >> if sFileList is empty then >> # All stacks crawled => We are finished! >> else >> send “stackCrawl” to me in 0 milliseconds >> end if >> else # sCurrentStack is empty so we should move on to the next stack in the file list! >> put line 1 of sFileList into tFile >> delete line 1 of sFileList >> put the openStacks into tStackList >> open stack tFile >> repeat for each line aStack in the openStacks >> if aStack is not among the lines of tStackList then >> put aStack into sCurrentStack >> exit repeat >> end if >> end repeat >> # Do needed operations on sCurrentStack >> delete sCurrentStack >> send “stackCrawl” to me in 500 milliseconds >> end if >> end stackCrawl >> This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: >> >> put the substacks of stack sCurrentStack into tSubStacks >> lock messages >> repeat for each line tSubStack in tSubstacks >> close stack tSubStack >> end repeat >> delete stack sCurrentStack >> unlock messages >> >> I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! >> >> Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks” I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! >> >> So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! >> >> I’ve reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround… >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Tue Apr 4 14:42:41 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Tue, 4 Apr 2023 20:42:41 +0200 Subject: How to loop through stacks with same name? In-Reply-To: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> References: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> Message-ID: <7ECD0DDB-C182-4C21-A544-AEFD350DF624@exformedia.se> Thanks for the input, digging further… If I run the following code: put 0 into tCount delete tStackID put revLoadedStacks() into tStackList repeat while tStack is among the lines of tStackList add 1 to tCount delete stack tStack wait 100 milliseconds with messages put revLoadedStacks() into tStackList end repeat put "Looped " & tCount & " times" & CR & tStackList I get the output “Looped 0 times” followed by a list without tStack but If I then run ‘put revLoadedStacks()' from a button or in the message box the stack is back again! My very unprofessional guess is that this reappearance of the stack might be the same problems that sometimes causes the infinite save-purge-cancel loop that sometimes occurs in the IDE. If I on the other hand run ‘delete stack “mystack”’ in the message box. The stack is gone and never reappears! > On 4 Apr 2023, at 17:18, Paul Dupuis via use-livecode wrote: > > I believe there is a IDE handler you can call to unload a stack - something like "revUnloadStack" or similar, but I do not recall the exact API name. > > Hopefully, some one else on the list has the exact API details. Alternatively, contact support at livecode.com and ask what the IDE API is to unload a stack. > > > > On 4/4/2023 10:22 AM, Håkan Liljegren via use-livecode wrote: >> When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! >> >> I have tried to: >> >> close stack tStack >> delete stack tStack >> >> That didn't work >> >> I then thought that it might be that the IDE needed some more time to clean up so I added a loop: >> delete stack tStack >> repeat while tStack is among the lines of the openStacks >> wait for 100 milliseconds with messages >> end repeat >> >> That didn’t work either as the next time I try to open a stack with the same name I get the dialog again >> >> I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: >> >> local sFileList # A text with one file path per line for all files that should be crawled >> local sCurrentStack # The name of the currently crawled stack >> >> on stackCrawl >> if sCurrentStack is among the lines of the openstacks then >> send “stackCrawl” to me in 500 milliseconds >> else if sCurrentStack is not empty then >> # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) >> put empty into sCurrentStack >> if sFileList is empty then >> # All stacks crawled => We are finished! >> else >> send “stackCrawl” to me in 0 milliseconds >> end if >> else # sCurrentStack is empty so we should move on to the next stack in the file list! >> put line 1 of sFileList into tFile >> delete line 1 of sFileList >> put the openStacks into tStackList >> open stack tFile >> repeat for each line aStack in the openStacks >> if aStack is not among the lines of tStackList then >> put aStack into sCurrentStack >> exit repeat >> end if >> end repeat >> # Do needed operations on sCurrentStack >> delete sCurrentStack >> send “stackCrawl” to me in 500 milliseconds >> end if >> end stackCrawl >> This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: >> >> put the substacks of stack sCurrentStack into tSubStacks >> lock messages >> repeat for each line tSubStack in tSubstacks >> close stack tSubStack >> end repeat >> delete stack sCurrentStack >> unlock messages >> >> I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! >> >> Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks” I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! >> >> So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! >> >> I’ve reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround… >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 16:47:25 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Apr 2023 20:47:25 +0000 Subject: Sockets (again) Message-ID: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> I have sockets working in my File Server Agent, but only using non-blocking calls, that is using "with message". Removing the "with message" bit does not return any response from the server agent. For instance I send a payload using write payload to socket tSocket with message "messageReceived" The messageReceived handler gets triggered, and I can then read from socket tSocket until EOF -- or other delimiter it will then contain the response from the File Server Agent. If however I use write payload to socket tSocket -- blocking read from socket tSocket until EOF -- or some other delimiter doesn't matter the call times out and nothing ends up in the it or result variables. I can (and have) made the non-blocking method work, but that means I have to send all the files I want to transfer all at once, because if I send them one at a time, I need to know if the last transfer succeeded before continuing. Does anyone have an example of a blocking socket server? The example in Livecode Lessons really only focuses on non-blocking calls. Bob S From phil at pdslabs.net Tue Apr 4 23:06:19 2023 From: phil at pdslabs.net (Phil Davis) Date: Tue, 4 Apr 2023 20:06:19 -0700 Subject: Sockets (again) In-Reply-To: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> Message-ID: <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> Bob - Don't use EOF. It's broken since forever ago. I've done both of the following methods with success: -- either -- End your data stream with a CR, and then on the receiving end "read from socket XYZ for 1 line". This assumes that the data stream itself doesn't contain any CRs. I normally base64-encode the data stream, then replace CR with empty in the encoded string. This doesn't interfere with base64Decoding on the receiving end - it'll still work fine. -- or -- Make line 1 of your data stream an integer that is the number of bytes in line 2 of your data stream Make line 2 of your data stream the data you want to send Then on the receiving end, do a two-step: - read from socket XYZ for 1 line - put it into tDataLength - read from socket XYZ for tDataLength bytes That's all I got :-) Phil Davis On 4/4/23 1:47 PM, Bob Sneidar via use-livecode wrote: > I have sockets working in my File Server Agent, but only using non-blocking calls, that is using "with message". Removing the "with message" bit does not return any response from the server agent. > > For instance I send a payload using > write payload to socket tSocket with message "messageReceived" > The messageReceived handler gets triggered, and I can then > read from socket tSocket until EOF -- or other delimiter > it will then contain the response from the File Server Agent. > > If however I use > write payload to socket tSocket -- blocking > read from socket tSocket until EOF -- or some other delimiter doesn't matter > > the call times out and nothing ends up in the it or result variables. > > I can (and have) made the non-blocking method work, but that means I have to send all the files I want to transfer all at once, because if I send them one at a time, I need to know if the last transfer succeeded before continuing. > > Does anyone have an example of a blocking socket server? The example in Livecode Lessons really only focuses on non-blocking calls. > > 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 > -- Phil Davis (503) 307-4363 From jacque at hyperactivesw.com Wed Apr 5 00:42:59 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Apr 2023 23:42:59 -0500 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Are you opening all the same-named stacks at once? LC warns that this produces unreliable results and should be avoided. The "delete stack" command does work from a script, but if there are several open with the same name there's no telling what the engine will do. The normal way to handle this is to only open one, delete it when done with it, and then open the next. But if it is necessary for some reason to have multiple same-named stacks open then check the mainstacks rather than the openstacks. The mainstacks function should report all stacks in memory, not just the ones that are open on screen. Untested, but try this: repeat until "stackName" is not in the mainstacks -- whatever the duplicate stack name is delete stack "stackName" end repeat It might work. Also, check your LC preferences in the Files and Memory pane. Tick the option to close the stack even if its deleteStack property is false. That should allow you to close any stack and remove it from memory just with the close box. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 4, 2023 9:25:08 AM Hkan Liljegren via use-livecode wrote: > When my students turn in their assignments all their individual stacks > usually have the same name. If I try to loop through all of them there > seems to be no way to close one stack and move on to the next one (with the > same name) without getting the dialog asking if I want to save, purge or > cancel the previous stack?! From bobsneidar at iotecdigital.com Wed Apr 5 11:07:26 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Apr 2023 15:07:26 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. Bob S On Apr 4, 2023, at 21:42, J. Landman Gay via use-livecode wrote: But if it is necessary for some reason to have multiple same-named stacks open then check the mainstacks rather than the openstacks. From bobsneidar at iotecdigital.com Wed Apr 5 11:13:51 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Apr 2023 15:13:51 +0000 Subject: Sockets (again) In-Reply-To: <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> Message-ID: <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> Thanks Phil. Yes I learned the hard way with my SQL Agent to base64encode anything over sockets. And yes I do append a numtochar(13) coming and going and strip it off before decoding and read until numToChar(13). I don't use cr because I am uncertain how each OS platform treats it. The Server Agent could be running on anything in the future. I also instituted a debugging log and determined the File Server Agent is getting the payload and sending the result back, but for whatever reason the client side is not getting the result. It may be that I have to initiate some kind of delay on the server side because the assumption has to be that the reply is getting sent before the client starts listening. Bob S > On Apr 4, 2023, at 20:06, Phil Davis via use-livecode wrote: > > Bob - > > Don't use EOF. It's broken since forever ago. > > I've done both of the following methods with success: > > -- either -- > > End your data stream with a CR, and then on the receiving end "read from socket XYZ for 1 line". This assumes that the data stream itself doesn't contain any CRs. I normally base64-encode the data stream, then replace CR with empty in the encoded string. This doesn't interfere with base64Decoding on the receiving end - it'll still work fine. > > -- or -- > > Make line 1 of your data stream an integer that is the number of bytes in line 2 of your data stream > Make line 2 of your data stream the data you want to send > > Then on the receiving end, do a two-step: > - read from socket XYZ for 1 line > - put it into tDataLength > - read from socket XYZ for tDataLength bytes > > > That's all I got :-) > Phil Davis > > > > On 4/4/23 1:47 PM, Bob Sneidar via use-livecode wrote: >> I have sockets working in my File Server Agent, but only using non-blocking calls, that is using "with message". Removing the "with message" bit does not return any response from the server agent. >> >> For instance I send a payload using >> write payload to socket tSocket with message "messageReceived" >> The messageReceived handler gets triggered, and I can then >> read from socket tSocket until EOF -- or other delimiter >> it will then contain the response from the File Server Agent. >> >> If however I use >> write payload to socket tSocket -- blocking >> read from socket tSocket until EOF -- or some other delimiter doesn't matter >> >> the call times out and nothing ends up in the it or result variables. >> >> I can (and have) made the non-blocking method work, but that means I have to send all the files I want to transfer all at once, because if I send them one at a time, I need to know if the last transfer succeeded before continuing. >> >> Does anyone have an example of a blocking socket server? The example in Livecode Lessons really only focuses on non-blocking calls. >> >> 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 >> > > -- > 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 bobsneidar at iotecdigital.com Wed Apr 5 11:15:36 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Apr 2023 15:15:36 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> Message-ID: <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! Bob S On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: Oooh Pro Tip #276 from Jacque. I'm gonna use that one. Bob S From jacque at hyperactivesw.com Wed Apr 5 12:48:58 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 05 Apr 2023 11:48:58 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> Message-ID: <18752524c90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It should be fairly instant, I use a similar handler routinely. It doesn't check all the mainstacks, only determines if the name is in the list. Then it deletes the named stack directly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 5, 2023 10:17:31 AM Bob Sneidar via use-livecode wrote: > Whoa! No I'm not! There's over 300 mainstacks just from Livecode! > > Bob S > > > On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode > wrote: > > Oooh Pro Tip #276 from Jacque. I'm gonna use that one. > > 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 rdimola at evergreeninfo.net Wed Apr 5 13:06:47 2023 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 5 Apr 2023 13:06:47 -0400 Subject: How to loop through stacks with same name? In-Reply-To: <18752524c90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <18752524c90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <004101d967e1$0487ee20$0d97ca60$@net> Use "filter". It is blazingly fast. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Wednesday, April 05, 2023 12:49 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: How to loop through stacks with same name? It should be fairly instant, I use a similar handler routinely. It doesn't check all the mainstacks, only determines if the name is in the list. Then it deletes the named stack directly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 5, 2023 10:17:31 AM Bob Sneidar via use-livecode wrote: > Whoa! No I'm not! There's over 300 mainstacks just from Livecode! > > Bob S > > > On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode > wrote: > > Oooh Pro Tip #276 from Jacque. I'm gonna use that one. > > 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 ahsoftware at sonic.net Wed Apr 5 13:29:57 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 5 Apr 2023 10:29:57 -0700 Subject: Sockets (again) In-Reply-To: <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> Message-ID: <8a74522f-2963-9d41-e53d-dd37971fe570@sonic.net> On 4/5/23 08:13, Bob Sneidar via use-livecode wrote: > Thanks Phil. Yes I learned the hard way with my SQL Agent to base64encode anything over sockets. And yes I do append a numtochar(13) coming and going and strip it off before decoding and read until numToChar(13). I don't use cr because I am uncertain how each OS platform treats it. The Server Agent could be running on anything in the future. If you're already base64encoding the text you might consider a different end character than numtochar(13). For instance, numtochar(3) is already defined as "End of Text". That should eliminate or at least reduce any cross-platform issues you might run into. https://www.ascii-code.com/ -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Apr 5 15:27:15 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 5 Apr 2023 14:27:15 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> Message-ID: <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> I just created four same-named stacks and ran my suggested handler wrapped with timer commands. All four were deleted in 67 milliseconds. LC 10.0.0 DP 4. put the milliseconds into tStart repeat while "test" is in the mainstacks delete stack "test" end repeat answer the milliseconds - tStart Ralph's idea to use filter is good too but slightly slower, at (a fairly insignificant) 79 milliseconds: put the milliseconds into tStart filter the mainstacks with "test*" into tStacks repeat for each line l in tStacks delete stack l end repeat answer the milliseconds - tStart On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: > Whoa! No I'm not! There's over 300 mainstacks just from Livecode! > > Bob S > > > On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: > > Oooh Pro Tip #276 from Jacque. I'm gonna use that one. > > 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 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From info at dicod.com Thu Apr 6 01:03:32 2023 From: info at dicod.com (Jean-Jacques Wagner) Date: Thu, 6 Apr 2023 07:03:32 +0200 Subject: Ventura 1.3 - revcopyfile Message-ID: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Hi, Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one old stack, which I don not use for year is copied. So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my documents which I will have to deliver within the next 5 days. But at first I couldn’t at a time open document, then I was able to pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. This is an alert, I will be able to go deeper finding the trouble by end of next week. Have a nice Easter ! Jean-Jacques Wagner From merakosp at gmail.com Thu Apr 6 02:25:17 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 6 Apr 2023 09:25:17 +0300 Subject: Ventura 1.3 - revcopyfile In-Reply-To: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Message-ID: Hello Jean-Jacques, This sounds like a permissions issue. Which version of LiveCode are you using? IIRC, I think we fixed a similar issue in LC 9.6.8 - we added proper permissions to the LC IDE and standalones to use AppleScript to control other apps in recent MacOS versions. If you still see the problem in LC 9.6.8+, I suggest you file a bug report ( https://quality.livecode.com) and include a simple sample stack which we can use to reproduce the problem. Kind regards, Panos On Thu, 6 Apr 2023 at 08:05, Jean-Jacques Wagner via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. > The function revcopyfile does not work anymore. > I have stack to manage files (over 8000 pdf files), which with > revcopyfile are getting corrupt. There are not anymore openable > using preview, but also pages dokument are getting lost or corrupt, > because not anymore reopenable. > > Some time a file placed in a folder is not anymore openable, moving it on > the desktop, there is sometime against openable. > > I pin down the problems on a script, where I do makes on regular basis a > backup of about 10 textfiles (Wrangler) and 20 stacks, > so using revcopyfile and rename file to do it. The backup is not longer > functioning, make no copies of the files anymore. Just one > old stack, which I don not use for year is copied. > > So I can spend just now the time to go more deeper and investigate on the > problem, since I have to be careful not to loose my > documents which I will have to deliver within the next 5 days. But at > first I couldn’t at a time open document, then I was able to > pin down thats was not the system but the function revcopyfile should be > at the center of the problems. Possibly it has to do with > AppleScript (I hate this app, which was and is almost a copy of hypercard > in a very bad manner) on which revcopyfile should work. > > This is an alert, I will be able to go deeper finding the trouble by end > of next week. > > Have a < > https://dict.leo.org/englisch-deutsch/a> nice < > https://dict.leo.org/englisch-deutsch/nice> Easter < > https://dict.leo.org/englisch-deutsch/Easter>! > > Jean-Jacques Wagner > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 6 07:28:11 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 6 Apr 2023 07:28:11 -0400 Subject: Ventura 1.3 - revcopyfile In-Reply-To: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Message-ID: You may also be able to address this by giving any Standalone if this app is it's own Standalone) or the Livecode version you are using the "Full Disk Access" permission, from System Settings On 4/6/2023 1:03 AM, Jean-Jacques Wagner via use-livecode wrote: > Hi, > Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. > I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable > using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. > > Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. > > I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, > so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one > old stack, which I don not use for year is copied. > > So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my > documents which I will have to deliver within the next 5 days. But at first I couldnt at a time open document, then I was able to > pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with > AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. > > This is an alert, I will be able to go deeper finding the trouble by end of next week. > > Have a nice Easter ! > > Jean-Jacques Wagner > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Apr 6 07:58:53 2023 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 6 Apr 2023 12:58:53 +0100 Subject: How to loop through stacks with same name? In-Reply-To: <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> Message-ID: <5dd3f9b2-d20d-2851-3227-5cc51d6daf83@tweedly.net> Jacque, those two code snippets do slightly different things - and I don't think either of them is doing exactly what's intended; I think the intent is to delete stack(s) called (exactly) "test". The first one will (wrongly) catch a stack called "testabc" or "abctest" - and then will fail on deleting 'test'. The second one also catches "testabc" - but in this case deletes it unintentionally. Alternatively, we could go straight to the point > > put the milliseconds into tStart > repeat forever >   try >      delete stack "test" >   catch tmp >     exit repeat >   end > end repeat > answer the milliseconds - tStart > again, the timings are overlapping - the variation between different runs far outweighs the difference between the methods. I think that could be different if there many other mainstacks in play, but I don't see that it would be significant in any realistic case. So pick the one that seems  most easily read and understood :-) Alex. On 05/04/2023 20:27, J. Landman Gay via use-livecode wrote: > I just created four same-named stacks and ran my suggested handler > wrapped with timer commands. All four were deleted in 67 milliseconds. > LC 10.0.0 DP 4. > > put the milliseconds into tStart > repeat while "test" is in the mainstacks >    delete stack "test" > end repeat > answer the milliseconds - tStart > > Ralph's idea to use filter is good too but slightly slower, at (a > fairly insignificant) 79 milliseconds: > > put the milliseconds into tStart > filter the mainstacks with "test*" into tStacks > repeat for each line l in tStacks >    delete stack l > end repeat > answer the milliseconds - tStart > > On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >> >> Bob S >> >> >> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode >> wrote: >> >> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >> >> 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 MikeKerner at roadrunner.com Thu Apr 6 08:22:06 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Apr 2023 08:22:06 -0400 Subject: test In-Reply-To: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: and it's a great, big, gigantic failburger end of line. On Tue, Apr 4, 2023 at 11:33 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > This is a test of the use list. > > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From hakan at exformedia.se Thu Apr 6 08:45:44 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Thu, 6 Apr 2023 14:45:44 +0200 Subject: How to loop through stacks with same name? In-Reply-To: <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> Message-ID: <75FE2FA5-FF34-4263-83DE-3C0CB68AE4E6@exformedia.se> Thanks for the tip! But unfortunately already tried that! I only try to work with one stack at a time. If I set a breakpoint and step over the line delete stack “teststack" And then try to open a new stack with the same name there is no dialog box If I run the same code (without any breakpoints). I can wait forever (well kind of) and the stack will still be among the mainStacks. If I run your suggest code with a counter addition: repeat while "teststack" is among the lines of the mainStacks delete stack "teststack" add 1 to tCount end repeat put tCount I get an output of 1 but again if I bring up the message box after the code Is executed and do a “put the mainStacks” the stack is back again! If I run a loop over all my 25 stacks (or so) with the same name using the code above it loops through several stacks in quick succession but then I got the dialog again, and again, and again, and again… until I force quitted LiveCode. Created there stacks teststack1, 2 and 3 in the same folder all with the same name “teststack”. If I then run the following code from another stack in the same folder: set the itemDelimiter to slash put item 1 to -2 of the filename of this stack into tPath repeat with i = 1 to 3 open stack tPath & "/teststack" & i & ".livecode" repeat while “teststack" is among the lines of the mainStacks delete stack "teststack" end repeat end repeat Then I get a dialog asking what I want to do with teststack1 before I load teststack2 and teststack2 is still open after the code has run! If I create 6 stacks and run the same code (but from 1 to 6 of course) I get into the unstoppable dialog loop and needs to quit LiveCode! I’ve update the bug report https://quality.livecode.com/show_bug.cgi?id=24163 with new example ( https://quality.livecode.com/attachment.cgi?id=11421 ) that causes my LiveCode to get into the endless dialog loop. So, don’t run this if you have unsaved work in another stack! If it works for you Jacqueline, what platform are you using? Maybe this is a Mac only problem? I’m running MacOS Ventura 13.1 on a MacBook Pro (M1 Max). :-Håkan > On 5 Apr 2023, at 21:27, J. Landman Gay via use-livecode wrote: > > I just created four same-named stacks and ran my suggested handler wrapped with timer commands. All four were deleted in 67 milliseconds. LC 10.0.0 DP 4. > > put the milliseconds into tStart > repeat while "test" is in the mainstacks > delete stack "test" > end repeat > answer the milliseconds - tStart > > Ralph's idea to use filter is good too but slightly slower, at (a fairly insignificant) 79 milliseconds: > > put the milliseconds into tStart > filter the mainstacks with "test*" into tStacks > repeat for each line l in tStacks > delete stack l > end repeat > answer the milliseconds - tStart > > On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >> Bob S >> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: >> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >> 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 > > -- > 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 craig at starfirelighting.com Thu Apr 6 09:05:43 2023 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 6 Apr 2023 09:05:43 -0400 Subject: test In-Reply-To: References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: Mike. Why a failure? i see you. Craig > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode wrote: > > and it's a great, big, gigantic failburger > end of line. > > On Tue, Apr 4, 2023 at 11:33 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> This is a test of the use list. >> >> 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 >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From phil at liverpool.ac.uk Thu Apr 6 09:08:32 2023 From: phil at liverpool.ac.uk (Jimmieson, Phil) Date: Thu, 6 Apr 2023 13:08:32 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <75FE2FA5-FF34-4263-83DE-3C0CB68AE4E6@exformedia.se> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> <75FE2FA5-FF34-4263-83DE-3C0CB68AE4E6@exformedia.se> Message-ID: In 2017 I reported a bug related to opening a series of stack files all with the same name. The problem was that I could not get the old stacks to go away and eventually I would end up in the “duplicate stack name” dialog infinite loop. https://quality.livecode.com/show_bug.cgi?id=19075 Panos suggested putting a lock messages / unlock messages set of statements around the code that opened and accessed each stack and that did seem to fix the problem I was having (though not the bug in LiveCode). Maybe you could do something similar here? Another thing I considered was to rename each old stack with a unique suffix so that the names would no longer clash, even if the stack ended up staying in memory for longer than necessary… > On 6 Apr 2023, at 13:45, Håkan Liljegren via use-livecode wrote: > > Thanks for the tip! But unfortunately already tried that! I only try to work with one stack at a time. > > If I set a breakpoint and step over the line > delete stack “teststack" > > And then try to open a new stack with the same name there is no dialog box > If I run the same code (without any breakpoints). I can wait forever (well kind of) and the stack will still be among the mainStacks. If I run your suggest code with a counter addition: > > repeat while "teststack" is among the lines of the mainStacks > delete stack "teststack" > add 1 to tCount > end repeat > put tCount > > I get an output of 1 but again if I bring up the message box after the code Is executed and do a “put the mainStacks” the stack is back again! If I run a loop over all my 25 stacks (or so) with the same name using the code above it loops through several stacks in quick succession but then I got the dialog again, and again, and again, and again… until I force quitted LiveCode. > > Created there stacks teststack1, 2 and 3 in the same folder all with the same name “teststack”. If I then run the following code from another stack in the same folder: > > set the itemDelimiter to slash > put item 1 to -2 of the filename of this stack into tPath > repeat with i = 1 to 3 > open stack tPath & "/teststack" & i & ".livecode" > repeat while “teststack" is among the lines of the mainStacks > delete stack "teststack" > end repeat > end repeat > > Then I get a dialog asking what I want to do with teststack1 before I load teststack2 and teststack2 is still open after the code has run! If I create 6 stacks and run the same code (but from 1 to 6 of course) I get into the unstoppable dialog loop and needs to quit LiveCode! > > I’ve update the bug report https://quality.livecode.com/show_bug.cgi?id=24163 with new example ( https://quality.livecode.com/attachment.cgi?id=11421 ) that causes my LiveCode to get into the endless dialog loop. So, don’t run this if you have unsaved work in another stack! > > If it works for you Jacqueline, what platform are you using? Maybe this is a Mac only problem? I’m running MacOS Ventura 13.1 on a MacBook Pro (M1 Max). > > :-Håkan > >> On 5 Apr 2023, at 21:27, J. Landman Gay via use-livecode wrote: >> >> I just created four same-named stacks and ran my suggested handler wrapped with timer commands. All four were deleted in 67 milliseconds. LC 10.0.0 DP 4. >> >> put the milliseconds into tStart >> repeat while "test" is in the mainstacks >> delete stack "test" >> end repeat >> answer the milliseconds - tStart >> >> Ralph's idea to use filter is good too but slightly slower, at (a fairly insignificant) 79 milliseconds: >> >> put the milliseconds into tStart >> filter the mainstacks with "test*" into tStacks >> repeat for each line l in tStacks >> delete stack l >> end repeat >> answer the milliseconds - tStart >> >> On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >>> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >>> Bob S >>> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: >>> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >>> 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 >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Jimmieson (He/Him) University of Liverpool, Computer Science Department Ashton Bldg, Ashton Street, Liverpool. L69 3BX 0151 795 4236 From jacque at hyperactivesw.com Thu Apr 6 13:13:11 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 12:13:11 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <5dd3f9b2-d20d-2851-3227-5cc51d6daf83@tweedly.net> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> <5dd3f9b2-d20d-2851-3227-5cc51d6daf83@tweedly.net> Message-ID: <187578ed458.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You're right, though I assumed the stack names would be sufficiently unique. But your way is safer. Regardless of the method, I have no idea why it isn't working for Hkan. It should. Hkan, did you check your LC preferences in Files and Memory? Try the various options. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 7:00:29 AM Alex Tweedly via use-livecode wrote: > Jacque, > > those two code snippets do slightly different things - and I don't think > either of them is doing exactly what's intended; I think the intent is > to delete stack(s) called (exactly) "test". > > The first one will (wrongly) catch a stack called "testabc" or "abctest" > - and then will fail on deleting 'test'. > > The second one also catches "testabc" - but in this case deletes it > unintentionally. > > Alternatively, we could go straight to the point >> >> put the milliseconds into tStart >> repeat forever >> try >> delete stack "test" >> catch tmp >> exit repeat >> end >> end repeat >> answer the milliseconds - tStart > again, the timings are overlapping - the variation between different > runs far outweighs the difference between the methods. I think that > could be different if there many other mainstacks in play, but I don't > see that it would be significant in any realistic case. > > So pick the one that seems most easily read and understood :-) > > Alex. > > On 05/04/2023 20:27, J. Landman Gay via use-livecode wrote: >> I just created four same-named stacks and ran my suggested handler >> wrapped with timer commands. All four were deleted in 67 milliseconds. >> LC 10.0.0 DP 4. >> >> put the milliseconds into tStart >> repeat while "test" is in the mainstacks >> delete stack "test" >> end repeat >> answer the milliseconds - tStart >> >> Ralph's idea to use filter is good too but slightly slower, at (a >> fairly insignificant) 79 milliseconds: >> >> put the milliseconds into tStart >> filter the mainstacks with "test*" into tStacks >> repeat for each line l in tStacks >> delete stack l >> end repeat >> answer the milliseconds - tStart >> >> On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >>> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >>> >>> Bob S >>> >>> >>> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode >>> wrote: >>> >>> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >>> >>> 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 roland.huettmann at gmail.com Thu Apr 6 14:15:37 2023 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 6 Apr 2023 20:15:37 +0200 Subject: How to loop through stacks with same name? Message-ID: I had all the same problems running through hundreds of stacks with the aim to take snapshots of each to easily identify a stack visually. The dialog for stacks with name conflicts always popped up. None of the methods worked for me. But I will try again. I have a lot of stacks with different versions, same name, and I do not want to change the stack name since a stack is mostly not isolated and needs a fixed name to communicate with other stacks. My changes of version numbers are visible in the label name only. One solution would be if it were possible to address a stack by id. But that does not work even though a stack has an id. And if it were possible, how to ensure that each id is unique? The name conflict could probably only be solved by the Livecode team? It is annoying frequently. But there a side effects to any solution to think about first. But I will try whatever may work. Roland From bobsneidar at iotecdigital.com Thu Apr 6 14:55:29 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Apr 2023 18:55:29 +0000 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> I just tried to close a stack using it's full path and it did sort of, BUT... it only closes the window. The Window menu in LC still shows the stack! The destroyStack and destroyWindow properties are both true. Is that the expected behavior??? There are of course other stacks in use, library stacks and behaviors. That may be the issue. Still, closing a stack should CLOSE the stack! In response to someone else's post, the ID of a stack is not really it's ID, it's the ID that gets assigned to the next object created in that stack, and then it gets incremented. There was talk some while back about assigning a REAL ID to a stack so we could deal with just this very issue. Bob S > On Apr 6, 2023, at 11:15, R.H. via use-livecode wrote: > > I had all the same problems running through hundreds of stacks with the aim > to take snapshots of each to easily identify a stack visually. The dialog > for stacks with name conflicts always popped up. None of the methods worked > for me. But I will try again. > > I have a lot of stacks with different versions, same name, and I do not > want to change the stack name since a stack is mostly not isolated and > needs a fixed name to communicate with other stacks. My changes of version > numbers are visible in the label name only. > > One solution would be if it were possible to address a stack by id. But > that does not work even though a stack has an id. And if it were possible, > how to ensure that each id is unique? > > The name conflict could probably only be solved by the Livecode team? It is > annoying frequently. But there a side effects to any solution to think > about first. > > But I will try whatever may work. > > Roland From bobsneidar at iotecdigital.com Thu Apr 6 14:59:48 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Apr 2023 18:59:48 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> References: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> Message-ID: <1F64F12E-4A32-4BD2-84C9-06D9B0671741@iotecdigital.com> This begs another question, how high can the id of a stack go? Presently mine is over 33 million! (I use a lot of datagrids). Bob S > On Apr 6, 2023, at 11:55, Bob Sneidar via use-livecode wrote: > > I just tried to close a stack using it's full path and it did sort of, BUT... it only closes the window. The Window menu in LC still shows the stack! The destroyStack and destroyWindow properties are both true. Is that the expected behavior??? > > There are of course other stacks in use, library stacks and behaviors. That may be the issue. Still, closing a stack should CLOSE the stack! > > In response to someone else's post, the ID of a stack is not really it's ID, it's the ID that gets assigned to the next object created in that stack, and then it gets incremented. There was talk some while back about assigning a REAL ID to a stack so we could deal with just this very issue. > > Bob S > >> On Apr 6, 2023, at 11:15, R.H. via use-livecode wrote: >> >> I had all the same problems running through hundreds of stacks with the aim >> to take snapshots of each to easily identify a stack visually. The dialog >> for stacks with name conflicts always popped up. None of the methods worked >> for me. But I will try again. >> >> I have a lot of stacks with different versions, same name, and I do not >> want to change the stack name since a stack is mostly not isolated and >> needs a fixed name to communicate with other stacks. My changes of version >> numbers are visible in the label name only. >> >> One solution would be if it were possible to address a stack by id. But >> that does not work even though a stack has an id. And if it were possible, >> how to ensure that each id is unique? >> >> The name conflict could probably only be solved by the Livecode team? It is >> annoying frequently. But there a side effects to any solution to think >> about first. >> >> But I will try whatever may work. >> >> Roland > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 6 15:28:01 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 14:28:01 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> References: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> Message-ID: <187580a45e8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Closing a stack is different from deleting a stack. Deleting gets rid of it completely as you'd expect. Closing a stack removes it from view, removes it from the message path, and does everything a deleted stack does *except* it is kept in memory. The window structure and stack content are retained, the stacks are listed in the mainstacks (but not the openStacks) and appear in the IDE Window menu. Back in the day, this was to allow stacks to re-open quickly. With today's computers that's not really necessary any more, though it is useful if you have scripts that refer to other stacks often but you don't want them visible or in the message path. I have a multi-stack project that jumps from one stack to another. Their destroyStack property is false so when I close the stacks they are not deleted, which keeps them available and avoids excessive disk access. To completely remove a stack, use "delete" (note that the File menu offers "close and remove from memory -- two different actions.) At least, theoretically. I've never had trouble with deletion but apparently there's a bug in there somewhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 1:57:40 PM Bob Sneidar via use-livecode wrote: > Still, closing a stack should CLOSE the stack! From jacque at hyperactivesw.com Thu Apr 6 15:31:12 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 14:31:12 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> References: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> Message-ID: <187580d3000.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Sorry, I missed the first part of your post. If destroyStack/Window is true then yes, I'd expect it to be completely removed when closed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 1:57:40 PM Bob Sneidar via use-livecode wrote: > I just tried to close a stack using it's full path and it did sort of, > BUT... it only closes the window. The Window menu in LC still shows the > stack! The destroyStack and destroyWindow properties are both true. Is that > the expected behavior??? From jacque at hyperactivesw.com Thu Apr 6 15:35:21 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 14:35:21 -0500 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The best solution would be for LC to use file paths instead of stack names to identify stacks. But the current implementation is so embedded in the IDE that changing it would probably break everything. This has been discussed quite a bit in the past but there's no easy solution. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 1:17:59 PM "R.H. via use-livecode" wrote: > > The name conflict could probably only be solved by the Livecode team? It is > annoying frequently. But there a side effects to any solution to think > about first. From bobsneidar at iotecdigital.com Thu Apr 6 16:06:23 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Apr 2023 20:06:23 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> You can supply the full path of a stack to the close stack command, but not to the delete stack command. That may be worth a look by the devs. Bob S > On Apr 6, 2023, at 12:35, J. Landman Gay via use-livecode wrote: > > The best solution would be for LC to use file paths instead of stack names to identify stacks. But the current implementation is so embedded in the IDE that changing it would probably break everything. This has been discussed quite a bit in the past but there's no easy solution. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 6, 2023 1:17:59 PM "R.H. via use-livecode" wrote: >> >> The name conflict could probably only be solved by the Livecode team? It is >> annoying frequently. But there a side effects to any solution to think >> about first. From hechris at ziggo.nl Thu Apr 6 19:53:59 2023 From: hechris at ziggo.nl (Chris Heidecker) Date: Fri, 7 Apr 2023 01:53:59 +0200 Subject: Ventura 1.3 - revcopyfile In-Reply-To: References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Message-ID: <38858DE0-432D-407D-8926-8A53BB35EAD5@ziggo.nl> Hi, I had some trouble using revCopyFolder, maybe it is related. Looking for a method to move/duplicate folders on MacOS I tried using revCopyFolder. The internal LC appleScript seems to use 'copy folder' in LC9.6.8 On MacOS 12.6.3 that does not work for me. 'duplicate folder' does. Not sure since when or what version this changed. Maybe it's the same for revCopyFile Applescript from LiveCode works pretty well for me, most of the time. Moving and duplicating folders in the Finder by applescript from LC is slow. Adding 'ignoring application responses' get's the beachball away, but also all the results and errors. Maybe somebody has a different workaround? My script for 'do ... as applescript' looks something like this: set sourcePath to "/Users/.../...." set destinationPath to "/Users/.../...." tell application "Finder" ignoring application responses set theSource to sourcePath as POSIX file set theDestination to destinationPath as POSIX file duplicate folder theSource to folder theDestination end ignoring end tell The script works like expected, but getting the results and errors would be helpfull. regards, Chris Hiedecker > Op 6 apr. 2023, om 13:28 heeft Paul Dupuis via use-livecode het volgende geschreven: > > You may also be able to address this by giving any Standalone if this app is it's own Standalone) or the Livecode version you are using the "Full Disk Access" permission, from System Settings > > > > On 4/6/2023 1:03 AM, Jean-Jacques Wagner via use-livecode wrote: >> Hi, >> Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. >> I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable >> using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. >> >> Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. >> >> I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, >> so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one >> old stack, which I don not use for year is copied. >> >> So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my >> documents which I will have to deliver within the next 5 days. But at first I couldn’t at a time open document, then I was able to >> pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with >> AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. >> >> This is an alert, I will be able to go deeper finding the trouble by end of next week. >> >> Have a nice Easter ! >> >> Jean-Jacques Wagner >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 6 20:11:29 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Apr 2023 00:11:29 +0000 Subject: Ventura 1.3 - revcopyfile In-Reply-To: <38858DE0-432D-407D-8926-8A53BB35EAD5@ziggo.nl> References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> <38858DE0-432D-407D-8926-8A53BB35EAD5@ziggo.nl> Message-ID: <69BEF281-7769-433A-838B-C5C1BFD9B21C@iotecdigital.com> I just use createFolder. I discovered however that the folder you are creating the new folder in has to exist already. In other words, if the root folder is hdd/users/bob/documents I cannot simply create a folder hdd/users/bob/documents/filetransfer/data/forms. I have to create file transfer, then create data, then create forms. I typically do this by setting the itemDelimiter to "/" then looping through the items and checking to see if the folder exists next repeating if it does, appending the current item to the path, creating the folder, then rinse and repeat. Bob S > On Apr 6, 2023, at 16:53, Chris Heidecker via use-livecode wrote: > > Hi, > > I had some trouble using revCopyFolder, maybe it is related. > > Looking for a method to move/duplicate folders on MacOS I tried using revCopyFolder. > > The internal LC appleScript seems to use 'copy folder' in LC9.6.8 > On MacOS 12.6.3 that does not work for me. > 'duplicate folder' does. > Not sure since when or what version this changed. > Maybe it's the same for revCopyFile > > Applescript from LiveCode works pretty well for me, most of the time. > Moving and duplicating folders in the Finder by applescript from LC is slow. > > Adding 'ignoring application responses' get's the beachball away, but also all the results and errors. > Maybe somebody has a different workaround? > > My script for 'do ... as applescript' looks something like this: > > set sourcePath to "/Users/.../...." > set destinationPath to "/Users/.../...." > tell application "Finder" > ignoring application responses > set theSource to sourcePath as POSIX file > set theDestination to destinationPath as POSIX file > duplicate folder theSource to folder theDestination > end ignoring > end tell > > The script works like expected, but getting the results and errors would be helpfull. > > regards, > Chris Hiedecker > >> Op 6 apr. 2023, om 13:28 heeft Paul Dupuis via use-livecode het volgende geschreven: >> >> You may also be able to address this by giving any Standalone if this app is it's own Standalone) or the Livecode version you are using the "Full Disk Access" permission, from System Settings >> >> >> >> On 4/6/2023 1:03 AM, Jean-Jacques Wagner via use-livecode wrote: >>> Hi, >>> Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. >>> I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable >>> using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. >>> >>> Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. >>> >>> I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, >>> so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one >>> old stack, which I don not use for year is copied. >>> >>> So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my >>> documents which I will have to deliver within the next 5 days. But at first I couldn’t at a time open document, then I was able to >>> pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with >>> AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. >>> >>> This is an alert, I will be able to go deeper finding the trouble by end of next week. >>> >>> Have a nice Easter ! >>> >>> Jean-Jacques Wagner >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Apr 7 08:04:19 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 7 Apr 2023 14:04:19 +0200 Subject: Android native scroller Message-ID: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Hi friends, I have a working scroller for a long field on Android. The user can "jump" to a certain position in the text with: ---------------------------- on mouseup set the vScroll of group "scrollgroup" to 1670 end mouseup ---------------------------- So far, so good. But when the user starts scrolling from there, the scoller (vScroll) jumps back to 0 and the scrolling start from there again. What do I need to add to prevent this? Know what I mean? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Apr 7 08:19:10 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 7 Apr 2023 15:19:10 +0300 Subject: Android native scroller In-Reply-To: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Message-ID: Hello Klaus, I _think_ you also have to do: mobileControlSet "myScroller", "vScroll", 1670 Kind regards, Panos -- On Fri, 7 Apr 2023 at 15:05, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi friends, > > I have a working scroller for a long field on Android. > The user can "jump" to a certain position in the text with: > ---------------------------- > on mouseup > set the vScroll of group "scrollgroup" to 1670 > end mouseup > ---------------------------- > So far, so good. > > But when the user starts scrolling from there, the scoller (vScroll) > jumps back to 0 and the scrolling start from there again. > > What do I need to add to prevent this? > Know what I mean? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brian at milby7.com Fri Apr 7 08:22:02 2023 From: brian at milby7.com (Brian Milby) Date: Fri, 7 Apr 2023 08:22:02 -0400 Subject: Android native scroller In-Reply-To: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Message-ID: <24858AC3-A770-4A99-9EE0-C165B45216FA@milby7.com> I can’t look at code right now but essentially you need to match the native scroller with the field scroll position as a separate step. Brian Milby brian at milby7.com > On Apr 7, 2023, at 8:05 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > I have a working scroller for a long field on Android. > The user can "jump" to a certain position in the text with: > ---------------------------- > on mouseup > set the vScroll of group "scrollgroup" to 1670 > end mouseup > ---------------------------- > So far, so good. > > But when the user starts scrolling from there, the scoller (vScroll) > jumps back to 0 and the scrolling start from there again. > > What do I need to add to prevent this? > Know what I mean? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Apr 7 08:24:19 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 7 Apr 2023 14:24:19 +0200 Subject: Android native scroller In-Reply-To: References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Message-ID: <118EF8FE-9661-4A42-B978-8F71EE955E7D@major-k.de> Hi Panos, > Am 07.04.2023 um 14:19 schrieb panagiotis m via use-livecode : > > Hello Klaus, > > I _think_ you also have to do: > mobileControlSet "myScroller", "vScroll", 1670 YES, you thought right, that was it. :-) Thanks a BUNCH! > Kind regards, > Panos Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Fri Apr 7 08:25:17 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 7 Apr 2023 14:25:17 +0200 Subject: Android native scroller In-Reply-To: <24858AC3-A770-4A99-9EE0-C165B45216FA@milby7.com> References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> <24858AC3-A770-4A99-9EE0-C165B45216FA@milby7.com> Message-ID: Hi Brian, > Am 07.04.2023 um 14:22 schrieb Brian Milby via use-livecode : > > I can’t look at code right now but essentially you need to match the native scroller with the field scroll position as a separate step. yep, that's it, but Panos was a tad faster! ;-) Thank you! > Brian Milby > brian at milby7.com > >> On Apr 7, 2023, at 8:05 AM, Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> I have a working scroller for a long field on Android. >> The user can "jump" to a certain position in the text with: >> ---------------------------- >> on mouseup >> set the vScroll of group "scrollgroup" to 1670 >> end mouseup >> ---------------------------- >> So far, so good. >> >> But when the user starts scrolling from there, the scoller (vScroll) >> jumps back to 0 and the scrolling start from there again. >> >> What do I need to add to prevent this? >> Know what I mean? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Fri Apr 7 15:46:35 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 7 Apr 2023 14:46:35 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> References: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> Message-ID: <54e18644-c235-361a-bd1c-9300a9ee56c2@hyperactivesw.com> On 4/6/23 3:06 PM, Bob Sneidar via use-livecode wrote: > You can supply the full path of a stack to the close stack command, but not to the delete stack command. That may be worth a look by the devs. I was able to delete a stack using the full filepath: delete stack "/Users//Desktop/deleteTest.livecode" It no longer appeared in the mainstacks. LC 10.0 DP 4 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Apr 7 16:34:19 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Apr 2023 20:34:19 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <54e18644-c235-361a-bd1c-9300a9ee56c2@hyperactivesw.com> References: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> <54e18644-c235-361a-bd1c-9300a9ee56c2@hyperactivesw.com> Message-ID: Whaa? I’m on 9.6.9 I’ll have another peek. Probably typed something wrong in the message box. Sent from my iPhone > On Apr 7, 2023, at 12:47, J. Landman Gay via use-livecode wrote: > > On 4/6/23 3:06 PM, Bob Sneidar via use-livecode wrote: >> You can supply the full path of a stack to the close stack command, but not to the delete stack command. That may be worth a look by the devs. > > I was able to delete a stack using the full filepath: > delete stack "/Users//Desktop/deleteTest.livecode" > > It no longer appeared in the mainstacks. > > LC 10.0 DP 4 > -- > 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 bob at bobhall.net Sat Apr 8 09:58:55 2023 From: bob at bobhall.net (bob at bobhall.net) Date: Sat, 8 Apr 2023 09:58:55 -0400 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 Message-ID: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> I'm wondering if anyone might be able to help me out. I’m trying to use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am able to open the app in the IDE with no issue. When I try to open the app with LC 9.6.9rc3 I get “An error occurred while initializing the application [unable to load external Preferences]”. I’m tracing through the Levure script now and can see in fact the Preference stack is not being loaded. I’ve confirmed Preferences.bundle is at the location referenced in the script. Can anyone steer me in a direction for a fix to this? Thanks in advance, Bob From martyknappster at gmail.com Sat Apr 8 11:50:27 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Sat, 8 Apr 2023 08:50:27 -0700 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> Message-ID: <06B9C118-575A-4C56-9CC4-886B7E2CADE0@gmail.com> I use Levure to build apps too and discovered this issue when my standalones try to run natively on the Apple “M” chips. I’m guessing that LC 9.6.9rc3 (haven’t tried it yet) defaults to running natively rather than under Rosetta. For some reason when running natively it apparently thinks that something in the “Preferences.bundle" is a (not native) external so won’t/can’t load it. So I am also needing a solution to this but no luck so far. --- Marty Knapp > On Apr 8, 2023, at 6:58 AM, bob--- via use-livecode wrote: > > I'm wondering if anyone might be able to help me out. I’m trying to use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am able to open the app in the IDE with no issue. > > When I try to open the app with LC 9.6.9rc3 I get “An error occurred while initializing the application [unable to load external Preferences]”. I’m tracing through the Levure script now and can see in fact the Preference stack is not being loaded. I’ve confirmed Preferences.bundle is at the location referenced in the script. > > Can anyone steer me in a direction for a fix to this? > > Thanks in advance, > Bob From MikeKerner at roadrunner.com Sun Apr 9 08:54:54 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 9 Apr 2023 08:54:54 -0400 Subject: test In-Reply-To: References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: poor joke. it's like when you're gaming, and someone gets on their headset and asks if anyone can hear them, and everyone replies "No." On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike. > > Why a failure? i see you. > > Craig > > > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > and it's a great, big, gigantic failburger > > end of line. > > > > On Tue, Apr 4, 2023 at 11:33 AM Bob Sneidar via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> This is a test of the use list. > >> > >> 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 > >> > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tom at makeshyft.com Sun Apr 9 20:40:32 2023 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Apr 2023 20:40:32 -0400 Subject: Sockets (again) In-Reply-To: <8a74522f-2963-9d41-e53d-dd37971fe570@sonic.net> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> <8a74522f-2963-9d41-e53d-dd37971fe570@sonic.net> Message-ID: Thanks guys, this was a very insightful thread. On Wed, Apr 5, 2023 at 1:31 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/5/23 08:13, Bob Sneidar via use-livecode wrote: > > Thanks Phil. Yes I learned the hard way with my SQL Agent to > base64encode anything over sockets. And yes I do append a numtochar(13) > coming and going and strip it off before decoding and read until > numToChar(13). I don't use cr because I am uncertain how each OS platform > treats it. The Server Agent could be running on anything in the future. > > If you're already base64encoding the text you might consider a different > end character than numtochar(13). For instance, numtochar(3) is already > defined as "End of Text". That should eliminate or at least reduce any > cross-platform issues you might run into. > > https://www.ascii-code.com/ > > -- > 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 jbv at souslelogo.com Mon Apr 10 04:07:57 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 10 Apr 2023 04:07:57 -0400 Subject: revXML and UTF8 Message-ID: Hi list, I have an xml file with lots of non-western characters (greek, arabic, japanese...). I need to convert these data into sql requests to insert into a DB. For each node, I need to pick only some attributes, so I wrote a script that : - opens the file as utf8 - processes each node - writes a file as utf8 with the processed data. My problem is that all non-western characters appear as ???? in the final file. Should I use unidecode for each revXMLNodeContents ? What am I missing ? Thank you in advance. jbv From mark at livecode.com Mon Apr 10 06:23:31 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 10 Apr 2023 11:23:31 +0100 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> Message-ID: On 2023-04-08 14:58, bob--- via use-livecode wrote: > I'm wondering if anyone might be able to help me out. Im trying to > use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am > able to open the app in the IDE with no issue. > > When I try to open the app with LC 9.6.9rc3 I get An error occurred > while initializing the application [unable to load external > Preferences]. Im tracing through the Levure script now and can see > in fact the Preference stack is not being loaded. Ive confirmed > Preferences.bundle is at the location referenced in the script. > > Can anyone steer me in a direction for a fix to this? So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. The preferences external will need to be rebuilt with an arm64 slice and included in Levure. (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From paul at researchware.com Mon Apr 10 07:28:39 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Apr 2023 07:28:39 -0400 Subject: revXML and UTF8 In-Reply-To: References: Message-ID: Look up textEncode and textDecode in the dictionary. Text from or to a file needs to be decoded or encoded since LC 7. On 4/10/2023 4:07 AM, jbv via use-livecode wrote: > Hi list, > > I have an xml file with lots of non-western characters > (greek, arabic, japanese...). I need to convert these > data into sql requests to insert into a DB. > For each node, I need to pick only some attributes, so > I wrote a script that : > - opens the file as utf8 > - processes each node > - writes a file as utf8 with the processed data. > > My problem is that all non-western characters appear as > ???? in the final file. > Should I use unidecode for each revXMLNodeContents ? > What am I missing ? > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Apr 10 10:09:18 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 10 Apr 2023 17:09:18 +0300 Subject: [[ ANN ]] Release 9.6.9 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.9 STABLE. LiveCode 9.6.9 STABLE comes with more than 75 bugfixes and improvements, compared to the previous stable (9.6.8) release, including: - Support for Android API 31, which is now a requirement for submitting new apps to the Google Play Store. - Update to the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode built apps including "SSL & Encryption" to be submitted successfully to the Google Play Store. - Support for building with Xcode 14.2 and the iOS 16.2 SDK to meet the new (as of April 2023) requirements of the Apple AppStore. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-9-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From bobsneidar at iotecdigital.com Mon Apr 10 11:41:14 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Apr 2023 15:41:14 +0000 Subject: test In-Reply-To: References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> You must be in my guild! Bob S On Apr 9, 2023, at 05:54, Mike Kerner via use-livecode wrote: poor joke. it's like when you're gaming, and someone gets on their headset and asks if anyone can hear them, and everyone replies "No." On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < use-livecode at lists.runrev.com> wrote: Mike. Why a failure? i see you. Craig On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: and it's a great, big, gigantic failburger end of line. From mkoob at rogers.com Mon Apr 10 12:24:24 2023 From: mkoob at rogers.com (Martin Koob) Date: Mon, 10 Apr 2023 12:24:24 -0400 Subject: test In-Reply-To: <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> Message-ID: <4B7D445A-536E-4A6A-9EDC-12E6B8CDB2AF@rogers.com> A better joke would be for everyone to say nothing. … and let the fun ensue... Martin > On Apr 10, 2023, at 11:41 AM, Bob Sneidar via use-livecode wrote: > > You must be in my guild! > > Bob S > > > On Apr 9, 2023, at 05:54, Mike Kerner via use-livecode wrote: > > poor joke. it's like when you're gaming, and someone gets on their headset > and asks if anyone can hear them, and everyone replies "No." > > On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Mike. > > Why a failure? i see you. > > Craig > > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > and it's a great, big, gigantic failburger > end of line. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Mon Apr 10 13:06:44 2023 From: jiml at netrin.com (Jim Lambert) Date: Mon, 10 Apr 2023 10:06:44 -0700 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: Panos et al., Thanks for the 9.6.9 release. The team's great work is appreciated. Jim Lambert From MikeKerner at roadrunner.com Mon Apr 10 13:45:32 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Apr 2023 13:45:32 -0400 Subject: test In-Reply-To: <4B7D445A-536E-4A6A-9EDC-12E6B8CDB2AF@rogers.com> References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> <4B7D445A-536E-4A6A-9EDC-12E6B8CDB2AF@rogers.com> Message-ID: it was two days. i couldn't just let it go, any longer. On Mon, Apr 10, 2023 at 12:25 PM Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > A better joke would be for everyone to say nothing. > > … and let the fun ensue... > > Martin > > > > On Apr 10, 2023, at 11:41 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > You must be in my guild! > > > > Bob S > > > > > > On Apr 9, 2023, at 05:54, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > poor joke. it's like when you're gaming, and someone gets on their > headset > > and asks if anyone can hear them, and everyone replies "No." > > > > On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < > > use-livecode at lists.runrev.com> > wrote: > > > > Mike. > > > > Why a failure? i see you. > > > > Craig > > > > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> > wrote: > > > > and it's a great, big, gigantic failburger > > end of line. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Apr 10 13:45:59 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Apr 2023 13:45:59 -0400 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: so does that mean i can upgrade macos to 13? On Mon, Apr 10, 2023 at 1:08 PM Jim Lambert via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos et al., > > Thanks for the 9.6.9 release. The team's great work is appreciated. > > Jim Lambert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dan at clearvisiontech.com Mon Apr 10 13:46:48 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 17:46:48 +0000 Subject: Android SDK Tools Missing In-Reply-To: References: Message-ID: I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. Any ideas? -Dan From matthias_livecode_150811 at m-r-d.de Mon Apr 10 14:28:41 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 10 Apr 2023 20:28:41 +0200 Subject: Android SDK Tools Missing In-Reply-To: References: Message-ID: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Hello Dan, i am not sure what exactly your problem is. Do you just not see the any SDK Tools listed on the tab or do you just not see the version that you want to install? If the latter then "enable" the option "show package details". This will show all available SDK tools. Regards Matthias > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode : > > I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. > > Any ideas? > > -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 dan at clearvisiontech.com Mon Apr 10 14:37:35 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 18:37:35 +0000 Subject: Android SDK Tools Missing In-Reply-To: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Matthias, Thank you for the reply. The “SDK Tools” is just not listed. Everything else is. I see “Android Emulator” and “Android SDK Platform-Tools”, but not “Android SDK Tools”. “Show Package Details” is checked. -Dan From: use-livecode on behalf of matthias rebbe via use-livecode Date: Monday, April 10, 2023 at 11:30 AM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: Android SDK Tools Missing Hello Dan, i am not sure what exactly your problem is. Do you just not see the any SDK Tools listed on the tab or do you just not see the version that you want to install? If the latter then "enable" the option "show package details". This will show all available SDK tools. Regards Matthias > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode : > > I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. > > Any ideas? > > -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 jbv at souslelogo.com Mon Apr 10 14:46:44 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 10 Apr 2023 14:46:44 -0400 Subject: revXML and UTF8 In-Reply-To: References: Message-ID: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> Nope, when I process the data without using the xml library, all characters display fine. The problem is really with revXML. There must be a trick for using revXML with UTF8 file format. Le 2023-04-10 07:28, Paul Dupuis via use-livecode a crit : > Look up textEncode and textDecode in the dictionary. Text from or to a > file needs to be decoded or encoded since LC 7. > > > On 4/10/2023 4:07 AM, jbv via use-livecode wrote: >> Hi list, >> >> I have an xml file with lots of non-western characters >> (greek, arabic, japanese...). I need to convert these >> data into sql requests to insert into a DB. >> For each node, I need to pick only some attributes, so >> I wrote a script that : >> - opens the file as utf8 >> - processes each node >> - writes a file as utf8 with the processed data. >> >> My problem is that all non-western characters appear as >> ???? in the final file. >> Should I use unidecode for each revXMLNodeContents ? >> What am I missing ? >> >> Thank you in advance. >> jbv >> From dan at clearvisiontech.com Mon Apr 10 14:54:35 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 18:54:35 +0000 Subject: Android SDK Tools Missing In-Reply-To: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Interesting… When I uncheck “Hide Obsolete Packages”, the “Android SDK Tools” appears. Although, it says “Android SDK Tools (Obsolete)”. -Dan Hello Dan, i am not sure what exactly your problem is. Do you just not see the any SDK Tools listed on the tab or do you just not see the version that you want to install? If the latter then "enable" the option "show package details". This will show all available SDK tools. Regards Matthias > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode : > > I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. > > Any ideas? > > -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 merakosp at gmail.com Mon Apr 10 14:55:25 2023 From: merakosp at gmail.com (panagiotis m) Date: Mon, 10 Apr 2023 21:55:25 +0300 Subject: Android SDK Tools Missing In-Reply-To: References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Hello Dan, If you uncheck the option "Hide Obsolete Packages" then you will see the "Android SDK Tools" package. It is now marked a s obsolete, so I am not entirely sure if it is still necessary. Kind regards, Panos -- On Mon, 10 Apr 2023 at 21:38, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Matthias, > > Thank you for the reply. The “SDK Tools” is just not listed. Everything > else is. I see “Android Emulator” and “Android SDK Platform-Tools”, but > not “Android SDK Tools”. “Show Package Details” is checked. > > -Dan > > > From: use-livecode on behalf of > matthias rebbe via use-livecode > Date: Monday, April 10, 2023 at 11:30 AM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: Android SDK Tools Missing > Hello Dan, > > i am not sure what exactly your problem is. > > Do you just not see the any SDK Tools listed on the tab or do you just > not see the version that you want to install? > If the latter then "enable" the option "show package details". This will > show all available SDK tools. > > Regards > Matthias > > > > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > I am following the directions ( > https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) > to install Android Studio on my Apple M1 Max Mac. The instructions say to > select the “Android SDK Tools”. However, this option is not listed in the > “SDK Tools” tab of the Android Studio Preferences. Did I do something > wrong, or do I have to download this manually? If so, where do I get this? > > > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the > dreaded “The chosen folder is not a valid Android SDK. Please ensure you > have installed it correctly, and enabled support for Android 10.0.” message. > > > > Any ideas? > > > > -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 dan at clearvisiontech.com Mon Apr 10 15:00:13 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 19:00:13 +0000 Subject: Android SDK Tools Missing In-Reply-To: References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Panos, Yes, thank you! I discovered that. I did install it and now LC accepted the SDK root. Woo Hoo! The JDK path didn’t fill in so I’ll have to investigate that next. Thank you! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Monday, April 10, 2023 at 11:56 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Android SDK Tools Missing Hello Dan, If you uncheck the option "Hide Obsolete Packages" then you will see the "Android SDK Tools" package. It is now marked a s obsolete, so I am not entirely sure if it is still necessary. Kind regards, Panos -- On Mon, 10 Apr 2023 at 21:38, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Matthias, > > Thank you for the reply. The “SDK Tools” is just not listed. Everything > else is. I see “Android Emulator” and “Android SDK Platform-Tools”, but > not “Android SDK Tools”. “Show Package Details” is checked. > > -Dan > > > From: use-livecode on behalf of > matthias rebbe via use-livecode > Date: Monday, April 10, 2023 at 11:30 AM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: Android SDK Tools Missing > Hello Dan, > > i am not sure what exactly your problem is. > > Do you just not see the any SDK Tools listed on the tab or do you just > not see the version that you want to install? > If the latter then "enable" the option "show package details". This will > show all available SDK tools. > > Regards > Matthias > > > > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > I am following the directions ( > https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) > to install Android Studio on my Apple M1 Max Mac. The instructions say to > select the “Android SDK Tools”. However, this option is not listed in the > “SDK Tools” tab of the Android Studio Preferences. Did I do something > wrong, or do I have to download this manually? If so, where do I get this? > > > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the > dreaded “The chosen folder is not a valid Android SDK. Please ensure you > have installed it correctly, and enabled support for Android 10.0.” message. > > > > Any ideas? > > > > -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 > _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 10 15:24:22 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Apr 2023 15:24:22 -0400 Subject: revXML and UTF8 In-Reply-To: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> References: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> Message-ID: <7b259d9c-4fbb-d0da-9ed0-0ac72c4fb5b6@researchware.com> This known bug is reading a UTF8 XML file, and I gather you are writing (or trying to write) a UTF8 XML file, but it may be related: https://quality.livecode.com/show_bug.cgi?id=21320 On 4/10/2023 2:46 PM, jbv via use-livecode wrote: > Nope, when I process the data without using the xml library, all > characters display fine. The problem is really with revXML. > There must be a trick for using revXML with UTF8 file format. > > > Le 2023-04-10 07:28, Paul Dupuis via use-livecode a crit : >> Look up textEncode and textDecode in the dictionary. Text from or to a >> file needs to be decoded or encoded since LC 7. >> >> >> On 4/10/2023 4:07 AM, jbv via use-livecode wrote: >>> Hi list, >>> >>> I have an xml file with lots of non-western characters >>> (greek, arabic, japanese...). I need to convert these >>> data into sql requests to insert into a DB. >>> For each node, I need to pick only some attributes, so >>> I wrote a script that : >>> - opens the file as utf8 >>> - processes each node >>> - writes a file as utf8 with the processed data. >>> >>> My problem is that all non-western characters appear as >>> ???? in the final file. >>> Should I use unidecode for each revXMLNodeContents ? >>> What am I missing ? >>> >>> Thank you in advance. >>> jbv >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Apr 10 15:27:12 2023 From: merakosp at gmail.com (panagiotis m) Date: Mon, 10 Apr 2023 22:27:12 +0300 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: Hello Mike, MacOS 13.x was supported in previous LC versions too. If your goal is to build iOS apps, it is possible even with Xcode 13.2 on MacOS 13.x. Yes, Xcode 13.2 won't run on MacOS 13.x, but LC just needs Xcode 13.2 to "be there", since it does not run Xcode directly. it just uses some command line tools that are bundled within Xcode. Kind regards, Panos -- On Mon, 10 Apr 2023, 20:47 Mike Kerner via use-livecode, < use-livecode at lists.runrev.com> wrote: > so does that mean i can upgrade macos to 13? > > On Mon, Apr 10, 2023 at 1:08 PM Jim Lambert via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Panos et al., > > > > Thanks for the 9.6.9 release. The team's great work is appreciated. > > > > Jim Lambert > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Mon Apr 10 15:29:53 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Apr 2023 15:29:53 -0400 Subject: revXML and UTF8 In-Reply-To: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> References: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> Message-ID: <18db09a9-89d7-c5b4-95d8-b54a38000d50@researchware.com> And, as of LC9, there was a generic issue with revXML and Unicode. See https://quality.livecode.com/show_bug.cgi?id=18942 I have no idea if this was ever resolved. The bug has been "Hibernated" On 4/10/2023 2:46 PM, jbv via use-livecode wrote: > Nope, when I process the data without using the xml library, all > characters display fine. The problem is really with revXML. > There must be a trick for using revXML with UTF8 file format. > > > Le 2023-04-10 07:28, Paul Dupuis via use-livecode a crit : >> Look up textEncode and textDecode in the dictionary. Text from or to a >> file needs to be decoded or encoded since LC 7. >> >> >> On 4/10/2023 4:07 AM, jbv via use-livecode wrote: >>> Hi list, >>> >>> I have an xml file with lots of non-western characters >>> (greek, arabic, japanese...). I need to convert these >>> data into sql requests to insert into a DB. >>> For each node, I need to pick only some attributes, so >>> I wrote a script that : >>> - opens the file as utf8 >>> - processes each node >>> - writes a file as utf8 with the processed data. >>> >>> My problem is that all non-western characters appear as >>> ???? in the final file. >>> Should I use unidecode for each revXMLNodeContents ? >>> What am I missing ? >>> >>> Thank you in advance. >>> jbv >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Mon Apr 10 16:27:48 2023 From: brian at milby7.com (Brian Milby) Date: Mon, 10 Apr 2023 16:27:48 -0400 Subject: revXML and UTF8 In-Reply-To: References: Message-ID: <53C89BDE-7E61-4D67-B142-94ED8D5283C5@milby7.com> Are you sending encoded data to libXML and then decoding the data you pull out? In the first bug report in the thread, if you textDecode the output from libXML then it renders with the smart quote. I recall this topic coming up before but I don’t mess with XML and can’t recall more details on it (could have been in the forum too). Brian Milby brian at milby7.com > On Apr 10, 2023, at 4:09 AM, jbv via use-livecode wrote: > > Hi list, > > I have an xml file with lots of non-western characters > (greek, arabic, japanese...). I need to convert these > data into sql requests to insert into a DB. > For each node, I need to pick only some attributes, so > I wrote a script that : > - opens the file as utf8 > - processes each node > - writes a file as utf8 with the processed data. > > My problem is that all non-western characters appear as > ???? in the final file. > Should I use unidecode for each revXMLNodeContents ? > What am I missing ? > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Apr 10 17:02:37 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Apr 2023 17:02:37 -0400 Subject: remote debugger won't start Message-ID: something new, today: ios, 968 or 969 mature app that has been in production for a year remote debugger included do a build install both ios and mac are on the same net lc has accept permission through the firewall run app remote debugger never connects, like executing the breakpoint command causes nothing to happen. so, how do we debug the debugger not connecting? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mark at canelasoftware.com Mon Apr 10 17:10:20 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 10 Apr 2023 14:10:20 -0700 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: <19A942A3-07F0-415F-B562-B9C2E96BA5D6@canelasoftware.com> Thank you very much for this release. Rc 3 has been a solid/stable release for us. I very much appreciate the hard work keeping LC compliant with the various app stores. Have a great week! Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Apr 10, 2023, at 7:09 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.9 STABLE. > > LiveCode 9.6.9 STABLE comes with more than 75 bugfixes and improvements, > compared to the previous stable (9.6.8) release, including: > > - Support for Android API 31, which is now a requirement for submitting new > apps to the Google Play Store. > - Update to the version of OpenSSL used by the engine to 1.1.1q, allowing > LiveCode built apps including "SSL & Encryption" to be submitted > successfully to the Google Play Store. > - Support for building with Xcode 14.2 and the iOS 16.2 SDK to meet the new > (as of April 2023) requirements of the Apple AppStore. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-9-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hlowe at me.com Tue Apr 11 20:24:16 2023 From: hlowe at me.com (HENRY LOWE) Date: Tue, 11 Apr 2023 17:24:16 -0700 Subject: iOS Device orientation confusion! Message-ID: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> Hi, I am trying fix a new (I think) issue in a Livecode iOS app that had previously successfully handled UI updates based on changes in device orientation. I am using LC 9.6.9, Mac OS Ventura 13.3.1, iOS 16.4.1 and Xcode Simulator 14.2. The problem is that when the iPhone is in Landscape Left mode (according to the simulator and to Apple’s definition of that mode - see below), Livecode is returning Landscape Right. When the device is in Landscape Right mode, Livecode returns Landscape Left - via the MobileDeviceOrientation function. Apple’s Definition (developer.apple.com ) of these two modes: • LandscapeLeft: The device is in landscape mode, with the device held upright and the front-facing camera on the left side. • LandscapeRight: The device is in landscape mode, with the device held upright and the front-facing camera on the right side. Livecode’s Definition (Dictionary): • landscape left: the device is being held upward with the home button on the left • landscape right: the device is being held upward with the home button on the right It would appear that these two definitions at odds with each other. Am I missing something? Henry From klaus at major-k.de Wed Apr 12 08:17:05 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 14:17:05 +0200 Subject: Problem signing Android app Message-ID: Hi all, I created a new app and cannot sign it!? I did this: -> Generate an upload key and keystore and generated a *.jks file. Then I selected this key file in LC, and at the end of the signing process LC told me that the keystore file had the wrong format!? Then I renamed the key to *.keystore And LC told me again that this was the wrong format of the key file? What am I missing? Thank you for any hint! P.S. I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further updates of the app. However that failed so far, see above... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Wed Apr 12 12:01:09 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 12 Apr 2023 19:01:09 +0300 Subject: Problem signing Android app In-Reply-To: References: Message-ID: Hello Klaus, When you tried to upload a new build using your original keystore, was it actually the original one? Usually this error (i.e. that you did not use the correct key for signing) is thrown when a different key is used to sign an app update compared to the key used to sign the previous build(s) you have submitted. Kind regards, Panos On Wed, 12 Apr 2023 at 15:18, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > I created a new app and cannot sign it!? > > I did this: > > -> Generate an upload key and keystore > and generated a *.jks file. > > Then I selected this key file in LC, and at the end of the signing process > LC told me that the keystore file had the wrong format!? > > Then I renamed the key to *.keystore > And LC told me again that this was the wrong format of the key file? > > What am I missing? > Thank you for any hint! > > P.S. > I had published my earlier app successfully to the Google Play Store with > a selfsigned key in "Android Studio" as shown in: > < > https://lessons.livecode.com/m/4069/l/32674-how-do-i-create-a-self-signed-certificate-for-an-android-app > > > > When I later wanted to upload an update, Google told me that I did not use > the correct key for signing??? > So I read up everthing about this and came to create an UPLOAD key, so I > could use this later for any further > updates of the app. > > However that failed so far, see above... > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Wed Apr 12 12:12:03 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 18:12:03 +0200 Subject: Problem signing Android app In-Reply-To: References: Message-ID: <1F329F6F-52D1-4B45-B401-99F6306C61E6@major-k.de> Hi Panos, > Am 12.04.2023 um 18:01 schrieb panagiotis m via use-livecode : > > Hello Klaus, > > When you tried to upload a new build using your original keystore, was it > actually the original one? yes, of course! I created a self-signing key, signed the app and uploaded it to Google It was accepted, but the update, SAME key, was not, which puzzled me very much. I did not see e.g. any checkbox to let Google NOT sign my app, but maybe that was the default and Google overwrote my original key with their own and that does not of course match my initial key. That is why I tried to create an key for UPLOADING my app and all future updates for that namely app as Google wrote in their docs, see below for the link. > Usually this error (i.e. that you did not use > the correct key for signing) is thrown when a different key is used to sign > an app update compared to the key used to sign the previous build(s) you > have submitted. Really? ;-) > Kind regards, > Panos > > > On Wed, 12 Apr 2023 at 15:18, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> I created a new app and cannot sign it!? >> >> I did this: >> >> -> Generate an upload key and keystore >> and generated a *.jks file. >> >> Then I selected this key file in LC, and at the end of the signing process >> LC told me that the keystore file had the wrong format!? >> >> Then I renamed the key to *.keystore >> And LC told me again that this was the wrong format of the key file? >> >> What am I missing? >> Thank you for any hint! >> >> P.S. >> I had published my earlier app successfully to the Google Play Store with >> a selfsigned key in "Android Studio" as shown in: >> < >> https://lessons.livecode.com/m/4069/l/32674-how-do-i-create-a-self-signed-certificate-for-an-android-app >>> >> >> When I later wanted to upload an update, Google told me that I did not use >> the correct key for signing??? >> So I read up everthing about this and came to create an UPLOAD key, so I >> could use this later for any further >> updates of the app. >> >> However that failed so far, see above... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 12:12:48 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 11:12:48 -0500 Subject: Problem signing Android app In-Reply-To: References: Message-ID: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Did you agree to let Google manage your keys? If so you need to create an upload key, which I think is different from the original signing key. LC may not recognize that format. I've never let Google manage my keys so I'm not sure how that works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: > Hi all, > > I created a new app and cannot sign it!? > > I did this: > > -> Generate an upload key and keystore > and generated a *.jks file. > > Then I selected this key file in LC, and at the end of the signing process > LC told me that the keystore file had the wrong format!? > > Then I renamed the key to *.keystore > And LC told me again that this was the wrong format of the key file? > > What am I missing? > Thank you for any hint! > > P.S. > I had published my earlier app successfully to the Google Play Store with a > selfsigned key in "Android Studio" as shown in: > > > When I later wanted to upload an update, Google told me that I did not use > the correct key for signing??? > So I read up everthing about this and came to create an UPLOAD key, so I > could use this later for any further > updates of the app. > > However that failed so far, see above... > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Apr 12 12:18:08 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 18:18:08 +0200 Subject: Problem signing Android app In-Reply-To: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> Hi Jacque, > Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode : > Did you agree to let Google manage your keys? to be honest, I did not find that one (yet) on the Google Dev pages!? Any hints much appreciated! > If so you need to create an upload key, which I think is different from the original signing key. > LC may not recognize that format. Yes, that's what I experienced. See below, LC told me about a wrong format of the key file. > I've never let Google manage my keys so I'm not sure how that works. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: > >> Hi all, >> >> I created a new app and cannot sign it!? >> >> I did this: >> >> -> Generate an upload key and keystore >> and generated a *.jks file. >> >> Then I selected this key file in LC, and at the end of the signing process >> LC told me that the keystore file had the wrong format!? >> >> Then I renamed the key to *.keystore >> And LC told me again that this was the wrong format of the key file? >> >> What am I missing? >> Thank you for any hint! >> >> P.S. >> I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: >> >> >> When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? >> So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further >> updates of the app. >> >> However that failed so far, see above.. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 12:58:10 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 11:58:10 -0500 Subject: Problem signing Android app In-Reply-To: <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> Message-ID: <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think the option to allow Google to manage the keys only appears the first time you upload a new app. Maybe there's a way to retake control of the keys? Is there any info in the app page that tells you who has control of the keys? If you can verify that Google is managing the keys, and you can't regain control, then I think the only fix is for LC to update the SB to recognize an upload key. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode wrote: > Hi Jacque, > >> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode >> : >> Did you agree to let Google manage your keys? > > to be honest, I did not find that one (yet) on the Google Dev pages!? > Any hints much appreciated! > >> If so you need to create an upload key, which I think is different from the >> original signing key. >> LC may not recognize that format. > > Yes, that's what I experienced. > See below, LC told me about a wrong format of the key file. > >> I've never let Google manage my keys so I'm not sure how that works. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode >> wrote: >> >>> Hi all, >>> >>> I created a new app and cannot sign it!? >>> >>> I did this: >>> >>> -> Generate an upload key and keystore >>> and generated a *.jks file. >>> >>> Then I selected this key file in LC, and at the end of the signing process >>> LC told me that the keystore file had the wrong format!? >>> >>> Then I renamed the key to *.keystore >>> And LC told me again that this was the wrong format of the key file? >>> >>> What am I missing? >>> Thank you for any hint! >>> >>> P.S. >>> I had published my earlier app successfully to the Google Play Store with a >>> selfsigned key in "Android Studio" as shown in: >>> >>> >>> When I later wanted to upload an update, Google told me that I did not use >>> the correct key for signing??? >>> So I read up everthing about this and came to create an UPLOAD key, so I >>> could use this later for any further >>> updates of the app. >>> >>> However that failed so far, see above.. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Apr 12 13:06:31 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 19:06:31 +0200 Subject: Problem signing Android app In-Reply-To: <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> Hi Jacque, > Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode : > > I think the option to allow Google to manage the keys only appears the first time you upload a new app. OK, will take a deeper look once I upload the new app. > Maybe there's a way to retake control of the keys? Nope! Google explicitely states that they will NOT share any of their keys. Will try and look better next time. > Is there any info in the app page that tells you who has control of the keys? > > If you can verify that Google is managing the keys, and you can't regain control, then I think the only fix is for LC to update the SB to recognize an upload key. Ouch, that may take a couple of versions of LC until that will happen and I'm already 66. 8-) Will create a new report/enhancement request tomorrow. I will have to dive deeper into the "Google Play Console"... > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode wrote: > >> Hi Jacque, >> >>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode : >>> Did you agree to let Google manage your keys? >> >> to be honest, I did not find that one (yet) on the Google Dev pages!? >> Any hints much appreciated! >> >>> If so you need to create an upload key, which I think is different from the original signing key. >>> LC may not recognize that format. >> >> Yes, that's what I experienced. >> See below, LC told me about a wrong format of the key file. >> >>> I've never let Google manage my keys so I'm not sure how that works. >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: >>> >>>> Hi all, >>>> >>>> I created a new app and cannot sign it!? >>>> >>>> I did this: >>>> >>>> -> Generate an upload key and keystore >>>> and generated a *.jks file. >>>> >>>> Then I selected this key file in LC, and at the end of the signing process >>>> LC told me that the keystore file had the wrong format!? >>>> >>>> Then I renamed the key to *.keystore >>>> And LC told me again that this was the wrong format of the key file? >>>> >>>> What am I missing? >>>> Thank you for any hint! >>>> >>>> P.S. >>>> I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: >>>> >>>> >>>> When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? >>>> So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further >>>> updates of the app. >>>> >>>> However that failed so far, see above.. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Apr 12 13:27:38 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 19:27:38 +0200 Subject: Problem signing Android app -> no LC support for *.jks keystore files for UPLOAD In-Reply-To: <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> Message-ID: Hi all, just created a report: Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 15:52:44 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 14:52:44 -0500 Subject: Problem signing Android app In-Reply-To: <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> Message-ID: <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You may be able to use your original signing key to upload an updated app. This page is complicated but explains how the system works: If I'm reading it right, you can still use your original signing key again for updates. There is also a way to opt out of Google Signing on that page. It says you should only do that if you plan to re-enroll in Google Signing later, but I suppose you can ignore that advice. It also says: "After you select a release track, the App integrity section displays the status of Play App Signing for your app." So I think if you prepare to upload an updated app, when you choose a release track it will tell you if you are using Google Signing. I think you probably are. It's far too complicated. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 12:07:52 PM Klaus major-k via use-livecode wrote: > Hi Jacque, > >> Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode >> : >> >> I think the option to allow Google to manage the keys only appears the >> first time you upload a new app. > > OK, will take a deeper look once I upload the new app. > >> Maybe there's a way to retake control of the keys? > > Nope! Google explicitely states that they will NOT share any of their keys. > Will try and look better next time. > >> Is there any info in the app page that tells you who has control of the keys? >> >> If you can verify that Google is managing the keys, and you can't regain >> control, then I think the only fix is for LC to update the SB to recognize >> an upload key. > > Ouch, that may take a couple of versions of LC until that will happen and > I'm already 66. 8-) > Will create a new report/enhancement request tomorrow. > > I will have to dive deeper into the "Google Play Console"... > >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode >> wrote: >> >>> Hi Jacque, >>> >>>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode >>>> : >>>> Did you agree to let Google manage your keys? >>> >>> to be honest, I did not find that one (yet) on the Google Dev pages!? >>> Any hints much appreciated! >>> >>>> If so you need to create an upload key, which I think is different from the >>>> original signing key. >>>> LC may not recognize that format. >>> >>> Yes, that's what I experienced. >>> See below, LC told me about a wrong format of the key file. >>> >>>> I've never let Google manage my keys so I'm not sure how that works. >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode >>>> wrote: >>>> >>>>> Hi all, >>>>> >>>>> I created a new app and cannot sign it!? >>>>> >>>>> I did this: >>>>> >>>>> -> Generate an upload key and keystore >>>>> and generated a *.jks file. >>>>> >>>>> Then I selected this key file in LC, and at the end of the signing process >>>>> LC told me that the keystore file had the wrong format!? >>>>> >>>>> Then I renamed the key to *.keystore >>>>> And LC told me again that this was the wrong format of the key file? >>>>> >>>>> What am I missing? >>>>> Thank you for any hint! >>>>> >>>>> P.S. >>>>> I had published my earlier app successfully to the Google Play Store with a >>>>> selfsigned key in "Android Studio" as shown in: >>>>> >>>>> >>>>> When I later wanted to upload an update, Google told me that I did not use >>>>> the correct key for signing??? >>>>> So I read up everthing about this and came to create an UPLOAD key, so I >>>>> could use this later for any further >>>>> updates of the app. >>>>> >>>>> However that failed so far, see above.. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Apr 12 16:07:43 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 22:07:43 +0200 Subject: Problem signing Android app In-Reply-To: <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque, > Am 12.04.2023 um 21:52 schrieb J. Landman Gay via use-livecode : > > You may be able to use your original signing key to upload an updated app. This page is complicated but explains how the system works: > > > If I'm reading it right, you can still use your original signing key again for updates. There is also a way to opt out of Google Signing on that page. It says you should only do that if you plan to re-enroll in Google Signing later, but I suppose you can ignore that advice. > > It also says: "After you select a release track, the “App integrity” section displays the status of Play App Signing for your app." So I think if you prepare to upload an updated app, when you choose a release track it will tell you if you are using Google Signing. I think you probably are. thank you very much, will study this in detail tomorrow! > It's far too complicated. You BET! :-/ > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 12:07:52 PM Klaus major-k via use-livecode wrote: > >> Hi Jacque, >> >>> Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode : >>> >>> I think the option to allow Google to manage the keys only appears the first time you upload a new app. >> >> OK, will take a deeper look once I upload the new app. >> >>> Maybe there's a way to retake control of the keys? >> >> Nope! Google explicitely states that they will NOT share any of their keys. >> Will try and look better next time. >> >>> Is there any info in the app page that tells you who has control of the keys? >>> >>> If you can verify that Google is managing the keys, and you can't regain control, then I think the only fix is for LC to update the SB to recognize an upload key. >> >> Ouch, that may take a couple of versions of LC until that will happen and I'm already 66. 8-) >> Will create a new report/enhancement request tomorrow. >> >> I will have to dive deeper into the "Google Play Console"... >> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode wrote: >>> >>>> Hi Jacque, >>>> >>>>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode : >>>>> Did you agree to let Google manage your keys? >>>> >>>> to be honest, I did not find that one (yet) on the Google Dev pages!? >>>> Any hints much appreciated! >>>> >>>>> If so you need to create an upload key, which I think is different from the original signing key. >>>>> LC may not recognize that format. >>>> >>>> Yes, that's what I experienced. >>>> See below, LC told me about a wrong format of the key file. >>>> >>>>> I've never let Google manage my keys so I'm not sure how that works. >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I created a new app and cannot sign it!? >>>>>> >>>>>> I did this: >>>>>> >>>>>> -> Generate an upload key and keystore >>>>>> and generated a *.jks file. >>>>>> >>>>>> Then I selected this key file in LC, and at the end of the signing process >>>>>> LC told me that the keystore file had the wrong format!? >>>>>> >>>>>> Then I renamed the key to *.keystore >>>>>> And LC told me again that this was the wrong format of the key file? >>>>>> >>>>>> What am I missing? >>>>>> Thank you for any hint! >>>>>> >>>>>> P.S. >>>>>> I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: >>>>>> >>>>>> >>>>>> When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? >>>>>> So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further >>>>>> updates of the app. >>>>>> >>>>>> However that failed so far, see above.. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 16:48:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 15:48:17 -0500 Subject: Problem signing Android app In-Reply-To: <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1877739ea68.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On this page: it says: * If you choose for Google to generate the app signing key for you when you opt in, then the key you use to sign your app for release is designated as your upload key. * If you provide the app signing key to Google when opting in your new or existing app, then you have the option to generate a new upload key during or after opting in for increased security. * If you do not generate a new upload key, you continue to use your app signing key as your upload key to sign each release. So yeah, I think that means your original signing key is your upload key, which LC supports. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 2:52:44 PM "J. Landman Gay" wrote: > You may be able to use your original signing key to upload an updated app. > This page is complicated but explains how the system works: > > > If I'm reading it right, you can still use your original signing key again > for updates. There is also a way to opt out of Google Signing on that page. > It says you should only do that if you plan to re-enroll in Google Signing > later, but I suppose you can ignore that advice. > > It also says: "After you select a release track, the App integrity > section displays the status of Play App Signing for your app." So I think > if you prepare to upload an updated app, when you choose a release track it > will tell you if you are using Google Signing. I think you probably are. > > It's far too complicated. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 12:07:52 PM Klaus major-k via use-livecode > wrote: > >> Hi Jacque, >> >>> Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode >>> : >>> >>> I think the option to allow Google to manage the keys only appears the >>> first time you upload a new app. >> >> OK, will take a deeper look once I upload the new app. >> >>> Maybe there's a way to retake control of the keys? >> >> Nope! Google explicitely states that they will NOT share any of their keys. >> Will try and look better next time. >> >>> Is there any info in the app page that tells you who has control of the keys? >>> >>> If you can verify that Google is managing the keys, and you can't regain >>> control, then I think the only fix is for LC to update the SB to recognize >>> an upload key. >> >> Ouch, that may take a couple of versions of LC until that will happen and >> I'm already 66. 8-) >> Will create a new report/enhancement request tomorrow. >> >> I will have to dive deeper into the "Google Play Console"... >> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode >>> wrote: >>> >>>> Hi Jacque, >>>> >>>>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode >>>>> : >>>>> Did you agree to let Google manage your keys? >>>> >>>> to be honest, I did not find that one (yet) on the Google Dev pages!? >>>> Any hints much appreciated! >>>> >>>>> If so you need to create an upload key, which I think is different from the >>>>> original signing key. >>>>> LC may not recognize that format. >>>> >>>> Yes, that's what I experienced. >>>> See below, LC told me about a wrong format of the key file. >>>> >>>>> I've never let Google manage my keys so I'm not sure how that works. >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode >>>>> wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I created a new app and cannot sign it!? >>>>>> >>>>>> I did this: >>>>>> >>>>>> -> Generate an upload key and keystore >>>>>> and generated a *.jks file. >>>>>> >>>>>> Then I selected this key file in LC, and at the end of the signing process >>>>>> LC told me that the keystore file had the wrong format!? >>>>>> >>>>>> Then I renamed the key to *.keystore >>>>>> And LC told me again that this was the wrong format of the key file? >>>>>> >>>>>> What am I missing? >>>>>> Thank you for any hint! >>>>>> >>>>>> P.S. >>>>>> I had published my earlier app successfully to the Google Play Store with a >>>>>> selfsigned key in "Android Studio" as shown in: >>>>>> >>>>>> >>>>>> When I later wanted to upload an update, Google told me that I did not use >>>>>> the correct key for signing??? >>>>>> So I read up everthing about this and came to create an UPLOAD key, so I >>>>>> could use this later for any further >>>>>> updates of the app. >>>>>> >>>>>> However that failed so far, see above.. >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Apr 12 20:31:58 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Apr 2023 17:31:58 -0700 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: Quite a long list of enhancements - thank you, esp for the field alignment. -- 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 Apr 12 20:40:40 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Apr 2023 17:40:40 -0700 Subject: iOS Device orientation confusion! In-Reply-To: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> References: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> Message-ID: Henry Lowe wrote: > The problem is that when the iPhone is in Landscape Left mode > (according to the simulator and to Apples definition of that mode > - see below), Livecode is returning Landscape Right. When the > device is in Landscape Right mode, Livecode returns Landscape > Left - via the MobileDeviceOrientation function. > > Apples Definition (developer.apple.com ) > of these two modes: > > LandscapeLeft: > The device is in landscape mode, with the device held upright and > the front-facing camera on the left side. > > LandscapeRight: > The device is in landscape mode, with the device held upright and > the front-facing camera on the right side. > > > Livecodes Definition (Dictionary): > > landscape left: the device is being held upward with the home button > on the left > > landscape right: the device is being held upward with the home > button on the right > > It would appear that these two definitions at odds with each other. They are indeed at odds. Apple should update their description to match LC's. :) They seem consistent with one another, except that each uses a part of the hardware at opposite ends of the phone to define orientation. Apple's docs are referencing the camera as the point of reference for orientation, while LC uses the Home button as the point of reference. So while "left" and "right" are used differently, you should be able to get the result you need in LC. Use Apple's spec when coding in Apple tools and languages, and LC's when writing in LC and you should be fine. -- 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 Thu Apr 13 03:58:11 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 13 Apr 2023 09:58:11 +0200 Subject: Problem signing Android app In-Reply-To: <1877739ea68.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1877739ea68.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <84DCD412-660C-47FD-88DF-1ADD6F10A4EB@major-k.de> Hi Jacque, > Am 12.04.2023 um 22:48 schrieb J. Landman Gay via use-livecode : > > On this page: > > > it says: > > * If you choose for Google to generate the app signing key for you when you opt in, then the key you use to sign your app for release is designated as your upload key. > * If you provide the app signing key to Google when opting in your new or existing app, then you have the option to generate a new upload key during or after opting in for increased security. > * If you do not generate a new upload key, you continue to use your app signing key as your upload key to sign each release. > > So yeah, I think that means your original signing key is your upload key, which LC supports. ah, great, thank you for this valuable info! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 2:52:44 PM "J. Landman Gay" wrote: > >> You may be able to use your original signing key to upload an updated app. >> This page is complicated but explains how the system works: >> >> >> If I'm reading it right, you can still use your original signing key again >> for updates. There is also a way to opt out of Google Signing on that page. >> It says you should only do that if you plan to re-enroll in Google Signing >> later, but I suppose you can ignore that advice. >> >> It also says: "After you select a release track, the “App integrity” >> section displays the status of Play App Signing for your app." So I think >> if you prepare to upload an updated app, when you choose a release track it >> will tell you if you are using Google Signing. I think you probably are. >> >> It's far too complicated. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From htorrado at networkdreams.net Thu Apr 13 10:47:14 2023 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Thu, 13 Apr 2023 10:47:14 -0400 Subject: Livecode script on Raspberry pi Message-ID: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> Dear Livecode experts, I'm interested in running the Livecode script/server version on my Raspberry Pi. While I'm not keen on creating graphical applications, I'd like to switch from using Python as my scripting language and utilize Livecode instead. I find Livecode to be more efficient and productive for my needs. My question is: have you successfully managed to run the server version of Livecode on a Raspberry Pi using an x86 emulator like Box86? Any insights or advice on this matter would be greatly appreciated. Thank you! Best, Heriberto Torrado From hlowe at me.com Thu Apr 13 11:42:37 2023 From: hlowe at me.com (HENRY LOWE) Date: Thu, 13 Apr 2023 08:42:37 -0700 Subject: iOS Device orientation confusion! In-Reply-To: References: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> Message-ID: <1E8E3530-74CD-4D2D-A01C-DFB0D42C58AD@me.com> Thank you Richard. Henry > On Apr 12, 2023, at 5:40 PM, Richard Gaskin via use-livecode wrote: > > Henry Lowe wrote: > > > The problem is that when the iPhone is in Landscape Left mode > > (according to the simulator and to Apple’s definition of that mode > > - see below), Livecode is returning Landscape Right. When the > > device is in Landscape Right mode, Livecode returns Landscape > > Left - via the MobileDeviceOrientation function. > > > > Apple’s Definition (developer.apple.com ) > > of these two modes: > > > > • LandscapeLeft: > > The device is in landscape mode, with the device held upright and > > the front-facing camera on the left side. > > > > • LandscapeRight: > > The device is in landscape mode, with the device held upright and > > the front-facing camera on the right side. > > > > > > Livecode’s Definition (Dictionary): > > > > • landscape left: the device is being held upward with the home button > > on the left > > > > • landscape right: the device is being held upward with the home > > button on the right > > > > It would appear that these two definitions at odds with each other. > > They are indeed at odds. Apple should update their description to match LC's. :) > > They seem consistent with one another, except that each uses a part of the hardware at opposite ends of the phone to define orientation. > > Apple's docs are referencing the camera as the point of reference for orientation, while LC uses the Home button as the point of reference. So while "left" and "right" are used differently, you should be able to get the result you need in LC. > > Use Apple's spec when coding in Apple tools and languages, and LC's when writing in LC and you should be fine. > > -- > 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 andrew at midwestcoastmedia.com Thu Apr 13 22:48:16 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Thu, 13 Apr 2023 22:48:16 -0400 Subject: 9.6.2 iOS compile error Message-ID: Has anyone been able to successfully submit an iOS build to the AppStore using the new 9.6.2 and Xcode 14.2? When compiling my app using 9.6.2rc2 and Xcode 13.2, my submissions are accepted with the familiar warning: WARNING ITMS-90725: "SDK version issue. This app was built with the iOS 15.2 SDK. Starting April 25, 2023, all iOS and iPadOS apps submitted to the App Store must be built with the iOS 16.1 SDK or later, included in Xcode 14.1 or later.” When compiling the same app using 9.6.9 and Xcode 14.2, my submissions are getting rejected by Apple when attempting to upload with Transporter: ERROR ITMS-90502: "Invalid Bundle. Your binary, 'com.midwestcoastmedia.link', has a 64-bit architecture slice, so you must include the "arm64" value for the UIRequiredDeviceCapabilities key in your Xcode project. Learn more (https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3).” I’m guessing I could just update the info.plist manually but I was really trying to avoid that long term. —Andrew Bell From mark at livecode.com Fri Apr 14 01:21:48 2023 From: mark at livecode.com (Mark Waddingham) Date: Fri, 14 Apr 2023 06:21:48 +0100 Subject: 9.6.9 iOS compile error In-Reply-To: References: Message-ID: On 2023-04-14 03:48, Andrew at MidWest Coast Media via use-livecode wrote: > When compiling the same app using 9.6.9 and Xcode 14.2, my submissions > are getting rejected by Apple when attempting to upload with > Transporter: > > ERROR ITMS-90502: "Invalid Bundle. Your binary, > 'com.midwestcoastmedia.link', has a 64-bit architecture slice, so you > must include the "arm64" value for the UIRequiredDeviceCapabilities key > in your Xcode project. Learn more > (https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3). > > Im guessing I could just update the info.plist manually but I was > really trying to avoid that long term. So with the move to Xcode14.2 we can no longer build 32-bit slices in iOS so we have had to remove those from the engines in 9.6.9 - however we did miss the fact that currently the S/B will only include the `arm64` capability *if* the min iOS version is 11.0 and above (the arm64 capability is required as there is only a 64-bit slice!). Thus you can either change the min version to 11.0 - or just tweak the revsaveasiosstandalone script - at around line 1771 there is: -- Building for iOS 11.0 or more only builds the 64bit slice, so update the plist if pSettings["ios,minimum version"] >= 11.0 then put "arm64" after it end if Removing the 'if' and making this unconditional will ensure that the arm64 key is always present. Sorry for the inconvenience. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From ambassador at fourthworld.com Fri Apr 14 15:13:57 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Apr 2023 12:13:57 -0700 Subject: Livecode script on Raspberry pi In-Reply-To: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> References: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> Message-ID: <2952e9ec-d163-a4ce-0a69-f2c70a5591e2@fourthworld.com> Hello Heriberto - I haven't run the old LC/ARM-Linux build in so long I have no idea how well it works anymore. It was created as a weekend side project of an LC staff member who's long since moved on. Back in the open source days I tried to find someone to maintain it, but I was unable to locate anyone who'd made a successful compile, let alone be able to maintain it with future OS changes. But if your current LC/ARM build runs on whatever RPi you're using, there was never a Server build but LC has always had the ability to use standalones as command-line apps, going al the way back to beginning in 1992. This is how we were using MetaCard/LC as our server CGI engine for all the years before the team made the PHP-style LC Server edition. To run an LC standalone from the command line, add a "-ui" flag, e.g.: /home/UserName/AppName -ui The -ui flag prompts the engine to launch in a way that bypasses GUI initialization. This may be essential on many RPi units, since LC's GUI implementation there is old and no longer in sync with the OS, so crashes are increasingly common when attempting to run with a UI. But since command-line is all you need you should (hopefully) be fine, and you'll find the engine runs _very_ fast with no GUI. Bonus: Back when Dr Peter Brett was with LC he made a nifty library for parsing command-line arguments. To learn more on that see the GetOpt function in the LC Dictionary. -- Richard Gaskin Fourth World Systems > Dear Livecode experts, > > I'm interested in running the Livecode script/server version on my > Raspberry Pi. While I'm not keen on creating graphical applications, I'd > like to switch from using Python as my scripting language and utilize > Livecode instead. I find Livecode to be more efficient and productive > for my needs. My question is: have you successfully managed to run the > server version of Livecode on a Raspberry Pi using an x86 emulator like > Box86? Any insights or advice on this matter would be greatly > appreciated. Thank you! > > Best, > > Heriberto Torrado From martyknappster at gmail.com Fri Apr 14 17:35:54 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 14 Apr 2023 14:35:54 -0700 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> Message-ID: <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> I don’t have an “M” chip Mac here to test at the moment but here’s something to try: In the Levure framework open the helpers folder and then the preferences folder Modify the helper.yml file by deleting the section under externals so the file just contains the following externals: libraries: - filename: preferences.livecodescript extensions: - filename: nsuserdefaults.lcm engine version: ">=9.0" platform: macos,ios Then try a build and see how that works. I just tried it on my Intel iMac and preferences are working OK without the previous content. Please let me know how it works on your “M” mac Marty > On Apr 10, 2023, at 3:23 AM, Mark Waddingham via use-livecode wrote: > > On 2023-04-08 14:58, bob--- via use-livecode wrote: >> I'm wondering if anyone might be able to help me out. I’m trying to >> use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am >> able to open the app in the IDE with no issue. >> When I try to open the app with LC 9.6.9rc3 I get “An error occurred >> while initializing the application [unable to load external >> Preferences]”. I’m tracing through the Levure script now and can see >> in fact the Preference stack is not being loaded. I’ve confirmed >> Preferences.bundle is at the location referenced in the script. >> Can anyone steer me in a direction for a fix to this? > > So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). > > The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. > > The preferences external will need to be rebuilt with an arm64 slice and included in Levure. > > (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things From neville.smythe at optusnet.com.au Sat Apr 15 07:13:37 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 15 Apr 2023 21:13:37 +1000 Subject: Which sqlite? Message-ID: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Is it possible to direct LC to use a custom version of sqlite3 rather than its default? I ask because the installed version of sqlite which come installed with macOS, and which I assume LC uses when it initialises its database library, is crippled ---arithmetic functions which come with the standard augmentation of sqlite (such as floor(), log() etc) are not enabled, similarly regular expressions are not enabled. It is easy enough to install a more capable version of sqlite on the Mac, but I don’t see a way to get LC to use it. Possibly there is an environment variable or an initialisation handler which can be edited? (Note that Apple goes to some lengths to make it difficult to overwrite the installed sqlite in the system, and such a change would be lost on the next os update anyway.) If LC is using its own built-in sqlite and dylib rather than the os-provided package, then is there a way to update that to one own version? Neville Smythe From dochawk at gmail.com Sat Apr 15 10:51:45 2023 From: dochawk at gmail.com (doc hawk) Date: Sat, 15 Apr 2023 07:51:45 -0700 Subject: Which sqlite? In-Reply-To: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: <714B0625-5A29-4093-9295-AE59EEF62676@gmail.com> neville noticed, >It is easy enough to install a more capable version of sqlite on the Mac, but I don’t see a way to get LC to use it. It seems to me that several years ago I briefly used an external SQLite, but I cannot remember how I started with mysql (on livecode’s server, come to think of it, or was it still runrev?), but performance was beyond molasses, as livecode cannot do a compound query on mysql. I shifted to hosting my own postgreSQL, and then (if I have the order straight) switched from an array of variables to the included SQLite for local storage, updating periodically. The problem with trying to use the Mac-supplied databases is that they sometimes change without notice. I started using the internal postgres, and then, one day, my whole system suddenly stopped working. It turned out that apple had changed major postgres releases on a minor maintenance release. And the postgres's weren’t compatible with one another! I had to install an older postgres to export my data, and at that point stayed with running my own postgres. If you’re going to use the built-in, you need to be *very* careful. From dan at clearvisiontech.com Sat Apr 15 13:20:07 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 15 Apr 2023 17:20:07 +0000 Subject: Android Build Error In-Reply-To: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: I am trying to build my Android App with the latest version of 10.0.0 DP-5. However, when I build the app, I get this error: There was an error while saving the standalone application could not encode class bundle - error: Methods with invalid locals information: void android.viewpager.widget.PagerTitleStrip.updateTextPositions(int,float,boolean) Information in locals-table is invalid with respect to the stack map table. Local refers to non-present stack map type for register: 37 with constraint INT. Info in /private/var/folders/f7/33kdx2c501dfsgt687_1c0000gn/T/Temporaryltems/tmp.21643.4AABuSE/35/classes.jar:android×/print/PrintHelperSPrintUriAdapter$1.class: Methods with invalid locals information: void android.print.PrintHelper$PrintUriAdapter$1.onPostExecute(android.graphics.Bitmap) Information in locals-table is invalid with respect to the stack map table. Local refers to non-present stack map type for register: 2 with constraint OBJECT. Anyone have any thoughts or ideas on this problem? -Dan From merakosp at gmail.com Sat Apr 15 13:44:33 2023 From: merakosp at gmail.com (panagiotis m) Date: Sat, 15 Apr 2023 20:44:33 +0300 Subject: Android Build Error In-Reply-To: References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: Hello Dan, This is caused because the version of the build-tools you have installed is > v32 You have to uninstall this version of the build tools and install a version among v30 and v31. I suggest v30.0.3, which is extensively tested - as recommended in the LC lesson about Android Studio. See this bug: https://quality.livecode.com/show_bug.cgi?id=23570 KInd regards, Panos -- On Sat, 15 Apr 2023 at 20:21, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > I am trying to build my Android App with the latest version of 10.0.0 > DP-5. However, when I build the app, I get this error: > > There was an error while saving the standalone application could not > encode class bundle - error: > Methods with invalid locals information: > void > android.viewpager.widget.PagerTitleStrip.updateTextPositions(int,float,boolean) > Information in locals-table is invalid with respect to the stack map > table. Local refers to non-present stack map type for register: 37 with > constraint INT. Info in > /private/var/folders/f7/33kdx2c501dfsgt687_1c0000gn/T/Temporaryltems/tmp.21643.4AABuSE/35/classes.jar:android×/print/PrintHelperSPrintUriAdapter$1.class: > Methods with invalid locals information: > void > android.print.PrintHelper$PrintUriAdapter$1.onPostExecute(android.graphics.Bitmap) > Information in locals-table is invalid with respect to the stack map > table. Local refers to non-present stack map type for register: 2 with > constraint OBJECT. > > Anyone have any thoughts or ideas on this problem? > > -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 mark at livecode.com Mon Apr 17 06:57:38 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 17 Apr 2023 11:57:38 +0100 Subject: Which sqlite? In-Reply-To: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: <219cf362eeec8426a39c6f0eb1be4ee9@livecode.com> On 2023-04-15 12:13, Neville Smythe via use-livecode wrote: > Is it possible to direct LC to use a custom version of sqlite3 rather > than its default? > > I ask because the installed version of sqlite which come installed with > macOS, and which I assume LC uses when it initialises its database > library, is crippled ---arithmetic functions which come with the > standard augmentation of sqlite (such as floor(), log() etc) are not > enabled, similarly regular expressions are not enabled. It is easy > enough to install a more capable version of sqlite on the Mac, but I > dont see a way to get LC to use it. Possibly there is an environment > variable or an initialisation handler which can be edited? (Note that > Apple goes to some lengths to make it difficult to overwrite the > installed sqlite in the system, and such a change would be lost on the > next os update anyway.) > > If LC is using its own built-in sqlite and dylib rather than the > os-provided package, then is there a way to update that to one own > version? The version of sqlite we use is compiled in to the dbsqlite driver and thus is independent of any installed libraries. We've already got a pending request (https://quality.livecode.com/show_bug.cgi?id=24051) to update it to a newer version so if you just drop a note on there reminding us to enable the math functions and REGEXP extension then we'll enable those at the same time. The update will likely go into the next 9.6 maintenance release (9.6.10), and also appear in a subsequent 10dp. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From benr_mc at cogapp.com Mon Apr 17 10:37:30 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 17 Apr 2023 15:37:30 +0100 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? Message-ID: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> Thanks to this list, I know about "do in widget" that can cause some javascript to be evaluated in the current page in the browser widget. Which is great. But how do I get (into LiveCode) the result of a javascript expression? TIA, Ben From klaus at major-k.de Mon Apr 17 11:11:13 2023 From: klaus at major-k.de (Klaus major-k) Date: Mon, 17 Apr 2023 17:11:13 +0200 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> Message-ID: <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> Hi Ben, > Am 17.04.2023 um 16:37 schrieb Ben Rubinstein via use-livecode : > > Thanks to this list, I know about "do in widget" that can cause some javascript to be evaluated in the current page in the browser widget. Which is great. > > But how do I get (into LiveCode) the result of a javascript expression? if in doubt try either -> IT or -> the result :-) > TIA, > > Ben Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From benr_mc at cogapp.com Mon Apr 17 11:17:31 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 17 Apr 2023 16:17:31 +0100 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> Message-ID: <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> Thanks Klaus, I tried both of those! So for example I can execute do "alert(document.title)" in widget "browser" and see the expected string in an alert box. But do "document.title" in widget "browser"; put it or do "document.title" in widget "browser"; put the result just put empty. Any other ideas? I don't know whether I need to do something different in the livecode end (probably) or in the javascript end. TIA, Ben On 17/04/2023 16:11, Klaus major-k via use-livecode wrote: > Hi Ben, > >> Am 17.04.2023 um 16:37 schrieb Ben Rubinstein via use-livecode : >> >> Thanks to this list, I know about "do in widget" that can cause some javascript to be evaluated in the current page in the browser widget. Which is great. >> >> But how do I get (into LiveCode) the result of a javascript expression? > > if in doubt try either -> IT or -> the result :-) > >> TIA, >> >> Ben > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From htorrado at networkdreams.net Mon Apr 17 11:20:24 2023 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Mon, 17 Apr 2023 11:20:24 -0400 Subject: Livecode script on Raspberry pi In-Reply-To: <2952e9ec-d163-a4ce-0a69-f2c70a5591e2@fourthworld.com> References: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> <2952e9ec-d163-a4ce-0a69-f2c70a5591e2@fourthworld.com> Message-ID: <4cabf4cc-cdff-c77d-db93-85620e643b5e@networkdreams.net> Thank you very much Richard! I will check if what you say works well and I will let you know. Best, Hery On 4/14/23 15:13, Richard Gaskin via use-livecode wrote: > Hello Heriberto - > > I haven't run the old LC/ARM-Linux build in so long I have no idea how > well it works anymore. It was created as a weekend side project of an > LC staff member who's long since moved on. Back in the open source > days I tried to find someone to maintain it, but I was unable to > locate anyone who'd made a successful compile, let alone be able to > maintain it with future OS changes. > > But if your current LC/ARM build runs on whatever RPi you're using, > there was never a Server build but LC has always had the ability to > use standalones as command-line apps, going al the way back to > beginning in 1992. This is how we were using MetaCard/LC as our server > CGI engine for all the years before the team made the PHP-style LC > Server edition. > > To run an LC standalone from the command line, add a "-ui" flag, e.g.: > >   /home/UserName/AppName -ui > > The -ui flag prompts the engine to launch in a way that bypasses GUI > initialization.  This may be essential on many RPi units, since LC's > GUI implementation there is old and no longer in sync with the OS, so > crashes are increasingly common when attempting to run with a UI. > > But since command-line is all you need you should (hopefully) be fine, > and you'll find the engine runs _very_ fast with no GUI. > > > Bonus: Back when Dr Peter Brett was with LC he made a nifty library > for parsing command-line arguments. To learn more on that see the > GetOpt function in the LC Dictionary. > From klaus at major-k.de Mon Apr 17 11:34:58 2023 From: klaus at major-k.de (Klaus major-k) Date: Mon, 17 Apr 2023 17:34:58 +0200 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> Message-ID: Hi Ben, > Am 17.04.2023 um 17:17 schrieb Ben Rubinstein via use-livecode : > > Thanks Klaus, I tried both of those! > So for example I can execute > do "alert(document.title)" in widget "browser" > and see the expected string in an alert box. But > do "document.title" in widget "browser"; put it > or > do "document.title" in widget "browser"; put the result > just put empty. > Any other ideas? I don't know whether I need to do something different in the livecode end (probably) or in the javascript end. sorry, no more ideas... Too bad the dictionary doesn't mention this. > TIA, > > Ben Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From neville.smythe at optusnet.com.au Mon Apr 17 19:19:01 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 18 Apr 2023 09:19:01 +1000 Subject: Which sqlite? In-Reply-To: References: Message-ID: That is excellent news Mark, thank you. Mark Waddingham wrote... > > The version of sqlite we use is compiled in to the dbsqlite driver and > thus is independent of any installed libraries. We've already got a > pending request (https://quality.livecode.com/show_bug.cgi?id=24051) to > update it to a newer version so if you just drop a note on there > reminding us to enable the math functions and REGEXP extension then > we'll enable those at the same time. > > The update will likely go into the next 9.6 maintenance release > (9.6.10), and also appear in a subsequent 10dp. > That is excellent > Thanks to this list, I know about "do in widget" that can cause some > javascript to be evaluated in the current page in the browser widget. Which is > great. > From marksmithhfx at gmail.com Tue Apr 18 05:42:04 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 18 Apr 2023 10:42:04 +0100 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> Message-ID: Hi Marty, this worked like a charm. I was trying to open Trevor's dataview_demo and was getting the same “An error occurred while initialising the application…” msg. This fixed it. Thanks Mark > On 14 Apr 2023, at 10:35 pm, Marty Knapp via use-livecode wrote: > > I don’t have an “M” chip Mac here to test at the moment but here’s something to try: > > In the Levure framework open the helpers folder and then the preferences folder > Modify the helper.yml file by deleting the section under externals so the file just contains the following > > externals: > libraries: > - filename: preferences.livecodescript > extensions: > - filename: nsuserdefaults.lcm > engine version: ">=9.0" > platform: macos,ios > > Then try a build and see how that works. I just tried it on my Intel iMac and preferences are working OK without the previous content. > > Please let me know how it works on your “M” mac > > > Marty > >> On Apr 10, 2023, at 3:23 AM, Mark Waddingham via use-livecode wrote: >> >> On 2023-04-08 14:58, bob--- via use-livecode wrote: >>> I'm wondering if anyone might be able to help me out. I’m trying to >>> use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am >>> able to open the app in the IDE with no issue. >>> When I try to open the app with LC 9.6.9rc3 I get “An error occurred >>> while initializing the application [unable to load external >>> Preferences]”. I’m tracing through the Levure script now and can see >>> in fact the Preference stack is not being loaded. I’ve confirmed >>> Preferences.bundle is at the location referenced in the script. >>> Can anyone steer me in a direction for a fix to this? >> >> So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). >> >> The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. >> >> The preferences external will need to be rebuilt with an arm64 slice and included in Levure. >> >> (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). >> >> Warmest Regards, >> >> Mark. >> >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Build Amazing Things > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 18 06:36:10 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 18 Apr 2023 11:36:10 +0100 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> Message-ID: <076A5260-E367-4379-B567-EDB9F7F529E6@gmail.com> Marty, apologies, I forgot to add I am doing this on an “M” chip. Mark > On 18 Apr 2023, at 10:42 am, Mark Smith wrote: > > Hi Marty, this worked like a charm. I was trying to open Trevor's dataview_demo and was getting the same “An error occurred while initialising the application…” msg. This fixed it. Thanks > > Mark > > >> On 14 Apr 2023, at 10:35 pm, Marty Knapp via use-livecode wrote: >> >> I don’t have an “M” chip Mac here to test at the moment but here’s something to try: >> >> In the Levure framework open the helpers folder and then the preferences folder >> Modify the helper.yml file by deleting the section under externals so the file just contains the following >> >> externals: >> libraries: >> - filename: preferences.livecodescript >> extensions: >> - filename: nsuserdefaults.lcm >> engine version: ">=9.0" >> platform: macos,ios >> >> Then try a build and see how that works. I just tried it on my Intel iMac and preferences are working OK without the previous content. >> >> Please let me know how it works on your “M” mac >> >> >> Marty >> >>> On Apr 10, 2023, at 3:23 AM, Mark Waddingham via use-livecode wrote: >>> >>> On 2023-04-08 14:58, bob--- via use-livecode wrote: >>>> I'm wondering if anyone might be able to help me out. I’m trying to >>>> use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am >>>> able to open the app in the IDE with no issue. >>>> When I try to open the app with LC 9.6.9rc3 I get “An error occurred >>>> while initializing the application [unable to load external >>>> Preferences]”. I’m tracing through the Levure script now and can see >>>> in fact the Preference stack is not being loaded. I’ve confirmed >>>> Preferences.bundle is at the location referenced in the script. >>>> Can anyone steer me in a direction for a fix to this? >>> >>> So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). >>> >>> The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. >>> >>> The preferences external will need to be rebuilt with an arm64 slice and included in Levure. >>> >>> (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). >>> >>> Warmest Regards, >>> >>> Mark. >>> >>> -- >>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>> LiveCode: Build Amazing Things >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Tue Apr 18 12:08:10 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 18 Apr 2023 17:08:10 +0100 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> Message-ID: <2fed0a0e-593d-d38d-7f11-235d371638e8@cogapp.com> I've found a solution. For the benefit of others (and myself, because I'll have forgotten this next time I want it), this can be done using "the javascriptHandlers". So you can set up a handler to be called from the browser: set the javascriptHandlers of widget "Browser" to "myJSHandler" ... and then have javascript pass the expression to that handler: do "liveCode.myJSHandler(document.title);" in widget "browser" On 17/04/2023 16:17, Ben Rubinstein via use-livecode wrote: > Thanks Klaus, I tried both of those! > > So for example I can execute >     do "alert(document.title)" in widget "browser" > > and see the expected string in an alert box. But >     do "document.title" in widget "browser"; put it > > or >     do "document.title" in widget "browser"; put the result > > just put empty. > > Any other ideas? I don't know whether I need to do something different in the > livecode end (probably) or in the javascript end. > > TIA, > > Ben > > > On 17/04/2023 16:11, Klaus major-k via use-livecode wrote: >> Hi Ben, >> >>> Am 17.04.2023 um 16:37 schrieb Ben Rubinstein via use-livecode >>> : >>> >>> Thanks to this list, I know about "do in widget" that can cause some >>> javascript to be evaluated in the current page in the browser widget. Which >>> is great. >>> >>> But how do I get (into LiveCode) the result of a javascript expression? >> >> if in doubt try either -> IT or -> the result :-) >> >>> TIA, >>> >>> Ben >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Tue Apr 18 13:18:44 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 18 Apr 2023 20:18:44 +0300 Subject: [[ ANN ]] Release 10.0.0 DP-5 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 DP-5. LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: - The initializing value for constant and local declarations can now be any constant expression - The suspend and resume messages are now supported on mobile platforms - A library has been added which gives access to the Sign-in with Google API on Android - Support for working with media controls on Android has been added - On Web, data required by the engine to run has been separated out into optional files thus reducing the size of the download required in many cases - A prototype implementation of the 'script widgets' feature has been included and many more :) You can find more details on the new features and the bug fixes of this new release here: https://livecode.com/livecode-10-dp-5-smaller-faster-richer You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From MikeKerner at roadrunner.com Tue Apr 18 15:11:29 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Apr 2023 15:11:29 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: i'm curious to hear if script widgets perform better than grouped controls did. one of the things that lcb widgets had was better performance and responsiveness. On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 10.0.0 DP-5. > > LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: > > - The initializing value for constant and local declarations can > now be any constant expression > - The suspend and resume messages are now supported on > mobile platforms > - A library has been added which gives access to the Sign-in with Google > API on Android > - Support for working with media controls on Android has been > added > - On Web, data required by the engine to run has been > separated out into optional files thus reducing the size of the > download required in many cases > - A prototype implementation of the 'script widgets' feature has > been included > > and many more :) > > You can find more details on the new features and the bug fixes of this new > release here: > > https://livecode.com/livecode-10-dp-5-smaller-faster-richer > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Apr 18 15:53:17 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Apr 2023 15:53:17 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: anyone try to download this version? i don't see where to do it On Tue, Apr 18, 2023 at 3:11 PM Mike Kerner wrote: > i'm curious to hear if script widgets perform better than grouped controls > did. > one of the things that lcb widgets had was better performance and > responsiveness. > > On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Dear list members, >> >> We are pleased to announce the release of LiveCode 10.0.0 DP-5. >> >> LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: >> >> - The initializing value for constant and local declarations can >> now be any constant expression >> - The suspend and resume messages are now supported on >> mobile platforms >> - A library has been added which gives access to the Sign-in with Google >> API on Android >> - Support for working with media controls on Android has been >> added >> - On Web, data required by the engine to run has been >> separated out into optional files thus reducing the size of the >> download required in many cases >> - A prototype implementation of the 'script widgets' feature has >> been included >> >> and many more :) >> >> You can find more details on the new features and the bug fixes of this >> new >> release here: >> >> https://livecode.com/livecode-10-dp-5-smaller-faster-richer >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> The LiveCode Team >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Apr 18 15:55:01 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Apr 2023 15:55:01 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: wupz. nevermind. https://livecode.com/account/all-livecode-downloads On Tue, Apr 18, 2023 at 3:53 PM Mike Kerner wrote: > anyone try to download this version? i don't see where to do it > > On Tue, Apr 18, 2023 at 3:11 PM Mike Kerner > wrote: > >> i'm curious to hear if script widgets perform better than grouped >> controls did. >> one of the things that lcb widgets had was better performance and >> responsiveness. >> >> On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 10.0.0 DP-5. >>> >>> LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: >>> >>> - The initializing value for constant and local declarations can >>> now be any constant expression >>> - The suspend and resume messages are now supported on >>> mobile platforms >>> - A library has been added which gives access to the Sign-in with Google >>> API on Android >>> - Support for working with media controls on Android has been >>> added >>> - On Web, data required by the engine to run has been >>> separated out into optional files thus reducing the size of the >>> download required in many cases >>> - A prototype implementation of the 'script widgets' feature has >>> been included >>> >>> and many more :) >>> >>> You can find more details on the new features and the bug fixes of this >>> new >>> release here: >>> >>> https://livecode.com/livecode-10-dp-5-smaller-faster-richer >>> >>> You can find the release in your LiveCode account area or get it via the >>> automatic updater. >>> >>> Enjoy! >>> >>> Kind regards >>> The LiveCode Team >>> -- >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ahsoftware at sonic.net Tue Apr 18 15:58:13 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 18 Apr 2023 12:58:13 -0700 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: I would so like to like this release: script widgets expression constants (finally!) etc... but it's so wonky on linux that I'd have to write up a slew of bug reports. Essentially unusable for me in ways that dp4 behaves. I'm looking forward to dp6. -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Wed Apr 19 11:56:12 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 19 Apr 2023 17:56:12 +0200 Subject: error while signing Android app Message-ID: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> Hi friends, I created a selfsigning keystore with the app "Keymaker.app", which worked fine for my last app created with LC 9.6.8. But with LC 9.6.9 I get this LC error: ----------------------------------- There was an error while saving the standalone application signing failed - Certificate chain not found for: (PWD here) (PWD here) must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain ------------------------------------ Do I need to crewate the key with Android Studio? Any idea what goes wrong here? Thank you! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From dougr at telus.net Wed Apr 19 14:04:39 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 19 Apr 2023 11:04:39 -0700 Subject: FW: card background color Message-ID: <00e001d972e9$68c46c70$3a4d4550$@telus.net> Using LC v9.6.8 Business on Windows 10. When I drag a new object from the Tools Palette onto a card, as the object "enters" the destination card, the background of that card turns a VERY dark blue . making the visibility of the object-being-dragged very difficult to see until I release the mouse button. Additionally, the background/highlight color of the entry field on the Message Box is, similarly, very dark blue after I enter a command . making the text (again) very difficult to read. I've look thru LC's Preferences and tried adjusting Windows colors.. but to no avail. Anyone know how to adjust (or defeat) this "highlighting" feature? Doug From craig at starfirelighting.com Wed Apr 19 14:12:13 2023 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 19 Apr 2023 14:12:13 -0400 Subject: card background color In-Reply-To: <00e001d972e9$68c46c70$3a4d4550$@telus.net> References: <00e001d972e9$68c46c70$3a4d4550$@telus.net> Message-ID: <2FD76BD7-B714-42FF-8A05-A002A206F5E4@starfirelighting.com> Doug. I also find this annoying. But I have never found a property to disable it. Of course, I never asked, so let us both see what turns up. Craig > On Apr 19, 2023, at 2:04 PM, Douglas A. Ruisaard via use-livecode wrote: > > Using LC v9.6.8 Business on Windows 10. When I drag a new object from the > Tools Palette onto a card, as the object "enters" the destination card, the > background of that card turns a VERY dark blue . making the visibility of > the object-being-dragged very difficult to see until I release the mouse > button. Additionally, the background/highlight color of the entry field on > the Message Box is, similarly, very dark blue after I enter a command . > making the text (again) very difficult to read. > > > > I've look thru LC's Preferences and tried adjusting Windows colors.. but to > no avail. Anyone know how to adjust (or defeat) this "highlighting" > feature? > > > > Doug > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 19 14:25:27 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 19 Apr 2023 11:25:27 -0700 Subject: card background color In-Reply-To: <2FD76BD7-B714-42FF-8A05-A002A206F5E4@starfirelighting.com> References: <00e001d972e9$68c46c70$3a4d4550$@telus.net> <2FD76BD7-B714-42FF-8A05-A002A206F5E4@starfirelighting.com> Message-ID: <011b01d972ec$50e2f600$f2a8e200$@telus.net> Thanks for the confirmation... always good to have another collaborator. Not sure what version this showed up. Doug -----Original Message----- From: use-livecode On Behalf Of Craig Newman via use-livecode Sent: Wednesday, April 19, 2023 11:12 AM To: How to use LiveCode Cc: Craig Newman Subject: Re: card background color Doug. I also find this annoying. But I have never found a property to disable it. Of course, I never asked, so let us both see what turns up. Craig > On Apr 19, 2023, at 2:04 PM, Douglas A. Ruisaard via use-livecode wrote: > > Using LC v9.6.8 Business on Windows 10. When I drag a new object from > the Tools Palette onto a card, as the object "enters" the destination > card, the background of that card turns a VERY dark blue . making the > visibility of the object-being-dragged very difficult to see until I > release the mouse button. Additionally, the background/highlight > color of the entry field on the Message Box is, similarly, very dark blue after I enter a command . > making the text (again) very difficult to read. > > > > I've look thru LC's Preferences and tried adjusting Windows colors.. > but to no avail. Anyone know how to adjust (or defeat) this "highlighting" > feature? > > > > Doug > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Wed Apr 19 14:25:59 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 19 Apr 2023 11:25:59 -0700 Subject: Weird window behavior Message-ID: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. Am I going crazy? Marty From craig at starfirelighting.com Wed Apr 19 14:29:17 2023 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 19 Apr 2023 14:29:17 -0400 Subject: Weird window behavior In-Reply-To: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: <4DD838F7-8E18-4FF5-A157-78EF779D22B2@starfirelighting.com> Marty. No more than I. I lead both the forum and this list for personally directed oddities. Nobody can touch me… Craig > On Apr 19, 2023, at 2:25 PM, Marty Knapp via use-livecode wrote: > > Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. > > Am I going crazy? > > 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 dochawk at gmail.com Wed Apr 19 14:34:36 2023 From: dochawk at gmail.com (doc hawk) Date: Wed, 19 Apr 2023 11:34:36 -0700 Subject: Weird window behavior In-Reply-To: <4DD838F7-8E18-4FF5-A157-78EF779D22B2@starfirelighting.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> <4DD838F7-8E18-4FF5-A157-78EF779D22B2@starfirelighting.com> Message-ID: <4BFA6A1F-11C3-487A-8629-57607EB6A812@gmail.com> I’ll see your oddity and raise you a weirdness! > On Apr 19, 2023, at 11:29 AM, Craig Newman via use-livecode wrote: > > Marty. > > No more than I. I lead both the forum and this list for personally directed oddities. Nobody can touch me… > > Craig > >> On Apr 19, 2023, at 2:25 PM, Marty Knapp via use-livecode wrote: >> >> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >> >> Am I going crazy? >> >> 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 jacque at hyperactivesw.com Wed Apr 19 15:43:04 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Apr 2023 14:43:04 -0500 Subject: error while signing Android app In-Reply-To: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> Message-ID: <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > I created a selfsigning keystore with the app > "Keymaker.app", which worked fine for my last app > created with LC 9.6.8. > > But with LC 9.6.9 I get this LC error: > ----------------------------------- > There was an error while saving the standalone application > signing failed - Certificate chain not found for: (PWD here) > (PWD here) must reference a valid KeyStore key entry containing > a private key and corresponding public key certificate chain > ------------------------------------ > > Do I need to crewate the key with Android Studio? Could this be related to the dialog box error that misplaces the insertion point when you type? Or did you get the error before it asked for the password? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Apr 19 16:08:43 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 19 Apr 2023 22:08:43 +0200 Subject: error while signing Android app In-Reply-To: <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: Hi Jacque, > Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : > On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >> Hi friends, >> I created a selfsigning keystore with the app >> "Keymaker.app", which worked fine for my last app >> created with LC 9.6.8. >> But with LC 9.6.9 I get this LC error: >> ----------------------------------- >> There was an error while saving the standalone application >> signing failed - Certificate chain not found for: (PWD here) >> (PWD here) must reference a valid KeyStore key entry containing >> a private key and corresponding public key certificate chain >> ------------------------------------ >> >> Do I need to crewate the key with Android Studio? > > Could this be related to the dialog box error that misplaces the insertion point when you type? no, that looks like it has been fixed in LC 9.6.9 stable. > Or did you get the error before it asked for the password? No, that happens after I had entered all the passwords. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From Bernd.Niggemann at uni-wh.de Wed Apr 19 18:23:11 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 19 Apr 2023 22:23:11 +0000 Subject: card background color Message-ID: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> Douglas A. Ruisaard wrote > When I drag a new object from the > Tools Palette onto a card, as the object "enters" the destination card, the > background of that card turns a VERY dark blue . making the visibility of > the object-being-dragged very difficult to see until I release the mouse > button. > Anyone know how to adjust (or defeat) this "highlighting" > feature? In stack "Home" around line 1930 in function revEnvironmentEditionProperty pProp, pEdition change the color to e.g. ------------------- case "color" return 180,191,200 ------------------- Kind regards Bernd From bobsneidar at iotecdigital.com Wed Apr 19 18:45:39 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Apr 2023 22:45:39 +0000 Subject: card background color In-Reply-To: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> References: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> Message-ID: <3CC4658D-AA92-42A0-A647-3E17B162C75F@iotecdigital.com> Won't that revert next time LC is downloaded and installed? Bob S > On Apr 19, 2023, at 15:23, Niggemann, Bernd via use-livecode wrote: > > Douglas A. Ruisaard wrote > >> When I drag a new object from the >> Tools Palette onto a card, as the object "enters" the destination card, the >> background of that card turns a VERY dark blue . making the visibility of >> the object-being-dragged very difficult to see until I release the mouse >> button. >> Anyone know how to adjust (or defeat) this "highlighting" >> feature? > > > In stack "Home" around line 1930 in > > function revEnvironmentEditionProperty pProp, pEdition > > change the color to e.g. > > ------------------- > case "color" > return 180,191,200 > ------------------- > > > 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 Bernd.Niggemann at uni-wh.de Wed Apr 19 19:24:09 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 19 Apr 2023 23:24:09 +0000 Subject: card background color Message-ID: <5F5BB345-03C1-41FB-AE47-88D4DBC9B53F@uni-wh.de> Bob Sneidar wrote: > Won't that revert next time LC is downloaded and installed? You could write a plug-in that patches the Home stack on every startUp of LC. That will work until that handler of stack "Home" is changed. Kind regards Bernd From klaus at major-k.de Thu Apr 20 05:15:15 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 20 Apr 2023 11:15:15 +0200 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: Hi all, > Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : > > Hi Jacque, > >> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>> Hi friends, >>> I created a selfsigning keystore with the app >>> "Keymaker.app", which worked fine for my last app >>> created with LC 9.6.8. >>> But with LC 9.6.9 I get this LC error: >>> ----------------------------------- >>> There was an error while saving the standalone application >>> signing failed - Certificate chain not found for: (PWD here) >>> (PWD here) must reference a valid KeyStore key entry containing >>> a private key and corresponding public key certificate chain >>> ------------------------------------ >>> >>> Do I need to crewate the key with Android Studio? >> Could this be related to the dialog box error that misplaces the insertion point when you type? > no, that looks like it has been fixed in LC 9.6.9 stable. >> Or did you get the error before it asked for the password? > No, that happens after I had entered all the passwords. I don't even know what the dialog ist trying to tell me. Any ideas? Thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Thu Apr 20 06:21:34 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 20 Apr 2023 12:21:34 +0200 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: <6363E324-8C3B-4995-A410-BE44BC187D64@m-r-d.de> Hi Klaus, i just did test here on macOS. I've created a key using the shell command keytool and could successfully build an Android 9 standalone with LC 9.6.9. What is the keymaker.app? Is that a 3rd party tool? Regards, Matthias > Am 20.04.2023 um 11:15 schrieb Klaus major-k via use-livecode : > > Hi all, > >> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : >> >> Hi Jacque, >> >>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>> Hi friends, >>>> I created a selfsigning keystore with the app >>>> "Keymaker.app", which worked fine for my last app >>>> created with LC 9.6.8. >>>> But with LC 9.6.9 I get this LC error: >>>> ----------------------------------- >>>> There was an error while saving the standalone application >>>> signing failed - Certificate chain not found for: (PWD here) >>>> (PWD here) must reference a valid KeyStore key entry containing >>>> a private key and corresponding public key certificate chain >>>> ------------------------------------ >>>> >>>> Do I need to crewate the key with Android Studio? >>> Could this be related to the dialog box error that misplaces the insertion point when you type? >> no, that looks like it has been fixed in LC 9.6.9 stable. >>> Or did you get the error before it asked for the password? >> No, that happens after I had entered all the passwords. > > I don't even know what the dialog ist trying to tell me. > Any ideas? Thank you. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Apr 20 06:36:16 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 20 Apr 2023 12:36:16 +0200 Subject: error while signing Android app In-Reply-To: <6363E324-8C3B-4995-A410-BE44BC187D64@m-r-d.de> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <6363E324-8C3B-4995-A410-BE44BC187D64@m-r-d.de> Message-ID: <80FE645C-5732-4D9E-9770-CBF02E372D38@major-k.de> Hi Matthias, > Am 20.04.2023 um 12:21 schrieb matthias rebbe via use-livecode : > > Hi Klaus, > > i just did test here on macOS. > I've created a key using the shell command keytool and could successfully build an Android 9 standalone with LC 9.6.9. > What is the keymaker.app? Is that a 3rd party tool? Yes, see here a link to the forum: The keystore file it gernerated worked without problem with the first version of my app.!? > Regards, > Matthias Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From heather at livecode.com Thu Apr 20 10:16:12 2023 From: heather at livecode.com (Heather Laine) Date: Thu, 20 Apr 2023 15:16:12 +0100 Subject: In case any of you missed it... Message-ID: Dear List Members, We just made what we think is the most significant announcement since Revolution 1.0: https://livecode.com/xavvi/ Looking forward to hearing what you all think about it! Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From mark at livecode.com Thu Apr 20 10:20:12 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 20 Apr 2023 15:20:12 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: <144287e4665c1d4d8d76b0b457870500@livecode.com> On 2023-04-18 20:58, Mark Wieder via use-livecode wrote: > I would so like to like this release: > script widgets > expression constants (finally!) > etc... > > but it's so wonky on linux that I'd have to write up a slew of bug > reports. Essentially unusable for me in ways that dp4 behaves. > > I'm looking forward to dp6. Heh - well if there is a Linux specific issue that we haven't seen but you do - then its not likely to be fixed in dp-6 unless we know what it is :D We've already identified a problem with the 'after' message which causes the layout of the IDE palettes to not update correctly - and are fixing :) Beyond that, do you get (as many) problems if you run the IDE without any plugins and such? (i.e. an empty 'My LiveCode' folder) The reason I ask is that we have (unusually) made two backwards-incompatible script changes in dp-5 in order to accommodate constant initializer expressions - both touch on edge-cases, but hey, edge-cases happen. There is a small possibility that a plugin or similar which contains such an edge case could break and thus be causing errors and thus destabilize the IDE. Specifically: The tokenization of numeric literals (i.e. numbers) is now much more strict - https://quality.livecode.com/show_bug.cgi?id=23653. Previously a numeric token which had an 'error suffix' would encompass the suffix into the token rather than treat it separately. The right-hand side of an initializer is no longer treated as a token (this is key to having them as expressions at all!) - https://quality.livecode.com/show_bug.cgi?id=19413. Previously if you had an initializer which was an engine constant, then the initialized value would be the name of the constant and not its value (e.g. local tFoo = empty => tFoo = "empty" and not ""). The fix to both is to quote the offending token. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From dvglasgow at gmail.com Thu Apr 20 10:49:42 2023 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 20 Apr 2023 15:49:42 +0100 Subject: Weird window behavior In-Reply-To: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: <24A60DAE-38B7-497F-A7D5-567CB3AA9274@gmail.com> Me too. Or maybe me too. Is this the same thing?... Even if focus shifts from my stack to Message Box, the next click on my stack causes it to just disappear. Most alarming until I realised what was happening. My stack is just behind everything else and CMD tab (x2) brings it to front. Phew... M2, LC 9.6.8 Cheers Best Wishes, David Glasgow Honorary Professor, Nottingham Trent University Sexual Offences, Crime and Misconduct Research Unit Consultant Forensic & Clinical Psychologist Carlton Glasgow Partnership Director, Child & Family Training, York LinkedIn > On 19 Apr 2023, at 7:25 pm, Marty Knapp via use-livecode wrote: > > Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. > > Am I going crazy? > > 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 dougr at telus.net Thu Apr 20 11:45:34 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 08:45:34 -0700 Subject: card background color In-Reply-To: <5F5BB345-03C1-41FB-AE47-88D4DBC9B53F@uni-wh.de> References: <5F5BB345-03C1-41FB-AE47-88D4DBC9B53F@uni-wh.de> Message-ID: <04a101d9739f$25b1e4b0$7115ae10$@telus.net> Wow .. MAGIC! ... one more annoying question: The input line (?) on the MessageBox is also that deep blue ... I scanned thru the C:\Program Files\RunRev\LiveCode 9.6.8 directory but couldn't find any obviously relevant reference ... not that I could have noticed the one you pointed out! If you could suggest where I might find THAT color reference, I'd be very grateful Doug -----Original Message----- From: use-livecode On Behalf Of Niggemann, Bernd via use-livecode Sent: Wednesday, April 19, 2023 4:24 PM To: use-livecode at lists.runrev.com Cc: Niggemann, Bernd Subject: Re: card background color Bob Sneidar wrote: > Won't that revert next time LC is downloaded and installed? You could write a plug-in that patches the Home stack on every startUp of LC. That will work until that handler of stack "Home" is changed. 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 dougr at telus.net Thu Apr 20 11:57:16 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 08:57:16 -0700 Subject: card background color In-Reply-To: <3CC4658D-AA92-42A0-A647-3E17B162C75F@iotecdigital.com> References: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> <3CC4658D-AA92-42A0-A647-3E17B162C75F@iotecdigital.com> Message-ID: <057001d973a0$c82638d0$5872aa70$@telus.net> Thanks for the reminder about losing the change with a new install... I'll make a note of it!! Cheers Doug -----Original Message----- From: use-livecode On Behalf Of Bob Sneidar via use-livecode Sent: Wednesday, April 19, 2023 3:46 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: card background color Won't that revert next time LC is downloaded and installed? Bob S > On Apr 19, 2023, at 15:23, Niggemann, Bernd via use-livecode wrote: > > Douglas A. Ruisaard wrote > >> When I drag a new object from the >> Tools Palette onto a card, as the object "enters" the destination >> card, the background of that card turns a VERY dark blue . making the >> visibility of the object-being-dragged very difficult to see until I >> release the mouse button. >> Anyone know how to adjust (or defeat) this "highlighting" >> feature? > > > In stack "Home" around line 1930 in > > function revEnvironmentEditionProperty pProp, pEdition > > change the color to e.g. > > ------------------- > case "color" > return 180,191,200 > ------------------- > > > Kind regards > Bernd > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 20 12:11:48 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Apr 2023 11:11:48 -0500 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I did a search for the first few words of the error message and got a lot of hits. Here's one: https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fix-and-publish-to-google-play-store There are several solutions but it sounds like the keystore file can't be found, or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. I wonder if diacriticals or foreign characters may interfere. Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. The outside world will never see it. It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: > Hi all, > >> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode >> : >> >> Hi Jacque, >> >>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode >>> : >>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>> Hi friends, >>>> I created a selfsigning keystore with the app >>>> "Keymaker.app", which worked fine for my last app >>>> created with LC 9.6.8. >>>> But with LC 9.6.9 I get this LC error: >>>> ----------------------------------- >>>> There was an error while saving the standalone application >>>> signing failed - Certificate chain not found for: (PWD here) >>>> (PWD here) must reference a valid KeyStore key entry containing >>>> a private key and corresponding public key certificate chain >>>> ------------------------------------ >>>> >>>> Do I need to crewate the key with Android Studio? >>> Could this be related to the dialog box error that misplaces the insertion >>> point when you type? >> no, that looks like it has been fixed in LC 9.6.9 stable. >>> Or did you get the error before it asked for the password? >> No, that happens after I had entered all the passwords. > > I don't even know what the dialog ist trying to tell me. > Any ideas? Thank you. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Thu Apr 20 12:52:33 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 20 Apr 2023 16:52:33 +0000 Subject: card background color Message-ID: <57220EB1-87A5-4E3A-9718-600D77AC8EAE@uni-wh.de> Douglas A. Ruisaard wrote: > The input line (?) on the MessageBox is also that deep blue ... I scanned > thru the C:\Program Files\RunRev\LiveCode 9.6.8 directory but couldn't find > any obviously relevant reference For me the backgroundcolor of the input line of the MessageBox is controlled by my setting of the backgroundColor of the Script Editor in LC Preferences. That also changes the backgroundcolor of the input field of single line and multiline input field of the message box. Kind regards Bernd From dougr at telus.net Thu Apr 20 13:18:46 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 10:18:46 -0700 Subject: card background color In-Reply-To: <57220EB1-87A5-4E3A-9718-600D77AC8EAE@uni-wh.de> References: <57220EB1-87A5-4E3A-9718-600D77AC8EAE@uni-wh.de> Message-ID: <05a901d973ac$2a70e070$7f52a150$@telus.net> Thanks for the tip .. however, while the background setting *does* control the background color of the input field on the Message Box, it does NOT affect the dark blue "highlight" within the field when the Box display previous commands. This is not biggie and I REALLY appreciate your time in responding... one click on the dark blue highlighting goes away. Thanks again! Doug -----Original Message----- From: use-livecode On Behalf Of Niggemann, Bernd via use-livecode Sent: Thursday, April 20, 2023 9:53 AM To: use-livecode at lists.runrev.com Cc: Niggemann, Bernd Subject: RE: card background color Douglas A. Ruisaard wrote: > The input line (?) on the MessageBox is also that deep blue ... I > scanned thru the C:\Program Files\RunRev\LiveCode 9.6.8 directory but > couldn't find any obviously relevant reference For me the backgroundcolor of the input line of the MessageBox is controlled by my setting of the backgroundColor of the Script Editor in LC Preferences. That also changes the backgroundcolor of the input field of single line and multiline input field of the message box. 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 martyknappster at gmail.com Thu Apr 20 13:22:13 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 20 Apr 2023 10:22:13 -0700 Subject: Weird window behavior In-Reply-To: <24A60DAE-38B7-497F-A7D5-567CB3AA9274@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> <24A60DAE-38B7-497F-A7D5-567CB3AA9274@gmail.com> Message-ID: <4DCE39FF-F8C4-4432-B116-BD3E1E7DF2A4@gmail.com> The question is - why would it do that? This is totally repeatable for me. Even when I create a new stack with no code in it whatsoever. Have any other app displaying a window (like a browser window), then click anything in the toolbar, for example, and that new stack will disappear back behind the browser window. Only happens on Ventura for me - not on any previous Mac OS that I’ve tried. And it’s doing it on 2 different Macs. It does it both in the IDE and in a standalone, so not caused by any plugins. Do you use the Levure framework by chance? I do - I’ll do some testing here to see if that might be effecting things. Marty > On Apr 20, 2023, at 7:49 AM, David V Glasgow via use-livecode wrote: > > Me too. Or maybe me too. Is this the same thing?... > > Even if focus shifts from my stack to Message Box, the next click on my stack causes it to just disappear. Most alarming until I realised what was happening. My stack is just behind everything else and CMD tab (x2) brings it to front. Phew... > > M2, LC 9.6.8 > > Cheers > > > Best Wishes, > > David Glasgow > Honorary Professor, Nottingham Trent University > Sexual Offences, Crime and Misconduct Research Unit > Consultant Forensic & Clinical Psychologist > Carlton Glasgow Partnership > Director, Child & Family Training, York > > > LinkedIn > >> On 19 Apr 2023, at 7:25 pm, Marty Knapp via use-livecode wrote: >> >> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >> >> Am I going crazy? >> >> Marty From Bernd.Niggemann at uni-wh.de Thu Apr 20 13:28:05 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 20 Apr 2023 17:28:05 +0000 Subject: card background color Message-ID: <1700F371-9EF3-4F55-BDDB-937C600139A1@uni-wh.de> Douglas A. Ruisaard wrote: > Thanks for the tip .. however, while the background setting *does* control > the background color of the input field on the Message Box, it does NOT > affect the dark blue "highlight" within the field when the Box display > previous commands. Sorry, I did not get that you meant the highlight color of the input field of the message box when the text is selected. I see that you use Window. I am on a Mac. The highlight color for all text in LC on a Mac is controlled by "System Preferences" -> "General". and is applied system wide to all apps. No idea how this is handled on Windows Computers. Kind regards Bernd From rdimola at evergreeninfo.net Thu Apr 20 13:32:44 2023 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 20 Apr 2023 13:32:44 -0400 Subject: error while signing Android app In-Reply-To: <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <003e01d973ae$20c7f7a0$6257e6e0$@net> I've always used "Keystore Explorer". It's Java based so it runs on any platform. Lots of options and a decent GUI. Give it a shot and see what's in your keystore file. 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: Thursday, April 20, 2023 12:12 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: error while signing Android app I did a search for the first few words of the error message and got a lot of hits. Here's one: https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstac koverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fi x-and-publish-to-google-play-store There are several solutions but it sounds like the keystore file can't be found, or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. I wonder if diacriticals or foreign characters may interfere. Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. The outside world will never see it. It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: > Hi all, > >> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode >> : >> >> Hi Jacque, >> >>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode >>> : >>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>> Hi friends, >>>> I created a selfsigning keystore with the app "Keymaker.app", which >>>> worked fine for my last app created with LC 9.6.8. >>>> But with LC 9.6.9 I get this LC error: >>>> ----------------------------------- >>>> There was an error while saving the standalone application signing >>>> failed - Certificate chain not found for: (PWD here) (PWD here) >>>> must reference a valid KeyStore key entry containing a private key >>>> and corresponding public key certificate chain >>>> ------------------------------------ >>>> >>> 0> Do I need to crewate the key with Android Studio? >>> Could this be related to the dialog box error that misplaces the >>> insertion point when you type? >> no, that looks like it has been fixed in LC 9.6.9 stable. >>> Or did you get the error before it asked for the password? >> No, that happens after I had entered all the passwords. > > I don't even know what the dialog ist trying to tell me. > Any ideas? Thank you. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 20 13:49:12 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Apr 2023 17:49:12 +0000 Subject: In case any of you missed it... In-Reply-To: References: Message-ID: That is interesting... and a bit scary. Just as I was getting my coffee, and before I saw this email, I was thinking that in less than 20 years we will be coding with sensors attached to our heads and driven by AI and reading our minds and learning from our corrections. Bob S > On Apr 20, 2023, at 07:16, Heather Laine via use-livecode wrote: > > Dear List Members, > > We just made what we think is the most significant announcement since Revolution 1.0: > > https://livecode.com/xavvi/ > > Looking forward to hearing what you all think about it! > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dougr at telus.net Thu Apr 20 14:16:06 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 11:16:06 -0700 Subject: card background color In-Reply-To: <1700F371-9EF3-4F55-BDDB-937C600139A1@uni-wh.de> References: <1700F371-9EF3-4F55-BDDB-937C600139A1@uni-wh.de> Message-ID: <05c101d973b4$2cc89270$8659b750$@telus.net> Hey! ... half an answer is better than none at all. Windows dev's are (secretly or not) jealous of the MAC OS and environment .. except when it comes to iPhones. Perhaps someone from the Mothership could chime in on this matter? Cheers! Doug -----Original Message----- From: use-livecode On Behalf Of Niggemann, Bernd via use-livecode Sent: Thursday, April 20, 2023 10:28 AM To: use-livecode at lists.runrev.com Cc: Niggemann, Bernd Subject: RE: card background color Douglas A. Ruisaard wrote: > Thanks for the tip .. however, while the background setting *does* > control the background color of the input field on the Message Box, it > does NOT affect the dark blue "highlight" within the field when the > Box display previous commands. Sorry, I did not get that you meant the highlight color of the input field of the message box when the text is selected. I see that you use Window. I am on a Mac. The highlight color for all text in LC on a Mac is controlled by "System Preferences" -> "General". and is applied system wide to all apps. No idea how this is handled on Windows Computers. 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 Bernd.Niggemann at uni-wh.de Thu Apr 20 14:53:26 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 20 Apr 2023 18:53:26 +0000 Subject: card background color Message-ID: <5A3D895E-0F12-4EF2-9BD8-6F65D28F700A@uni-wh.de> Douglas A. Ruisaard wrote: > Hey! ... half an answer is better than none at all. BTW the background color used for stacks while dragging a control from the toolbar is supposedly the "Edition Color" While I like the blue as "Edition Color" it is a little dark as background color. Just wait until LC offers the "Black Edition"... While testing the backgroundcolor of stacks when dragging a control from the toolbar I was again annoyed that when stacks overlap the target stack for the control (usually your frontmost stack = default stack) the background color only changes when you leave the rect of a partially overlapping stack although your mouse is within the rect of your default/target stack. That in my opinion is not the best user interface. Since I work on a laptop the problem of overlapping stacks is not uncommon. I had a look at it and made an enhancement request with a proposed fix. https://quality.livecode.com/show_bug.cgi?id=24189 Anyone adventurous enough could test the proposed patch by applying it temporarily to stack "revTools" to handler "on mouseDown" Kind regards Bernd From ahsoftware at sonic.net Thu Apr 20 14:53:43 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 20 Apr 2023 11:53:43 -0700 Subject: In case any of you missed it... In-Reply-To: References: Message-ID: <8af33d0e-7932-d630-a19e-f7e0421ddf9e@sonic.net> On 4/20/23 10:49, Bob Sneidar via use-livecode wrote: > That is interesting... and a bit scary. Just as I was getting my coffee, and before I saw this email, I was thinking that in less than 20 years we will be coding with sensors attached to our heads and driven by AI and reading our minds and learning from our corrections. I'll be impressed when it can create an improved version of itself. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Thu Apr 20 15:01:50 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 20 Apr 2023 12:01:50 -0700 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <144287e4665c1d4d8d76b0b457870500@livecode.com> References: <144287e4665c1d4d8d76b0b457870500@livecode.com> Message-ID: <21517fb0-f23f-d1cf-e1d1-3c4c50b8093a@sonic.net> On 4/20/23 07:20, Mark Waddingham via use-livecode wrote: > Heh - well if there is a Linux specific issue that we haven't seen but > you do - then its not likely to be fixed in dp-6 unless we know what it > is :D Well, I've coded around two problems already. I'm currently working on a crashing one on both linux and OSX. Seems to be related to the Chart widget in 10-dp4 as well so not anything really new. I'm guessing it's CEF-related. -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Thu Apr 20 15:15:10 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 20 Apr 2023 21:15:10 +0200 Subject: error while signing Android app In-Reply-To: <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque, > Am 20.04.2023 um 18:11 schrieb J. Landman Gay via use-livecode : > > I did a search for the first few words of the error message and got a lot of hits. Here's one: > https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fix-and-publish-to-google-play-store > > There are several solutions but it sounds like the keystore file can't be found, ??? I added this in the Standalone Application Setting. So it IS present and LC knows where it is! Not? Maybe I misunderstand this completely... > or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. Isn't that the meaning of an ALIAS? That it can be named differently than the original? > I wonder if diacriticals or foreign characters may interfere. > Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. > The outside world will never see it. I did, only used ASCII and UNDERSCORES, NO spaces and umlauts etc. > It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. I did and got different errors! :-/ Oh my... Matthias Rebbe helped me out and created a keystore file for me, will test it tomorrow and report here about success or fail. :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: > >> Hi all, >> >>> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : >>> >>> Hi Jacque, >>> >>>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >>>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>>> Hi friends, >>>>> I created a selfsigning keystore with the app >>>>> "Keymaker.app", which worked fine for my last app >>>>> created with LC 9.6.8. >>>>> But with LC 9.6.9 I get this LC error: >>>>> ----------------------------------- >>>>> There was an error while saving the standalone application >>>>> signing failed - Certificate chain not found for: (PWD here) >>>>> (PWD here) must reference a valid KeyStore key entry containing >>>>> a private key and corresponding public key certificate chain >>>>> ------------------------------------ >>>>> >>>>> Do I need to crewate the key with Android Studio? >>>> Could this be related to the dialog box error that misplaces the insertion point when you type? >>> no, that looks like it has been fixed in LC 9.6.9 stable. >>>> Or did you get the error before it asked for the password? >>> No, that happens after I had entered all the passwords. >> >> I don't even know what the dialog ist trying to tell me. >> Any ideas? Thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Thu Apr 20 16:09:30 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 20 Apr 2023 22:09:30 +0200 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <9828CA37-E563-4F54-89B1-6141F99C527F@m-r-d.de> The keystore file can contain more than one certificate (alias). For each certificate(alias) you can specify an other password (and also other values for FullName, Organization, OrganizationUnit and so on. The name of the alias is only important for you so that you can distinguish between the different certificates (aliases) in the keystore. You could of course use the same password for the Keystore itself and also for each alias, but for security reasons it might be better to use one password to secure the Keystore and different passwords for each alias. Regards, Matthias > Am 20.04.2023 um 21:15 schrieb Klaus major-k via use-livecode : > > Hi Jacque, > >> Am 20.04.2023 um 18:11 schrieb J. Landman Gay via use-livecode : >> >> I did a search for the first few words of the error message and got a lot of hits. Here's one: >> https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fix-and-publish-to-google-play-store >> >> There are several solutions but it sounds like the keystore file can't be found, > > ??? I added this in the Standalone Application Setting. > So it IS present and LC knows where it is! Not? > Maybe I misunderstand this completely... > >> or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. > > Isn't that the meaning of an ALIAS? > That it can be named differently than the original? > >> I wonder if diacriticals or foreign characters may interfere. >> Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. >> The outside world will never see it. > > I did, only used ASCII and UNDERSCORES, NO spaces and umlauts etc. > >> It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. > > I did and got different errors! :-/ > Oh my... > > Matthias Rebbe helped me out and created a keystore file for me, > will test it tomorrow and report here about success or fail. :-) > >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: >> >>> Hi all, >>> >>>> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : >>>> >>>> Hi Jacque, >>>> >>>>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >>>>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>>>> Hi friends, >>>>>> I created a selfsigning keystore with the app >>>>>> "Keymaker.app", which worked fine for my last app >>>>>> created with LC 9.6.8. >>>>>> But with LC 9.6.9 I get this LC error: >>>>>> ----------------------------------- >>>>>> There was an error while saving the standalone application >>>>>> signing failed - Certificate chain not found for: (PWD here) >>>>>> (PWD here) must reference a valid KeyStore key entry containing >>>>>> a private key and corresponding public key certificate chain >>>>>> ------------------------------------ >>>>>> >>>>>> Do I need to crewate the key with Android Studio? >>>>> Could this be related to the dialog box error that misplaces the insertion point when you type? >>>> no, that looks like it has been fixed in LC 9.6.9 stable. >>>>> Or did you get the error before it asked for the password? >>>> No, that happens after I had entered all the passwords. >>> >>> I don't even know what the dialog ist trying to tell me. >>> Any ideas? Thank you. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Apr 20 16:29:15 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 20 Apr 2023 16:29:15 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <21517fb0-f23f-d1cf-e1d1-3c4c50b8093a@sonic.net> References: <144287e4665c1d4d8d76b0b457870500@livecode.com> <21517fb0-f23f-d1cf-e1d1-3c4c50b8093a@sonic.net> Message-ID: if you want to throw those at the hacking the ide repo, that'd be great https://github.com/macMikey/LC-HACK/issues On Thu, Apr 20, 2023 at 3:02 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/20/23 07:20, Mark Waddingham via use-livecode wrote: > > > Heh - well if there is a Linux specific issue that we haven't seen but > > you do - then its not likely to be fixed in dp-6 unless we know what it > > is :D > > Well, I've coded around two problems already. > I'm currently working on a crashing one on both linux and OSX. > Seems to be related to the Chart widget in 10-dp4 as well so not > anything really new. I'm guessing it's CEF-related. > > -- > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dougr at telus.net Thu Apr 20 21:36:41 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 18:36:41 -0700 Subject: GLX2 questions Message-ID: <06b801d973f1$b9a2ff40$2ce8fdc0$@telus.net> Hopefully this note isn't inappropriate for this listing . This message is primarily intended for Mark Wieder. I've just installed GLX2 editor (and Power Debug) and have some questions regarding the Hyperlink and Breadcrumbs aspects of GLX2. I've sent a rather lengthy personal contact from the LC forum. but I know Mark is very active on this list. Hopefully Mark will be able to answer my questions. Thanks in advance Douglas Ruisaard From ahsoftware at sonic.net Thu Apr 20 21:50:26 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 20 Apr 2023 18:50:26 -0700 Subject: GLX2 questions In-Reply-To: <06b801d973f1$b9a2ff40$2ce8fdc0$@telus.net> References: <06b801d973f1$b9a2ff40$2ce8fdc0$@telus.net> Message-ID: <81b81063-678e-11ee-94d1-cc206b3c0a5e@sonic.net> On 4/20/23 18:36, Douglas A. Ruisaard via use-livecode wrote: > Hopefully this note isn't inappropriate for this listing . This message is > primarily intended for Mark Wieder. I've just installed GLX2 editor (and > Power Debug) and have some questions regarding the Hyperlink and Breadcrumbs > aspects of GLX2. I've sent a rather lengthy personal contact from the LC > forum. but I know Mark is very active on this list. Hopefully Mark will be > able to answer my questions. No worries. I got your PM. I'll have a look at it, but it's been some years since I've looked at that code. -- Mark Wieder ahsoftware at gmail.com From hakan at exformedia.se Fri Apr 21 04:49:18 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Fri, 21 Apr 2023 10:49:18 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? :-Håkan > On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: > > - A prototype implementation of the 'script widgets' feature has > been included From matthias_livecode_150811 at m-r-d.de Fri Apr 21 08:02:14 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 14:02:14 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> Message-ID: <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> Hakan, as far as I know you have to create a script only stack and name it for example se.eformedia.widget.MyButton Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. Create a resizeControl handler in which you put any code that is responsible for resizing the controls. Use getProp and SetProp handlers to add properties for the control As long as the stack is in memory you do not need to use the extension builder to test the script widget. You could just use the message box and execute the following: create widget as "se.eformedia.widget.MyButton" use here the name of the stack you used at the beginning. To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example https://livecode.com/documents/sample-script-widget.zip The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. But it's a DP so let's see. Regards, Matthias > Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode : > > This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? > > :-Håkan > >> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: >> >> - A prototype implementation of the 'script widgets' feature has >> been included > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Apr 21 09:23:27 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 21 Apr 2023 14:23:27 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> Message-ID: <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> Thanks Matthias for shedding some light on this new feature. I read the blog post as well and it references something called a “widget chunk”. I couldn’t fine anything on it. Do you know what it is? Mark > On 21 Apr 2023, at 1:02 pm, matthias rebbe via use-livecode wrote: > > To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example > https://livecode.com/documents/sample-script-widget.zip > The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ From heather at livecode.com Fri Apr 21 12:29:34 2023 From: heather at livecode.com (Heather Laine) Date: Fri, 21 Apr 2023 17:29:34 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> Message-ID: Ali has now written a lesson on using Script Widgets, you can find it here: https://lessons.livecode.com/m/98525/l/1672543-creating-a-script-widget Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 21 Apr 2023, at 14:23, Mark Smith via use-livecode wrote: > > Thanks Matthias for shedding some light on this new feature. I read the blog post as well and it references something called a “widget chunk”. I couldn’t fine anything on it. Do you know what it is? > > Mark > > >> On 21 Apr 2023, at 1:02 pm, matthias rebbe via use-livecode wrote: >> >> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >> https://livecode.com/documents/sample-script-widget.zip >> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Apr 21 13:46:26 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 21 Apr 2023 18:46:26 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> Message-ID: Thanks Heather and Ali. So exciting to see this development. Mark > On 21 Apr 2023, at 5:29 pm, Heather Laine via use-livecode wrote: > > Ali has now written a lesson on using Script Widgets, you can find it here: > > https://lessons.livecode.com/m/98525/l/1672543-creating-a-script-widget > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 21 Apr 2023, at 14:23, Mark Smith via use-livecode wrote: >> >> Thanks Matthias for shedding some light on this new feature. I read the blog post as well and it references something called a “widget chunk”. I couldn’t fine anything on it. Do you know what it is? >> >> Mark >> >> >>> On 21 Apr 2023, at 1:02 pm, matthias rebbe via use-livecode wrote: >>> >>> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >>> https://livecode.com/documents/sample-script-widget.zip >>> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Apr 21 14:16:03 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 21 Apr 2023 20:16:03 +0200 Subject: Windows and MP3 Message-ID: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> Hi friends, quick question to Windows User: Is LC on Windows currently able to play MP3 in a player object out of the box? I mean without installing third party codecs, like currently still neccessary for playing MP4 video files? Thanks for a quick answer! I'm very curious for the new support of the current multimedia architecture on Windows coming with LC 10! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Fri Apr 21 16:02:30 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 22:02:30 +0200 Subject: Windows and MP3 In-Reply-To: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> References: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> Message-ID: <481D24B5-4DE8-4D24-9884-B36071417854@m-r-d.de> Just tried here with LC10DP4 on freshly installed Windows 11. The .mp3 plays fine. Regards, Matthias P.s.: Wie war das mit "Aber für heute mach ich Feierabend! " ;) > Am 21.04.2023 um 20:16 schrieb Klaus major-k via use-livecode : > > Hi friends, > > quick question to Windows User: > Is LC on Windows currently able to play MP3 in a player object > out of the box? I mean without installing third party codecs, > like currently still neccessary for playing MP4 video files? > > Thanks for a quick answer! > > I'm very curious for the new support of the current multimedia > architecture on Windows coming with LC 10! :-) > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Fri Apr 21 16:10:50 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Fri, 21 Apr 2023 22:10:50 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> Message-ID: <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… …but still. Can now work from that! Thanks anyway! :-Håkan > On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode wrote: > > Hakan, > > as far as I know > > you have to create a script only stack and name it for example > se.eformedia.widget.MyButton > > Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. > > Create a resizeControl handler in which you put any code that is responsible for resizing the controls. > > Use getProp and SetProp handlers to add properties for the control > As long as the stack is in memory you do not need to use the extension builder to test the script widget. > You could just use the message box and execute the following: > > create widget as "se.eformedia.widget.MyButton" > > use here the name of the stack you used at the beginning. > > > To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example > https://livecode.com/documents/sample-script-widget.zip > The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ > > > > My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. > In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. > But it's a DP so let's see. > > > Regards, > Matthias > > > > > >> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode : >> >> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >> >> :-Håkan >> >>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: >>> >>> - A prototype implementation of the 'script widgets' feature has >>> been included >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Apr 21 17:32:22 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 23:32:22 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: <41C4033E-5518-41D6-9536-1CA282FBD908@m-r-d.de> > Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : > > Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… > …but still. Can now work from that! > > Thanks anyway! > > :-Håkan > >> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode wrote: >> >> Hakan, >> >> as far as I know >> >> you have to create a script only stack and name it for example >> se.eformedia.widget.MyButton >> >> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >> >> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >> >> Use getProp and SetProp handlers to add properties for the control >> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >> You could just use the message box and execute the following: >> >> create widget as "se.eformedia.widget.MyButton" >> >> use here the name of the stack you used at the beginning. >> >> >> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >> https://livecode.com/documents/sample-script-widget.zip >> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >> >> >> >> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >> But it's a DP so let's see. >> >> >> Regards, >> Matthias >> >> >> >> >> >>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode : >>> >>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>> >>> :-Håkan >>> >>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: >>>> >>>> - A prototype implementation of the 'script widgets' feature has >>>> been included >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Fri Apr 21 17:45:12 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 23:45:12 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: Here LC is also crashing to Desktop. Tried now the steps of Ali's lesson, but LC still is crashing. But maybe there is an typo in one of my scripts, so they are not identical to the ones in the lesson. Will wait with a bug report until Ali is adding the final stack to the lesson or at least the complete stack script that can be copied. Currently only screenshots from the scripts are shown. > Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : > > Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… > …but still. Can now work from that! > > Thanks anyway! > > :-Håkan > >> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode > wrote: >> >> Hakan, >> >> as far as I know >> >> you have to create a script only stack and name it for example >> se.eformedia.widget.MyButton >> >> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >> >> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >> >> Use getProp and SetProp handlers to add properties for the control >> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >> You could just use the message box and execute the following: >> >> create widget as "se.eformedia.widget.MyButton" >> >> use here the name of the stack you used at the beginning. >> >> >> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >> https://livecode.com/documents/sample-script-widget.zip >> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >> >> >> >> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >> But it's a DP so let's see. >> >> >> Regards, >> Matthias >> >> >> >> >> >>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode >: >>> >>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>> >>> :-Håkan >>> >>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode > wrote: >>>> >>>> - A prototype implementation of the 'script widgets' feature has >>>> been included >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From hakan at exformedia.se Fri Apr 21 18:46:52 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Sat, 22 Apr 2023 00:46:52 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: For me following the steps it doesn’t crash but I get an empty widget without any visible label when I am supposed to create a new widget. If I follow through with the code still nothing is visible. If I create a new script only stack and copy the code of the Square widget. I can create a widget that is placed in the upper left corner. But I see none of the properties in the inspector. If I open the Extension Builder and load the widget and test it it works! When trying to build a simple widget it is super easy to crash LiveCode. If you use the id of the control but misses the id key word anywhere it crashes. Like: set the backgroundColor of control sMyControlID instead of set the backgroundColor of control id sMyControlID But now it moves forward anyway! My best tips so far: Save often and load the widget via the Extensions Builder Happy coding! > On 21 Apr 2023, at 23:45, matthias rebbe via use-livecode wrote: > > Here LC is also crashing to Desktop. > > Tried now the steps of Ali's lesson, > but LC still is crashing. But maybe there is an typo in one of my scripts, so they are not identical to the ones in the lesson. > Will wait with a bug report until Ali is adding the final stack to the lesson or at least the complete stack script that can be copied. Currently only screenshots from the scripts are shown. > > >> Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : >> >> Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… >> …but still. Can now work from that! >> >> Thanks anyway! >> >> :-Håkan >> >>> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode > wrote: >>> >>> Hakan, >>> >>> as far as I know >>> >>> you have to create a script only stack and name it for example >>> se.eformedia.widget.MyButton >>> >>> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >>> >>> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >>> >>> Use getProp and SetProp handlers to add properties for the control >>> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >>> You could just use the message box and execute the following: >>> >>> create widget as "se.eformedia.widget.MyButton" >>> >>> use here the name of the stack you used at the beginning. >>> >>> >>> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >>> https://livecode.com/documents/sample-script-widget.zip >>> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >>> >>> >>> >>> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >>> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >>> But it's a DP so let's see. >>> >>> >>> Regards, >>> Matthias >>> >>> >>> >>> >>> >>>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode >: >>>> >>>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>>> >>>> :-Håkan >>>> >>>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode > wrote: >>>>> >>>>> - A prototype implementation of the 'script widgets' feature has >>>>> been included >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Apr 21 18:58:22 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 22 Apr 2023 00:58:22 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Sorry i was not clear enough. When using Ali's steps creating the widget using the message box i also get only an empty widget. When i try to install it using the extension builder then LC is crashing. Maybe there are some steps missing in Ali's description. I have plenty of ideas what i could use that new feature for. > . But I see none of the properties in the inspector. The properties of the controls in the widget are not accessible through the PI, you have to set/get them by script set the fillcolor of widget id 1047 to "black" for example would change the background color of the square to black Matthias > Am 22.04.2023 um 00:46 schrieb Håkan Liljegren : > > For me following the steps it doesn’t crash but I get an empty widget without any visible label when I am supposed to create a new widget. If I follow through with the code still nothing is visible. If I create a new script only stack and copy the code of the Square widget. I can create a widget that is placed in the upper left corner. But I see none of the properties in the inspector. > If I open the Extension Builder and load the widget and test it it works! > > When trying to build a simple widget it is super easy to crash LiveCode. > > If you use the id of the control but misses the id key word anywhere it crashes. Like: > set the backgroundColor of control sMyControlID > instead of > set the backgroundColor of control id sMyControlID > > But now it moves forward anyway! > > My best tips so far: Save often and load the widget via the Extensions Builder > > Happy coding! > >> On 21 Apr 2023, at 23:45, matthias rebbe via use-livecode wrote: >> >> Here LC is also crashing to Desktop. >> >> Tried now the steps of Ali's lesson, >> but LC still is crashing. But maybe there is an typo in one of my scripts, so they are not identical to the ones in the lesson. >> Will wait with a bug report until Ali is adding the final stack to the lesson or at least the complete stack script that can be copied. Currently only screenshots from the scripts are shown. >> >> >>> Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : >>> >>> Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… >>> …but still. Can now work from that! >>> >>> Thanks anyway! >>> >>> :-Håkan >>> >>>> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode > wrote: >>>> >>>> Hakan, >>>> >>>> as far as I know >>>> >>>> you have to create a script only stack and name it for example >>>> se.eformedia.widget.MyButton >>>> >>>> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >>>> >>>> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >>>> >>>> Use getProp and SetProp handlers to add properties for the control >>>> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >>>> You could just use the message box and execute the following: >>>> >>>> create widget as "se.eformedia.widget.MyButton" >>>> >>>> use here the name of the stack you used at the beginning. >>>> >>>> >>>> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >>>> https://livecode.com/documents/sample-script-widget.zip >>>> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >>>> >>>> >>>> >>>> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >>>> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >>>> But it's a DP so let's see. >>>> >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>> >>>> >>>> >>>>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode >: >>>>> >>>>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>>>> >>>>> :-Håkan >>>>> >>>>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode > wrote: >>>>>> >>>>>> - A prototype implementation of the 'script widgets' feature has >>>>>> been included >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Sat Apr 22 14:20:02 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 22 Apr 2023 18:20:02 +0000 Subject: Android 13? In-Reply-To: <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Message-ID: I have a custom that is trying to install my app (from the Google Play Store) and says they are getting the message, “This app was built for an older version of Android…”. The app was built with 9.6.2. Does LC support this version of Android? And, if so, what version of LC do I need to use? Thank you in advance, -Dan From matthias_livecode_150811 at m-r-d.de Sat Apr 22 15:13:18 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 22 Apr 2023 21:13:18 +0200 Subject: Android 13? In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Message-ID: <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> The release notes of the lates build of LC (LC10DP5 and LC9.6.9) say: "The Android engine supports devices using x86, x86-64, ARM and ARM64 processors. It will run on the following versions of Android: 5.0-5.1 (Lollipop) 6.0 (Marshmallow) 7.x (Nougat) 8.x (Oreo) 9.0 (Pie) 10.0 (Q) 11.0 (R)" > dAm 22.04.2023 um 20:20 schrieb Dan Friedman via use-livecode : > > I have a custom that is trying to install my app (from the Google Play Store) and says they are getting the message, “This app was built for an older version of Android…”. The app was built with 9.6.2. Does LC support this version of Android? And, if so, what version of LC do I need to use? > > Thank you in advance, > -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 merakosp at gmail.com Sat Apr 22 15:18:49 2023 From: merakosp at gmail.com (panagiotis m) Date: Sat, 22 Apr 2023 22:18:49 +0300 Subject: Android 13? In-Reply-To: <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> Message-ID: Hello all, LiveCode does support Android 13. The release notes need to be updated. Dan, if you rebuild the app with lc 9.6.9 I think you should be fine. I am not sure why an app built with 9.6.2 would throw this error, but it has been a long time since 9.6.2 anyway. Cheers, Panos On Sat, Apr 22, 2023, 10:14 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > The release notes of the lates build of LC (LC10DP5 and LC9.6.9) say: > "The Android engine supports devices using x86, x86-64, ARM and ARM64 > processors. It will run on the following versions of Android: > 5.0-5.1 (Lollipop) > 6.0 (Marshmallow) > 7.x (Nougat) > 8.x (Oreo) > 9.0 (Pie) > 10.0 (Q) > 11.0 (R)" > > > > > > > > dAm 22.04.2023 um 20:20 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > I have a custom that is trying to install my app (from the Google Play > Store) and says they are getting the message, “This app was built for an > older version of Android…”. The app was built with 9.6.2. Does LC > support this version of Android? And, if so, what version of LC do I need > to use? > > > > Thank you in advance, > > -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 jacque at hyperactivesw.com Sat Apr 22 15:41:50 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 Apr 2023 14:41:50 -0500 Subject: Android 13? In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Message-ID: <2bd0f618-0be1-99a5-f768-8e159925e3c8@hyperactivesw.com> I believe this is an error relating to the target version embedded in the app. Google's policy says that new and updated apps must target an Android API no earlier than 2 versions behind the current one. Since API 33 is current, your app must target at least API 31. Android 14 will be released very soon (in a couple of weeks I think) and any apps submitted after that will need to target API 32+. Note that the target API is not the same as the minimum supported version which can be much lower. LC 9.6.9 targets API 31. I don't think LC 10 has updated the target yet, so 9.6.9 is your best bet. The target API has to be an LC engine update, we can't change it ourselves. Here's a list of required APIs for new and updated apps: That said, I'm not sure if your customer can download the app anyway, or if it is just a warning. Google says if they already have an older copy of the app, they can still see the app in the store. If they have never installed the app, it won't be available to them even if they do a search. On 4/22/23 1:20 PM, Dan Friedman via use-livecode wrote: > I have a custom that is trying to install my app (from the Google Play Store) and says they are getting the message, “This app was built for an older version of Android…”. The app was built with 9.6.2. Does LC support this version of Android? And, if so, what version of LC do I need to use? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Sat Apr 22 15:45:54 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 22 Apr 2023 21:45:54 +0200 Subject: Android 13? In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> Message-ID: <5E2FF2B5-5A7C-4EC3-A4B7-24324952706C@m-r-d.de> Hello Panos, > LiveCode does support Android 13. The release notes need to be updated. But only as host platform on which LC Android apps (5 to 12) can be run, right? Tried that btw now and i can run an Android standalone built with 9.6.9 in the Android 13 simulator. But building standalones for minimum Android version 13 is not possible, correct? At least only 5 to 12 are currently possible options in the standalone builder. Matthias > Am 22.04.2023 um 21:18 schrieb panagiotis m via use-livecode : > > Hello all, > > LiveCode does support Android 13. The release notes need to be updated. > Dan, if you rebuild the app with lc 9.6.9 I think you should be fine. I am > not sure why an app built with 9.6.2 would throw this error, but it has > been a long time since 9.6.2 anyway. > > Cheers, > Panos > > On Sat, Apr 22, 2023, 10:14 PM matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The release notes of the lates build of LC (LC10DP5 and LC9.6.9) say: >> "The Android engine supports devices using x86, x86-64, ARM and ARM64 >> processors. It will run on the following versions of Android: >> 5.0-5.1 (Lollipop) >> 6.0 (Marshmallow) >> 7.x (Nougat) >> 8.x (Oreo) >> 9.0 (Pie) >> 10.0 (Q) >> 11.0 (R)" >> >> >> >> >> >> >>> dAm 22.04.2023 um 20:20 schrieb Dan Friedman via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> I have a custom that is trying to install my app (from the Google Play >> Store) and says they are getting the message, “This app was built for an >> older version of Android…”. The app was built with 9.6.2. Does LC >> support this version of Android? And, if so, what version of LC do I need >> to use? >>> >>> Thank you in advance, >>> -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 klaus at major-k.de Sat Apr 22 16:19:51 2023 From: klaus at major-k.de (Klaus major-k) Date: Sat, 22 Apr 2023 22:19:51 +0200 Subject: Windows and MP3 In-Reply-To: <481D24B5-4DE8-4D24-9884-B36071417854@m-r-d.de> References: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> <481D24B5-4DE8-4D24-9884-B36071417854@m-r-d.de> Message-ID: Hi Mathias, > Am 21.04.2023 um 22:02 schrieb matthias rebbe via use-livecode : > > Just tried here with LC10DP4 on freshly installed Windows 11. > The .mp3 plays fine. great, thank you for checking! > Regards, > Matthias > > P.s.: Wie war das mit "Aber für heute mach ich Feierabend! " ;) No comment... :-D >> Am 21.04.2023 um 20:16 schrieb Klaus major-k via use-livecode : >> >> Hi friends, >> >> quick question to Windows User: >> Is LC on Windows currently able to play MP3 in a player object >> out of the box? I mean without installing third party codecs, >> like currently still neccessary for playing MP4 video files? >> >> Thanks for a quick answer! >> >> I'm very curious for the new support of the current multimedia >> architecture on Windows coming with LC 10! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From mark at livecode.com Sun Apr 23 05:18:00 2023 From: mark at livecode.com (Mark Waddingham) Date: Sun, 23 Apr 2023 10:18:00 +0100 Subject: Android 13? In-Reply-To: <2bd0f618-0be1-99a5-f768-8e159925e3c8@hyperactivesw.com> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <2bd0f618-0be1-99a5-f768-8e159925e3c8@hyperactivesw.com> Message-ID: <0c5dd5e03f7999a5080b585069d4ba79@livecode.com> On 2023-04-22 20:41, J. Landman Gay via use-livecode wrote: > I believe this is an error relating to the target version embedded in > the app. Google's policy says that new and updated apps must target an > Android API no earlier than 2 versions behind the current one. Since > API 33 is current, your app must target at least API 31. Android 14 > will be released very soon (in a couple of weeks I think) and any apps > submitted after that will need to target API 32+. Note that the target > API is not the same as the minimum supported version which can be much > lower. Google have now made it so that the effects on appstore submission are on a fixed date each year - August 31st - https://support.google.com/googleplay/android-developer/answer/11926878?hl=en. So the release of Android 14 won't affect the ability to submit apps or updates. We'll update the engine and s/b appropriately by the August deadline though :) > LC 9.6.9 targets API 31. I don't think LC 10 has updated the target > yet, so 9.6.9 is your best bet. The target API has to be an LC engine > update, we can't change it ourselves. So 10-dp-5 includes all (maintenance related changes) in 9.6.9 - so also contains the updates to Android (and iOS) version targets. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Sun Apr 23 05:22:27 2023 From: mark at livecode.com (Mark Waddingham) Date: Sun, 23 Apr 2023 10:22:27 +0100 Subject: Android 13? In-Reply-To: <5E2FF2B5-5A7C-4EC3-A4B7-24324952706C@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> <5E2FF2B5-5A7C-4EC3-A4B7-24324952706C@m-r-d.de> Message-ID: <9a151b05868de6d47d4b1f6c9d77f47b@livecode.com> > But building standalones for minimum Android version 13 is not > possible, correct? At least only 5 to 12 are currently possible options > in the standalone builder. We really need to make that drop-down work out its values from the built engine somehow :) The min-version controls the lowest version of Android the app will install on - not whether it will run. i.e. You don't set to in order to make the app run on (say) Android 13, but to say that it *only* runs on that version. (If you do need to make an app only run on Android 13, for some reason right now, you would need to use a custom manifest) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Sun Apr 23 15:18:47 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 23 Apr 2023 21:18:47 +0200 Subject: more then 1 browser widget in a web standalone? Message-ID: Hi, does any one know if it should be possible to use more than one Browser Widget in a Web standalone? Currently i only get 1 browser widget display in the Web standalone. Regards, Matthias From matthias_livecode_150811 at m-r-d.de Mon Apr 24 10:46:50 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 24 Apr 2023 16:46:50 +0200 Subject: more then 1 browser widget in a web standalone? In-Reply-To: References: Message-ID: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> I can now confirm that more than one Browser Widget will work in Web standalones, but not all URLs that work in LC IDE or Desktop standalones will work in Web standalones. For example this one here fails in Web Standalones. https://www.whatismybrowser.com/de/ > Am 23.04.2023 um 21:18 schrieb matthias rebbe via use-livecode : > > Hi, > does any one know if it should be possible to use more than one Browser Widget in a Web standalone? > Currently i only get 1 browser widget display in the Web standalone. > > Regards, > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Mon Apr 24 11:05:16 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 24 Apr 2023 16:05:16 +0100 Subject: more then 1 browser widget in a web standalone? In-Reply-To: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> References: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> Message-ID: On 2023-04-24 15:46, matthias rebbe via use-livecode wrote: > I can now confirm that more than one Browser Widget will work in Web > standalones, but not all URLs that work in LC IDE or Desktop > standalones will work in Web standalones. > For example this one here fails in Web Standalones. > > https://www.whatismybrowser.com/de/ The web browser widget is implemented as an IFrame - this comes with it a fair amount of security restrictions unless the website being embedded has appropriate cross-origin settings (or comes from the same host as the surrounding page). In this case, I suspect the website is just refusing to be embedded - indeed if you go to: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_iframe_height_width Then change the src to the website above then it won't work there either. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Mon Apr 24 11:36:44 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 24 Apr 2023 17:36:44 +0200 Subject: more then 1 browser widget in a web standalone? In-Reply-To: References: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> Message-ID: Hello Mark, thank you very much for clarifying. Tried the w3schools.com website and added the whatismybrowser... url as you suggested and it is not displayed. Good to know what was the reason for it. Regards, Matthias > Am 24.04.2023 um 17:05 schrieb Mark Waddingham via use-livecode : > > On 2023-04-24 15:46, matthias rebbe via use-livecode wrote: >> I can now confirm that more than one Browser Widget will work in Web standalones, but not all URLs that work in LC IDE or Desktop standalones will work in Web standalones. >> For example this one here fails in Web Standalones. >> https://www.whatismybrowser.com/de/ > > The web browser widget is implemented as an IFrame - this comes with it a fair amount of security restrictions unless the website being embedded has appropriate cross-origin settings (or comes from the same host as the surrounding page). > > In this case, I suspect the website is just refusing to be embedded - indeed if you go to: > > https://www.w3schools.com/html/tryit.asp?filename=tryhtml_iframe_height_width > > Then change the src to the website above then it won't work there either. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Apr 24 12:29:08 2023 From: heather at livecode.com (Heather Laine) Date: Mon, 24 Apr 2023 17:29:08 +0100 Subject: Webinar on Xavvi Tomorrow Message-ID: <8A610E75-94F7-4D42-BF38-AFC4EEBD7915@livecode.com> Dear List Folks, I trouble you briefly again. We're having a free webinar on Xavvi tomorrow where you can see a live demo and bring your questions. In case some of you have missed the invite and would like to join, there is still space: https://us02web.zoom.us/webinar/register/3716823534510/WN_VUS-nJ9pR8mhRP4tpImShA I'm really looking forward to seeing so many of you there, its going to be a great session :) Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From Mark at rauterkus.com Wed Apr 26 20:58:41 2023 From: Mark at rauterkus.com (Mark Rauterkus) Date: Wed, 26 Apr 2023 20:58:41 -0400 Subject: Are we talking about the Xavvi efforts here? In-Reply-To: References: Message-ID: Hi, I have some questions. What’s up with the April 27th offer? When does the timeline begin. So, if a year license is obtained, when might that year begin? September 1? Chat GPT is used for the creation of the app, but can the AI be used within the app too? That seems to me to be a huge benefit. So in the example with the doctor’s table, could the AI fill the data of Doctors within the county or a 50 mile area? Mark Rauterkus Mark at Rauterkus.com From heather at livecode.com Thu Apr 27 05:42:54 2023 From: heather at livecode.com (Heather Laine) Date: Thu, 27 Apr 2023 10:42:54 +0100 Subject: Are we talking about the Xavvi efforts here? In-Reply-To: References: Message-ID: Mark - April 27th is when the very best discounts on pledging expire. The timeline for pledged licenses begins when we ship Xavvi. Yes, we're adding a chatGPT connector for you to use within your apps. I hope this helps, Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 27 Apr 2023, at 01:58, Mark Rauterkus via use-livecode wrote: > > Hi, > > I have some questions. > > What’s up with the April 27th offer? > > When does the timeline begin. So, if a year license is obtained, when might > that year begin? September 1? > > Chat GPT is used for the creation of the app, but can the AI be used within > the app too? That seems to me to be a huge benefit. So in the example with > the doctor’s table, could the AI fill the data of Doctors within the county > or a 50 mile area? > > > Mark Rauterkus > Mark at Rauterkus.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 benr_mc at cogapp.com Thu Apr 27 11:42:58 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 27 Apr 2023 16:42:58 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen Message-ID: I had a need to click on an element in a web page loaded in a browser widget on a card. There might be an elegant way to do this using javascript injected into the widget, but I'm too ignorant to figure it out. So to save time (hah!), I though I could use the accessibility functionality to just click on that bit of the screen. I could get the location to click within the stack, then use globalLoc to convert it to screen coordinates. (This is just a personal stack to achieve an objective, nothing that's ever going to be shared with anyone else, so any filthy/fragile method is OK if it works.) I tested this in Script Debugger: tell application "System Events" click at {917, 667} end tell It worked fine. So then I tried the same script in my stack, via do ... as "applescript" And after a brief spinning pizza, got the dry result "execution error". I expected that this would happen because I needed to give it permission to control the computer; but after granting that in System Preferences, there was no change. Just for fun, I tried building a standalone from my stack. This demonstrated a different effect: first I got the same result "execution error". Then I granted it permission for this standalone app to 'control the computer'. Now, there's still no evidence that it sends a click; but it gives a different result, which I think is the path to the UI element corresponding to that location. If the point is over a native control in the stack, it's something like window "Ben Test Stack (1)" of application process "Ben Test Stack" of application "System Events" (I don't think LiveCode controls are recognisable by the accessibility system.) If the point is over the browser widget, 'the result' is something like: group 2 of UI element 1 of scroll area 1 of group 1 of group 1 of window "Ben Test Stack (1)" of application process "Ben Test Stack" of application "System Events" ("Ben Test Stack" is the name of my stack and of the standalone. My guess about the complicated control path is that it reflects the complicated web page loaded in the browser widget.) So that does suggest that there is something which doesn't quite work about giving the IDE permission to use the Accessibility Framework, but which does for a standalone. But still doesn't explain what the problem is. I finally solved my problem with an even uglier hack: compiling the script from Script Debugger as an 'application', and then in my stack, instead of executing the applescript directly, using "launch" on that application. Yeuchh. Can anyone shed light, either on how to grant the IDE permission to use the Accessibility controls; or on why the applescript wouldn't work? TIA, Ben From mark at livecode.com Thu Apr 27 12:03:24 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 17:03:24 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen In-Reply-To: References: Message-ID: On 2023-04-27 16:42, Ben Rubinstein via use-livecode wrote: > Can anyone shed light, either on how to grant the IDE permission to use > the Accessibility controls; or on why the applescript wouldn't work? Not immediately - no :) However, three questions... What version of LC are you using? Are you using an Apple architecture mac? If so, is the IDE running under Rosetta, and the standalone native, or vice-versa (or both the same)? -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Thu Apr 27 12:39:03 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 17:39:03 +0100 Subject: Weird window behavior In-Reply-To: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: > Ever since I updated to Ventura on my Mac I've had this weird behavior > both in the IDE and in two different standalones - if I have more than > one stack open, when I click on a stack that is behind another stack to > bring it to the front, it very briefly comes to the front (flashes), > then goes back behind everything, even windows from other apps. If I > click on the title bar it does not do this. In the menubar is still > indicates that I'm in my app. It's not happening with any non-Livecode > apps and it's occurring on two different Macs. Im not seeing this > behavior on OSes previous to Ventura. > > Am I going crazy? Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From benr at cogapp.com Thu Apr 27 14:21:19 2023 From: benr at cogapp.com (Ben Rubinstein) Date: Thu, 27 Apr 2023 19:21:19 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen In-Reply-To: References: Message-ID: <95ee9745-9b20-10bf-209a-e282b97ebc59@cogapp.com> Update to note: 1) Difference in LiveCode versions. Under the IDE in LiveCode 9.6.7 behaviour is as per the standalone; no click, and 'the result' is the path to the control. Under the IDE in LiveCode 9.6.8 or LiveCode 10.0.0dp5, 'the result' is "execution error". 2) The browser widget is a red herring; relevant only insofar as if it was some other spot on the stack, I could just the LiveCode "click at ". Whether over the browser widget or some other part of the stack window, invoking the applescript returns the identity of the control at that location, rather than clicking it (in LC 9.6.7 IDE, or standalone built from any version); or execution error in later IDEs. On 27/04/2023 16:42, Ben Rubinstein via use-livecode wrote: > I had a need to click on an element in a web page loaded in a browser widget > on a card. > > There might be an elegant way to do this using javascript injected into the > widget, but I'm too ignorant to figure it out. > > So to save time (hah!), I though I could use the accessibility functionality > to just click on that bit of the screen. I could get the location to click > within the stack, then use globalLoc to convert it to screen coordinates. > > (This is just a personal stack to achieve an objective, nothing that's ever > going to be shared with anyone else, so any filthy/fragile method is OK if it > works.) > > I tested this in Script Debugger: > >     tell application "System Events" >         click at {917, 667} >     end tell > > It worked fine. > > So then I tried the same script in my stack, via >     do ... as "applescript" > > And after a brief spinning pizza, got the dry result "execution error". > > I expected that this would happen because I needed to give it permission to > control the computer; but after granting that in System Preferences, there was > no change. > > Just for fun, I tried building a standalone from my stack. This demonstrated a > different effect: first I got the same result "execution error". Then I > granted it permission for this standalone app to 'control the computer'. Now, > there's still no evidence that it sends a click; but it gives a different > result, which I think is the path to the UI element corresponding to that > location. If the point is over a native control in the stack, it's something like >      window "Ben Test Stack (1)" of application process "Ben Test Stack" >     of application "System Events" > > (I don't think LiveCode controls are recognisable by the accessibility > system.) If the point is over the browser widget, 'the result' is something like: >     group 2 of UI element 1 of scroll area 1 of group 1 of group 1 >      of window "Ben Test Stack (1)" of application process "Ben Test Stack" >     of application "System Events" > > ("Ben Test Stack" is the name of my stack and of the standalone. My guess > about the complicated control path is that it reflects the complicated web > page loaded in the browser widget.) > > So that does suggest that there is something which doesn't quite work about > giving the IDE permission to use the Accessibility Framework, but which does > for a standalone. But still doesn't explain what the problem is. > > I finally solved my problem with an even uglier hack: compiling the script > from Script Debugger as an 'application', and then in my stack, instead of > executing the applescript directly, using "launch" on that application. Yeuchh. > > Can anyone shed light, either on how to grant the IDE permission to use the > Accessibility controls; or on why the applescript wouldn't work? > > 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 martyknappster at gmail.com Thu Apr 27 14:57:18 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 27 Apr 2023 11:57:18 -0700 Subject: Weird window behavior In-Reply-To: References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. --- Marty Knapp > On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: > > On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >> Am I going crazy? > > Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? > > The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 27 15:50:13 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Apr 2023 14:50:13 -0500 Subject: Custom property retrieval incorrect Message-ID: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From craig at starfirelighting.com Thu Apr 27 15:56:27 2023 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 27 Apr 2023 15:56:27 -0400 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Jacque. Have you tried another name, Like “XYZ”? Craig > On Apr 27, 2023, at 3:50 PM, J. Landman Gay via use-livecode wrote: > > I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. > > I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. > > There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". > > I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. > > I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. > > Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Apr 27 16:00:33 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 27 Apr 2023 22:00:33 +0200 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: <51D1EE3F-752A-4583-B544-31628B0A1F44@m-r-d.de> I just created a stack in LC 10DP5 without setting any property and run put the cVersion of this stack while the stack was show as the target in messagebox and it returned 1.0.4 When i do this in 9.6.9 it returns 3.0.9. And now if i repeat it in 10DP5 it returns also 3.0.9 without having set cVersion. > Am 27.04.2023 um 21:50 schrieb J. Landman Gay via use-livecode : > > I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. > > I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. > > There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". > > I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. > > I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. > > Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. > > -- > 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 ahsoftware at sonic.net Thu Apr 27 16:00:59 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 27 Apr 2023 13:00:59 -0700 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: On 4/27/23 12:50, J. Landman Gay via use-livecode wrote: > Anyone seen this? Is there something special about a custom prop named > "cVersion"? This used to work fine, but that was about 2 years ago. Verified here. cVersion is weird. I get 1.0.4 on all stacks. I put all the properties for update checks etc in a custom propertyset and just access them from there. Never tried cVersion before. -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Thu Apr 27 17:18:25 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 22:18:25 +0100 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Intriguing - my guess is that something in the message path in your IDEs has a getProp cVersion handler. Now it could be something built into the IDE - although I’m not sure what - or it could be a plug-in or extension. An easy way to find out is to temporarily rename the ‘My LiveCode’ folder and restart the IDE to see if it still happens… Warmest Regards, Mark Sent from my iPhone > On 27 Apr 2023, at 20:51, J. Landman Gay via use-livecode wrote: > > I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. > > I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. > > There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". > > I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. > > I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. > > Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. > > -- > 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 mark at livecode.com Thu Apr 27 17:35:21 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 22:35:21 +0100 Subject: Weird window behavior In-Reply-To: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> References: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> Message-ID: <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> Okay that is strange - but the fact it is happening when levure is loaded suggests it is some property or mechanism it is adding. The engine only really has three things (that I can think of) which change window stacking order… The backdrop - which makes the engine *try* to keep all the windows next to each other, with the backdrop window immediately behind the bottom one; The ‘raiseWindows’ global property which is basically the same as the backdrop feature - except the backdrop has zero width and height. The go command which raises a stack to the top (amongst those with same mode). So i’m not sure how a script in levure could cause that effect - unless it’s setting ‘the raiseWindows’ to true (thus making the problem you are seeing the same as the backdrop issues that others are on Ventura). Anyway, the fact it requires levure to be loaded for it to happen means we can track it down! Warmest Regards, Mark. Sent from my iPhone > On 27 Apr 2023, at 19:58, Marty Knapp via use-livecode wrote: > > No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. > --- > Marty Knapp > >> On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: >> >>> On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >>> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >>> Am I going crazy? >> >> Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? >> >> The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. >> >> Warmest Regards, >> >> Mark. >> >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Build Amazing Things >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Thu Apr 27 17:42:35 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 22:42:35 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen In-Reply-To: <95ee9745-9b20-10bf-209a-e282b97ebc59@cogapp.com> References: <95ee9745-9b20-10bf-209a-e282b97ebc59@cogapp.com> Message-ID: <5137F584-EB78-40E4-87FC-C5B585C94465@livecode.com> You didn’t mention the kind of mac you are running and whether either the standalone or ide is running in rosetta or not :) To be fair, that part was about the exec error rather than the expected outcome though… The reason you are seeing the effect you are when not doing the request from a separate process is that executing applescript is a modal operation (Ie you can’t get an application to use AppleScript to control itself) - and I suspect the accessibility framework is timing out internally and just doing the best it can in that situation. Warmest Regards, Mark. Sent from my iPhone > On 27 Apr 2023, at 19:22, Ben Rubinstein via use-livecode wrote: > > Update to note: > > 1) Difference in LiveCode versions. > > Under the IDE in LiveCode 9.6.7 behaviour is as per the standalone; no click, and 'the result' is the path to the control. Under the IDE in LiveCode 9.6.8 or LiveCode 10.0.0dp5, 'the result' is "execution error". > > 2) The browser widget is a red herring; relevant only insofar as if it was some other spot on the stack, I could just the LiveCode "click at ". Whether over the browser widget or some other part of the stack window, invoking the applescript returns the identity of the control at that location, rather than clicking it (in LC 9.6.7 IDE, or standalone built from any version); or execution error in later IDEs. > >> On 27/04/2023 16:42, Ben Rubinstein via use-livecode wrote: >> I had a need to click on an element in a web page loaded in a browser widget on a card. >> There might be an elegant way to do this using javascript injected into the widget, but I'm too ignorant to figure it out. >> So to save time (hah!), I though I could use the accessibility functionality to just click on that bit of the screen. I could get the location to click within the stack, then use globalLoc to convert it to screen coordinates. >> (This is just a personal stack to achieve an objective, nothing that's ever going to be shared with anyone else, so any filthy/fragile method is OK if it works.) >> I tested this in Script Debugger: >> tell application "System Events" >> click at {917, 667} >> end tell >> It worked fine. >> So then I tried the same script in my stack, via >> do ... as "applescript" >> And after a brief spinning pizza, got the dry result "execution error". >> I expected that this would happen because I needed to give it permission to control the computer; but after granting that in System Preferences, there was no change. >> Just for fun, I tried building a standalone from my stack. This demonstrated a different effect: first I got the same result "execution error". Then I granted it permission for this standalone app to 'control the computer'. Now, there's still no evidence that it sends a click; but it gives a different result, which I think is the path to the UI element corresponding to that location. If the point is over a native control in the stack, it's something like >> window "Ben Test Stack (1)" of application process "Ben Test Stack" >> of application "System Events" >> (I don't think LiveCode controls are recognisable by the accessibility system.) If the point is over the browser widget, 'the result' is something like: >> group 2 of UI element 1 of scroll area 1 of group 1 of group 1 >> of window "Ben Test Stack (1)" of application process "Ben Test Stack" >> of application "System Events" >> ("Ben Test Stack" is the name of my stack and of the standalone. My guess about the complicated control path is that it reflects the complicated web page loaded in the browser widget.) >> So that does suggest that there is something which doesn't quite work about giving the IDE permission to use the Accessibility Framework, but which does for a standalone. But still doesn't explain what the problem is. >> I finally solved my problem with an even uglier hack: compiling the script from Script Debugger as an 'application', and then in my stack, instead of executing the applescript directly, using "launch" on that application. Yeuchh. >> Can anyone shed light, either on how to grant the IDE permission to use the Accessibility controls; or on why the applescript wouldn't work? >> 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 ahsoftware at sonic.net Thu Apr 27 18:09:54 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 27 Apr 2023 15:09:54 -0700 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: On 4/27/23 14:18, Mark Waddingham via use-livecode wrote: > Intriguing - my guess is that something in the message path in your IDEs has a getProp cVersion handler. > > Now it could be something built into the IDE - although Im not sure what - or it could be a plug-in or extension. > > An easy way to find out is to temporarily rename the My LiveCode folder and restart the IDE to see if it still happens The 1.0.4 cVersion comes from com.livecode.library.i18n.1.0.4 The 3.0.9 cVersion comes from com.livecode.library.smartcrumbsvcw.3.0.9 Unfortunately the scripts for both are locked, so there's no workaround other than not using the cVersion custom property. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Thu Apr 27 18:32:30 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Apr 2023 17:32:30 -0500 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Those are exactly the two values I get too. The earliest version of LC I currently have installed is 9.6.7 and it happens there and in three newer versions after that. A custom property named "cVers" works okay. But I've been using "cVersion" for years and years, so not sure what the ripple effect may be if I update my older apps (which is how I found this one.) For now I can change the name of the property, I guess. Thanks for tracking it down, Mark. I'm not crazy after all. On 4/27/23 5:09 PM, Mark Wieder via use-livecode wrote: > > The 1.0.4 cVersion comes from com.livecode.library.i18n.1.0.4 > The 3.0.9 cVersion comes from com.livecode.library.smartcrumbsvcw.3.0.9 > > Unfortunately the scripts for both are locked, so there's no workaround other than not using > the cVersion custom property. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Apr 27 19:44:05 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 27 Apr 2023 23:44:05 +0000 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Well... ;-) Thanks for tracking it down, Mark. I'm not crazy after all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Thu Apr 27 20:30:56 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 27 Apr 2023 17:30:56 -0700 Subject: Weird window behavior In-Reply-To: <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> References: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> Message-ID: <2B368ABB-724C-4DA3-AC35-BD80FFBFA368@gmail.com> Bingo - it was “raiseWindows” being set to true. Setting that to false has resolved the issue. Weird that it works fine on previous macOSes previous to Ventura. --- Marty Knapp > On Apr 27, 2023, at 2:35 PM, Mark Waddingham via use-livecode wrote: > > Okay that is strange - but the fact it is happening when levure is loaded suggests it is some property or mechanism it is adding. > > The engine only really has three things (that I can think of) which change window stacking order… > > The backdrop - which makes the engine *try* to keep all the windows next to each other, with the backdrop window immediately behind the bottom one; > > The ‘raiseWindows’ global property which is basically the same as the backdrop feature - except the backdrop has zero width and height. > > The go command which raises a stack to the top (amongst those with same mode). > > So i’m not sure how a script in levure could cause that effect - unless it’s setting ‘the raiseWindows’ to true (thus making the problem you are seeing the same as the backdrop issues that others are on Ventura). > > Anyway, the fact it requires levure to be loaded for it to happen means we can track it down! > > Warmest Regards, > > Mark. > > Sent from my iPhone > >> On 27 Apr 2023, at 19:58, Marty Knapp via use-livecode wrote: >> >> No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. >> --- >> Marty Knapp >> >>> On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: >>> >>>> On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >>>> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >>>> Am I going crazy? >>> >>> Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? >>> >>> The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. >>> >>> Warmest Regards, >>> >>> Mark. >>> >>> -- >>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>> LiveCode: Build Amazing Things >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 27 20:41:53 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 27 Apr 2023 17:41:53 -0700 Subject: iOS 16.4.1 breaks connection with LiveCode test feature Message-ID: Hello everyone, There may be a problem with iOS devices updated to 16.4 or 16.4.1 and Xcode 14.2 as a working combination. The issue between them is that devices may fail to prepare for development (error from Xcode). https://developer.apple.com/forums/thread/727270 Of course, you can continue to build iOS apps with Xcode 14.2 if you accidentally allow your device to upgrade to 16.4.1. You cannot test your app directly from the LiveCode IDE using the test button if your device has been updated to iOS 16.4 or 16.4.1. You can build for TestFlight and run your app on your device that way. But, it is more cumbersome than direct testing from the LiveCode IDE. I hope this public service announcement is useful to iOS developers using LiveCode. The short of it is do not allow your iOS devices to update to 16.4.1 for now. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com From mark at livecode.com Fri Apr 28 06:36:42 2023 From: mark at livecode.com (Mark Waddingham) Date: Fri, 28 Apr 2023 11:36:42 +0100 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: <04e21fc227f1557d7ddbe4ae53aa191c@livecode.com> On 2023-04-27 23:32, J. Landman Gay via use-livecode wrote: > Those are exactly the two values I get too. The earliest version of LC > I currently have installed is 9.6.7 and it happens there and in three > newer versions after that. > > A custom property named "cVers" works okay. But I've been using > "cVersion" for years and years, so not sure what the ripple effect may > be if I update my older apps (which is how I found this one.) For now I > can change the name of the property, I guess. > > Thanks for tracking it down, Mark. I'm not crazy after all. > > On 4/27/23 5:09 PM, Mark Wieder via use-livecode wrote: >> >> The 1.0.4 cVersion comes from com.livecode.library.i18n.1.0.4 >> The 3.0.9 cVersion comes from >> com.livecode.library.smartcrumbsvcw.3.0.9 >> >> Unfortunately the scripts for both are locked, so there's no >> workaround other than not using the cVersion custom property. >> @MarkW : Thanks for tracking down which libraries it is. @Jacque (and anyone else): You can just remove those two libraries/extensions from My LiveCode for now (assuming you aren't using them). I've poked the developers of them and asked them to remove the offending getProp handlers from those libraries - hopefully an update will go out next week :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From MikeKerner at roadrunner.com Fri Apr 28 09:18:27 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 28 Apr 2023 09:18:27 -0400 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: well, my main test ipad is running 16.5, and i'm using xc 14.2 no issues with the remote debugger with this setup, anway. On Thu, Apr 27, 2023 at 8:43 PM Mark Talluto via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello everyone, > > There may be a problem with iOS devices updated to 16.4 or 16.4.1 and > Xcode 14.2 as a working combination. The issue between them is that devices > may fail to prepare for development (error from Xcode). > > https://developer.apple.com/forums/thread/727270 > > Of course, you can continue to build iOS apps with Xcode 14.2 if you > accidentally allow your device to upgrade to 16.4.1. You cannot test your > app directly from the LiveCode IDE using the test button if your device has > been updated to iOS 16.4 or 16.4.1. > > You can build for TestFlight and run your app on your device that way. > But, it is more cumbersome than direct testing from the LiveCode IDE. > > I hope this public service announcement is useful to iOS developers using > LiveCode. The short of it is do not allow your iOS devices to update to > 16.4.1 for now. > > > Best regards, > Mark Talluto > > appli.io > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From matthias_livecode_150811 at m-r-d.de Fri Apr 28 09:29:39 2023 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 28 Apr 2023 15:29:39 +0200 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: I think Mark is speaking of the On The Fly deployment in LC that is not working anymore with 16.4 to 16.4.2 and Xcode 14.2 Von meinem iPad gesendet > Am 28.04.2023 um 15:20 schrieb Mike Kerner via use-livecode : > > well, my main test ipad is running 16.5, and i'm using xc 14.2 > no issues with the remote debugger with this setup, anway. > >> On Thu, Apr 27, 2023 at 8:43 PM Mark Talluto via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hello everyone, >> >> There may be a problem with iOS devices updated to 16.4 or 16.4.1 and >> Xcode 14.2 as a working combination. The issue between them is that devices >> may fail to prepare for development (error from Xcode). >> >> https://developer.apple.com/forums/thread/727270 >> >> Of course, you can continue to build iOS apps with Xcode 14.2 if you >> accidentally allow your device to upgrade to 16.4.1. You cannot test your >> app directly from the LiveCode IDE using the test button if your device has >> been updated to iOS 16.4 or 16.4.1. >> >> You can build for TestFlight and run your app on your device that way. >> But, it is more cumbersome than direct testing from the LiveCode IDE. >> >> I hope this public service announcement is useful to iOS developers using >> LiveCode. The short of it is do not allow your iOS devices to update to >> 16.4.1 for now. >> >> >> Best regards, >> Mark Talluto >> >> appli.io >> 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 >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Apr 28 09:50:18 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 28 Apr 2023 09:50:18 -0400 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: i think that's what i'm talking about, but maybe i don't understand what he's experiencing. i'm in active development on an app. i'm building it many times per day and deploying it on my test ipad, running it, and invoking the remote debugger. since i'm running 16.5 i'm wondering if that might fix it. what i'm doing that might be slightly different is i'm not using the test button in the ide to install it, but rather the configurator (my apps are all using levure, so the build process might be slightly different). On Fri, Apr 28, 2023 at 9:30 AM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I think Mark is speaking of the On The Fly deployment in LC that is not > working anymore with 16.4 to 16.4.2 and Xcode 14.2 > > > Von meinem iPad gesendet > > > Am 28.04.2023 um 15:20 schrieb Mike Kerner via use-livecode < > use-livecode at lists.runrev.com>: > > > > well, my main test ipad is running 16.5, and i'm using xc 14.2 > > no issues with the remote debugger with this setup, anway. > > > >> On Thu, Apr 27, 2023 at 8:43 PM Mark Talluto via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >> Hello everyone, > >> > >> There may be a problem with iOS devices updated to 16.4 or 16.4.1 and > >> Xcode 14.2 as a working combination. The issue between them is that > devices > >> may fail to prepare for development (error from Xcode). > >> > >> https://developer.apple.com/forums/thread/727270 > >> > >> Of course, you can continue to build iOS apps with Xcode 14.2 if you > >> accidentally allow your device to upgrade to 16.4.1. You cannot test > your > >> app directly from the LiveCode IDE using the test button if your device > has > >> been updated to iOS 16.4 or 16.4.1. > >> > >> You can build for TestFlight and run your app on your device that way. > >> But, it is more cumbersome than direct testing from the LiveCode IDE. > >> > >> I hope this public service announcement is useful to iOS developers > using > >> LiveCode. The short of it is do not allow your iOS devices to update to > >> 16.4.1 for now. > >> > >> > >> Best regards, > >> Mark Talluto > >> > >> appli.io > >> 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 > >> > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From matthias_livecode_150811 at m-r-d.de Fri Apr 28 11:16:28 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 28 Apr 2023 17:16:28 +0200 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: <81FEA407-E7D7-4437-9515-DE3F2C20AADE@m-r-d.de> Mark, Mike's comment made me think and i installed 16.4.1 on my iPhone and was able to successfully test an LC iOS app with Xcode 14.2 using the Test button in LC 9.6.9. Regards, Matthias > Am 28.04.2023 um 02:41 schrieb Mark Talluto via use-livecode : > > Hello everyone, > > There may be a problem with iOS devices updated to 16.4 or 16.4.1 and Xcode 14.2 as a working combination. The issue between them is that devices may fail to prepare for development (error from Xcode). > > https://developer.apple.com/forums/thread/727270 > > Of course, you can continue to build iOS apps with Xcode 14.2 if you accidentally allow your device to upgrade to 16.4.1. You cannot test your app directly from the LiveCode IDE using the test button if your device has been updated to iOS 16.4 or 16.4.1. > > You can build for TestFlight and run your app on your device that way. But, it is more cumbersome than direct testing from the LiveCode IDE. > > I hope this public service announcement is useful to iOS developers using LiveCode. The short of it is do not allow your iOS devices to update to 16.4.1 for now. > > > Best regards, > Mark Talluto > > appli.io > 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 jbv at souslelogo.com Sat Apr 29 07:40:03 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 29 Apr 2023 07:40:03 -0400 Subject: mySQL and primary key Message-ID: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> Hi list, I have a mySQL table with 13500000 entries that weights almost 20 Gb. I need to create a primary key on the "id" column. I have tried in phpMyAdmin as well as in a script with "ALTER TABLE myTable ADD PRIMARY KEY(id)", but each time I get a "504 Gateway Timeout" error, and no index is created. What else can I try ? Thank you in advance. jbv From dvglasgow at gmail.com Sun Apr 30 07:35:34 2023 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 30 Apr 2023 12:35:34 +0100 Subject: Creating 'read only' text files Message-ID: Hi folks, Really simple question that I can’t see having been asked before, so here goes… I have a stack that outputs small text files. Each includes a hash value referencing part of itself that can be checked subsequently, so any change to the text can be flagged. Is there a way I can easily create read-only files (Mac & Win) to discourage accidental user changes? No need for encryption or hiding information anywhere, I just want to deter casual oopsies. Thanks in anticipation... Best Wishes, David Glasgow Honorary Professor, Nottingham Trent University Sexual Offences, Crime and Misconduct Research Unit Consultant Forensic & Clinical Psychologist Carlton Glasgow Partnership Director, Child & Family Training, York LinkedIn From dvglasgow at gmail.com Sun Apr 30 07:43:36 2023 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 30 Apr 2023 12:43:36 +0100 Subject: Weird window behavior In-Reply-To: <2B368ABB-724C-4DA3-AC35-BD80FFBFA368@gmail.com> References: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> <2B368ABB-724C-4DA3-AC35-BD80FFBFA368@gmail.com> Message-ID: <4E2E9C5F-1D02-4E91-BAD9-4AF3DED2B231@gmail.com> Only just catching up with this (been walking in Scotland)… Probably not tremendously informative now, but I’m not using Levure, I am using backdrop, and on Ventura. I’ll check the state of RaiseWindows when I can - would it be expected to change depending on backdrop use? Best Wishes, David Glasgow > On 28 Apr 2023, at 1:30 am, Marty Knapp via use-livecode wrote: > > Bingo - it was “raiseWindows” being set to true. Setting that to false has resolved the issue. Weird that it works fine on previous macOSes previous to Ventura. > --- > Marty Knapp > >> On Apr 27, 2023, at 2:35 PM, Mark Waddingham via use-livecode wrote: >> >> Okay that is strange - but the fact it is happening when levure is loaded suggests it is some property or mechanism it is adding. >> >> The engine only really has three things (that I can think of) which change window stacking order… >> >> The backdrop - which makes the engine *try* to keep all the windows next to each other, with the backdrop window immediately behind the bottom one; >> >> The ‘raiseWindows’ global property which is basically the same as the backdrop feature - except the backdrop has zero width and height. >> >> The go command which raises a stack to the top (amongst those with same mode). >> >> So i’m not sure how a script in levure could cause that effect - unless it’s setting ‘the raiseWindows’ to true (thus making the problem you are seeing the same as the backdrop issues that others are on Ventura). >> >> Anyway, the fact it requires levure to be loaded for it to happen means we can track it down! >> >> Warmest Regards, >> >> Mark. >> >> Sent from my iPhone >> >>> On 27 Apr 2023, at 19:58, Marty Knapp via use-livecode wrote: >>> >>> No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. >>> --- >>> Marty Knapp >>> >>>> On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: >>>> >>>>> On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >>>>> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >>>>> Am I going crazy? >>>> >>>> Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? >>>> >>>> The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. >>>> >>>> Warmest Regards, >>>> >>>> Mark. >>>> >>>> -- >>>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>>> LiveCode: Build Amazing Things >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 30 08:43:57 2023 From: paul at researchware.com (Paul Dupuis) Date: Sun, 30 Apr 2023 08:43:57 -0400 Subject: Creating 'read only' text files In-Reply-To: References: Message-ID: <8ba5f663-334d-1354-a5ce-18f1b08395d7@researchware.com> I don't know of a Livecode syntax per se to do this (i.e some syntax like: set the permissions of file tFile to read-only) You can do this in Livecode using the shell() function (see the dictionary) to issue applicable mac or win command lines. For eample a Google search shows the command line to change a file's permissions on Windows is: attrib +r file.txt so you could code something like (not tested): switch platform()   case "Win32"     set the hideConsoleWindows to true -- prevents windows console window from appears when the shell command executes    put "attrib +r " & quote & tFile & quote into tCommand -- were tFile is the file (path and name with native \ delimiters) you want to make read-only    put shell(tCommand) into tResult    break   case "MacOS"     -- use chmod 744 apple.txt for you to have full access and everyone else read-only OR     -- use chmod 444 apple.txt for everyone, you included, to be read-only    put "chmod 444 " & quote & tFile & quote into tCommand -- were tFile is the file (path and name) you want to make read-only    put shell(tCommand) into tResult    break end switch This code may need some tweaking but I think this is the general approach to do what you want. On 4/30/2023 7:35 AM, David V Glasgow via use-livecode wrote: > Hi folks, > > Really simple question that I cant see having been asked before, so here goes > > I have a stack that outputs small text files. Each includes a hash value referencing part of itself that can be checked subsequently, so any change to the text can be flagged. > > Is there a way I can easily create read-only files (Mac & Win) to discourage accidental user changes? No need for encryption or hiding information anywhere, I just want to deter casual oopsies. > > Thanks in anticipation... > > Best Wishes, > > David Glasgow > Honorary Professor, Nottingham Trent University > Sexual Offences, Crime and Misconduct Research Unit > Consultant Forensic & Clinical Psychologist > Carlton Glasgow Partnership > Director, Child & Family Training, York > > > LinkedIn > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sun Apr 30 16:01:45 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 30 Apr 2023 16:01:45 -0400 Subject: mySQL and primary key In-Reply-To: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> References: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> Message-ID: is this a local table? the 504 sounds like you're connecting via an api On Sat, Apr 29, 2023 at 7:41 AM jbv via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi list, > > I have a mySQL table with 13500000 entries that weights > almost 20 Gb. > I need to create a primary key on the "id" column. > I have tried in phpMyAdmin as well as in a script with > "ALTER TABLE myTable ADD PRIMARY KEY(id)", but each time > I get a "504 Gateway Timeout" error, and no index is created. > > What else can I try ? > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Sun Apr 30 17:26:22 2023 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 30 Apr 2023 17:26:22 -0400 Subject: mySQL and primary key In-Reply-To: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> References: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> Message-ID: <002201d97baa$6c8fa3f0$45aeebd0$@net> JBV, This looks like a server timeout. There is a mySQL server ini file parameter "ExecTimeLimit" There is also a phpMyAdmin ini file "LoginCookieValidity" timeout parameter. If you can't get those changed(especially "ExecTimeLimit" so you can do it by script) you will be forced to create a new table with a primary key and copy the data over in chunks small enough to avoid a timeout. 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 jbv via use-livecode Sent: Saturday, April 29, 2023 7:40 AM To: How to use LiveCode Cc: jbv at souslelogo.com Subject: mySQL and primary key Hi list, I have a mySQL table with 13500000 entries that weights almost 20 Gb. I need to create a primary key on the "id" column. I have tried in phpMyAdmin as well as in a script with "ALTER TABLE myTable ADD PRIMARY KEY(id)", but each time I get a "504 Gateway Timeout" error, and no index is created. What else can I try ? Thank you in advance. jbv _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat Apr 1 08:17:22 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 01 Apr 2023 08:17:22 -0400 Subject: How to split a large xml file Message-ID: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> Hi list, I have a 75Go xml file that I need to process, and therefore need to split it into smaller files. I tried to do that with LC, reading successive chunks of 50000 lines with an endless loop and save them in successive files, but it crashes LC (9.6.9 on OSX 10.15) every time before finishing. Of course, I am interested in any working solution using LC. On the other hand, I found EasySplitMerge that runs on Mac and the free trial version works fine on files under 30Mb. Does anyone have any experience with it on larger files ? I'd be interested in any feedback before purchasing a license. https://www.321soft.com/easysplitmerge/ Thank you in advance. jbv From kee.nethery at elloco.com Sat Apr 1 10:19:20 2023 From: kee.nethery at elloco.com (kee nethery) Date: Sat, 1 Apr 2023 07:19:20 -0700 Subject: How to split a large xml file In-Reply-To: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> References: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> Message-ID: <52D286C8-F586-40AE-9E76-77EF1A0E8F90@elloco.com> I had to do this once upon a time and I used some of the unix commands in Terminal on a mac. The command is “split” and it was wicked fast. Just be sure to work on a copy of the file. Many examples on the interwebs. If you were going to do this day in a day out, yes, a GUI app would be a good idea. But for an infrequent thing … use “split”. https://kb.iu.edu/d/afar https://www.geeksforgeeks.org/split-command-in-linux-with-examples/ I think I split mine into 5Gb files and used BBEdit to open and examine them. Not sure what maximum size file LiveCode can parse so you might want to adjust. But for sure BBEdit was a champ in opening them and scrolling through them easily. Kee Nethery > On Apr 1, 2023, at 5:17 AM, jbv via use-livecode wrote: > > Hi list, > > I have a 75Go xml file that I need to process, and therefore > need to split it into smaller files. > I tried to do that with LC, reading successive chunks of 50000 > lines with an endless loop and save them in successive files, > but it crashes LC (9.6.9 on OSX 10.15) every time before > finishing. > Of course, I am interested in any working solution using LC. > > On the other hand, I found EasySplitMerge that runs on Mac > and the free trial version works fine on files under 30Mb. > Does anyone have any experience with it on larger files ? > I'd be interested in any feedback before purchasing a > license. > https://www.321soft.com/easysplitmerge/ > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sun Apr 2 05:16:25 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sun, 02 Apr 2023 05:16:25 -0400 Subject: How to split a large xml file In-Reply-To: <52D286C8-F586-40AE-9E76-77EF1A0E8F90@elloco.com> References: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> <52D286C8-F586-40AE-9E76-77EF1A0E8F90@elloco.com> Message-ID: <7966199340b243e6200a8914c28ba4cd@souslelogo.com> Thank you so much for the tip. It took 12 hours to split 75 Gb into 1278 files of 200000 lines each. I had to add a -a5 parameter otherwise Terminal would output a "too many files" error. Thanks again. Le 2023-04-01 10:19, kee nethery via use-livecode a crit : > I had to do this once upon a time and I used some of the unix commands > in Terminal on a mac. The command is split and it was wicked fast. > Just be sure to work on a copy of the file. Many examples on the > interwebs. If you were going to do this day in a day out, yes, a GUI > app would be a good idea. But for an infrequent thing use split. > > https://kb.iu.edu/d/afar > > https://www.geeksforgeeks.org/split-command-in-linux-with-examples/ > > I think I split mine into 5Gb files and used BBEdit to open and > examine them. Not sure what maximum size file LiveCode can parse so > you might want to adjust. But for sure BBEdit was a champ in opening > them and scrolling through them easily. > > Kee Nethery > > > >> On Apr 1, 2023, at 5:17 AM, jbv via use-livecode >> wrote: >> >> Hi list, >> >> I have a 75Go xml file that I need to process, and therefore >> need to split it into smaller files. >> I tried to do that with LC, reading successive chunks of 50000 >> lines with an endless loop and save them in successive files, >> but it crashes LC (9.6.9 on OSX 10.15) every time before >> finishing. >> Of course, I am interested in any working solution using LC. >> >> On the other hand, I found EasySplitMerge that runs on Mac >> and the free trial version works fine on files under 30Mb. >> Does anyone have any experience with it on larger files ? >> I'd be interested in any feedback before purchasing a >> license. >> https://www.321soft.com/easysplitmerge/ >> >> Thank you in advance. >> jbv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Tue Apr 4 10:22:30 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Tue, 4 Apr 2023 16:22:30 +0200 Subject: How to loop through stacks with same name? Message-ID: When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! I have tried to: close stack tStack delete stack tStack That didn't work I then thought that it might be that the IDE needed some more time to clean up so I added a loop: delete stack tStack repeat while tStack is among the lines of the openStacks wait for 100 milliseconds with messages end repeat That didn’t work either as the next time I try to open a stack with the same name I get the dialog again I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: local sFileList # A text with one file path per line for all files that should be crawled local sCurrentStack # The name of the currently crawled stack on stackCrawl if sCurrentStack is among the lines of the openstacks then send “stackCrawl” to me in 500 milliseconds else if sCurrentStack is not empty then # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) put empty into sCurrentStack if sFileList is empty then # All stacks crawled => We are finished! else send “stackCrawl” to me in 0 milliseconds end if else # sCurrentStack is empty so we should move on to the next stack in the file list! put line 1 of sFileList into tFile delete line 1 of sFileList put the openStacks into tStackList open stack tFile repeat for each line aStack in the openStacks if aStack is not among the lines of tStackList then put aStack into sCurrentStack exit repeat end if end repeat # Do needed operations on sCurrentStack delete sCurrentStack send “stackCrawl” to me in 500 milliseconds end if end stackCrawl This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: put the substacks of stack sCurrentStack into tSubStacks lock messages repeat for each line tSubStack in tSubstacks close stack tSubStack end repeat delete stack sCurrentStack unlock messages I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks” I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! I’ve reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround… From paul at researchware.com Tue Apr 4 11:18:12 2023 From: paul at researchware.com (Paul Dupuis) Date: Tue, 4 Apr 2023 11:18:12 -0400 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> I believe there is a IDE handler you can call to unload a stack - something like "revUnloadStack" or similar, but I do not recall the exact API name. Hopefully, some one else on the list has the exact API details. Alternatively, contact support at livecode.com and ask what the IDE API is to unload a stack. On 4/4/2023 10:22 AM, Hkan Liljegren via use-livecode wrote: > When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! > > I have tried to: > > close stack tStack > delete stack tStack > > That didn't work > > I then thought that it might be that the IDE needed some more time to clean up so I added a loop: > delete stack tStack > repeat while tStack is among the lines of the openStacks > wait for 100 milliseconds with messages > end repeat > > That didnt work either as the next time I try to open a stack with the same name I get the dialog again > > I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: > > local sFileList # A text with one file path per line for all files that should be crawled > local sCurrentStack # The name of the currently crawled stack > > on stackCrawl > if sCurrentStack is among the lines of the openstacks then > send stackCrawl to me in 500 milliseconds > else if sCurrentStack is not empty then > # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) > put empty into sCurrentStack > if sFileList is empty then > # All stacks crawled => We are finished! > else > send stackCrawl to me in 0 milliseconds > end if > else # sCurrentStack is empty so we should move on to the next stack in the file list! > put line 1 of sFileList into tFile > delete line 1 of sFileList > put the openStacks into tStackList > open stack tFile > repeat for each line aStack in the openStacks > if aStack is not among the lines of tStackList then > put aStack into sCurrentStack > exit repeat > end if > end repeat > # Do needed operations on sCurrentStack > delete sCurrentStack > send stackCrawl to me in 500 milliseconds > end if > end stackCrawl > > This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: > > put the substacks of stack sCurrentStack into tSubStacks > lock messages > repeat for each line tSubStack in tSubstacks > close stack tSubStack > end repeat > delete stack sCurrentStack > unlock messages > > I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! > > Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! > > So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! > > Ive reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 11:31:57 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Apr 2023 15:31:57 +0000 Subject: test Message-ID: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> This is a test of the use list. Bob S From craig at starfirelighting.com Tue Apr 4 14:42:04 2023 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 4 Apr 2023 14:42:04 -0400 Subject: How to loop through stacks with same name? In-Reply-To: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> References: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> Message-ID: <1BF1D56C-7BE2-4AAB-97FD-FFBB285ECF02@starfirelighting.com> Bi. There has been much discussion on the forum why, if the “destroyStack” property is set to “true”, there still seems to be remnants of that stack that linger when the “close stack” command is given. Nonetheless, have you established that this property is set? If not, set it, and let us know if that worked. Craig > On Apr 4, 2023, at 11:18 AM, Paul Dupuis via use-livecode wrote: > > I believe there is a IDE handler you can call to unload a stack - something like "revUnloadStack" or similar, but I do not recall the exact API name. > > Hopefully, some one else on the list has the exact API details. Alternatively, contact support at livecode.com and ask what the IDE API is to unload a stack. > > > > On 4/4/2023 10:22 AM, Håkan Liljegren via use-livecode wrote: >> When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! >> >> I have tried to: >> >> close stack tStack >> delete stack tStack >> >> That didn't work >> >> I then thought that it might be that the IDE needed some more time to clean up so I added a loop: >> delete stack tStack >> repeat while tStack is among the lines of the openStacks >> wait for 100 milliseconds with messages >> end repeat >> >> That didn’t work either as the next time I try to open a stack with the same name I get the dialog again >> >> I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: >> >> local sFileList # A text with one file path per line for all files that should be crawled >> local sCurrentStack # The name of the currently crawled stack >> >> on stackCrawl >> if sCurrentStack is among the lines of the openstacks then >> send “stackCrawl” to me in 500 milliseconds >> else if sCurrentStack is not empty then >> # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) >> put empty into sCurrentStack >> if sFileList is empty then >> # All stacks crawled => We are finished! >> else >> send “stackCrawl” to me in 0 milliseconds >> end if >> else # sCurrentStack is empty so we should move on to the next stack in the file list! >> put line 1 of sFileList into tFile >> delete line 1 of sFileList >> put the openStacks into tStackList >> open stack tFile >> repeat for each line aStack in the openStacks >> if aStack is not among the lines of tStackList then >> put aStack into sCurrentStack >> exit repeat >> end if >> end repeat >> # Do needed operations on sCurrentStack >> delete sCurrentStack >> send “stackCrawl” to me in 500 milliseconds >> end if >> end stackCrawl >> This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: >> >> put the substacks of stack sCurrentStack into tSubStacks >> lock messages >> repeat for each line tSubStack in tSubstacks >> close stack tSubStack >> end repeat >> delete stack sCurrentStack >> unlock messages >> >> I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! >> >> Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks” I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! >> >> So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! >> >> I’ve reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround… >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Tue Apr 4 14:42:41 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Tue, 4 Apr 2023 20:42:41 +0200 Subject: How to loop through stacks with same name? In-Reply-To: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> References: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> Message-ID: <7ECD0DDB-C182-4C21-A544-AEFD350DF624@exformedia.se> Thanks for the input, digging further… If I run the following code: put 0 into tCount delete tStackID put revLoadedStacks() into tStackList repeat while tStack is among the lines of tStackList add 1 to tCount delete stack tStack wait 100 milliseconds with messages put revLoadedStacks() into tStackList end repeat put "Looped " & tCount & " times" & CR & tStackList I get the output “Looped 0 times” followed by a list without tStack but If I then run ‘put revLoadedStacks()' from a button or in the message box the stack is back again! My very unprofessional guess is that this reappearance of the stack might be the same problems that sometimes causes the infinite save-purge-cancel loop that sometimes occurs in the IDE. If I on the other hand run ‘delete stack “mystack”’ in the message box. The stack is gone and never reappears! > On 4 Apr 2023, at 17:18, Paul Dupuis via use-livecode wrote: > > I believe there is a IDE handler you can call to unload a stack - something like "revUnloadStack" or similar, but I do not recall the exact API name. > > Hopefully, some one else on the list has the exact API details. Alternatively, contact support at livecode.com and ask what the IDE API is to unload a stack. > > > > On 4/4/2023 10:22 AM, Håkan Liljegren via use-livecode wrote: >> When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! >> >> I have tried to: >> >> close stack tStack >> delete stack tStack >> >> That didn't work >> >> I then thought that it might be that the IDE needed some more time to clean up so I added a loop: >> delete stack tStack >> repeat while tStack is among the lines of the openStacks >> wait for 100 milliseconds with messages >> end repeat >> >> That didn’t work either as the next time I try to open a stack with the same name I get the dialog again >> >> I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: >> >> local sFileList # A text with one file path per line for all files that should be crawled >> local sCurrentStack # The name of the currently crawled stack >> >> on stackCrawl >> if sCurrentStack is among the lines of the openstacks then >> send “stackCrawl” to me in 500 milliseconds >> else if sCurrentStack is not empty then >> # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) >> put empty into sCurrentStack >> if sFileList is empty then >> # All stacks crawled => We are finished! >> else >> send “stackCrawl” to me in 0 milliseconds >> end if >> else # sCurrentStack is empty so we should move on to the next stack in the file list! >> put line 1 of sFileList into tFile >> delete line 1 of sFileList >> put the openStacks into tStackList >> open stack tFile >> repeat for each line aStack in the openStacks >> if aStack is not among the lines of tStackList then >> put aStack into sCurrentStack >> exit repeat >> end if >> end repeat >> # Do needed operations on sCurrentStack >> delete sCurrentStack >> send “stackCrawl” to me in 500 milliseconds >> end if >> end stackCrawl >> This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: >> >> put the substacks of stack sCurrentStack into tSubStacks >> lock messages >> repeat for each line tSubStack in tSubstacks >> close stack tSubStack >> end repeat >> delete stack sCurrentStack >> unlock messages >> >> I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! >> >> Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks” I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! >> >> So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! >> >> I’ve reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround… >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 16:47:25 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Apr 2023 20:47:25 +0000 Subject: Sockets (again) Message-ID: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> I have sockets working in my File Server Agent, but only using non-blocking calls, that is using "with message". Removing the "with message" bit does not return any response from the server agent. For instance I send a payload using write payload to socket tSocket with message "messageReceived" The messageReceived handler gets triggered, and I can then read from socket tSocket until EOF -- or other delimiter it will then contain the response from the File Server Agent. If however I use write payload to socket tSocket -- blocking read from socket tSocket until EOF -- or some other delimiter doesn't matter the call times out and nothing ends up in the it or result variables. I can (and have) made the non-blocking method work, but that means I have to send all the files I want to transfer all at once, because if I send them one at a time, I need to know if the last transfer succeeded before continuing. Does anyone have an example of a blocking socket server? The example in Livecode Lessons really only focuses on non-blocking calls. Bob S From phil at pdslabs.net Tue Apr 4 23:06:19 2023 From: phil at pdslabs.net (Phil Davis) Date: Tue, 4 Apr 2023 20:06:19 -0700 Subject: Sockets (again) In-Reply-To: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> Message-ID: <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> Bob - Don't use EOF. It's broken since forever ago. I've done both of the following methods with success: -- either -- End your data stream with a CR, and then on the receiving end "read from socket XYZ for 1 line". This assumes that the data stream itself doesn't contain any CRs. I normally base64-encode the data stream, then replace CR with empty in the encoded string. This doesn't interfere with base64Decoding on the receiving end - it'll still work fine. -- or -- Make line 1 of your data stream an integer that is the number of bytes in line 2 of your data stream Make line 2 of your data stream the data you want to send Then on the receiving end, do a two-step: - read from socket XYZ for 1 line - put it into tDataLength - read from socket XYZ for tDataLength bytes That's all I got :-) Phil Davis On 4/4/23 1:47 PM, Bob Sneidar via use-livecode wrote: > I have sockets working in my File Server Agent, but only using non-blocking calls, that is using "with message". Removing the "with message" bit does not return any response from the server agent. > > For instance I send a payload using > write payload to socket tSocket with message "messageReceived" > The messageReceived handler gets triggered, and I can then > read from socket tSocket until EOF -- or other delimiter > it will then contain the response from the File Server Agent. > > If however I use > write payload to socket tSocket -- blocking > read from socket tSocket until EOF -- or some other delimiter doesn't matter > > the call times out and nothing ends up in the it or result variables. > > I can (and have) made the non-blocking method work, but that means I have to send all the files I want to transfer all at once, because if I send them one at a time, I need to know if the last transfer succeeded before continuing. > > Does anyone have an example of a blocking socket server? The example in Livecode Lessons really only focuses on non-blocking calls. > > 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 > -- Phil Davis (503) 307-4363 From jacque at hyperactivesw.com Wed Apr 5 00:42:59 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Apr 2023 23:42:59 -0500 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Are you opening all the same-named stacks at once? LC warns that this produces unreliable results and should be avoided. The "delete stack" command does work from a script, but if there are several open with the same name there's no telling what the engine will do. The normal way to handle this is to only open one, delete it when done with it, and then open the next. But if it is necessary for some reason to have multiple same-named stacks open then check the mainstacks rather than the openstacks. The mainstacks function should report all stacks in memory, not just the ones that are open on screen. Untested, but try this: repeat until "stackName" is not in the mainstacks -- whatever the duplicate stack name is delete stack "stackName" end repeat It might work. Also, check your LC preferences in the Files and Memory pane. Tick the option to close the stack even if its deleteStack property is false. That should allow you to close any stack and remove it from memory just with the close box. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 4, 2023 9:25:08 AM Hkan Liljegren via use-livecode wrote: > When my students turn in their assignments all their individual stacks > usually have the same name. If I try to loop through all of them there > seems to be no way to close one stack and move on to the next one (with the > same name) without getting the dialog asking if I want to save, purge or > cancel the previous stack?! From bobsneidar at iotecdigital.com Wed Apr 5 11:07:26 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Apr 2023 15:07:26 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. Bob S On Apr 4, 2023, at 21:42, J. Landman Gay via use-livecode wrote: But if it is necessary for some reason to have multiple same-named stacks open then check the mainstacks rather than the openstacks. From bobsneidar at iotecdigital.com Wed Apr 5 11:13:51 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Apr 2023 15:13:51 +0000 Subject: Sockets (again) In-Reply-To: <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> Message-ID: <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> Thanks Phil. Yes I learned the hard way with my SQL Agent to base64encode anything over sockets. And yes I do append a numtochar(13) coming and going and strip it off before decoding and read until numToChar(13). I don't use cr because I am uncertain how each OS platform treats it. The Server Agent could be running on anything in the future. I also instituted a debugging log and determined the File Server Agent is getting the payload and sending the result back, but for whatever reason the client side is not getting the result. It may be that I have to initiate some kind of delay on the server side because the assumption has to be that the reply is getting sent before the client starts listening. Bob S > On Apr 4, 2023, at 20:06, Phil Davis via use-livecode wrote: > > Bob - > > Don't use EOF. It's broken since forever ago. > > I've done both of the following methods with success: > > -- either -- > > End your data stream with a CR, and then on the receiving end "read from socket XYZ for 1 line". This assumes that the data stream itself doesn't contain any CRs. I normally base64-encode the data stream, then replace CR with empty in the encoded string. This doesn't interfere with base64Decoding on the receiving end - it'll still work fine. > > -- or -- > > Make line 1 of your data stream an integer that is the number of bytes in line 2 of your data stream > Make line 2 of your data stream the data you want to send > > Then on the receiving end, do a two-step: > - read from socket XYZ for 1 line > - put it into tDataLength > - read from socket XYZ for tDataLength bytes > > > That's all I got :-) > Phil Davis > > > > On 4/4/23 1:47 PM, Bob Sneidar via use-livecode wrote: >> I have sockets working in my File Server Agent, but only using non-blocking calls, that is using "with message". Removing the "with message" bit does not return any response from the server agent. >> >> For instance I send a payload using >> write payload to socket tSocket with message "messageReceived" >> The messageReceived handler gets triggered, and I can then >> read from socket tSocket until EOF -- or other delimiter >> it will then contain the response from the File Server Agent. >> >> If however I use >> write payload to socket tSocket -- blocking >> read from socket tSocket until EOF -- or some other delimiter doesn't matter >> >> the call times out and nothing ends up in the it or result variables. >> >> I can (and have) made the non-blocking method work, but that means I have to send all the files I want to transfer all at once, because if I send them one at a time, I need to know if the last transfer succeeded before continuing. >> >> Does anyone have an example of a blocking socket server? The example in Livecode Lessons really only focuses on non-blocking calls. >> >> 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 >> > > -- > 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 bobsneidar at iotecdigital.com Wed Apr 5 11:15:36 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Apr 2023 15:15:36 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> Message-ID: <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! Bob S On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: Oooh Pro Tip #276 from Jacque. I'm gonna use that one. Bob S From jacque at hyperactivesw.com Wed Apr 5 12:48:58 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 05 Apr 2023 11:48:58 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> Message-ID: <18752524c90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It should be fairly instant, I use a similar handler routinely. It doesn't check all the mainstacks, only determines if the name is in the list. Then it deletes the named stack directly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 5, 2023 10:17:31 AM Bob Sneidar via use-livecode wrote: > Whoa! No I'm not! There's over 300 mainstacks just from Livecode! > > Bob S > > > On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode > wrote: > > Oooh Pro Tip #276 from Jacque. I'm gonna use that one. > > 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 rdimola at evergreeninfo.net Wed Apr 5 13:06:47 2023 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 5 Apr 2023 13:06:47 -0400 Subject: How to loop through stacks with same name? In-Reply-To: <18752524c90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <18752524c90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <004101d967e1$0487ee20$0d97ca60$@net> Use "filter". It is blazingly fast. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Wednesday, April 05, 2023 12:49 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: How to loop through stacks with same name? It should be fairly instant, I use a similar handler routinely. It doesn't check all the mainstacks, only determines if the name is in the list. Then it deletes the named stack directly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 5, 2023 10:17:31 AM Bob Sneidar via use-livecode wrote: > Whoa! No I'm not! There's over 300 mainstacks just from Livecode! > > Bob S > > > On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode > wrote: > > Oooh Pro Tip #276 from Jacque. I'm gonna use that one. > > 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 ahsoftware at sonic.net Wed Apr 5 13:29:57 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 5 Apr 2023 10:29:57 -0700 Subject: Sockets (again) In-Reply-To: <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> Message-ID: <8a74522f-2963-9d41-e53d-dd37971fe570@sonic.net> On 4/5/23 08:13, Bob Sneidar via use-livecode wrote: > Thanks Phil. Yes I learned the hard way with my SQL Agent to base64encode anything over sockets. And yes I do append a numtochar(13) coming and going and strip it off before decoding and read until numToChar(13). I don't use cr because I am uncertain how each OS platform treats it. The Server Agent could be running on anything in the future. If you're already base64encoding the text you might consider a different end character than numtochar(13). For instance, numtochar(3) is already defined as "End of Text". That should eliminate or at least reduce any cross-platform issues you might run into. https://www.ascii-code.com/ -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Apr 5 15:27:15 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 5 Apr 2023 14:27:15 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> Message-ID: <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> I just created four same-named stacks and ran my suggested handler wrapped with timer commands. All four were deleted in 67 milliseconds. LC 10.0.0 DP 4. put the milliseconds into tStart repeat while "test" is in the mainstacks delete stack "test" end repeat answer the milliseconds - tStart Ralph's idea to use filter is good too but slightly slower, at (a fairly insignificant) 79 milliseconds: put the milliseconds into tStart filter the mainstacks with "test*" into tStacks repeat for each line l in tStacks delete stack l end repeat answer the milliseconds - tStart On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: > Whoa! No I'm not! There's over 300 mainstacks just from Livecode! > > Bob S > > > On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: > > Oooh Pro Tip #276 from Jacque. I'm gonna use that one. > > 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 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From info at dicod.com Thu Apr 6 01:03:32 2023 From: info at dicod.com (Jean-Jacques Wagner) Date: Thu, 6 Apr 2023 07:03:32 +0200 Subject: Ventura 1.3 - revcopyfile Message-ID: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Hi, Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one old stack, which I don not use for year is copied. So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my documents which I will have to deliver within the next 5 days. But at first I couldn’t at a time open document, then I was able to pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. This is an alert, I will be able to go deeper finding the trouble by end of next week. Have a nice Easter ! Jean-Jacques Wagner From merakosp at gmail.com Thu Apr 6 02:25:17 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 6 Apr 2023 09:25:17 +0300 Subject: Ventura 1.3 - revcopyfile In-Reply-To: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Message-ID: Hello Jean-Jacques, This sounds like a permissions issue. Which version of LiveCode are you using? IIRC, I think we fixed a similar issue in LC 9.6.8 - we added proper permissions to the LC IDE and standalones to use AppleScript to control other apps in recent MacOS versions. If you still see the problem in LC 9.6.8+, I suggest you file a bug report ( https://quality.livecode.com) and include a simple sample stack which we can use to reproduce the problem. Kind regards, Panos On Thu, 6 Apr 2023 at 08:05, Jean-Jacques Wagner via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. > The function revcopyfile does not work anymore. > I have stack to manage files (over 8000 pdf files), which with > revcopyfile are getting corrupt. There are not anymore openable > using preview, but also pages dokument are getting lost or corrupt, > because not anymore reopenable. > > Some time a file placed in a folder is not anymore openable, moving it on > the desktop, there is sometime against openable. > > I pin down the problems on a script, where I do makes on regular basis a > backup of about 10 textfiles (Wrangler) and 20 stacks, > so using revcopyfile and rename file to do it. The backup is not longer > functioning, make no copies of the files anymore. Just one > old stack, which I don not use for year is copied. > > So I can spend just now the time to go more deeper and investigate on the > problem, since I have to be careful not to loose my > documents which I will have to deliver within the next 5 days. But at > first I couldn’t at a time open document, then I was able to > pin down thats was not the system but the function revcopyfile should be > at the center of the problems. Possibly it has to do with > AppleScript (I hate this app, which was and is almost a copy of hypercard > in a very bad manner) on which revcopyfile should work. > > This is an alert, I will be able to go deeper finding the trouble by end > of next week. > > Have a < > https://dict.leo.org/englisch-deutsch/a> nice < > https://dict.leo.org/englisch-deutsch/nice> Easter < > https://dict.leo.org/englisch-deutsch/Easter>! > > Jean-Jacques Wagner > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 6 07:28:11 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 6 Apr 2023 07:28:11 -0400 Subject: Ventura 1.3 - revcopyfile In-Reply-To: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Message-ID: You may also be able to address this by giving any Standalone if this app is it's own Standalone) or the Livecode version you are using the "Full Disk Access" permission, from System Settings On 4/6/2023 1:03 AM, Jean-Jacques Wagner via use-livecode wrote: > Hi, > Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. > I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable > using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. > > Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. > > I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, > so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one > old stack, which I don not use for year is copied. > > So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my > documents which I will have to deliver within the next 5 days. But at first I couldnt at a time open document, then I was able to > pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with > AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. > > This is an alert, I will be able to go deeper finding the trouble by end of next week. > > Have a nice Easter ! > > Jean-Jacques Wagner > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Apr 6 07:58:53 2023 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 6 Apr 2023 12:58:53 +0100 Subject: How to loop through stacks with same name? In-Reply-To: <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> Message-ID: <5dd3f9b2-d20d-2851-3227-5cc51d6daf83@tweedly.net> Jacque, those two code snippets do slightly different things - and I don't think either of them is doing exactly what's intended; I think the intent is to delete stack(s) called (exactly) "test". The first one will (wrongly) catch a stack called "testabc" or "abctest" - and then will fail on deleting 'test'. The second one also catches "testabc" - but in this case deletes it unintentionally. Alternatively, we could go straight to the point > > put the milliseconds into tStart > repeat forever >   try >      delete stack "test" >   catch tmp >     exit repeat >   end > end repeat > answer the milliseconds - tStart > again, the timings are overlapping - the variation between different runs far outweighs the difference between the methods. I think that could be different if there many other mainstacks in play, but I don't see that it would be significant in any realistic case. So pick the one that seems  most easily read and understood :-) Alex. On 05/04/2023 20:27, J. Landman Gay via use-livecode wrote: > I just created four same-named stacks and ran my suggested handler > wrapped with timer commands. All four were deleted in 67 milliseconds. > LC 10.0.0 DP 4. > > put the milliseconds into tStart > repeat while "test" is in the mainstacks >    delete stack "test" > end repeat > answer the milliseconds - tStart > > Ralph's idea to use filter is good too but slightly slower, at (a > fairly insignificant) 79 milliseconds: > > put the milliseconds into tStart > filter the mainstacks with "test*" into tStacks > repeat for each line l in tStacks >    delete stack l > end repeat > answer the milliseconds - tStart > > On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >> >> Bob S >> >> >> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode >> wrote: >> >> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >> >> 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 MikeKerner at roadrunner.com Thu Apr 6 08:22:06 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Apr 2023 08:22:06 -0400 Subject: test In-Reply-To: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: and it's a great, big, gigantic failburger end of line. On Tue, Apr 4, 2023 at 11:33 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > This is a test of the use list. > > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From hakan at exformedia.se Thu Apr 6 08:45:44 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Thu, 6 Apr 2023 14:45:44 +0200 Subject: How to loop through stacks with same name? In-Reply-To: <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> Message-ID: <75FE2FA5-FF34-4263-83DE-3C0CB68AE4E6@exformedia.se> Thanks for the tip! But unfortunately already tried that! I only try to work with one stack at a time. If I set a breakpoint and step over the line delete stack “teststack" And then try to open a new stack with the same name there is no dialog box If I run the same code (without any breakpoints). I can wait forever (well kind of) and the stack will still be among the mainStacks. If I run your suggest code with a counter addition: repeat while "teststack" is among the lines of the mainStacks delete stack "teststack" add 1 to tCount end repeat put tCount I get an output of 1 but again if I bring up the message box after the code Is executed and do a “put the mainStacks” the stack is back again! If I run a loop over all my 25 stacks (or so) with the same name using the code above it loops through several stacks in quick succession but then I got the dialog again, and again, and again, and again… until I force quitted LiveCode. Created there stacks teststack1, 2 and 3 in the same folder all with the same name “teststack”. If I then run the following code from another stack in the same folder: set the itemDelimiter to slash put item 1 to -2 of the filename of this stack into tPath repeat with i = 1 to 3 open stack tPath & "/teststack" & i & ".livecode" repeat while “teststack" is among the lines of the mainStacks delete stack "teststack" end repeat end repeat Then I get a dialog asking what I want to do with teststack1 before I load teststack2 and teststack2 is still open after the code has run! If I create 6 stacks and run the same code (but from 1 to 6 of course) I get into the unstoppable dialog loop and needs to quit LiveCode! I’ve update the bug report https://quality.livecode.com/show_bug.cgi?id=24163 with new example ( https://quality.livecode.com/attachment.cgi?id=11421 ) that causes my LiveCode to get into the endless dialog loop. So, don’t run this if you have unsaved work in another stack! If it works for you Jacqueline, what platform are you using? Maybe this is a Mac only problem? I’m running MacOS Ventura 13.1 on a MacBook Pro (M1 Max). :-Håkan > On 5 Apr 2023, at 21:27, J. Landman Gay via use-livecode wrote: > > I just created four same-named stacks and ran my suggested handler wrapped with timer commands. All four were deleted in 67 milliseconds. LC 10.0.0 DP 4. > > put the milliseconds into tStart > repeat while "test" is in the mainstacks > delete stack "test" > end repeat > answer the milliseconds - tStart > > Ralph's idea to use filter is good too but slightly slower, at (a fairly insignificant) 79 milliseconds: > > put the milliseconds into tStart > filter the mainstacks with "test*" into tStacks > repeat for each line l in tStacks > delete stack l > end repeat > answer the milliseconds - tStart > > On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >> Bob S >> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: >> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >> 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 > > -- > 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 craig at starfirelighting.com Thu Apr 6 09:05:43 2023 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 6 Apr 2023 09:05:43 -0400 Subject: test In-Reply-To: References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: Mike. Why a failure? i see you. Craig > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode wrote: > > and it's a great, big, gigantic failburger > end of line. > > On Tue, Apr 4, 2023 at 11:33 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> This is a test of the use list. >> >> 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 >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From phil at liverpool.ac.uk Thu Apr 6 09:08:32 2023 From: phil at liverpool.ac.uk (Jimmieson, Phil) Date: Thu, 6 Apr 2023 13:08:32 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <75FE2FA5-FF34-4263-83DE-3C0CB68AE4E6@exformedia.se> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> <75FE2FA5-FF34-4263-83DE-3C0CB68AE4E6@exformedia.se> Message-ID: In 2017 I reported a bug related to opening a series of stack files all with the same name. The problem was that I could not get the old stacks to go away and eventually I would end up in the “duplicate stack name” dialog infinite loop. https://quality.livecode.com/show_bug.cgi?id=19075 Panos suggested putting a lock messages / unlock messages set of statements around the code that opened and accessed each stack and that did seem to fix the problem I was having (though not the bug in LiveCode). Maybe you could do something similar here? Another thing I considered was to rename each old stack with a unique suffix so that the names would no longer clash, even if the stack ended up staying in memory for longer than necessary… > On 6 Apr 2023, at 13:45, Håkan Liljegren via use-livecode wrote: > > Thanks for the tip! But unfortunately already tried that! I only try to work with one stack at a time. > > If I set a breakpoint and step over the line > delete stack “teststack" > > And then try to open a new stack with the same name there is no dialog box > If I run the same code (without any breakpoints). I can wait forever (well kind of) and the stack will still be among the mainStacks. If I run your suggest code with a counter addition: > > repeat while "teststack" is among the lines of the mainStacks > delete stack "teststack" > add 1 to tCount > end repeat > put tCount > > I get an output of 1 but again if I bring up the message box after the code Is executed and do a “put the mainStacks” the stack is back again! If I run a loop over all my 25 stacks (or so) with the same name using the code above it loops through several stacks in quick succession but then I got the dialog again, and again, and again, and again… until I force quitted LiveCode. > > Created there stacks teststack1, 2 and 3 in the same folder all with the same name “teststack”. If I then run the following code from another stack in the same folder: > > set the itemDelimiter to slash > put item 1 to -2 of the filename of this stack into tPath > repeat with i = 1 to 3 > open stack tPath & "/teststack" & i & ".livecode" > repeat while “teststack" is among the lines of the mainStacks > delete stack "teststack" > end repeat > end repeat > > Then I get a dialog asking what I want to do with teststack1 before I load teststack2 and teststack2 is still open after the code has run! If I create 6 stacks and run the same code (but from 1 to 6 of course) I get into the unstoppable dialog loop and needs to quit LiveCode! > > I’ve update the bug report https://quality.livecode.com/show_bug.cgi?id=24163 with new example ( https://quality.livecode.com/attachment.cgi?id=11421 ) that causes my LiveCode to get into the endless dialog loop. So, don’t run this if you have unsaved work in another stack! > > If it works for you Jacqueline, what platform are you using? Maybe this is a Mac only problem? I’m running MacOS Ventura 13.1 on a MacBook Pro (M1 Max). > > :-Håkan > >> On 5 Apr 2023, at 21:27, J. Landman Gay via use-livecode wrote: >> >> I just created four same-named stacks and ran my suggested handler wrapped with timer commands. All four were deleted in 67 milliseconds. LC 10.0.0 DP 4. >> >> put the milliseconds into tStart >> repeat while "test" is in the mainstacks >> delete stack "test" >> end repeat >> answer the milliseconds - tStart >> >> Ralph's idea to use filter is good too but slightly slower, at (a fairly insignificant) 79 milliseconds: >> >> put the milliseconds into tStart >> filter the mainstacks with "test*" into tStacks >> repeat for each line l in tStacks >> delete stack l >> end repeat >> answer the milliseconds - tStart >> >> On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >>> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >>> Bob S >>> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: >>> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >>> 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 >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Jimmieson (He/Him) University of Liverpool, Computer Science Department Ashton Bldg, Ashton Street, Liverpool. L69 3BX 0151 795 4236 From jacque at hyperactivesw.com Thu Apr 6 13:13:11 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 12:13:11 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <5dd3f9b2-d20d-2851-3227-5cc51d6daf83@tweedly.net> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> <5dd3f9b2-d20d-2851-3227-5cc51d6daf83@tweedly.net> Message-ID: <187578ed458.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You're right, though I assumed the stack names would be sufficiently unique. But your way is safer. Regardless of the method, I have no idea why it isn't working for Hkan. It should. Hkan, did you check your LC preferences in Files and Memory? Try the various options. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 7:00:29 AM Alex Tweedly via use-livecode wrote: > Jacque, > > those two code snippets do slightly different things - and I don't think > either of them is doing exactly what's intended; I think the intent is > to delete stack(s) called (exactly) "test". > > The first one will (wrongly) catch a stack called "testabc" or "abctest" > - and then will fail on deleting 'test'. > > The second one also catches "testabc" - but in this case deletes it > unintentionally. > > Alternatively, we could go straight to the point >> >> put the milliseconds into tStart >> repeat forever >> try >> delete stack "test" >> catch tmp >> exit repeat >> end >> end repeat >> answer the milliseconds - tStart > again, the timings are overlapping - the variation between different > runs far outweighs the difference between the methods. I think that > could be different if there many other mainstacks in play, but I don't > see that it would be significant in any realistic case. > > So pick the one that seems most easily read and understood :-) > > Alex. > > On 05/04/2023 20:27, J. Landman Gay via use-livecode wrote: >> I just created four same-named stacks and ran my suggested handler >> wrapped with timer commands. All four were deleted in 67 milliseconds. >> LC 10.0.0 DP 4. >> >> put the milliseconds into tStart >> repeat while "test" is in the mainstacks >> delete stack "test" >> end repeat >> answer the milliseconds - tStart >> >> Ralph's idea to use filter is good too but slightly slower, at (a >> fairly insignificant) 79 milliseconds: >> >> put the milliseconds into tStart >> filter the mainstacks with "test*" into tStacks >> repeat for each line l in tStacks >> delete stack l >> end repeat >> answer the milliseconds - tStart >> >> On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >>> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >>> >>> Bob S >>> >>> >>> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode >>> wrote: >>> >>> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >>> >>> 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 roland.huettmann at gmail.com Thu Apr 6 14:15:37 2023 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 6 Apr 2023 20:15:37 +0200 Subject: How to loop through stacks with same name? Message-ID: I had all the same problems running through hundreds of stacks with the aim to take snapshots of each to easily identify a stack visually. The dialog for stacks with name conflicts always popped up. None of the methods worked for me. But I will try again. I have a lot of stacks with different versions, same name, and I do not want to change the stack name since a stack is mostly not isolated and needs a fixed name to communicate with other stacks. My changes of version numbers are visible in the label name only. One solution would be if it were possible to address a stack by id. But that does not work even though a stack has an id. And if it were possible, how to ensure that each id is unique? The name conflict could probably only be solved by the Livecode team? It is annoying frequently. But there a side effects to any solution to think about first. But I will try whatever may work. Roland From bobsneidar at iotecdigital.com Thu Apr 6 14:55:29 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Apr 2023 18:55:29 +0000 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> I just tried to close a stack using it's full path and it did sort of, BUT... it only closes the window. The Window menu in LC still shows the stack! The destroyStack and destroyWindow properties are both true. Is that the expected behavior??? There are of course other stacks in use, library stacks and behaviors. That may be the issue. Still, closing a stack should CLOSE the stack! In response to someone else's post, the ID of a stack is not really it's ID, it's the ID that gets assigned to the next object created in that stack, and then it gets incremented. There was talk some while back about assigning a REAL ID to a stack so we could deal with just this very issue. Bob S > On Apr 6, 2023, at 11:15, R.H. via use-livecode wrote: > > I had all the same problems running through hundreds of stacks with the aim > to take snapshots of each to easily identify a stack visually. The dialog > for stacks with name conflicts always popped up. None of the methods worked > for me. But I will try again. > > I have a lot of stacks with different versions, same name, and I do not > want to change the stack name since a stack is mostly not isolated and > needs a fixed name to communicate with other stacks. My changes of version > numbers are visible in the label name only. > > One solution would be if it were possible to address a stack by id. But > that does not work even though a stack has an id. And if it were possible, > how to ensure that each id is unique? > > The name conflict could probably only be solved by the Livecode team? It is > annoying frequently. But there a side effects to any solution to think > about first. > > But I will try whatever may work. > > Roland From bobsneidar at iotecdigital.com Thu Apr 6 14:59:48 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Apr 2023 18:59:48 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> References: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> Message-ID: <1F64F12E-4A32-4BD2-84C9-06D9B0671741@iotecdigital.com> This begs another question, how high can the id of a stack go? Presently mine is over 33 million! (I use a lot of datagrids). Bob S > On Apr 6, 2023, at 11:55, Bob Sneidar via use-livecode wrote: > > I just tried to close a stack using it's full path and it did sort of, BUT... it only closes the window. The Window menu in LC still shows the stack! The destroyStack and destroyWindow properties are both true. Is that the expected behavior??? > > There are of course other stacks in use, library stacks and behaviors. That may be the issue. Still, closing a stack should CLOSE the stack! > > In response to someone else's post, the ID of a stack is not really it's ID, it's the ID that gets assigned to the next object created in that stack, and then it gets incremented. There was talk some while back about assigning a REAL ID to a stack so we could deal with just this very issue. > > Bob S > >> On Apr 6, 2023, at 11:15, R.H. via use-livecode wrote: >> >> I had all the same problems running through hundreds of stacks with the aim >> to take snapshots of each to easily identify a stack visually. The dialog >> for stacks with name conflicts always popped up. None of the methods worked >> for me. But I will try again. >> >> I have a lot of stacks with different versions, same name, and I do not >> want to change the stack name since a stack is mostly not isolated and >> needs a fixed name to communicate with other stacks. My changes of version >> numbers are visible in the label name only. >> >> One solution would be if it were possible to address a stack by id. But >> that does not work even though a stack has an id. And if it were possible, >> how to ensure that each id is unique? >> >> The name conflict could probably only be solved by the Livecode team? It is >> annoying frequently. But there a side effects to any solution to think >> about first. >> >> But I will try whatever may work. >> >> Roland > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 6 15:28:01 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 14:28:01 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> References: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> Message-ID: <187580a45e8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Closing a stack is different from deleting a stack. Deleting gets rid of it completely as you'd expect. Closing a stack removes it from view, removes it from the message path, and does everything a deleted stack does *except* it is kept in memory. The window structure and stack content are retained, the stacks are listed in the mainstacks (but not the openStacks) and appear in the IDE Window menu. Back in the day, this was to allow stacks to re-open quickly. With today's computers that's not really necessary any more, though it is useful if you have scripts that refer to other stacks often but you don't want them visible or in the message path. I have a multi-stack project that jumps from one stack to another. Their destroyStack property is false so when I close the stacks they are not deleted, which keeps them available and avoids excessive disk access. To completely remove a stack, use "delete" (note that the File menu offers "close and remove from memory -- two different actions.) At least, theoretically. I've never had trouble with deletion but apparently there's a bug in there somewhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 1:57:40 PM Bob Sneidar via use-livecode wrote: > Still, closing a stack should CLOSE the stack! From jacque at hyperactivesw.com Thu Apr 6 15:31:12 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 14:31:12 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> References: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> Message-ID: <187580d3000.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Sorry, I missed the first part of your post. If destroyStack/Window is true then yes, I'd expect it to be completely removed when closed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 1:57:40 PM Bob Sneidar via use-livecode wrote: > I just tried to close a stack using it's full path and it did sort of, > BUT... it only closes the window. The Window menu in LC still shows the > stack! The destroyStack and destroyWindow properties are both true. Is that > the expected behavior??? From jacque at hyperactivesw.com Thu Apr 6 15:35:21 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 14:35:21 -0500 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The best solution would be for LC to use file paths instead of stack names to identify stacks. But the current implementation is so embedded in the IDE that changing it would probably break everything. This has been discussed quite a bit in the past but there's no easy solution. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 1:17:59 PM "R.H. via use-livecode" wrote: > > The name conflict could probably only be solved by the Livecode team? It is > annoying frequently. But there a side effects to any solution to think > about first. From bobsneidar at iotecdigital.com Thu Apr 6 16:06:23 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Apr 2023 20:06:23 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> You can supply the full path of a stack to the close stack command, but not to the delete stack command. That may be worth a look by the devs. Bob S > On Apr 6, 2023, at 12:35, J. Landman Gay via use-livecode wrote: > > The best solution would be for LC to use file paths instead of stack names to identify stacks. But the current implementation is so embedded in the IDE that changing it would probably break everything. This has been discussed quite a bit in the past but there's no easy solution. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 6, 2023 1:17:59 PM "R.H. via use-livecode" wrote: >> >> The name conflict could probably only be solved by the Livecode team? It is >> annoying frequently. But there a side effects to any solution to think >> about first. From hechris at ziggo.nl Thu Apr 6 19:53:59 2023 From: hechris at ziggo.nl (Chris Heidecker) Date: Fri, 7 Apr 2023 01:53:59 +0200 Subject: Ventura 1.3 - revcopyfile In-Reply-To: References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Message-ID: <38858DE0-432D-407D-8926-8A53BB35EAD5@ziggo.nl> Hi, I had some trouble using revCopyFolder, maybe it is related. Looking for a method to move/duplicate folders on MacOS I tried using revCopyFolder. The internal LC appleScript seems to use 'copy folder' in LC9.6.8 On MacOS 12.6.3 that does not work for me. 'duplicate folder' does. Not sure since when or what version this changed. Maybe it's the same for revCopyFile Applescript from LiveCode works pretty well for me, most of the time. Moving and duplicating folders in the Finder by applescript from LC is slow. Adding 'ignoring application responses' get's the beachball away, but also all the results and errors. Maybe somebody has a different workaround? My script for 'do ... as applescript' looks something like this: set sourcePath to "/Users/.../...." set destinationPath to "/Users/.../...." tell application "Finder" ignoring application responses set theSource to sourcePath as POSIX file set theDestination to destinationPath as POSIX file duplicate folder theSource to folder theDestination end ignoring end tell The script works like expected, but getting the results and errors would be helpfull. regards, Chris Hiedecker > Op 6 apr. 2023, om 13:28 heeft Paul Dupuis via use-livecode het volgende geschreven: > > You may also be able to address this by giving any Standalone if this app is it's own Standalone) or the Livecode version you are using the "Full Disk Access" permission, from System Settings > > > > On 4/6/2023 1:03 AM, Jean-Jacques Wagner via use-livecode wrote: >> Hi, >> Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. >> I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable >> using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. >> >> Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. >> >> I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, >> so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one >> old stack, which I don not use for year is copied. >> >> So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my >> documents which I will have to deliver within the next 5 days. But at first I couldn’t at a time open document, then I was able to >> pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with >> AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. >> >> This is an alert, I will be able to go deeper finding the trouble by end of next week. >> >> Have a nice Easter ! >> >> Jean-Jacques Wagner >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 6 20:11:29 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Apr 2023 00:11:29 +0000 Subject: Ventura 1.3 - revcopyfile In-Reply-To: <38858DE0-432D-407D-8926-8A53BB35EAD5@ziggo.nl> References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> <38858DE0-432D-407D-8926-8A53BB35EAD5@ziggo.nl> Message-ID: <69BEF281-7769-433A-838B-C5C1BFD9B21C@iotecdigital.com> I just use createFolder. I discovered however that the folder you are creating the new folder in has to exist already. In other words, if the root folder is hdd/users/bob/documents I cannot simply create a folder hdd/users/bob/documents/filetransfer/data/forms. I have to create file transfer, then create data, then create forms. I typically do this by setting the itemDelimiter to "/" then looping through the items and checking to see if the folder exists next repeating if it does, appending the current item to the path, creating the folder, then rinse and repeat. Bob S > On Apr 6, 2023, at 16:53, Chris Heidecker via use-livecode wrote: > > Hi, > > I had some trouble using revCopyFolder, maybe it is related. > > Looking for a method to move/duplicate folders on MacOS I tried using revCopyFolder. > > The internal LC appleScript seems to use 'copy folder' in LC9.6.8 > On MacOS 12.6.3 that does not work for me. > 'duplicate folder' does. > Not sure since when or what version this changed. > Maybe it's the same for revCopyFile > > Applescript from LiveCode works pretty well for me, most of the time. > Moving and duplicating folders in the Finder by applescript from LC is slow. > > Adding 'ignoring application responses' get's the beachball away, but also all the results and errors. > Maybe somebody has a different workaround? > > My script for 'do ... as applescript' looks something like this: > > set sourcePath to "/Users/.../...." > set destinationPath to "/Users/.../...." > tell application "Finder" > ignoring application responses > set theSource to sourcePath as POSIX file > set theDestination to destinationPath as POSIX file > duplicate folder theSource to folder theDestination > end ignoring > end tell > > The script works like expected, but getting the results and errors would be helpfull. > > regards, > Chris Hiedecker > >> Op 6 apr. 2023, om 13:28 heeft Paul Dupuis via use-livecode het volgende geschreven: >> >> You may also be able to address this by giving any Standalone if this app is it's own Standalone) or the Livecode version you are using the "Full Disk Access" permission, from System Settings >> >> >> >> On 4/6/2023 1:03 AM, Jean-Jacques Wagner via use-livecode wrote: >>> Hi, >>> Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. >>> I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable >>> using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. >>> >>> Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. >>> >>> I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, >>> so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one >>> old stack, which I don not use for year is copied. >>> >>> So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my >>> documents which I will have to deliver within the next 5 days. But at first I couldn’t at a time open document, then I was able to >>> pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with >>> AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. >>> >>> This is an alert, I will be able to go deeper finding the trouble by end of next week. >>> >>> Have a nice Easter ! >>> >>> Jean-Jacques Wagner >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Apr 7 08:04:19 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 7 Apr 2023 14:04:19 +0200 Subject: Android native scroller Message-ID: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Hi friends, I have a working scroller for a long field on Android. The user can "jump" to a certain position in the text with: ---------------------------- on mouseup set the vScroll of group "scrollgroup" to 1670 end mouseup ---------------------------- So far, so good. But when the user starts scrolling from there, the scoller (vScroll) jumps back to 0 and the scrolling start from there again. What do I need to add to prevent this? Know what I mean? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Apr 7 08:19:10 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 7 Apr 2023 15:19:10 +0300 Subject: Android native scroller In-Reply-To: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Message-ID: Hello Klaus, I _think_ you also have to do: mobileControlSet "myScroller", "vScroll", 1670 Kind regards, Panos -- On Fri, 7 Apr 2023 at 15:05, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi friends, > > I have a working scroller for a long field on Android. > The user can "jump" to a certain position in the text with: > ---------------------------- > on mouseup > set the vScroll of group "scrollgroup" to 1670 > end mouseup > ---------------------------- > So far, so good. > > But when the user starts scrolling from there, the scoller (vScroll) > jumps back to 0 and the scrolling start from there again. > > What do I need to add to prevent this? > Know what I mean? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brian at milby7.com Fri Apr 7 08:22:02 2023 From: brian at milby7.com (Brian Milby) Date: Fri, 7 Apr 2023 08:22:02 -0400 Subject: Android native scroller In-Reply-To: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Message-ID: <24858AC3-A770-4A99-9EE0-C165B45216FA@milby7.com> I can’t look at code right now but essentially you need to match the native scroller with the field scroll position as a separate step. Brian Milby brian at milby7.com > On Apr 7, 2023, at 8:05 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > I have a working scroller for a long field on Android. > The user can "jump" to a certain position in the text with: > ---------------------------- > on mouseup > set the vScroll of group "scrollgroup" to 1670 > end mouseup > ---------------------------- > So far, so good. > > But when the user starts scrolling from there, the scoller (vScroll) > jumps back to 0 and the scrolling start from there again. > > What do I need to add to prevent this? > Know what I mean? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Apr 7 08:24:19 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 7 Apr 2023 14:24:19 +0200 Subject: Android native scroller In-Reply-To: References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Message-ID: <118EF8FE-9661-4A42-B978-8F71EE955E7D@major-k.de> Hi Panos, > Am 07.04.2023 um 14:19 schrieb panagiotis m via use-livecode : > > Hello Klaus, > > I _think_ you also have to do: > mobileControlSet "myScroller", "vScroll", 1670 YES, you thought right, that was it. :-) Thanks a BUNCH! > Kind regards, > Panos Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Fri Apr 7 08:25:17 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 7 Apr 2023 14:25:17 +0200 Subject: Android native scroller In-Reply-To: <24858AC3-A770-4A99-9EE0-C165B45216FA@milby7.com> References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> <24858AC3-A770-4A99-9EE0-C165B45216FA@milby7.com> Message-ID: Hi Brian, > Am 07.04.2023 um 14:22 schrieb Brian Milby via use-livecode : > > I can’t look at code right now but essentially you need to match the native scroller with the field scroll position as a separate step. yep, that's it, but Panos was a tad faster! ;-) Thank you! > Brian Milby > brian at milby7.com > >> On Apr 7, 2023, at 8:05 AM, Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> I have a working scroller for a long field on Android. >> The user can "jump" to a certain position in the text with: >> ---------------------------- >> on mouseup >> set the vScroll of group "scrollgroup" to 1670 >> end mouseup >> ---------------------------- >> So far, so good. >> >> But when the user starts scrolling from there, the scoller (vScroll) >> jumps back to 0 and the scrolling start from there again. >> >> What do I need to add to prevent this? >> Know what I mean? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Fri Apr 7 15:46:35 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 7 Apr 2023 14:46:35 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> References: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> Message-ID: <54e18644-c235-361a-bd1c-9300a9ee56c2@hyperactivesw.com> On 4/6/23 3:06 PM, Bob Sneidar via use-livecode wrote: > You can supply the full path of a stack to the close stack command, but not to the delete stack command. That may be worth a look by the devs. I was able to delete a stack using the full filepath: delete stack "/Users//Desktop/deleteTest.livecode" It no longer appeared in the mainstacks. LC 10.0 DP 4 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Apr 7 16:34:19 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Apr 2023 20:34:19 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <54e18644-c235-361a-bd1c-9300a9ee56c2@hyperactivesw.com> References: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> <54e18644-c235-361a-bd1c-9300a9ee56c2@hyperactivesw.com> Message-ID: Whaa? I’m on 9.6.9 I’ll have another peek. Probably typed something wrong in the message box. Sent from my iPhone > On Apr 7, 2023, at 12:47, J. Landman Gay via use-livecode wrote: > > On 4/6/23 3:06 PM, Bob Sneidar via use-livecode wrote: >> You can supply the full path of a stack to the close stack command, but not to the delete stack command. That may be worth a look by the devs. > > I was able to delete a stack using the full filepath: > delete stack "/Users//Desktop/deleteTest.livecode" > > It no longer appeared in the mainstacks. > > LC 10.0 DP 4 > -- > 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 bob at bobhall.net Sat Apr 8 09:58:55 2023 From: bob at bobhall.net (bob at bobhall.net) Date: Sat, 8 Apr 2023 09:58:55 -0400 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 Message-ID: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> I'm wondering if anyone might be able to help me out. I’m trying to use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am able to open the app in the IDE with no issue. When I try to open the app with LC 9.6.9rc3 I get “An error occurred while initializing the application [unable to load external Preferences]”. I’m tracing through the Levure script now and can see in fact the Preference stack is not being loaded. I’ve confirmed Preferences.bundle is at the location referenced in the script. Can anyone steer me in a direction for a fix to this? Thanks in advance, Bob From martyknappster at gmail.com Sat Apr 8 11:50:27 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Sat, 8 Apr 2023 08:50:27 -0700 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> Message-ID: <06B9C118-575A-4C56-9CC4-886B7E2CADE0@gmail.com> I use Levure to build apps too and discovered this issue when my standalones try to run natively on the Apple “M” chips. I’m guessing that LC 9.6.9rc3 (haven’t tried it yet) defaults to running natively rather than under Rosetta. For some reason when running natively it apparently thinks that something in the “Preferences.bundle" is a (not native) external so won’t/can’t load it. So I am also needing a solution to this but no luck so far. --- Marty Knapp > On Apr 8, 2023, at 6:58 AM, bob--- via use-livecode wrote: > > I'm wondering if anyone might be able to help me out. I’m trying to use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am able to open the app in the IDE with no issue. > > When I try to open the app with LC 9.6.9rc3 I get “An error occurred while initializing the application [unable to load external Preferences]”. I’m tracing through the Levure script now and can see in fact the Preference stack is not being loaded. I’ve confirmed Preferences.bundle is at the location referenced in the script. > > Can anyone steer me in a direction for a fix to this? > > Thanks in advance, > Bob From MikeKerner at roadrunner.com Sun Apr 9 08:54:54 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 9 Apr 2023 08:54:54 -0400 Subject: test In-Reply-To: References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: poor joke. it's like when you're gaming, and someone gets on their headset and asks if anyone can hear them, and everyone replies "No." On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike. > > Why a failure? i see you. > > Craig > > > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > and it's a great, big, gigantic failburger > > end of line. > > > > On Tue, Apr 4, 2023 at 11:33 AM Bob Sneidar via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> This is a test of the use list. > >> > >> 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 > >> > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tom at makeshyft.com Sun Apr 9 20:40:32 2023 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Apr 2023 20:40:32 -0400 Subject: Sockets (again) In-Reply-To: <8a74522f-2963-9d41-e53d-dd37971fe570@sonic.net> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> <8a74522f-2963-9d41-e53d-dd37971fe570@sonic.net> Message-ID: Thanks guys, this was a very insightful thread. On Wed, Apr 5, 2023 at 1:31 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/5/23 08:13, Bob Sneidar via use-livecode wrote: > > Thanks Phil. Yes I learned the hard way with my SQL Agent to > base64encode anything over sockets. And yes I do append a numtochar(13) > coming and going and strip it off before decoding and read until > numToChar(13). I don't use cr because I am uncertain how each OS platform > treats it. The Server Agent could be running on anything in the future. > > If you're already base64encoding the text you might consider a different > end character than numtochar(13). For instance, numtochar(3) is already > defined as "End of Text". That should eliminate or at least reduce any > cross-platform issues you might run into. > > https://www.ascii-code.com/ > > -- > 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 jbv at souslelogo.com Mon Apr 10 04:07:57 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 10 Apr 2023 04:07:57 -0400 Subject: revXML and UTF8 Message-ID: Hi list, I have an xml file with lots of non-western characters (greek, arabic, japanese...). I need to convert these data into sql requests to insert into a DB. For each node, I need to pick only some attributes, so I wrote a script that : - opens the file as utf8 - processes each node - writes a file as utf8 with the processed data. My problem is that all non-western characters appear as ???? in the final file. Should I use unidecode for each revXMLNodeContents ? What am I missing ? Thank you in advance. jbv From mark at livecode.com Mon Apr 10 06:23:31 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 10 Apr 2023 11:23:31 +0100 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> Message-ID: On 2023-04-08 14:58, bob--- via use-livecode wrote: > I'm wondering if anyone might be able to help me out. Im trying to > use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am > able to open the app in the IDE with no issue. > > When I try to open the app with LC 9.6.9rc3 I get An error occurred > while initializing the application [unable to load external > Preferences]. Im tracing through the Levure script now and can see > in fact the Preference stack is not being loaded. Ive confirmed > Preferences.bundle is at the location referenced in the script. > > Can anyone steer me in a direction for a fix to this? So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. The preferences external will need to be rebuilt with an arm64 slice and included in Levure. (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From paul at researchware.com Mon Apr 10 07:28:39 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Apr 2023 07:28:39 -0400 Subject: revXML and UTF8 In-Reply-To: References: Message-ID: Look up textEncode and textDecode in the dictionary. Text from or to a file needs to be decoded or encoded since LC 7. On 4/10/2023 4:07 AM, jbv via use-livecode wrote: > Hi list, > > I have an xml file with lots of non-western characters > (greek, arabic, japanese...). I need to convert these > data into sql requests to insert into a DB. > For each node, I need to pick only some attributes, so > I wrote a script that : > - opens the file as utf8 > - processes each node > - writes a file as utf8 with the processed data. > > My problem is that all non-western characters appear as > ???? in the final file. > Should I use unidecode for each revXMLNodeContents ? > What am I missing ? > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Apr 10 10:09:18 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 10 Apr 2023 17:09:18 +0300 Subject: [[ ANN ]] Release 9.6.9 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.9 STABLE. LiveCode 9.6.9 STABLE comes with more than 75 bugfixes and improvements, compared to the previous stable (9.6.8) release, including: - Support for Android API 31, which is now a requirement for submitting new apps to the Google Play Store. - Update to the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode built apps including "SSL & Encryption" to be submitted successfully to the Google Play Store. - Support for building with Xcode 14.2 and the iOS 16.2 SDK to meet the new (as of April 2023) requirements of the Apple AppStore. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-9-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From bobsneidar at iotecdigital.com Mon Apr 10 11:41:14 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Apr 2023 15:41:14 +0000 Subject: test In-Reply-To: References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> You must be in my guild! Bob S On Apr 9, 2023, at 05:54, Mike Kerner via use-livecode wrote: poor joke. it's like when you're gaming, and someone gets on their headset and asks if anyone can hear them, and everyone replies "No." On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < use-livecode at lists.runrev.com> wrote: Mike. Why a failure? i see you. Craig On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: and it's a great, big, gigantic failburger end of line. From mkoob at rogers.com Mon Apr 10 12:24:24 2023 From: mkoob at rogers.com (Martin Koob) Date: Mon, 10 Apr 2023 12:24:24 -0400 Subject: test In-Reply-To: <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> Message-ID: <4B7D445A-536E-4A6A-9EDC-12E6B8CDB2AF@rogers.com> A better joke would be for everyone to say nothing. … and let the fun ensue... Martin > On Apr 10, 2023, at 11:41 AM, Bob Sneidar via use-livecode wrote: > > You must be in my guild! > > Bob S > > > On Apr 9, 2023, at 05:54, Mike Kerner via use-livecode wrote: > > poor joke. it's like when you're gaming, and someone gets on their headset > and asks if anyone can hear them, and everyone replies "No." > > On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Mike. > > Why a failure? i see you. > > Craig > > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > and it's a great, big, gigantic failburger > end of line. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Mon Apr 10 13:06:44 2023 From: jiml at netrin.com (Jim Lambert) Date: Mon, 10 Apr 2023 10:06:44 -0700 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: Panos et al., Thanks for the 9.6.9 release. The team's great work is appreciated. Jim Lambert From MikeKerner at roadrunner.com Mon Apr 10 13:45:32 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Apr 2023 13:45:32 -0400 Subject: test In-Reply-To: <4B7D445A-536E-4A6A-9EDC-12E6B8CDB2AF@rogers.com> References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> <4B7D445A-536E-4A6A-9EDC-12E6B8CDB2AF@rogers.com> Message-ID: it was two days. i couldn't just let it go, any longer. On Mon, Apr 10, 2023 at 12:25 PM Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > A better joke would be for everyone to say nothing. > > … and let the fun ensue... > > Martin > > > > On Apr 10, 2023, at 11:41 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > You must be in my guild! > > > > Bob S > > > > > > On Apr 9, 2023, at 05:54, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > poor joke. it's like when you're gaming, and someone gets on their > headset > > and asks if anyone can hear them, and everyone replies "No." > > > > On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < > > use-livecode at lists.runrev.com> > wrote: > > > > Mike. > > > > Why a failure? i see you. > > > > Craig > > > > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> > wrote: > > > > and it's a great, big, gigantic failburger > > end of line. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Apr 10 13:45:59 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Apr 2023 13:45:59 -0400 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: so does that mean i can upgrade macos to 13? On Mon, Apr 10, 2023 at 1:08 PM Jim Lambert via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos et al., > > Thanks for the 9.6.9 release. The team's great work is appreciated. > > Jim Lambert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dan at clearvisiontech.com Mon Apr 10 13:46:48 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 17:46:48 +0000 Subject: Android SDK Tools Missing In-Reply-To: References: Message-ID: I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. Any ideas? -Dan From matthias_livecode_150811 at m-r-d.de Mon Apr 10 14:28:41 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 10 Apr 2023 20:28:41 +0200 Subject: Android SDK Tools Missing In-Reply-To: References: Message-ID: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Hello Dan, i am not sure what exactly your problem is. Do you just not see the any SDK Tools listed on the tab or do you just not see the version that you want to install? If the latter then "enable" the option "show package details". This will show all available SDK tools. Regards Matthias > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode : > > I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. > > Any ideas? > > -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 dan at clearvisiontech.com Mon Apr 10 14:37:35 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 18:37:35 +0000 Subject: Android SDK Tools Missing In-Reply-To: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Matthias, Thank you for the reply. The “SDK Tools” is just not listed. Everything else is. I see “Android Emulator” and “Android SDK Platform-Tools”, but not “Android SDK Tools”. “Show Package Details” is checked. -Dan From: use-livecode on behalf of matthias rebbe via use-livecode Date: Monday, April 10, 2023 at 11:30 AM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: Android SDK Tools Missing Hello Dan, i am not sure what exactly your problem is. Do you just not see the any SDK Tools listed on the tab or do you just not see the version that you want to install? If the latter then "enable" the option "show package details". This will show all available SDK tools. Regards Matthias > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode : > > I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. > > Any ideas? > > -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 jbv at souslelogo.com Mon Apr 10 14:46:44 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 10 Apr 2023 14:46:44 -0400 Subject: revXML and UTF8 In-Reply-To: References: Message-ID: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> Nope, when I process the data without using the xml library, all characters display fine. The problem is really with revXML. There must be a trick for using revXML with UTF8 file format. Le 2023-04-10 07:28, Paul Dupuis via use-livecode a crit : > Look up textEncode and textDecode in the dictionary. Text from or to a > file needs to be decoded or encoded since LC 7. > > > On 4/10/2023 4:07 AM, jbv via use-livecode wrote: >> Hi list, >> >> I have an xml file with lots of non-western characters >> (greek, arabic, japanese...). I need to convert these >> data into sql requests to insert into a DB. >> For each node, I need to pick only some attributes, so >> I wrote a script that : >> - opens the file as utf8 >> - processes each node >> - writes a file as utf8 with the processed data. >> >> My problem is that all non-western characters appear as >> ???? in the final file. >> Should I use unidecode for each revXMLNodeContents ? >> What am I missing ? >> >> Thank you in advance. >> jbv >> From dan at clearvisiontech.com Mon Apr 10 14:54:35 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 18:54:35 +0000 Subject: Android SDK Tools Missing In-Reply-To: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Interesting… When I uncheck “Hide Obsolete Packages”, the “Android SDK Tools” appears. Although, it says “Android SDK Tools (Obsolete)”. -Dan Hello Dan, i am not sure what exactly your problem is. Do you just not see the any SDK Tools listed on the tab or do you just not see the version that you want to install? If the latter then "enable" the option "show package details". This will show all available SDK tools. Regards Matthias > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode : > > I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. > > Any ideas? > > -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 merakosp at gmail.com Mon Apr 10 14:55:25 2023 From: merakosp at gmail.com (panagiotis m) Date: Mon, 10 Apr 2023 21:55:25 +0300 Subject: Android SDK Tools Missing In-Reply-To: References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Hello Dan, If you uncheck the option "Hide Obsolete Packages" then you will see the "Android SDK Tools" package. It is now marked a s obsolete, so I am not entirely sure if it is still necessary. Kind regards, Panos -- On Mon, 10 Apr 2023 at 21:38, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Matthias, > > Thank you for the reply. The “SDK Tools” is just not listed. Everything > else is. I see “Android Emulator” and “Android SDK Platform-Tools”, but > not “Android SDK Tools”. “Show Package Details” is checked. > > -Dan > > > From: use-livecode on behalf of > matthias rebbe via use-livecode > Date: Monday, April 10, 2023 at 11:30 AM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: Android SDK Tools Missing > Hello Dan, > > i am not sure what exactly your problem is. > > Do you just not see the any SDK Tools listed on the tab or do you just > not see the version that you want to install? > If the latter then "enable" the option "show package details". This will > show all available SDK tools. > > Regards > Matthias > > > > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > I am following the directions ( > https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) > to install Android Studio on my Apple M1 Max Mac. The instructions say to > select the “Android SDK Tools”. However, this option is not listed in the > “SDK Tools” tab of the Android Studio Preferences. Did I do something > wrong, or do I have to download this manually? If so, where do I get this? > > > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the > dreaded “The chosen folder is not a valid Android SDK. Please ensure you > have installed it correctly, and enabled support for Android 10.0.” message. > > > > Any ideas? > > > > -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 dan at clearvisiontech.com Mon Apr 10 15:00:13 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 19:00:13 +0000 Subject: Android SDK Tools Missing In-Reply-To: References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Panos, Yes, thank you! I discovered that. I did install it and now LC accepted the SDK root. Woo Hoo! The JDK path didn’t fill in so I’ll have to investigate that next. Thank you! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Monday, April 10, 2023 at 11:56 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Android SDK Tools Missing Hello Dan, If you uncheck the option "Hide Obsolete Packages" then you will see the "Android SDK Tools" package. It is now marked a s obsolete, so I am not entirely sure if it is still necessary. Kind regards, Panos -- On Mon, 10 Apr 2023 at 21:38, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Matthias, > > Thank you for the reply. The “SDK Tools” is just not listed. Everything > else is. I see “Android Emulator” and “Android SDK Platform-Tools”, but > not “Android SDK Tools”. “Show Package Details” is checked. > > -Dan > > > From: use-livecode on behalf of > matthias rebbe via use-livecode > Date: Monday, April 10, 2023 at 11:30 AM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: Android SDK Tools Missing > Hello Dan, > > i am not sure what exactly your problem is. > > Do you just not see the any SDK Tools listed on the tab or do you just > not see the version that you want to install? > If the latter then "enable" the option "show package details". This will > show all available SDK tools. > > Regards > Matthias > > > > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > I am following the directions ( > https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) > to install Android Studio on my Apple M1 Max Mac. The instructions say to > select the “Android SDK Tools”. However, this option is not listed in the > “SDK Tools” tab of the Android Studio Preferences. Did I do something > wrong, or do I have to download this manually? If so, where do I get this? > > > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the > dreaded “The chosen folder is not a valid Android SDK. Please ensure you > have installed it correctly, and enabled support for Android 10.0.” message. > > > > Any ideas? > > > > -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 > _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 10 15:24:22 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Apr 2023 15:24:22 -0400 Subject: revXML and UTF8 In-Reply-To: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> References: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> Message-ID: <7b259d9c-4fbb-d0da-9ed0-0ac72c4fb5b6@researchware.com> This known bug is reading a UTF8 XML file, and I gather you are writing (or trying to write) a UTF8 XML file, but it may be related: https://quality.livecode.com/show_bug.cgi?id=21320 On 4/10/2023 2:46 PM, jbv via use-livecode wrote: > Nope, when I process the data without using the xml library, all > characters display fine. The problem is really with revXML. > There must be a trick for using revXML with UTF8 file format. > > > Le 2023-04-10 07:28, Paul Dupuis via use-livecode a crit : >> Look up textEncode and textDecode in the dictionary. Text from or to a >> file needs to be decoded or encoded since LC 7. >> >> >> On 4/10/2023 4:07 AM, jbv via use-livecode wrote: >>> Hi list, >>> >>> I have an xml file with lots of non-western characters >>> (greek, arabic, japanese...). I need to convert these >>> data into sql requests to insert into a DB. >>> For each node, I need to pick only some attributes, so >>> I wrote a script that : >>> - opens the file as utf8 >>> - processes each node >>> - writes a file as utf8 with the processed data. >>> >>> My problem is that all non-western characters appear as >>> ???? in the final file. >>> Should I use unidecode for each revXMLNodeContents ? >>> What am I missing ? >>> >>> Thank you in advance. >>> jbv >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Apr 10 15:27:12 2023 From: merakosp at gmail.com (panagiotis m) Date: Mon, 10 Apr 2023 22:27:12 +0300 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: Hello Mike, MacOS 13.x was supported in previous LC versions too. If your goal is to build iOS apps, it is possible even with Xcode 13.2 on MacOS 13.x. Yes, Xcode 13.2 won't run on MacOS 13.x, but LC just needs Xcode 13.2 to "be there", since it does not run Xcode directly. it just uses some command line tools that are bundled within Xcode. Kind regards, Panos -- On Mon, 10 Apr 2023, 20:47 Mike Kerner via use-livecode, < use-livecode at lists.runrev.com> wrote: > so does that mean i can upgrade macos to 13? > > On Mon, Apr 10, 2023 at 1:08 PM Jim Lambert via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Panos et al., > > > > Thanks for the 9.6.9 release. The team's great work is appreciated. > > > > Jim Lambert > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Mon Apr 10 15:29:53 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Apr 2023 15:29:53 -0400 Subject: revXML and UTF8 In-Reply-To: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> References: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> Message-ID: <18db09a9-89d7-c5b4-95d8-b54a38000d50@researchware.com> And, as of LC9, there was a generic issue with revXML and Unicode. See https://quality.livecode.com/show_bug.cgi?id=18942 I have no idea if this was ever resolved. The bug has been "Hibernated" On 4/10/2023 2:46 PM, jbv via use-livecode wrote: > Nope, when I process the data without using the xml library, all > characters display fine. The problem is really with revXML. > There must be a trick for using revXML with UTF8 file format. > > > Le 2023-04-10 07:28, Paul Dupuis via use-livecode a crit : >> Look up textEncode and textDecode in the dictionary. Text from or to a >> file needs to be decoded or encoded since LC 7. >> >> >> On 4/10/2023 4:07 AM, jbv via use-livecode wrote: >>> Hi list, >>> >>> I have an xml file with lots of non-western characters >>> (greek, arabic, japanese...). I need to convert these >>> data into sql requests to insert into a DB. >>> For each node, I need to pick only some attributes, so >>> I wrote a script that : >>> - opens the file as utf8 >>> - processes each node >>> - writes a file as utf8 with the processed data. >>> >>> My problem is that all non-western characters appear as >>> ???? in the final file. >>> Should I use unidecode for each revXMLNodeContents ? >>> What am I missing ? >>> >>> Thank you in advance. >>> jbv >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Mon Apr 10 16:27:48 2023 From: brian at milby7.com (Brian Milby) Date: Mon, 10 Apr 2023 16:27:48 -0400 Subject: revXML and UTF8 In-Reply-To: References: Message-ID: <53C89BDE-7E61-4D67-B142-94ED8D5283C5@milby7.com> Are you sending encoded data to libXML and then decoding the data you pull out? In the first bug report in the thread, if you textDecode the output from libXML then it renders with the smart quote. I recall this topic coming up before but I don’t mess with XML and can’t recall more details on it (could have been in the forum too). Brian Milby brian at milby7.com > On Apr 10, 2023, at 4:09 AM, jbv via use-livecode wrote: > > Hi list, > > I have an xml file with lots of non-western characters > (greek, arabic, japanese...). I need to convert these > data into sql requests to insert into a DB. > For each node, I need to pick only some attributes, so > I wrote a script that : > - opens the file as utf8 > - processes each node > - writes a file as utf8 with the processed data. > > My problem is that all non-western characters appear as > ???? in the final file. > Should I use unidecode for each revXMLNodeContents ? > What am I missing ? > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Apr 10 17:02:37 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Apr 2023 17:02:37 -0400 Subject: remote debugger won't start Message-ID: something new, today: ios, 968 or 969 mature app that has been in production for a year remote debugger included do a build install both ios and mac are on the same net lc has accept permission through the firewall run app remote debugger never connects, like executing the breakpoint command causes nothing to happen. so, how do we debug the debugger not connecting? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mark at canelasoftware.com Mon Apr 10 17:10:20 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 10 Apr 2023 14:10:20 -0700 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: <19A942A3-07F0-415F-B562-B9C2E96BA5D6@canelasoftware.com> Thank you very much for this release. Rc 3 has been a solid/stable release for us. I very much appreciate the hard work keeping LC compliant with the various app stores. Have a great week! Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Apr 10, 2023, at 7:09 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.9 STABLE. > > LiveCode 9.6.9 STABLE comes with more than 75 bugfixes and improvements, > compared to the previous stable (9.6.8) release, including: > > - Support for Android API 31, which is now a requirement for submitting new > apps to the Google Play Store. > - Update to the version of OpenSSL used by the engine to 1.1.1q, allowing > LiveCode built apps including "SSL & Encryption" to be submitted > successfully to the Google Play Store. > - Support for building with Xcode 14.2 and the iOS 16.2 SDK to meet the new > (as of April 2023) requirements of the Apple AppStore. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-9-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hlowe at me.com Tue Apr 11 20:24:16 2023 From: hlowe at me.com (HENRY LOWE) Date: Tue, 11 Apr 2023 17:24:16 -0700 Subject: iOS Device orientation confusion! Message-ID: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> Hi, I am trying fix a new (I think) issue in a Livecode iOS app that had previously successfully handled UI updates based on changes in device orientation. I am using LC 9.6.9, Mac OS Ventura 13.3.1, iOS 16.4.1 and Xcode Simulator 14.2. The problem is that when the iPhone is in Landscape Left mode (according to the simulator and to Apple’s definition of that mode - see below), Livecode is returning Landscape Right. When the device is in Landscape Right mode, Livecode returns Landscape Left - via the MobileDeviceOrientation function. Apple’s Definition (developer.apple.com ) of these two modes: • LandscapeLeft: The device is in landscape mode, with the device held upright and the front-facing camera on the left side. • LandscapeRight: The device is in landscape mode, with the device held upright and the front-facing camera on the right side. Livecode’s Definition (Dictionary): • landscape left: the device is being held upward with the home button on the left • landscape right: the device is being held upward with the home button on the right It would appear that these two definitions at odds with each other. Am I missing something? Henry From klaus at major-k.de Wed Apr 12 08:17:05 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 14:17:05 +0200 Subject: Problem signing Android app Message-ID: Hi all, I created a new app and cannot sign it!? I did this: -> Generate an upload key and keystore and generated a *.jks file. Then I selected this key file in LC, and at the end of the signing process LC told me that the keystore file had the wrong format!? Then I renamed the key to *.keystore And LC told me again that this was the wrong format of the key file? What am I missing? Thank you for any hint! P.S. I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further updates of the app. However that failed so far, see above... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Wed Apr 12 12:01:09 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 12 Apr 2023 19:01:09 +0300 Subject: Problem signing Android app In-Reply-To: References: Message-ID: Hello Klaus, When you tried to upload a new build using your original keystore, was it actually the original one? Usually this error (i.e. that you did not use the correct key for signing) is thrown when a different key is used to sign an app update compared to the key used to sign the previous build(s) you have submitted. Kind regards, Panos On Wed, 12 Apr 2023 at 15:18, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > I created a new app and cannot sign it!? > > I did this: > > -> Generate an upload key and keystore > and generated a *.jks file. > > Then I selected this key file in LC, and at the end of the signing process > LC told me that the keystore file had the wrong format!? > > Then I renamed the key to *.keystore > And LC told me again that this was the wrong format of the key file? > > What am I missing? > Thank you for any hint! > > P.S. > I had published my earlier app successfully to the Google Play Store with > a selfsigned key in "Android Studio" as shown in: > < > https://lessons.livecode.com/m/4069/l/32674-how-do-i-create-a-self-signed-certificate-for-an-android-app > > > > When I later wanted to upload an update, Google told me that I did not use > the correct key for signing??? > So I read up everthing about this and came to create an UPLOAD key, so I > could use this later for any further > updates of the app. > > However that failed so far, see above... > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Wed Apr 12 12:12:03 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 18:12:03 +0200 Subject: Problem signing Android app In-Reply-To: References: Message-ID: <1F329F6F-52D1-4B45-B401-99F6306C61E6@major-k.de> Hi Panos, > Am 12.04.2023 um 18:01 schrieb panagiotis m via use-livecode : > > Hello Klaus, > > When you tried to upload a new build using your original keystore, was it > actually the original one? yes, of course! I created a self-signing key, signed the app and uploaded it to Google It was accepted, but the update, SAME key, was not, which puzzled me very much. I did not see e.g. any checkbox to let Google NOT sign my app, but maybe that was the default and Google overwrote my original key with their own and that does not of course match my initial key. That is why I tried to create an key for UPLOADING my app and all future updates for that namely app as Google wrote in their docs, see below for the link. > Usually this error (i.e. that you did not use > the correct key for signing) is thrown when a different key is used to sign > an app update compared to the key used to sign the previous build(s) you > have submitted. Really? ;-) > Kind regards, > Panos > > > On Wed, 12 Apr 2023 at 15:18, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> I created a new app and cannot sign it!? >> >> I did this: >> >> -> Generate an upload key and keystore >> and generated a *.jks file. >> >> Then I selected this key file in LC, and at the end of the signing process >> LC told me that the keystore file had the wrong format!? >> >> Then I renamed the key to *.keystore >> And LC told me again that this was the wrong format of the key file? >> >> What am I missing? >> Thank you for any hint! >> >> P.S. >> I had published my earlier app successfully to the Google Play Store with >> a selfsigned key in "Android Studio" as shown in: >> < >> https://lessons.livecode.com/m/4069/l/32674-how-do-i-create-a-self-signed-certificate-for-an-android-app >>> >> >> When I later wanted to upload an update, Google told me that I did not use >> the correct key for signing??? >> So I read up everthing about this and came to create an UPLOAD key, so I >> could use this later for any further >> updates of the app. >> >> However that failed so far, see above... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 12:12:48 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 11:12:48 -0500 Subject: Problem signing Android app In-Reply-To: References: Message-ID: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Did you agree to let Google manage your keys? If so you need to create an upload key, which I think is different from the original signing key. LC may not recognize that format. I've never let Google manage my keys so I'm not sure how that works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: > Hi all, > > I created a new app and cannot sign it!? > > I did this: > > -> Generate an upload key and keystore > and generated a *.jks file. > > Then I selected this key file in LC, and at the end of the signing process > LC told me that the keystore file had the wrong format!? > > Then I renamed the key to *.keystore > And LC told me again that this was the wrong format of the key file? > > What am I missing? > Thank you for any hint! > > P.S. > I had published my earlier app successfully to the Google Play Store with a > selfsigned key in "Android Studio" as shown in: > > > When I later wanted to upload an update, Google told me that I did not use > the correct key for signing??? > So I read up everthing about this and came to create an UPLOAD key, so I > could use this later for any further > updates of the app. > > However that failed so far, see above... > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Apr 12 12:18:08 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 18:18:08 +0200 Subject: Problem signing Android app In-Reply-To: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> Hi Jacque, > Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode : > Did you agree to let Google manage your keys? to be honest, I did not find that one (yet) on the Google Dev pages!? Any hints much appreciated! > If so you need to create an upload key, which I think is different from the original signing key. > LC may not recognize that format. Yes, that's what I experienced. See below, LC told me about a wrong format of the key file. > I've never let Google manage my keys so I'm not sure how that works. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: > >> Hi all, >> >> I created a new app and cannot sign it!? >> >> I did this: >> >> -> Generate an upload key and keystore >> and generated a *.jks file. >> >> Then I selected this key file in LC, and at the end of the signing process >> LC told me that the keystore file had the wrong format!? >> >> Then I renamed the key to *.keystore >> And LC told me again that this was the wrong format of the key file? >> >> What am I missing? >> Thank you for any hint! >> >> P.S. >> I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: >> >> >> When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? >> So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further >> updates of the app. >> >> However that failed so far, see above.. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 12:58:10 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 11:58:10 -0500 Subject: Problem signing Android app In-Reply-To: <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> Message-ID: <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think the option to allow Google to manage the keys only appears the first time you upload a new app. Maybe there's a way to retake control of the keys? Is there any info in the app page that tells you who has control of the keys? If you can verify that Google is managing the keys, and you can't regain control, then I think the only fix is for LC to update the SB to recognize an upload key. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode wrote: > Hi Jacque, > >> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode >> : >> Did you agree to let Google manage your keys? > > to be honest, I did not find that one (yet) on the Google Dev pages!? > Any hints much appreciated! > >> If so you need to create an upload key, which I think is different from the >> original signing key. >> LC may not recognize that format. > > Yes, that's what I experienced. > See below, LC told me about a wrong format of the key file. > >> I've never let Google manage my keys so I'm not sure how that works. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode >> wrote: >> >>> Hi all, >>> >>> I created a new app and cannot sign it!? >>> >>> I did this: >>> >>> -> Generate an upload key and keystore >>> and generated a *.jks file. >>> >>> Then I selected this key file in LC, and at the end of the signing process >>> LC told me that the keystore file had the wrong format!? >>> >>> Then I renamed the key to *.keystore >>> And LC told me again that this was the wrong format of the key file? >>> >>> What am I missing? >>> Thank you for any hint! >>> >>> P.S. >>> I had published my earlier app successfully to the Google Play Store with a >>> selfsigned key in "Android Studio" as shown in: >>> >>> >>> When I later wanted to upload an update, Google told me that I did not use >>> the correct key for signing??? >>> So I read up everthing about this and came to create an UPLOAD key, so I >>> could use this later for any further >>> updates of the app. >>> >>> However that failed so far, see above.. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Apr 12 13:06:31 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 19:06:31 +0200 Subject: Problem signing Android app In-Reply-To: <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> Hi Jacque, > Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode : > > I think the option to allow Google to manage the keys only appears the first time you upload a new app. OK, will take a deeper look once I upload the new app. > Maybe there's a way to retake control of the keys? Nope! Google explicitely states that they will NOT share any of their keys. Will try and look better next time. > Is there any info in the app page that tells you who has control of the keys? > > If you can verify that Google is managing the keys, and you can't regain control, then I think the only fix is for LC to update the SB to recognize an upload key. Ouch, that may take a couple of versions of LC until that will happen and I'm already 66. 8-) Will create a new report/enhancement request tomorrow. I will have to dive deeper into the "Google Play Console"... > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode wrote: > >> Hi Jacque, >> >>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode : >>> Did you agree to let Google manage your keys? >> >> to be honest, I did not find that one (yet) on the Google Dev pages!? >> Any hints much appreciated! >> >>> If so you need to create an upload key, which I think is different from the original signing key. >>> LC may not recognize that format. >> >> Yes, that's what I experienced. >> See below, LC told me about a wrong format of the key file. >> >>> I've never let Google manage my keys so I'm not sure how that works. >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: >>> >>>> Hi all, >>>> >>>> I created a new app and cannot sign it!? >>>> >>>> I did this: >>>> >>>> -> Generate an upload key and keystore >>>> and generated a *.jks file. >>>> >>>> Then I selected this key file in LC, and at the end of the signing process >>>> LC told me that the keystore file had the wrong format!? >>>> >>>> Then I renamed the key to *.keystore >>>> And LC told me again that this was the wrong format of the key file? >>>> >>>> What am I missing? >>>> Thank you for any hint! >>>> >>>> P.S. >>>> I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: >>>> >>>> >>>> When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? >>>> So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further >>>> updates of the app. >>>> >>>> However that failed so far, see above.. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Apr 12 13:27:38 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 19:27:38 +0200 Subject: Problem signing Android app -> no LC support for *.jks keystore files for UPLOAD In-Reply-To: <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> Message-ID: Hi all, just created a report: Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 15:52:44 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 14:52:44 -0500 Subject: Problem signing Android app In-Reply-To: <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> Message-ID: <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You may be able to use your original signing key to upload an updated app. This page is complicated but explains how the system works: If I'm reading it right, you can still use your original signing key again for updates. There is also a way to opt out of Google Signing on that page. It says you should only do that if you plan to re-enroll in Google Signing later, but I suppose you can ignore that advice. It also says: "After you select a release track, the App integrity section displays the status of Play App Signing for your app." So I think if you prepare to upload an updated app, when you choose a release track it will tell you if you are using Google Signing. I think you probably are. It's far too complicated. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 12:07:52 PM Klaus major-k via use-livecode wrote: > Hi Jacque, > >> Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode >> : >> >> I think the option to allow Google to manage the keys only appears the >> first time you upload a new app. > > OK, will take a deeper look once I upload the new app. > >> Maybe there's a way to retake control of the keys? > > Nope! Google explicitely states that they will NOT share any of their keys. > Will try and look better next time. > >> Is there any info in the app page that tells you who has control of the keys? >> >> If you can verify that Google is managing the keys, and you can't regain >> control, then I think the only fix is for LC to update the SB to recognize >> an upload key. > > Ouch, that may take a couple of versions of LC until that will happen and > I'm already 66. 8-) > Will create a new report/enhancement request tomorrow. > > I will have to dive deeper into the "Google Play Console"... > >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode >> wrote: >> >>> Hi Jacque, >>> >>>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode >>>> : >>>> Did you agree to let Google manage your keys? >>> >>> to be honest, I did not find that one (yet) on the Google Dev pages!? >>> Any hints much appreciated! >>> >>>> If so you need to create an upload key, which I think is different from the >>>> original signing key. >>>> LC may not recognize that format. >>> >>> Yes, that's what I experienced. >>> See below, LC told me about a wrong format of the key file. >>> >>>> I've never let Google manage my keys so I'm not sure how that works. >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode >>>> wrote: >>>> >>>>> Hi all, >>>>> >>>>> I created a new app and cannot sign it!? >>>>> >>>>> I did this: >>>>> >>>>> -> Generate an upload key and keystore >>>>> and generated a *.jks file. >>>>> >>>>> Then I selected this key file in LC, and at the end of the signing process >>>>> LC told me that the keystore file had the wrong format!? >>>>> >>>>> Then I renamed the key to *.keystore >>>>> And LC told me again that this was the wrong format of the key file? >>>>> >>>>> What am I missing? >>>>> Thank you for any hint! >>>>> >>>>> P.S. >>>>> I had published my earlier app successfully to the Google Play Store with a >>>>> selfsigned key in "Android Studio" as shown in: >>>>> >>>>> >>>>> When I later wanted to upload an update, Google told me that I did not use >>>>> the correct key for signing??? >>>>> So I read up everthing about this and came to create an UPLOAD key, so I >>>>> could use this later for any further >>>>> updates of the app. >>>>> >>>>> However that failed so far, see above.. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Apr 12 16:07:43 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 22:07:43 +0200 Subject: Problem signing Android app In-Reply-To: <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque, > Am 12.04.2023 um 21:52 schrieb J. Landman Gay via use-livecode : > > You may be able to use your original signing key to upload an updated app. This page is complicated but explains how the system works: > > > If I'm reading it right, you can still use your original signing key again for updates. There is also a way to opt out of Google Signing on that page. It says you should only do that if you plan to re-enroll in Google Signing later, but I suppose you can ignore that advice. > > It also says: "After you select a release track, the “App integrity” section displays the status of Play App Signing for your app." So I think if you prepare to upload an updated app, when you choose a release track it will tell you if you are using Google Signing. I think you probably are. thank you very much, will study this in detail tomorrow! > It's far too complicated. You BET! :-/ > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 12:07:52 PM Klaus major-k via use-livecode wrote: > >> Hi Jacque, >> >>> Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode : >>> >>> I think the option to allow Google to manage the keys only appears the first time you upload a new app. >> >> OK, will take a deeper look once I upload the new app. >> >>> Maybe there's a way to retake control of the keys? >> >> Nope! Google explicitely states that they will NOT share any of their keys. >> Will try and look better next time. >> >>> Is there any info in the app page that tells you who has control of the keys? >>> >>> If you can verify that Google is managing the keys, and you can't regain control, then I think the only fix is for LC to update the SB to recognize an upload key. >> >> Ouch, that may take a couple of versions of LC until that will happen and I'm already 66. 8-) >> Will create a new report/enhancement request tomorrow. >> >> I will have to dive deeper into the "Google Play Console"... >> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode wrote: >>> >>>> Hi Jacque, >>>> >>>>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode : >>>>> Did you agree to let Google manage your keys? >>>> >>>> to be honest, I did not find that one (yet) on the Google Dev pages!? >>>> Any hints much appreciated! >>>> >>>>> If so you need to create an upload key, which I think is different from the original signing key. >>>>> LC may not recognize that format. >>>> >>>> Yes, that's what I experienced. >>>> See below, LC told me about a wrong format of the key file. >>>> >>>>> I've never let Google manage my keys so I'm not sure how that works. >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I created a new app and cannot sign it!? >>>>>> >>>>>> I did this: >>>>>> >>>>>> -> Generate an upload key and keystore >>>>>> and generated a *.jks file. >>>>>> >>>>>> Then I selected this key file in LC, and at the end of the signing process >>>>>> LC told me that the keystore file had the wrong format!? >>>>>> >>>>>> Then I renamed the key to *.keystore >>>>>> And LC told me again that this was the wrong format of the key file? >>>>>> >>>>>> What am I missing? >>>>>> Thank you for any hint! >>>>>> >>>>>> P.S. >>>>>> I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: >>>>>> >>>>>> >>>>>> When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? >>>>>> So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further >>>>>> updates of the app. >>>>>> >>>>>> However that failed so far, see above.. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 16:48:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 15:48:17 -0500 Subject: Problem signing Android app In-Reply-To: <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1877739ea68.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On this page: it says: * If you choose for Google to generate the app signing key for you when you opt in, then the key you use to sign your app for release is designated as your upload key. * If you provide the app signing key to Google when opting in your new or existing app, then you have the option to generate a new upload key during or after opting in for increased security. * If you do not generate a new upload key, you continue to use your app signing key as your upload key to sign each release. So yeah, I think that means your original signing key is your upload key, which LC supports. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 2:52:44 PM "J. Landman Gay" wrote: > You may be able to use your original signing key to upload an updated app. > This page is complicated but explains how the system works: > > > If I'm reading it right, you can still use your original signing key again > for updates. There is also a way to opt out of Google Signing on that page. > It says you should only do that if you plan to re-enroll in Google Signing > later, but I suppose you can ignore that advice. > > It also says: "After you select a release track, the App integrity > section displays the status of Play App Signing for your app." So I think > if you prepare to upload an updated app, when you choose a release track it > will tell you if you are using Google Signing. I think you probably are. > > It's far too complicated. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 12:07:52 PM Klaus major-k via use-livecode > wrote: > >> Hi Jacque, >> >>> Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode >>> : >>> >>> I think the option to allow Google to manage the keys only appears the >>> first time you upload a new app. >> >> OK, will take a deeper look once I upload the new app. >> >>> Maybe there's a way to retake control of the keys? >> >> Nope! Google explicitely states that they will NOT share any of their keys. >> Will try and look better next time. >> >>> Is there any info in the app page that tells you who has control of the keys? >>> >>> If you can verify that Google is managing the keys, and you can't regain >>> control, then I think the only fix is for LC to update the SB to recognize >>> an upload key. >> >> Ouch, that may take a couple of versions of LC until that will happen and >> I'm already 66. 8-) >> Will create a new report/enhancement request tomorrow. >> >> I will have to dive deeper into the "Google Play Console"... >> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode >>> wrote: >>> >>>> Hi Jacque, >>>> >>>>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode >>>>> : >>>>> Did you agree to let Google manage your keys? >>>> >>>> to be honest, I did not find that one (yet) on the Google Dev pages!? >>>> Any hints much appreciated! >>>> >>>>> If so you need to create an upload key, which I think is different from the >>>>> original signing key. >>>>> LC may not recognize that format. >>>> >>>> Yes, that's what I experienced. >>>> See below, LC told me about a wrong format of the key file. >>>> >>>>> I've never let Google manage my keys so I'm not sure how that works. >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode >>>>> wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I created a new app and cannot sign it!? >>>>>> >>>>>> I did this: >>>>>> >>>>>> -> Generate an upload key and keystore >>>>>> and generated a *.jks file. >>>>>> >>>>>> Then I selected this key file in LC, and at the end of the signing process >>>>>> LC told me that the keystore file had the wrong format!? >>>>>> >>>>>> Then I renamed the key to *.keystore >>>>>> And LC told me again that this was the wrong format of the key file? >>>>>> >>>>>> What am I missing? >>>>>> Thank you for any hint! >>>>>> >>>>>> P.S. >>>>>> I had published my earlier app successfully to the Google Play Store with a >>>>>> selfsigned key in "Android Studio" as shown in: >>>>>> >>>>>> >>>>>> When I later wanted to upload an update, Google told me that I did not use >>>>>> the correct key for signing??? >>>>>> So I read up everthing about this and came to create an UPLOAD key, so I >>>>>> could use this later for any further >>>>>> updates of the app. >>>>>> >>>>>> However that failed so far, see above.. >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Apr 12 20:31:58 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Apr 2023 17:31:58 -0700 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: Quite a long list of enhancements - thank you, esp for the field alignment. -- 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 Apr 12 20:40:40 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Apr 2023 17:40:40 -0700 Subject: iOS Device orientation confusion! In-Reply-To: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> References: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> Message-ID: Henry Lowe wrote: > The problem is that when the iPhone is in Landscape Left mode > (according to the simulator and to Apples definition of that mode > - see below), Livecode is returning Landscape Right. When the > device is in Landscape Right mode, Livecode returns Landscape > Left - via the MobileDeviceOrientation function. > > Apples Definition (developer.apple.com ) > of these two modes: > > LandscapeLeft: > The device is in landscape mode, with the device held upright and > the front-facing camera on the left side. > > LandscapeRight: > The device is in landscape mode, with the device held upright and > the front-facing camera on the right side. > > > Livecodes Definition (Dictionary): > > landscape left: the device is being held upward with the home button > on the left > > landscape right: the device is being held upward with the home > button on the right > > It would appear that these two definitions at odds with each other. They are indeed at odds. Apple should update their description to match LC's. :) They seem consistent with one another, except that each uses a part of the hardware at opposite ends of the phone to define orientation. Apple's docs are referencing the camera as the point of reference for orientation, while LC uses the Home button as the point of reference. So while "left" and "right" are used differently, you should be able to get the result you need in LC. Use Apple's spec when coding in Apple tools and languages, and LC's when writing in LC and you should be fine. -- 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 Thu Apr 13 03:58:11 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 13 Apr 2023 09:58:11 +0200 Subject: Problem signing Android app In-Reply-To: <1877739ea68.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1877739ea68.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <84DCD412-660C-47FD-88DF-1ADD6F10A4EB@major-k.de> Hi Jacque, > Am 12.04.2023 um 22:48 schrieb J. Landman Gay via use-livecode : > > On this page: > > > it says: > > * If you choose for Google to generate the app signing key for you when you opt in, then the key you use to sign your app for release is designated as your upload key. > * If you provide the app signing key to Google when opting in your new or existing app, then you have the option to generate a new upload key during or after opting in for increased security. > * If you do not generate a new upload key, you continue to use your app signing key as your upload key to sign each release. > > So yeah, I think that means your original signing key is your upload key, which LC supports. ah, great, thank you for this valuable info! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 2:52:44 PM "J. Landman Gay" wrote: > >> You may be able to use your original signing key to upload an updated app. >> This page is complicated but explains how the system works: >> >> >> If I'm reading it right, you can still use your original signing key again >> for updates. There is also a way to opt out of Google Signing on that page. >> It says you should only do that if you plan to re-enroll in Google Signing >> later, but I suppose you can ignore that advice. >> >> It also says: "After you select a release track, the “App integrity” >> section displays the status of Play App Signing for your app." So I think >> if you prepare to upload an updated app, when you choose a release track it >> will tell you if you are using Google Signing. I think you probably are. >> >> It's far too complicated. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From htorrado at networkdreams.net Thu Apr 13 10:47:14 2023 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Thu, 13 Apr 2023 10:47:14 -0400 Subject: Livecode script on Raspberry pi Message-ID: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> Dear Livecode experts, I'm interested in running the Livecode script/server version on my Raspberry Pi. While I'm not keen on creating graphical applications, I'd like to switch from using Python as my scripting language and utilize Livecode instead. I find Livecode to be more efficient and productive for my needs. My question is: have you successfully managed to run the server version of Livecode on a Raspberry Pi using an x86 emulator like Box86? Any insights or advice on this matter would be greatly appreciated. Thank you! Best, Heriberto Torrado From hlowe at me.com Thu Apr 13 11:42:37 2023 From: hlowe at me.com (HENRY LOWE) Date: Thu, 13 Apr 2023 08:42:37 -0700 Subject: iOS Device orientation confusion! In-Reply-To: References: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> Message-ID: <1E8E3530-74CD-4D2D-A01C-DFB0D42C58AD@me.com> Thank you Richard. Henry > On Apr 12, 2023, at 5:40 PM, Richard Gaskin via use-livecode wrote: > > Henry Lowe wrote: > > > The problem is that when the iPhone is in Landscape Left mode > > (according to the simulator and to Apple’s definition of that mode > > - see below), Livecode is returning Landscape Right. When the > > device is in Landscape Right mode, Livecode returns Landscape > > Left - via the MobileDeviceOrientation function. > > > > Apple’s Definition (developer.apple.com ) > > of these two modes: > > > > • LandscapeLeft: > > The device is in landscape mode, with the device held upright and > > the front-facing camera on the left side. > > > > • LandscapeRight: > > The device is in landscape mode, with the device held upright and > > the front-facing camera on the right side. > > > > > > Livecode’s Definition (Dictionary): > > > > • landscape left: the device is being held upward with the home button > > on the left > > > > • landscape right: the device is being held upward with the home > > button on the right > > > > It would appear that these two definitions at odds with each other. > > They are indeed at odds. Apple should update their description to match LC's. :) > > They seem consistent with one another, except that each uses a part of the hardware at opposite ends of the phone to define orientation. > > Apple's docs are referencing the camera as the point of reference for orientation, while LC uses the Home button as the point of reference. So while "left" and "right" are used differently, you should be able to get the result you need in LC. > > Use Apple's spec when coding in Apple tools and languages, and LC's when writing in LC and you should be fine. > > -- > 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 andrew at midwestcoastmedia.com Thu Apr 13 22:48:16 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Thu, 13 Apr 2023 22:48:16 -0400 Subject: 9.6.2 iOS compile error Message-ID: Has anyone been able to successfully submit an iOS build to the AppStore using the new 9.6.2 and Xcode 14.2? When compiling my app using 9.6.2rc2 and Xcode 13.2, my submissions are accepted with the familiar warning: WARNING ITMS-90725: "SDK version issue. This app was built with the iOS 15.2 SDK. Starting April 25, 2023, all iOS and iPadOS apps submitted to the App Store must be built with the iOS 16.1 SDK or later, included in Xcode 14.1 or later.” When compiling the same app using 9.6.9 and Xcode 14.2, my submissions are getting rejected by Apple when attempting to upload with Transporter: ERROR ITMS-90502: "Invalid Bundle. Your binary, 'com.midwestcoastmedia.link', has a 64-bit architecture slice, so you must include the "arm64" value for the UIRequiredDeviceCapabilities key in your Xcode project. Learn more (https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3).” I’m guessing I could just update the info.plist manually but I was really trying to avoid that long term. —Andrew Bell From mark at livecode.com Fri Apr 14 01:21:48 2023 From: mark at livecode.com (Mark Waddingham) Date: Fri, 14 Apr 2023 06:21:48 +0100 Subject: 9.6.9 iOS compile error In-Reply-To: References: Message-ID: On 2023-04-14 03:48, Andrew at MidWest Coast Media via use-livecode wrote: > When compiling the same app using 9.6.9 and Xcode 14.2, my submissions > are getting rejected by Apple when attempting to upload with > Transporter: > > ERROR ITMS-90502: "Invalid Bundle. Your binary, > 'com.midwestcoastmedia.link', has a 64-bit architecture slice, so you > must include the "arm64" value for the UIRequiredDeviceCapabilities key > in your Xcode project. Learn more > (https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3). > > Im guessing I could just update the info.plist manually but I was > really trying to avoid that long term. So with the move to Xcode14.2 we can no longer build 32-bit slices in iOS so we have had to remove those from the engines in 9.6.9 - however we did miss the fact that currently the S/B will only include the `arm64` capability *if* the min iOS version is 11.0 and above (the arm64 capability is required as there is only a 64-bit slice!). Thus you can either change the min version to 11.0 - or just tweak the revsaveasiosstandalone script - at around line 1771 there is: -- Building for iOS 11.0 or more only builds the 64bit slice, so update the plist if pSettings["ios,minimum version"] >= 11.0 then put "arm64" after it end if Removing the 'if' and making this unconditional will ensure that the arm64 key is always present. Sorry for the inconvenience. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From ambassador at fourthworld.com Fri Apr 14 15:13:57 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Apr 2023 12:13:57 -0700 Subject: Livecode script on Raspberry pi In-Reply-To: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> References: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> Message-ID: <2952e9ec-d163-a4ce-0a69-f2c70a5591e2@fourthworld.com> Hello Heriberto - I haven't run the old LC/ARM-Linux build in so long I have no idea how well it works anymore. It was created as a weekend side project of an LC staff member who's long since moved on. Back in the open source days I tried to find someone to maintain it, but I was unable to locate anyone who'd made a successful compile, let alone be able to maintain it with future OS changes. But if your current LC/ARM build runs on whatever RPi you're using, there was never a Server build but LC has always had the ability to use standalones as command-line apps, going al the way back to beginning in 1992. This is how we were using MetaCard/LC as our server CGI engine for all the years before the team made the PHP-style LC Server edition. To run an LC standalone from the command line, add a "-ui" flag, e.g.: /home/UserName/AppName -ui The -ui flag prompts the engine to launch in a way that bypasses GUI initialization. This may be essential on many RPi units, since LC's GUI implementation there is old and no longer in sync with the OS, so crashes are increasingly common when attempting to run with a UI. But since command-line is all you need you should (hopefully) be fine, and you'll find the engine runs _very_ fast with no GUI. Bonus: Back when Dr Peter Brett was with LC he made a nifty library for parsing command-line arguments. To learn more on that see the GetOpt function in the LC Dictionary. -- Richard Gaskin Fourth World Systems > Dear Livecode experts, > > I'm interested in running the Livecode script/server version on my > Raspberry Pi. While I'm not keen on creating graphical applications, I'd > like to switch from using Python as my scripting language and utilize > Livecode instead. I find Livecode to be more efficient and productive > for my needs. My question is: have you successfully managed to run the > server version of Livecode on a Raspberry Pi using an x86 emulator like > Box86? Any insights or advice on this matter would be greatly > appreciated. Thank you! > > Best, > > Heriberto Torrado From martyknappster at gmail.com Fri Apr 14 17:35:54 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 14 Apr 2023 14:35:54 -0700 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> Message-ID: <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> I don’t have an “M” chip Mac here to test at the moment but here’s something to try: In the Levure framework open the helpers folder and then the preferences folder Modify the helper.yml file by deleting the section under externals so the file just contains the following externals: libraries: - filename: preferences.livecodescript extensions: - filename: nsuserdefaults.lcm engine version: ">=9.0" platform: macos,ios Then try a build and see how that works. I just tried it on my Intel iMac and preferences are working OK without the previous content. Please let me know how it works on your “M” mac Marty > On Apr 10, 2023, at 3:23 AM, Mark Waddingham via use-livecode wrote: > > On 2023-04-08 14:58, bob--- via use-livecode wrote: >> I'm wondering if anyone might be able to help me out. I’m trying to >> use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am >> able to open the app in the IDE with no issue. >> When I try to open the app with LC 9.6.9rc3 I get “An error occurred >> while initializing the application [unable to load external >> Preferences]”. I’m tracing through the Levure script now and can see >> in fact the Preference stack is not being loaded. I’ve confirmed >> Preferences.bundle is at the location referenced in the script. >> Can anyone steer me in a direction for a fix to this? > > So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). > > The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. > > The preferences external will need to be rebuilt with an arm64 slice and included in Levure. > > (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things From neville.smythe at optusnet.com.au Sat Apr 15 07:13:37 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 15 Apr 2023 21:13:37 +1000 Subject: Which sqlite? Message-ID: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Is it possible to direct LC to use a custom version of sqlite3 rather than its default? I ask because the installed version of sqlite which come installed with macOS, and which I assume LC uses when it initialises its database library, is crippled ---arithmetic functions which come with the standard augmentation of sqlite (such as floor(), log() etc) are not enabled, similarly regular expressions are not enabled. It is easy enough to install a more capable version of sqlite on the Mac, but I don’t see a way to get LC to use it. Possibly there is an environment variable or an initialisation handler which can be edited? (Note that Apple goes to some lengths to make it difficult to overwrite the installed sqlite in the system, and such a change would be lost on the next os update anyway.) If LC is using its own built-in sqlite and dylib rather than the os-provided package, then is there a way to update that to one own version? Neville Smythe From dochawk at gmail.com Sat Apr 15 10:51:45 2023 From: dochawk at gmail.com (doc hawk) Date: Sat, 15 Apr 2023 07:51:45 -0700 Subject: Which sqlite? In-Reply-To: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: <714B0625-5A29-4093-9295-AE59EEF62676@gmail.com> neville noticed, >It is easy enough to install a more capable version of sqlite on the Mac, but I don’t see a way to get LC to use it. It seems to me that several years ago I briefly used an external SQLite, but I cannot remember how I started with mysql (on livecode’s server, come to think of it, or was it still runrev?), but performance was beyond molasses, as livecode cannot do a compound query on mysql. I shifted to hosting my own postgreSQL, and then (if I have the order straight) switched from an array of variables to the included SQLite for local storage, updating periodically. The problem with trying to use the Mac-supplied databases is that they sometimes change without notice. I started using the internal postgres, and then, one day, my whole system suddenly stopped working. It turned out that apple had changed major postgres releases on a minor maintenance release. And the postgres's weren’t compatible with one another! I had to install an older postgres to export my data, and at that point stayed with running my own postgres. If you’re going to use the built-in, you need to be *very* careful. From dan at clearvisiontech.com Sat Apr 15 13:20:07 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 15 Apr 2023 17:20:07 +0000 Subject: Android Build Error In-Reply-To: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: I am trying to build my Android App with the latest version of 10.0.0 DP-5. However, when I build the app, I get this error: There was an error while saving the standalone application could not encode class bundle - error: Methods with invalid locals information: void android.viewpager.widget.PagerTitleStrip.updateTextPositions(int,float,boolean) Information in locals-table is invalid with respect to the stack map table. Local refers to non-present stack map type for register: 37 with constraint INT. Info in /private/var/folders/f7/33kdx2c501dfsgt687_1c0000gn/T/Temporaryltems/tmp.21643.4AABuSE/35/classes.jar:android×/print/PrintHelperSPrintUriAdapter$1.class: Methods with invalid locals information: void android.print.PrintHelper$PrintUriAdapter$1.onPostExecute(android.graphics.Bitmap) Information in locals-table is invalid with respect to the stack map table. Local refers to non-present stack map type for register: 2 with constraint OBJECT. Anyone have any thoughts or ideas on this problem? -Dan From merakosp at gmail.com Sat Apr 15 13:44:33 2023 From: merakosp at gmail.com (panagiotis m) Date: Sat, 15 Apr 2023 20:44:33 +0300 Subject: Android Build Error In-Reply-To: References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: Hello Dan, This is caused because the version of the build-tools you have installed is > v32 You have to uninstall this version of the build tools and install a version among v30 and v31. I suggest v30.0.3, which is extensively tested - as recommended in the LC lesson about Android Studio. See this bug: https://quality.livecode.com/show_bug.cgi?id=23570 KInd regards, Panos -- On Sat, 15 Apr 2023 at 20:21, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > I am trying to build my Android App with the latest version of 10.0.0 > DP-5. However, when I build the app, I get this error: > > There was an error while saving the standalone application could not > encode class bundle - error: > Methods with invalid locals information: > void > android.viewpager.widget.PagerTitleStrip.updateTextPositions(int,float,boolean) > Information in locals-table is invalid with respect to the stack map > table. Local refers to non-present stack map type for register: 37 with > constraint INT. Info in > /private/var/folders/f7/33kdx2c501dfsgt687_1c0000gn/T/Temporaryltems/tmp.21643.4AABuSE/35/classes.jar:android×/print/PrintHelperSPrintUriAdapter$1.class: > Methods with invalid locals information: > void > android.print.PrintHelper$PrintUriAdapter$1.onPostExecute(android.graphics.Bitmap) > Information in locals-table is invalid with respect to the stack map > table. Local refers to non-present stack map type for register: 2 with > constraint OBJECT. > > Anyone have any thoughts or ideas on this problem? > > -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 mark at livecode.com Mon Apr 17 06:57:38 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 17 Apr 2023 11:57:38 +0100 Subject: Which sqlite? In-Reply-To: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: <219cf362eeec8426a39c6f0eb1be4ee9@livecode.com> On 2023-04-15 12:13, Neville Smythe via use-livecode wrote: > Is it possible to direct LC to use a custom version of sqlite3 rather > than its default? > > I ask because the installed version of sqlite which come installed with > macOS, and which I assume LC uses when it initialises its database > library, is crippled ---arithmetic functions which come with the > standard augmentation of sqlite (such as floor(), log() etc) are not > enabled, similarly regular expressions are not enabled. It is easy > enough to install a more capable version of sqlite on the Mac, but I > dont see a way to get LC to use it. Possibly there is an environment > variable or an initialisation handler which can be edited? (Note that > Apple goes to some lengths to make it difficult to overwrite the > installed sqlite in the system, and such a change would be lost on the > next os update anyway.) > > If LC is using its own built-in sqlite and dylib rather than the > os-provided package, then is there a way to update that to one own > version? The version of sqlite we use is compiled in to the dbsqlite driver and thus is independent of any installed libraries. We've already got a pending request (https://quality.livecode.com/show_bug.cgi?id=24051) to update it to a newer version so if you just drop a note on there reminding us to enable the math functions and REGEXP extension then we'll enable those at the same time. The update will likely go into the next 9.6 maintenance release (9.6.10), and also appear in a subsequent 10dp. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From benr_mc at cogapp.com Mon Apr 17 10:37:30 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 17 Apr 2023 15:37:30 +0100 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? Message-ID: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> Thanks to this list, I know about "do in widget" that can cause some javascript to be evaluated in the current page in the browser widget. Which is great. But how do I get (into LiveCode) the result of a javascript expression? TIA, Ben From klaus at major-k.de Mon Apr 17 11:11:13 2023 From: klaus at major-k.de (Klaus major-k) Date: Mon, 17 Apr 2023 17:11:13 +0200 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> Message-ID: <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> Hi Ben, > Am 17.04.2023 um 16:37 schrieb Ben Rubinstein via use-livecode : > > Thanks to this list, I know about "do in widget" that can cause some javascript to be evaluated in the current page in the browser widget. Which is great. > > But how do I get (into LiveCode) the result of a javascript expression? if in doubt try either -> IT or -> the result :-) > TIA, > > Ben Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From benr_mc at cogapp.com Mon Apr 17 11:17:31 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 17 Apr 2023 16:17:31 +0100 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> Message-ID: <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> Thanks Klaus, I tried both of those! So for example I can execute do "alert(document.title)" in widget "browser" and see the expected string in an alert box. But do "document.title" in widget "browser"; put it or do "document.title" in widget "browser"; put the result just put empty. Any other ideas? I don't know whether I need to do something different in the livecode end (probably) or in the javascript end. TIA, Ben On 17/04/2023 16:11, Klaus major-k via use-livecode wrote: > Hi Ben, > >> Am 17.04.2023 um 16:37 schrieb Ben Rubinstein via use-livecode : >> >> Thanks to this list, I know about "do in widget" that can cause some javascript to be evaluated in the current page in the browser widget. Which is great. >> >> But how do I get (into LiveCode) the result of a javascript expression? > > if in doubt try either -> IT or -> the result :-) > >> TIA, >> >> Ben > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From htorrado at networkdreams.net Mon Apr 17 11:20:24 2023 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Mon, 17 Apr 2023 11:20:24 -0400 Subject: Livecode script on Raspberry pi In-Reply-To: <2952e9ec-d163-a4ce-0a69-f2c70a5591e2@fourthworld.com> References: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> <2952e9ec-d163-a4ce-0a69-f2c70a5591e2@fourthworld.com> Message-ID: <4cabf4cc-cdff-c77d-db93-85620e643b5e@networkdreams.net> Thank you very much Richard! I will check if what you say works well and I will let you know. Best, Hery On 4/14/23 15:13, Richard Gaskin via use-livecode wrote: > Hello Heriberto - > > I haven't run the old LC/ARM-Linux build in so long I have no idea how > well it works anymore. It was created as a weekend side project of an > LC staff member who's long since moved on. Back in the open source > days I tried to find someone to maintain it, but I was unable to > locate anyone who'd made a successful compile, let alone be able to > maintain it with future OS changes. > > But if your current LC/ARM build runs on whatever RPi you're using, > there was never a Server build but LC has always had the ability to > use standalones as command-line apps, going al the way back to > beginning in 1992. This is how we were using MetaCard/LC as our server > CGI engine for all the years before the team made the PHP-style LC > Server edition. > > To run an LC standalone from the command line, add a "-ui" flag, e.g.: > >   /home/UserName/AppName -ui > > The -ui flag prompts the engine to launch in a way that bypasses GUI > initialization.  This may be essential on many RPi units, since LC's > GUI implementation there is old and no longer in sync with the OS, so > crashes are increasingly common when attempting to run with a UI. > > But since command-line is all you need you should (hopefully) be fine, > and you'll find the engine runs _very_ fast with no GUI. > > > Bonus: Back when Dr Peter Brett was with LC he made a nifty library > for parsing command-line arguments. To learn more on that see the > GetOpt function in the LC Dictionary. > From klaus at major-k.de Mon Apr 17 11:34:58 2023 From: klaus at major-k.de (Klaus major-k) Date: Mon, 17 Apr 2023 17:34:58 +0200 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> Message-ID: Hi Ben, > Am 17.04.2023 um 17:17 schrieb Ben Rubinstein via use-livecode : > > Thanks Klaus, I tried both of those! > So for example I can execute > do "alert(document.title)" in widget "browser" > and see the expected string in an alert box. But > do "document.title" in widget "browser"; put it > or > do "document.title" in widget "browser"; put the result > just put empty. > Any other ideas? I don't know whether I need to do something different in the livecode end (probably) or in the javascript end. sorry, no more ideas... Too bad the dictionary doesn't mention this. > TIA, > > Ben Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From neville.smythe at optusnet.com.au Mon Apr 17 19:19:01 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 18 Apr 2023 09:19:01 +1000 Subject: Which sqlite? In-Reply-To: References: Message-ID: That is excellent news Mark, thank you. Mark Waddingham wrote... > > The version of sqlite we use is compiled in to the dbsqlite driver and > thus is independent of any installed libraries. We've already got a > pending request (https://quality.livecode.com/show_bug.cgi?id=24051) to > update it to a newer version so if you just drop a note on there > reminding us to enable the math functions and REGEXP extension then > we'll enable those at the same time. > > The update will likely go into the next 9.6 maintenance release > (9.6.10), and also appear in a subsequent 10dp. > That is excellent > Thanks to this list, I know about "do in widget" that can cause some > javascript to be evaluated in the current page in the browser widget. Which is > great. > From marksmithhfx at gmail.com Tue Apr 18 05:42:04 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 18 Apr 2023 10:42:04 +0100 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> Message-ID: Hi Marty, this worked like a charm. I was trying to open Trevor's dataview_demo and was getting the same “An error occurred while initialising the application…” msg. This fixed it. Thanks Mark > On 14 Apr 2023, at 10:35 pm, Marty Knapp via use-livecode wrote: > > I don’t have an “M” chip Mac here to test at the moment but here’s something to try: > > In the Levure framework open the helpers folder and then the preferences folder > Modify the helper.yml file by deleting the section under externals so the file just contains the following > > externals: > libraries: > - filename: preferences.livecodescript > extensions: > - filename: nsuserdefaults.lcm > engine version: ">=9.0" > platform: macos,ios > > Then try a build and see how that works. I just tried it on my Intel iMac and preferences are working OK without the previous content. > > Please let me know how it works on your “M” mac > > > Marty > >> On Apr 10, 2023, at 3:23 AM, Mark Waddingham via use-livecode wrote: >> >> On 2023-04-08 14:58, bob--- via use-livecode wrote: >>> I'm wondering if anyone might be able to help me out. I’m trying to >>> use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am >>> able to open the app in the IDE with no issue. >>> When I try to open the app with LC 9.6.9rc3 I get “An error occurred >>> while initializing the application [unable to load external >>> Preferences]”. I’m tracing through the Levure script now and can see >>> in fact the Preference stack is not being loaded. I’ve confirmed >>> Preferences.bundle is at the location referenced in the script. >>> Can anyone steer me in a direction for a fix to this? >> >> So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). >> >> The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. >> >> The preferences external will need to be rebuilt with an arm64 slice and included in Levure. >> >> (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). >> >> Warmest Regards, >> >> Mark. >> >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Build Amazing Things > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 18 06:36:10 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 18 Apr 2023 11:36:10 +0100 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> Message-ID: <076A5260-E367-4379-B567-EDB9F7F529E6@gmail.com> Marty, apologies, I forgot to add I am doing this on an “M” chip. Mark > On 18 Apr 2023, at 10:42 am, Mark Smith wrote: > > Hi Marty, this worked like a charm. I was trying to open Trevor's dataview_demo and was getting the same “An error occurred while initialising the application…” msg. This fixed it. Thanks > > Mark > > >> On 14 Apr 2023, at 10:35 pm, Marty Knapp via use-livecode wrote: >> >> I don’t have an “M” chip Mac here to test at the moment but here’s something to try: >> >> In the Levure framework open the helpers folder and then the preferences folder >> Modify the helper.yml file by deleting the section under externals so the file just contains the following >> >> externals: >> libraries: >> - filename: preferences.livecodescript >> extensions: >> - filename: nsuserdefaults.lcm >> engine version: ">=9.0" >> platform: macos,ios >> >> Then try a build and see how that works. I just tried it on my Intel iMac and preferences are working OK without the previous content. >> >> Please let me know how it works on your “M” mac >> >> >> Marty >> >>> On Apr 10, 2023, at 3:23 AM, Mark Waddingham via use-livecode wrote: >>> >>> On 2023-04-08 14:58, bob--- via use-livecode wrote: >>>> I'm wondering if anyone might be able to help me out. I’m trying to >>>> use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am >>>> able to open the app in the IDE with no issue. >>>> When I try to open the app with LC 9.6.9rc3 I get “An error occurred >>>> while initializing the application [unable to load external >>>> Preferences]”. I’m tracing through the Levure script now and can see >>>> in fact the Preference stack is not being loaded. I’ve confirmed >>>> Preferences.bundle is at the location referenced in the script. >>>> Can anyone steer me in a direction for a fix to this? >>> >>> So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). >>> >>> The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. >>> >>> The preferences external will need to be rebuilt with an arm64 slice and included in Levure. >>> >>> (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). >>> >>> Warmest Regards, >>> >>> Mark. >>> >>> -- >>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>> LiveCode: Build Amazing Things >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Tue Apr 18 12:08:10 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 18 Apr 2023 17:08:10 +0100 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> Message-ID: <2fed0a0e-593d-d38d-7f11-235d371638e8@cogapp.com> I've found a solution. For the benefit of others (and myself, because I'll have forgotten this next time I want it), this can be done using "the javascriptHandlers". So you can set up a handler to be called from the browser: set the javascriptHandlers of widget "Browser" to "myJSHandler" ... and then have javascript pass the expression to that handler: do "liveCode.myJSHandler(document.title);" in widget "browser" On 17/04/2023 16:17, Ben Rubinstein via use-livecode wrote: > Thanks Klaus, I tried both of those! > > So for example I can execute >     do "alert(document.title)" in widget "browser" > > and see the expected string in an alert box. But >     do "document.title" in widget "browser"; put it > > or >     do "document.title" in widget "browser"; put the result > > just put empty. > > Any other ideas? I don't know whether I need to do something different in the > livecode end (probably) or in the javascript end. > > TIA, > > Ben > > > On 17/04/2023 16:11, Klaus major-k via use-livecode wrote: >> Hi Ben, >> >>> Am 17.04.2023 um 16:37 schrieb Ben Rubinstein via use-livecode >>> : >>> >>> Thanks to this list, I know about "do in widget" that can cause some >>> javascript to be evaluated in the current page in the browser widget. Which >>> is great. >>> >>> But how do I get (into LiveCode) the result of a javascript expression? >> >> if in doubt try either -> IT or -> the result :-) >> >>> TIA, >>> >>> Ben >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Tue Apr 18 13:18:44 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 18 Apr 2023 20:18:44 +0300 Subject: [[ ANN ]] Release 10.0.0 DP-5 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 DP-5. LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: - The initializing value for constant and local declarations can now be any constant expression - The suspend and resume messages are now supported on mobile platforms - A library has been added which gives access to the Sign-in with Google API on Android - Support for working with media controls on Android has been added - On Web, data required by the engine to run has been separated out into optional files thus reducing the size of the download required in many cases - A prototype implementation of the 'script widgets' feature has been included and many more :) You can find more details on the new features and the bug fixes of this new release here: https://livecode.com/livecode-10-dp-5-smaller-faster-richer You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From MikeKerner at roadrunner.com Tue Apr 18 15:11:29 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Apr 2023 15:11:29 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: i'm curious to hear if script widgets perform better than grouped controls did. one of the things that lcb widgets had was better performance and responsiveness. On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 10.0.0 DP-5. > > LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: > > - The initializing value for constant and local declarations can > now be any constant expression > - The suspend and resume messages are now supported on > mobile platforms > - A library has been added which gives access to the Sign-in with Google > API on Android > - Support for working with media controls on Android has been > added > - On Web, data required by the engine to run has been > separated out into optional files thus reducing the size of the > download required in many cases > - A prototype implementation of the 'script widgets' feature has > been included > > and many more :) > > You can find more details on the new features and the bug fixes of this new > release here: > > https://livecode.com/livecode-10-dp-5-smaller-faster-richer > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Apr 18 15:53:17 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Apr 2023 15:53:17 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: anyone try to download this version? i don't see where to do it On Tue, Apr 18, 2023 at 3:11 PM Mike Kerner wrote: > i'm curious to hear if script widgets perform better than grouped controls > did. > one of the things that lcb widgets had was better performance and > responsiveness. > > On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Dear list members, >> >> We are pleased to announce the release of LiveCode 10.0.0 DP-5. >> >> LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: >> >> - The initializing value for constant and local declarations can >> now be any constant expression >> - The suspend and resume messages are now supported on >> mobile platforms >> - A library has been added which gives access to the Sign-in with Google >> API on Android >> - Support for working with media controls on Android has been >> added >> - On Web, data required by the engine to run has been >> separated out into optional files thus reducing the size of the >> download required in many cases >> - A prototype implementation of the 'script widgets' feature has >> been included >> >> and many more :) >> >> You can find more details on the new features and the bug fixes of this >> new >> release here: >> >> https://livecode.com/livecode-10-dp-5-smaller-faster-richer >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> The LiveCode Team >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Apr 18 15:55:01 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Apr 2023 15:55:01 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: wupz. nevermind. https://livecode.com/account/all-livecode-downloads On Tue, Apr 18, 2023 at 3:53 PM Mike Kerner wrote: > anyone try to download this version? i don't see where to do it > > On Tue, Apr 18, 2023 at 3:11 PM Mike Kerner > wrote: > >> i'm curious to hear if script widgets perform better than grouped >> controls did. >> one of the things that lcb widgets had was better performance and >> responsiveness. >> >> On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 10.0.0 DP-5. >>> >>> LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: >>> >>> - The initializing value for constant and local declarations can >>> now be any constant expression >>> - The suspend and resume messages are now supported on >>> mobile platforms >>> - A library has been added which gives access to the Sign-in with Google >>> API on Android >>> - Support for working with media controls on Android has been >>> added >>> - On Web, data required by the engine to run has been >>> separated out into optional files thus reducing the size of the >>> download required in many cases >>> - A prototype implementation of the 'script widgets' feature has >>> been included >>> >>> and many more :) >>> >>> You can find more details on the new features and the bug fixes of this >>> new >>> release here: >>> >>> https://livecode.com/livecode-10-dp-5-smaller-faster-richer >>> >>> You can find the release in your LiveCode account area or get it via the >>> automatic updater. >>> >>> Enjoy! >>> >>> Kind regards >>> The LiveCode Team >>> -- >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ahsoftware at sonic.net Tue Apr 18 15:58:13 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 18 Apr 2023 12:58:13 -0700 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: I would so like to like this release: script widgets expression constants (finally!) etc... but it's so wonky on linux that I'd have to write up a slew of bug reports. Essentially unusable for me in ways that dp4 behaves. I'm looking forward to dp6. -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Wed Apr 19 11:56:12 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 19 Apr 2023 17:56:12 +0200 Subject: error while signing Android app Message-ID: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> Hi friends, I created a selfsigning keystore with the app "Keymaker.app", which worked fine for my last app created with LC 9.6.8. But with LC 9.6.9 I get this LC error: ----------------------------------- There was an error while saving the standalone application signing failed - Certificate chain not found for: (PWD here) (PWD here) must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain ------------------------------------ Do I need to crewate the key with Android Studio? Any idea what goes wrong here? Thank you! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From dougr at telus.net Wed Apr 19 14:04:39 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 19 Apr 2023 11:04:39 -0700 Subject: FW: card background color Message-ID: <00e001d972e9$68c46c70$3a4d4550$@telus.net> Using LC v9.6.8 Business on Windows 10. When I drag a new object from the Tools Palette onto a card, as the object "enters" the destination card, the background of that card turns a VERY dark blue . making the visibility of the object-being-dragged very difficult to see until I release the mouse button. Additionally, the background/highlight color of the entry field on the Message Box is, similarly, very dark blue after I enter a command . making the text (again) very difficult to read. I've look thru LC's Preferences and tried adjusting Windows colors.. but to no avail. Anyone know how to adjust (or defeat) this "highlighting" feature? Doug From craig at starfirelighting.com Wed Apr 19 14:12:13 2023 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 19 Apr 2023 14:12:13 -0400 Subject: card background color In-Reply-To: <00e001d972e9$68c46c70$3a4d4550$@telus.net> References: <00e001d972e9$68c46c70$3a4d4550$@telus.net> Message-ID: <2FD76BD7-B714-42FF-8A05-A002A206F5E4@starfirelighting.com> Doug. I also find this annoying. But I have never found a property to disable it. Of course, I never asked, so let us both see what turns up. Craig > On Apr 19, 2023, at 2:04 PM, Douglas A. Ruisaard via use-livecode wrote: > > Using LC v9.6.8 Business on Windows 10. When I drag a new object from the > Tools Palette onto a card, as the object "enters" the destination card, the > background of that card turns a VERY dark blue . making the visibility of > the object-being-dragged very difficult to see until I release the mouse > button. Additionally, the background/highlight color of the entry field on > the Message Box is, similarly, very dark blue after I enter a command . > making the text (again) very difficult to read. > > > > I've look thru LC's Preferences and tried adjusting Windows colors.. but to > no avail. Anyone know how to adjust (or defeat) this "highlighting" > feature? > > > > Doug > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 19 14:25:27 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 19 Apr 2023 11:25:27 -0700 Subject: card background color In-Reply-To: <2FD76BD7-B714-42FF-8A05-A002A206F5E4@starfirelighting.com> References: <00e001d972e9$68c46c70$3a4d4550$@telus.net> <2FD76BD7-B714-42FF-8A05-A002A206F5E4@starfirelighting.com> Message-ID: <011b01d972ec$50e2f600$f2a8e200$@telus.net> Thanks for the confirmation... always good to have another collaborator. Not sure what version this showed up. Doug -----Original Message----- From: use-livecode On Behalf Of Craig Newman via use-livecode Sent: Wednesday, April 19, 2023 11:12 AM To: How to use LiveCode Cc: Craig Newman Subject: Re: card background color Doug. I also find this annoying. But I have never found a property to disable it. Of course, I never asked, so let us both see what turns up. Craig > On Apr 19, 2023, at 2:04 PM, Douglas A. Ruisaard via use-livecode wrote: > > Using LC v9.6.8 Business on Windows 10. When I drag a new object from > the Tools Palette onto a card, as the object "enters" the destination > card, the background of that card turns a VERY dark blue . making the > visibility of the object-being-dragged very difficult to see until I > release the mouse button. Additionally, the background/highlight > color of the entry field on the Message Box is, similarly, very dark blue after I enter a command . > making the text (again) very difficult to read. > > > > I've look thru LC's Preferences and tried adjusting Windows colors.. > but to no avail. Anyone know how to adjust (or defeat) this "highlighting" > feature? > > > > Doug > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Wed Apr 19 14:25:59 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 19 Apr 2023 11:25:59 -0700 Subject: Weird window behavior Message-ID: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. Am I going crazy? Marty From craig at starfirelighting.com Wed Apr 19 14:29:17 2023 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 19 Apr 2023 14:29:17 -0400 Subject: Weird window behavior In-Reply-To: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: <4DD838F7-8E18-4FF5-A157-78EF779D22B2@starfirelighting.com> Marty. No more than I. I lead both the forum and this list for personally directed oddities. Nobody can touch me… Craig > On Apr 19, 2023, at 2:25 PM, Marty Knapp via use-livecode wrote: > > Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. > > Am I going crazy? > > 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 dochawk at gmail.com Wed Apr 19 14:34:36 2023 From: dochawk at gmail.com (doc hawk) Date: Wed, 19 Apr 2023 11:34:36 -0700 Subject: Weird window behavior In-Reply-To: <4DD838F7-8E18-4FF5-A157-78EF779D22B2@starfirelighting.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> <4DD838F7-8E18-4FF5-A157-78EF779D22B2@starfirelighting.com> Message-ID: <4BFA6A1F-11C3-487A-8629-57607EB6A812@gmail.com> I’ll see your oddity and raise you a weirdness! > On Apr 19, 2023, at 11:29 AM, Craig Newman via use-livecode wrote: > > Marty. > > No more than I. I lead both the forum and this list for personally directed oddities. Nobody can touch me… > > Craig > >> On Apr 19, 2023, at 2:25 PM, Marty Knapp via use-livecode wrote: >> >> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >> >> Am I going crazy? >> >> 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 jacque at hyperactivesw.com Wed Apr 19 15:43:04 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Apr 2023 14:43:04 -0500 Subject: error while signing Android app In-Reply-To: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> Message-ID: <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > I created a selfsigning keystore with the app > "Keymaker.app", which worked fine for my last app > created with LC 9.6.8. > > But with LC 9.6.9 I get this LC error: > ----------------------------------- > There was an error while saving the standalone application > signing failed - Certificate chain not found for: (PWD here) > (PWD here) must reference a valid KeyStore key entry containing > a private key and corresponding public key certificate chain > ------------------------------------ > > Do I need to crewate the key with Android Studio? Could this be related to the dialog box error that misplaces the insertion point when you type? Or did you get the error before it asked for the password? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Apr 19 16:08:43 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 19 Apr 2023 22:08:43 +0200 Subject: error while signing Android app In-Reply-To: <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: Hi Jacque, > Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : > On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >> Hi friends, >> I created a selfsigning keystore with the app >> "Keymaker.app", which worked fine for my last app >> created with LC 9.6.8. >> But with LC 9.6.9 I get this LC error: >> ----------------------------------- >> There was an error while saving the standalone application >> signing failed - Certificate chain not found for: (PWD here) >> (PWD here) must reference a valid KeyStore key entry containing >> a private key and corresponding public key certificate chain >> ------------------------------------ >> >> Do I need to crewate the key with Android Studio? > > Could this be related to the dialog box error that misplaces the insertion point when you type? no, that looks like it has been fixed in LC 9.6.9 stable. > Or did you get the error before it asked for the password? No, that happens after I had entered all the passwords. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From Bernd.Niggemann at uni-wh.de Wed Apr 19 18:23:11 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 19 Apr 2023 22:23:11 +0000 Subject: card background color Message-ID: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> Douglas A. Ruisaard wrote > When I drag a new object from the > Tools Palette onto a card, as the object "enters" the destination card, the > background of that card turns a VERY dark blue . making the visibility of > the object-being-dragged very difficult to see until I release the mouse > button. > Anyone know how to adjust (or defeat) this "highlighting" > feature? In stack "Home" around line 1930 in function revEnvironmentEditionProperty pProp, pEdition change the color to e.g. ------------------- case "color" return 180,191,200 ------------------- Kind regards Bernd From bobsneidar at iotecdigital.com Wed Apr 19 18:45:39 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Apr 2023 22:45:39 +0000 Subject: card background color In-Reply-To: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> References: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> Message-ID: <3CC4658D-AA92-42A0-A647-3E17B162C75F@iotecdigital.com> Won't that revert next time LC is downloaded and installed? Bob S > On Apr 19, 2023, at 15:23, Niggemann, Bernd via use-livecode wrote: > > Douglas A. Ruisaard wrote > >> When I drag a new object from the >> Tools Palette onto a card, as the object "enters" the destination card, the >> background of that card turns a VERY dark blue . making the visibility of >> the object-being-dragged very difficult to see until I release the mouse >> button. >> Anyone know how to adjust (or defeat) this "highlighting" >> feature? > > > In stack "Home" around line 1930 in > > function revEnvironmentEditionProperty pProp, pEdition > > change the color to e.g. > > ------------------- > case "color" > return 180,191,200 > ------------------- > > > 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 Bernd.Niggemann at uni-wh.de Wed Apr 19 19:24:09 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 19 Apr 2023 23:24:09 +0000 Subject: card background color Message-ID: <5F5BB345-03C1-41FB-AE47-88D4DBC9B53F@uni-wh.de> Bob Sneidar wrote: > Won't that revert next time LC is downloaded and installed? You could write a plug-in that patches the Home stack on every startUp of LC. That will work until that handler of stack "Home" is changed. Kind regards Bernd From klaus at major-k.de Thu Apr 20 05:15:15 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 20 Apr 2023 11:15:15 +0200 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: Hi all, > Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : > > Hi Jacque, > >> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>> Hi friends, >>> I created a selfsigning keystore with the app >>> "Keymaker.app", which worked fine for my last app >>> created with LC 9.6.8. >>> But with LC 9.6.9 I get this LC error: >>> ----------------------------------- >>> There was an error while saving the standalone application >>> signing failed - Certificate chain not found for: (PWD here) >>> (PWD here) must reference a valid KeyStore key entry containing >>> a private key and corresponding public key certificate chain >>> ------------------------------------ >>> >>> Do I need to crewate the key with Android Studio? >> Could this be related to the dialog box error that misplaces the insertion point when you type? > no, that looks like it has been fixed in LC 9.6.9 stable. >> Or did you get the error before it asked for the password? > No, that happens after I had entered all the passwords. I don't even know what the dialog ist trying to tell me. Any ideas? Thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Thu Apr 20 06:21:34 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 20 Apr 2023 12:21:34 +0200 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: <6363E324-8C3B-4995-A410-BE44BC187D64@m-r-d.de> Hi Klaus, i just did test here on macOS. I've created a key using the shell command keytool and could successfully build an Android 9 standalone with LC 9.6.9. What is the keymaker.app? Is that a 3rd party tool? Regards, Matthias > Am 20.04.2023 um 11:15 schrieb Klaus major-k via use-livecode : > > Hi all, > >> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : >> >> Hi Jacque, >> >>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>> Hi friends, >>>> I created a selfsigning keystore with the app >>>> "Keymaker.app", which worked fine for my last app >>>> created with LC 9.6.8. >>>> But with LC 9.6.9 I get this LC error: >>>> ----------------------------------- >>>> There was an error while saving the standalone application >>>> signing failed - Certificate chain not found for: (PWD here) >>>> (PWD here) must reference a valid KeyStore key entry containing >>>> a private key and corresponding public key certificate chain >>>> ------------------------------------ >>>> >>>> Do I need to crewate the key with Android Studio? >>> Could this be related to the dialog box error that misplaces the insertion point when you type? >> no, that looks like it has been fixed in LC 9.6.9 stable. >>> Or did you get the error before it asked for the password? >> No, that happens after I had entered all the passwords. > > I don't even know what the dialog ist trying to tell me. > Any ideas? Thank you. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Apr 20 06:36:16 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 20 Apr 2023 12:36:16 +0200 Subject: error while signing Android app In-Reply-To: <6363E324-8C3B-4995-A410-BE44BC187D64@m-r-d.de> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <6363E324-8C3B-4995-A410-BE44BC187D64@m-r-d.de> Message-ID: <80FE645C-5732-4D9E-9770-CBF02E372D38@major-k.de> Hi Matthias, > Am 20.04.2023 um 12:21 schrieb matthias rebbe via use-livecode : > > Hi Klaus, > > i just did test here on macOS. > I've created a key using the shell command keytool and could successfully build an Android 9 standalone with LC 9.6.9. > What is the keymaker.app? Is that a 3rd party tool? Yes, see here a link to the forum: The keystore file it gernerated worked without problem with the first version of my app.!? > Regards, > Matthias Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From heather at livecode.com Thu Apr 20 10:16:12 2023 From: heather at livecode.com (Heather Laine) Date: Thu, 20 Apr 2023 15:16:12 +0100 Subject: In case any of you missed it... Message-ID: Dear List Members, We just made what we think is the most significant announcement since Revolution 1.0: https://livecode.com/xavvi/ Looking forward to hearing what you all think about it! Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From mark at livecode.com Thu Apr 20 10:20:12 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 20 Apr 2023 15:20:12 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: <144287e4665c1d4d8d76b0b457870500@livecode.com> On 2023-04-18 20:58, Mark Wieder via use-livecode wrote: > I would so like to like this release: > script widgets > expression constants (finally!) > etc... > > but it's so wonky on linux that I'd have to write up a slew of bug > reports. Essentially unusable for me in ways that dp4 behaves. > > I'm looking forward to dp6. Heh - well if there is a Linux specific issue that we haven't seen but you do - then its not likely to be fixed in dp-6 unless we know what it is :D We've already identified a problem with the 'after' message which causes the layout of the IDE palettes to not update correctly - and are fixing :) Beyond that, do you get (as many) problems if you run the IDE without any plugins and such? (i.e. an empty 'My LiveCode' folder) The reason I ask is that we have (unusually) made two backwards-incompatible script changes in dp-5 in order to accommodate constant initializer expressions - both touch on edge-cases, but hey, edge-cases happen. There is a small possibility that a plugin or similar which contains such an edge case could break and thus be causing errors and thus destabilize the IDE. Specifically: The tokenization of numeric literals (i.e. numbers) is now much more strict - https://quality.livecode.com/show_bug.cgi?id=23653. Previously a numeric token which had an 'error suffix' would encompass the suffix into the token rather than treat it separately. The right-hand side of an initializer is no longer treated as a token (this is key to having them as expressions at all!) - https://quality.livecode.com/show_bug.cgi?id=19413. Previously if you had an initializer which was an engine constant, then the initialized value would be the name of the constant and not its value (e.g. local tFoo = empty => tFoo = "empty" and not ""). The fix to both is to quote the offending token. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From dvglasgow at gmail.com Thu Apr 20 10:49:42 2023 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 20 Apr 2023 15:49:42 +0100 Subject: Weird window behavior In-Reply-To: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: <24A60DAE-38B7-497F-A7D5-567CB3AA9274@gmail.com> Me too. Or maybe me too. Is this the same thing?... Even if focus shifts from my stack to Message Box, the next click on my stack causes it to just disappear. Most alarming until I realised what was happening. My stack is just behind everything else and CMD tab (x2) brings it to front. Phew... M2, LC 9.6.8 Cheers Best Wishes, David Glasgow Honorary Professor, Nottingham Trent University Sexual Offences, Crime and Misconduct Research Unit Consultant Forensic & Clinical Psychologist Carlton Glasgow Partnership Director, Child & Family Training, York LinkedIn > On 19 Apr 2023, at 7:25 pm, Marty Knapp via use-livecode wrote: > > Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. > > Am I going crazy? > > 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 dougr at telus.net Thu Apr 20 11:45:34 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 08:45:34 -0700 Subject: card background color In-Reply-To: <5F5BB345-03C1-41FB-AE47-88D4DBC9B53F@uni-wh.de> References: <5F5BB345-03C1-41FB-AE47-88D4DBC9B53F@uni-wh.de> Message-ID: <04a101d9739f$25b1e4b0$7115ae10$@telus.net> Wow .. MAGIC! ... one more annoying question: The input line (?) on the MessageBox is also that deep blue ... I scanned thru the C:\Program Files\RunRev\LiveCode 9.6.8 directory but couldn't find any obviously relevant reference ... not that I could have noticed the one you pointed out! If you could suggest where I might find THAT color reference, I'd be very grateful Doug -----Original Message----- From: use-livecode On Behalf Of Niggemann, Bernd via use-livecode Sent: Wednesday, April 19, 2023 4:24 PM To: use-livecode at lists.runrev.com Cc: Niggemann, Bernd Subject: Re: card background color Bob Sneidar wrote: > Won't that revert next time LC is downloaded and installed? You could write a plug-in that patches the Home stack on every startUp of LC. That will work until that handler of stack "Home" is changed. 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 dougr at telus.net Thu Apr 20 11:57:16 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 08:57:16 -0700 Subject: card background color In-Reply-To: <3CC4658D-AA92-42A0-A647-3E17B162C75F@iotecdigital.com> References: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> <3CC4658D-AA92-42A0-A647-3E17B162C75F@iotecdigital.com> Message-ID: <057001d973a0$c82638d0$5872aa70$@telus.net> Thanks for the reminder about losing the change with a new install... I'll make a note of it!! Cheers Doug -----Original Message----- From: use-livecode On Behalf Of Bob Sneidar via use-livecode Sent: Wednesday, April 19, 2023 3:46 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: card background color Won't that revert next time LC is downloaded and installed? Bob S > On Apr 19, 2023, at 15:23, Niggemann, Bernd via use-livecode wrote: > > Douglas A. Ruisaard wrote > >> When I drag a new object from the >> Tools Palette onto a card, as the object "enters" the destination >> card, the background of that card turns a VERY dark blue . making the >> visibility of the object-being-dragged very difficult to see until I >> release the mouse button. >> Anyone know how to adjust (or defeat) this "highlighting" >> feature? > > > In stack "Home" around line 1930 in > > function revEnvironmentEditionProperty pProp, pEdition > > change the color to e.g. > > ------------------- > case "color" > return 180,191,200 > ------------------- > > > Kind regards > Bernd > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 20 12:11:48 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Apr 2023 11:11:48 -0500 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I did a search for the first few words of the error message and got a lot of hits. Here's one: https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fix-and-publish-to-google-play-store There are several solutions but it sounds like the keystore file can't be found, or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. I wonder if diacriticals or foreign characters may interfere. Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. The outside world will never see it. It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: > Hi all, > >> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode >> : >> >> Hi Jacque, >> >>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode >>> : >>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>> Hi friends, >>>> I created a selfsigning keystore with the app >>>> "Keymaker.app", which worked fine for my last app >>>> created with LC 9.6.8. >>>> But with LC 9.6.9 I get this LC error: >>>> ----------------------------------- >>>> There was an error while saving the standalone application >>>> signing failed - Certificate chain not found for: (PWD here) >>>> (PWD here) must reference a valid KeyStore key entry containing >>>> a private key and corresponding public key certificate chain >>>> ------------------------------------ >>>> >>>> Do I need to crewate the key with Android Studio? >>> Could this be related to the dialog box error that misplaces the insertion >>> point when you type? >> no, that looks like it has been fixed in LC 9.6.9 stable. >>> Or did you get the error before it asked for the password? >> No, that happens after I had entered all the passwords. > > I don't even know what the dialog ist trying to tell me. > Any ideas? Thank you. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Thu Apr 20 12:52:33 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 20 Apr 2023 16:52:33 +0000 Subject: card background color Message-ID: <57220EB1-87A5-4E3A-9718-600D77AC8EAE@uni-wh.de> Douglas A. Ruisaard wrote: > The input line (?) on the MessageBox is also that deep blue ... I scanned > thru the C:\Program Files\RunRev\LiveCode 9.6.8 directory but couldn't find > any obviously relevant reference For me the backgroundcolor of the input line of the MessageBox is controlled by my setting of the backgroundColor of the Script Editor in LC Preferences. That also changes the backgroundcolor of the input field of single line and multiline input field of the message box. Kind regards Bernd From dougr at telus.net Thu Apr 20 13:18:46 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 10:18:46 -0700 Subject: card background color In-Reply-To: <57220EB1-87A5-4E3A-9718-600D77AC8EAE@uni-wh.de> References: <57220EB1-87A5-4E3A-9718-600D77AC8EAE@uni-wh.de> Message-ID: <05a901d973ac$2a70e070$7f52a150$@telus.net> Thanks for the tip .. however, while the background setting *does* control the background color of the input field on the Message Box, it does NOT affect the dark blue "highlight" within the field when the Box display previous commands. This is not biggie and I REALLY appreciate your time in responding... one click on the dark blue highlighting goes away. Thanks again! Doug -----Original Message----- From: use-livecode On Behalf Of Niggemann, Bernd via use-livecode Sent: Thursday, April 20, 2023 9:53 AM To: use-livecode at lists.runrev.com Cc: Niggemann, Bernd Subject: RE: card background color Douglas A. Ruisaard wrote: > The input line (?) on the MessageBox is also that deep blue ... I > scanned thru the C:\Program Files\RunRev\LiveCode 9.6.8 directory but > couldn't find any obviously relevant reference For me the backgroundcolor of the input line of the MessageBox is controlled by my setting of the backgroundColor of the Script Editor in LC Preferences. That also changes the backgroundcolor of the input field of single line and multiline input field of the message box. 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 martyknappster at gmail.com Thu Apr 20 13:22:13 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 20 Apr 2023 10:22:13 -0700 Subject: Weird window behavior In-Reply-To: <24A60DAE-38B7-497F-A7D5-567CB3AA9274@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> <24A60DAE-38B7-497F-A7D5-567CB3AA9274@gmail.com> Message-ID: <4DCE39FF-F8C4-4432-B116-BD3E1E7DF2A4@gmail.com> The question is - why would it do that? This is totally repeatable for me. Even when I create a new stack with no code in it whatsoever. Have any other app displaying a window (like a browser window), then click anything in the toolbar, for example, and that new stack will disappear back behind the browser window. Only happens on Ventura for me - not on any previous Mac OS that I’ve tried. And it’s doing it on 2 different Macs. It does it both in the IDE and in a standalone, so not caused by any plugins. Do you use the Levure framework by chance? I do - I’ll do some testing here to see if that might be effecting things. Marty > On Apr 20, 2023, at 7:49 AM, David V Glasgow via use-livecode wrote: > > Me too. Or maybe me too. Is this the same thing?... > > Even if focus shifts from my stack to Message Box, the next click on my stack causes it to just disappear. Most alarming until I realised what was happening. My stack is just behind everything else and CMD tab (x2) brings it to front. Phew... > > M2, LC 9.6.8 > > Cheers > > > Best Wishes, > > David Glasgow > Honorary Professor, Nottingham Trent University > Sexual Offences, Crime and Misconduct Research Unit > Consultant Forensic & Clinical Psychologist > Carlton Glasgow Partnership > Director, Child & Family Training, York > > > LinkedIn > >> On 19 Apr 2023, at 7:25 pm, Marty Knapp via use-livecode wrote: >> >> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >> >> Am I going crazy? >> >> Marty From Bernd.Niggemann at uni-wh.de Thu Apr 20 13:28:05 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 20 Apr 2023 17:28:05 +0000 Subject: card background color Message-ID: <1700F371-9EF3-4F55-BDDB-937C600139A1@uni-wh.de> Douglas A. Ruisaard wrote: > Thanks for the tip .. however, while the background setting *does* control > the background color of the input field on the Message Box, it does NOT > affect the dark blue "highlight" within the field when the Box display > previous commands. Sorry, I did not get that you meant the highlight color of the input field of the message box when the text is selected. I see that you use Window. I am on a Mac. The highlight color for all text in LC on a Mac is controlled by "System Preferences" -> "General". and is applied system wide to all apps. No idea how this is handled on Windows Computers. Kind regards Bernd From rdimola at evergreeninfo.net Thu Apr 20 13:32:44 2023 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 20 Apr 2023 13:32:44 -0400 Subject: error while signing Android app In-Reply-To: <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <003e01d973ae$20c7f7a0$6257e6e0$@net> I've always used "Keystore Explorer". It's Java based so it runs on any platform. Lots of options and a decent GUI. Give it a shot and see what's in your keystore file. 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: Thursday, April 20, 2023 12:12 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: error while signing Android app I did a search for the first few words of the error message and got a lot of hits. Here's one: https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstac koverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fi x-and-publish-to-google-play-store There are several solutions but it sounds like the keystore file can't be found, or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. I wonder if diacriticals or foreign characters may interfere. Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. The outside world will never see it. It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: > Hi all, > >> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode >> : >> >> Hi Jacque, >> >>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode >>> : >>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>> Hi friends, >>>> I created a selfsigning keystore with the app "Keymaker.app", which >>>> worked fine for my last app created with LC 9.6.8. >>>> But with LC 9.6.9 I get this LC error: >>>> ----------------------------------- >>>> There was an error while saving the standalone application signing >>>> failed - Certificate chain not found for: (PWD here) (PWD here) >>>> must reference a valid KeyStore key entry containing a private key >>>> and corresponding public key certificate chain >>>> ------------------------------------ >>>> >>> 0> Do I need to crewate the key with Android Studio? >>> Could this be related to the dialog box error that misplaces the >>> insertion point when you type? >> no, that looks like it has been fixed in LC 9.6.9 stable. >>> Or did you get the error before it asked for the password? >> No, that happens after I had entered all the passwords. > > I don't even know what the dialog ist trying to tell me. > Any ideas? Thank you. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 20 13:49:12 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Apr 2023 17:49:12 +0000 Subject: In case any of you missed it... In-Reply-To: References: Message-ID: That is interesting... and a bit scary. Just as I was getting my coffee, and before I saw this email, I was thinking that in less than 20 years we will be coding with sensors attached to our heads and driven by AI and reading our minds and learning from our corrections. Bob S > On Apr 20, 2023, at 07:16, Heather Laine via use-livecode wrote: > > Dear List Members, > > We just made what we think is the most significant announcement since Revolution 1.0: > > https://livecode.com/xavvi/ > > Looking forward to hearing what you all think about it! > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dougr at telus.net Thu Apr 20 14:16:06 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 11:16:06 -0700 Subject: card background color In-Reply-To: <1700F371-9EF3-4F55-BDDB-937C600139A1@uni-wh.de> References: <1700F371-9EF3-4F55-BDDB-937C600139A1@uni-wh.de> Message-ID: <05c101d973b4$2cc89270$8659b750$@telus.net> Hey! ... half an answer is better than none at all. Windows dev's are (secretly or not) jealous of the MAC OS and environment .. except when it comes to iPhones. Perhaps someone from the Mothership could chime in on this matter? Cheers! Doug -----Original Message----- From: use-livecode On Behalf Of Niggemann, Bernd via use-livecode Sent: Thursday, April 20, 2023 10:28 AM To: use-livecode at lists.runrev.com Cc: Niggemann, Bernd Subject: RE: card background color Douglas A. Ruisaard wrote: > Thanks for the tip .. however, while the background setting *does* > control the background color of the input field on the Message Box, it > does NOT affect the dark blue "highlight" within the field when the > Box display previous commands. Sorry, I did not get that you meant the highlight color of the input field of the message box when the text is selected. I see that you use Window. I am on a Mac. The highlight color for all text in LC on a Mac is controlled by "System Preferences" -> "General". and is applied system wide to all apps. No idea how this is handled on Windows Computers. 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 Bernd.Niggemann at uni-wh.de Thu Apr 20 14:53:26 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 20 Apr 2023 18:53:26 +0000 Subject: card background color Message-ID: <5A3D895E-0F12-4EF2-9BD8-6F65D28F700A@uni-wh.de> Douglas A. Ruisaard wrote: > Hey! ... half an answer is better than none at all. BTW the background color used for stacks while dragging a control from the toolbar is supposedly the "Edition Color" While I like the blue as "Edition Color" it is a little dark as background color. Just wait until LC offers the "Black Edition"... While testing the backgroundcolor of stacks when dragging a control from the toolbar I was again annoyed that when stacks overlap the target stack for the control (usually your frontmost stack = default stack) the background color only changes when you leave the rect of a partially overlapping stack although your mouse is within the rect of your default/target stack. That in my opinion is not the best user interface. Since I work on a laptop the problem of overlapping stacks is not uncommon. I had a look at it and made an enhancement request with a proposed fix. https://quality.livecode.com/show_bug.cgi?id=24189 Anyone adventurous enough could test the proposed patch by applying it temporarily to stack "revTools" to handler "on mouseDown" Kind regards Bernd From ahsoftware at sonic.net Thu Apr 20 14:53:43 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 20 Apr 2023 11:53:43 -0700 Subject: In case any of you missed it... In-Reply-To: References: Message-ID: <8af33d0e-7932-d630-a19e-f7e0421ddf9e@sonic.net> On 4/20/23 10:49, Bob Sneidar via use-livecode wrote: > That is interesting... and a bit scary. Just as I was getting my coffee, and before I saw this email, I was thinking that in less than 20 years we will be coding with sensors attached to our heads and driven by AI and reading our minds and learning from our corrections. I'll be impressed when it can create an improved version of itself. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Thu Apr 20 15:01:50 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 20 Apr 2023 12:01:50 -0700 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <144287e4665c1d4d8d76b0b457870500@livecode.com> References: <144287e4665c1d4d8d76b0b457870500@livecode.com> Message-ID: <21517fb0-f23f-d1cf-e1d1-3c4c50b8093a@sonic.net> On 4/20/23 07:20, Mark Waddingham via use-livecode wrote: > Heh - well if there is a Linux specific issue that we haven't seen but > you do - then its not likely to be fixed in dp-6 unless we know what it > is :D Well, I've coded around two problems already. I'm currently working on a crashing one on both linux and OSX. Seems to be related to the Chart widget in 10-dp4 as well so not anything really new. I'm guessing it's CEF-related. -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Thu Apr 20 15:15:10 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 20 Apr 2023 21:15:10 +0200 Subject: error while signing Android app In-Reply-To: <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque, > Am 20.04.2023 um 18:11 schrieb J. Landman Gay via use-livecode : > > I did a search for the first few words of the error message and got a lot of hits. Here's one: > https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fix-and-publish-to-google-play-store > > There are several solutions but it sounds like the keystore file can't be found, ??? I added this in the Standalone Application Setting. So it IS present and LC knows where it is! Not? Maybe I misunderstand this completely... > or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. Isn't that the meaning of an ALIAS? That it can be named differently than the original? > I wonder if diacriticals or foreign characters may interfere. > Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. > The outside world will never see it. I did, only used ASCII and UNDERSCORES, NO spaces and umlauts etc. > It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. I did and got different errors! :-/ Oh my... Matthias Rebbe helped me out and created a keystore file for me, will test it tomorrow and report here about success or fail. :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: > >> Hi all, >> >>> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : >>> >>> Hi Jacque, >>> >>>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >>>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>>> Hi friends, >>>>> I created a selfsigning keystore with the app >>>>> "Keymaker.app", which worked fine for my last app >>>>> created with LC 9.6.8. >>>>> But with LC 9.6.9 I get this LC error: >>>>> ----------------------------------- >>>>> There was an error while saving the standalone application >>>>> signing failed - Certificate chain not found for: (PWD here) >>>>> (PWD here) must reference a valid KeyStore key entry containing >>>>> a private key and corresponding public key certificate chain >>>>> ------------------------------------ >>>>> >>>>> Do I need to crewate the key with Android Studio? >>>> Could this be related to the dialog box error that misplaces the insertion point when you type? >>> no, that looks like it has been fixed in LC 9.6.9 stable. >>>> Or did you get the error before it asked for the password? >>> No, that happens after I had entered all the passwords. >> >> I don't even know what the dialog ist trying to tell me. >> Any ideas? Thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Thu Apr 20 16:09:30 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 20 Apr 2023 22:09:30 +0200 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <9828CA37-E563-4F54-89B1-6141F99C527F@m-r-d.de> The keystore file can contain more than one certificate (alias). For each certificate(alias) you can specify an other password (and also other values for FullName, Organization, OrganizationUnit and so on. The name of the alias is only important for you so that you can distinguish between the different certificates (aliases) in the keystore. You could of course use the same password for the Keystore itself and also for each alias, but for security reasons it might be better to use one password to secure the Keystore and different passwords for each alias. Regards, Matthias > Am 20.04.2023 um 21:15 schrieb Klaus major-k via use-livecode : > > Hi Jacque, > >> Am 20.04.2023 um 18:11 schrieb J. Landman Gay via use-livecode : >> >> I did a search for the first few words of the error message and got a lot of hits. Here's one: >> https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fix-and-publish-to-google-play-store >> >> There are several solutions but it sounds like the keystore file can't be found, > > ??? I added this in the Standalone Application Setting. > So it IS present and LC knows where it is! Not? > Maybe I misunderstand this completely... > >> or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. > > Isn't that the meaning of an ALIAS? > That it can be named differently than the original? > >> I wonder if diacriticals or foreign characters may interfere. >> Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. >> The outside world will never see it. > > I did, only used ASCII and UNDERSCORES, NO spaces and umlauts etc. > >> It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. > > I did and got different errors! :-/ > Oh my... > > Matthias Rebbe helped me out and created a keystore file for me, > will test it tomorrow and report here about success or fail. :-) > >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: >> >>> Hi all, >>> >>>> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : >>>> >>>> Hi Jacque, >>>> >>>>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >>>>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>>>> Hi friends, >>>>>> I created a selfsigning keystore with the app >>>>>> "Keymaker.app", which worked fine for my last app >>>>>> created with LC 9.6.8. >>>>>> But with LC 9.6.9 I get this LC error: >>>>>> ----------------------------------- >>>>>> There was an error while saving the standalone application >>>>>> signing failed - Certificate chain not found for: (PWD here) >>>>>> (PWD here) must reference a valid KeyStore key entry containing >>>>>> a private key and corresponding public key certificate chain >>>>>> ------------------------------------ >>>>>> >>>>>> Do I need to crewate the key with Android Studio? >>>>> Could this be related to the dialog box error that misplaces the insertion point when you type? >>>> no, that looks like it has been fixed in LC 9.6.9 stable. >>>>> Or did you get the error before it asked for the password? >>>> No, that happens after I had entered all the passwords. >>> >>> I don't even know what the dialog ist trying to tell me. >>> Any ideas? Thank you. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Apr 20 16:29:15 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 20 Apr 2023 16:29:15 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <21517fb0-f23f-d1cf-e1d1-3c4c50b8093a@sonic.net> References: <144287e4665c1d4d8d76b0b457870500@livecode.com> <21517fb0-f23f-d1cf-e1d1-3c4c50b8093a@sonic.net> Message-ID: if you want to throw those at the hacking the ide repo, that'd be great https://github.com/macMikey/LC-HACK/issues On Thu, Apr 20, 2023 at 3:02 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/20/23 07:20, Mark Waddingham via use-livecode wrote: > > > Heh - well if there is a Linux specific issue that we haven't seen but > > you do - then its not likely to be fixed in dp-6 unless we know what it > > is :D > > Well, I've coded around two problems already. > I'm currently working on a crashing one on both linux and OSX. > Seems to be related to the Chart widget in 10-dp4 as well so not > anything really new. I'm guessing it's CEF-related. > > -- > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dougr at telus.net Thu Apr 20 21:36:41 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 18:36:41 -0700 Subject: GLX2 questions Message-ID: <06b801d973f1$b9a2ff40$2ce8fdc0$@telus.net> Hopefully this note isn't inappropriate for this listing . This message is primarily intended for Mark Wieder. I've just installed GLX2 editor (and Power Debug) and have some questions regarding the Hyperlink and Breadcrumbs aspects of GLX2. I've sent a rather lengthy personal contact from the LC forum. but I know Mark is very active on this list. Hopefully Mark will be able to answer my questions. Thanks in advance Douglas Ruisaard From ahsoftware at sonic.net Thu Apr 20 21:50:26 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 20 Apr 2023 18:50:26 -0700 Subject: GLX2 questions In-Reply-To: <06b801d973f1$b9a2ff40$2ce8fdc0$@telus.net> References: <06b801d973f1$b9a2ff40$2ce8fdc0$@telus.net> Message-ID: <81b81063-678e-11ee-94d1-cc206b3c0a5e@sonic.net> On 4/20/23 18:36, Douglas A. Ruisaard via use-livecode wrote: > Hopefully this note isn't inappropriate for this listing . This message is > primarily intended for Mark Wieder. I've just installed GLX2 editor (and > Power Debug) and have some questions regarding the Hyperlink and Breadcrumbs > aspects of GLX2. I've sent a rather lengthy personal contact from the LC > forum. but I know Mark is very active on this list. Hopefully Mark will be > able to answer my questions. No worries. I got your PM. I'll have a look at it, but it's been some years since I've looked at that code. -- Mark Wieder ahsoftware at gmail.com From hakan at exformedia.se Fri Apr 21 04:49:18 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Fri, 21 Apr 2023 10:49:18 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? :-Håkan > On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: > > - A prototype implementation of the 'script widgets' feature has > been included From matthias_livecode_150811 at m-r-d.de Fri Apr 21 08:02:14 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 14:02:14 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> Message-ID: <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> Hakan, as far as I know you have to create a script only stack and name it for example se.eformedia.widget.MyButton Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. Create a resizeControl handler in which you put any code that is responsible for resizing the controls. Use getProp and SetProp handlers to add properties for the control As long as the stack is in memory you do not need to use the extension builder to test the script widget. You could just use the message box and execute the following: create widget as "se.eformedia.widget.MyButton" use here the name of the stack you used at the beginning. To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example https://livecode.com/documents/sample-script-widget.zip The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. But it's a DP so let's see. Regards, Matthias > Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode : > > This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? > > :-Håkan > >> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: >> >> - A prototype implementation of the 'script widgets' feature has >> been included > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Apr 21 09:23:27 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 21 Apr 2023 14:23:27 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> Message-ID: <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> Thanks Matthias for shedding some light on this new feature. I read the blog post as well and it references something called a “widget chunk”. I couldn’t fine anything on it. Do you know what it is? Mark > On 21 Apr 2023, at 1:02 pm, matthias rebbe via use-livecode wrote: > > To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example > https://livecode.com/documents/sample-script-widget.zip > The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ From heather at livecode.com Fri Apr 21 12:29:34 2023 From: heather at livecode.com (Heather Laine) Date: Fri, 21 Apr 2023 17:29:34 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> Message-ID: Ali has now written a lesson on using Script Widgets, you can find it here: https://lessons.livecode.com/m/98525/l/1672543-creating-a-script-widget Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 21 Apr 2023, at 14:23, Mark Smith via use-livecode wrote: > > Thanks Matthias for shedding some light on this new feature. I read the blog post as well and it references something called a “widget chunk”. I couldn’t fine anything on it. Do you know what it is? > > Mark > > >> On 21 Apr 2023, at 1:02 pm, matthias rebbe via use-livecode wrote: >> >> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >> https://livecode.com/documents/sample-script-widget.zip >> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Apr 21 13:46:26 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 21 Apr 2023 18:46:26 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> Message-ID: Thanks Heather and Ali. So exciting to see this development. Mark > On 21 Apr 2023, at 5:29 pm, Heather Laine via use-livecode wrote: > > Ali has now written a lesson on using Script Widgets, you can find it here: > > https://lessons.livecode.com/m/98525/l/1672543-creating-a-script-widget > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 21 Apr 2023, at 14:23, Mark Smith via use-livecode wrote: >> >> Thanks Matthias for shedding some light on this new feature. I read the blog post as well and it references something called a “widget chunk”. I couldn’t fine anything on it. Do you know what it is? >> >> Mark >> >> >>> On 21 Apr 2023, at 1:02 pm, matthias rebbe via use-livecode wrote: >>> >>> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >>> https://livecode.com/documents/sample-script-widget.zip >>> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Apr 21 14:16:03 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 21 Apr 2023 20:16:03 +0200 Subject: Windows and MP3 Message-ID: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> Hi friends, quick question to Windows User: Is LC on Windows currently able to play MP3 in a player object out of the box? I mean without installing third party codecs, like currently still neccessary for playing MP4 video files? Thanks for a quick answer! I'm very curious for the new support of the current multimedia architecture on Windows coming with LC 10! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Fri Apr 21 16:02:30 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 22:02:30 +0200 Subject: Windows and MP3 In-Reply-To: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> References: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> Message-ID: <481D24B5-4DE8-4D24-9884-B36071417854@m-r-d.de> Just tried here with LC10DP4 on freshly installed Windows 11. The .mp3 plays fine. Regards, Matthias P.s.: Wie war das mit "Aber für heute mach ich Feierabend! " ;) > Am 21.04.2023 um 20:16 schrieb Klaus major-k via use-livecode : > > Hi friends, > > quick question to Windows User: > Is LC on Windows currently able to play MP3 in a player object > out of the box? I mean without installing third party codecs, > like currently still neccessary for playing MP4 video files? > > Thanks for a quick answer! > > I'm very curious for the new support of the current multimedia > architecture on Windows coming with LC 10! :-) > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Fri Apr 21 16:10:50 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Fri, 21 Apr 2023 22:10:50 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> Message-ID: <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… …but still. Can now work from that! Thanks anyway! :-Håkan > On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode wrote: > > Hakan, > > as far as I know > > you have to create a script only stack and name it for example > se.eformedia.widget.MyButton > > Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. > > Create a resizeControl handler in which you put any code that is responsible for resizing the controls. > > Use getProp and SetProp handlers to add properties for the control > As long as the stack is in memory you do not need to use the extension builder to test the script widget. > You could just use the message box and execute the following: > > create widget as "se.eformedia.widget.MyButton" > > use here the name of the stack you used at the beginning. > > > To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example > https://livecode.com/documents/sample-script-widget.zip > The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ > > > > My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. > In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. > But it's a DP so let's see. > > > Regards, > Matthias > > > > > >> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode : >> >> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >> >> :-Håkan >> >>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: >>> >>> - A prototype implementation of the 'script widgets' feature has >>> been included >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Apr 21 17:32:22 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 23:32:22 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: <41C4033E-5518-41D6-9536-1CA282FBD908@m-r-d.de> > Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : > > Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… > …but still. Can now work from that! > > Thanks anyway! > > :-Håkan > >> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode wrote: >> >> Hakan, >> >> as far as I know >> >> you have to create a script only stack and name it for example >> se.eformedia.widget.MyButton >> >> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >> >> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >> >> Use getProp and SetProp handlers to add properties for the control >> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >> You could just use the message box and execute the following: >> >> create widget as "se.eformedia.widget.MyButton" >> >> use here the name of the stack you used at the beginning. >> >> >> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >> https://livecode.com/documents/sample-script-widget.zip >> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >> >> >> >> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >> But it's a DP so let's see. >> >> >> Regards, >> Matthias >> >> >> >> >> >>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode : >>> >>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>> >>> :-Håkan >>> >>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: >>>> >>>> - A prototype implementation of the 'script widgets' feature has >>>> been included >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Fri Apr 21 17:45:12 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 23:45:12 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: Here LC is also crashing to Desktop. Tried now the steps of Ali's lesson, but LC still is crashing. But maybe there is an typo in one of my scripts, so they are not identical to the ones in the lesson. Will wait with a bug report until Ali is adding the final stack to the lesson or at least the complete stack script that can be copied. Currently only screenshots from the scripts are shown. > Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : > > Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… > …but still. Can now work from that! > > Thanks anyway! > > :-Håkan > >> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode > wrote: >> >> Hakan, >> >> as far as I know >> >> you have to create a script only stack and name it for example >> se.eformedia.widget.MyButton >> >> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >> >> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >> >> Use getProp and SetProp handlers to add properties for the control >> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >> You could just use the message box and execute the following: >> >> create widget as "se.eformedia.widget.MyButton" >> >> use here the name of the stack you used at the beginning. >> >> >> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >> https://livecode.com/documents/sample-script-widget.zip >> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >> >> >> >> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >> But it's a DP so let's see. >> >> >> Regards, >> Matthias >> >> >> >> >> >>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode >: >>> >>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>> >>> :-Håkan >>> >>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode > wrote: >>>> >>>> - A prototype implementation of the 'script widgets' feature has >>>> been included >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From hakan at exformedia.se Fri Apr 21 18:46:52 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Sat, 22 Apr 2023 00:46:52 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: For me following the steps it doesn’t crash but I get an empty widget without any visible label when I am supposed to create a new widget. If I follow through with the code still nothing is visible. If I create a new script only stack and copy the code of the Square widget. I can create a widget that is placed in the upper left corner. But I see none of the properties in the inspector. If I open the Extension Builder and load the widget and test it it works! When trying to build a simple widget it is super easy to crash LiveCode. If you use the id of the control but misses the id key word anywhere it crashes. Like: set the backgroundColor of control sMyControlID instead of set the backgroundColor of control id sMyControlID But now it moves forward anyway! My best tips so far: Save often and load the widget via the Extensions Builder Happy coding! > On 21 Apr 2023, at 23:45, matthias rebbe via use-livecode wrote: > > Here LC is also crashing to Desktop. > > Tried now the steps of Ali's lesson, > but LC still is crashing. But maybe there is an typo in one of my scripts, so they are not identical to the ones in the lesson. > Will wait with a bug report until Ali is adding the final stack to the lesson or at least the complete stack script that can be copied. Currently only screenshots from the scripts are shown. > > >> Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : >> >> Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… >> …but still. Can now work from that! >> >> Thanks anyway! >> >> :-Håkan >> >>> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode > wrote: >>> >>> Hakan, >>> >>> as far as I know >>> >>> you have to create a script only stack and name it for example >>> se.eformedia.widget.MyButton >>> >>> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >>> >>> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >>> >>> Use getProp and SetProp handlers to add properties for the control >>> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >>> You could just use the message box and execute the following: >>> >>> create widget as "se.eformedia.widget.MyButton" >>> >>> use here the name of the stack you used at the beginning. >>> >>> >>> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >>> https://livecode.com/documents/sample-script-widget.zip >>> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >>> >>> >>> >>> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >>> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >>> But it's a DP so let's see. >>> >>> >>> Regards, >>> Matthias >>> >>> >>> >>> >>> >>>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode >: >>>> >>>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>>> >>>> :-Håkan >>>> >>>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode > wrote: >>>>> >>>>> - A prototype implementation of the 'script widgets' feature has >>>>> been included >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Apr 21 18:58:22 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 22 Apr 2023 00:58:22 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Sorry i was not clear enough. When using Ali's steps creating the widget using the message box i also get only an empty widget. When i try to install it using the extension builder then LC is crashing. Maybe there are some steps missing in Ali's description. I have plenty of ideas what i could use that new feature for. > . But I see none of the properties in the inspector. The properties of the controls in the widget are not accessible through the PI, you have to set/get them by script set the fillcolor of widget id 1047 to "black" for example would change the background color of the square to black Matthias > Am 22.04.2023 um 00:46 schrieb Håkan Liljegren : > > For me following the steps it doesn’t crash but I get an empty widget without any visible label when I am supposed to create a new widget. If I follow through with the code still nothing is visible. If I create a new script only stack and copy the code of the Square widget. I can create a widget that is placed in the upper left corner. But I see none of the properties in the inspector. > If I open the Extension Builder and load the widget and test it it works! > > When trying to build a simple widget it is super easy to crash LiveCode. > > If you use the id of the control but misses the id key word anywhere it crashes. Like: > set the backgroundColor of control sMyControlID > instead of > set the backgroundColor of control id sMyControlID > > But now it moves forward anyway! > > My best tips so far: Save often and load the widget via the Extensions Builder > > Happy coding! > >> On 21 Apr 2023, at 23:45, matthias rebbe via use-livecode wrote: >> >> Here LC is also crashing to Desktop. >> >> Tried now the steps of Ali's lesson, >> but LC still is crashing. But maybe there is an typo in one of my scripts, so they are not identical to the ones in the lesson. >> Will wait with a bug report until Ali is adding the final stack to the lesson or at least the complete stack script that can be copied. Currently only screenshots from the scripts are shown. >> >> >>> Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : >>> >>> Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… >>> …but still. Can now work from that! >>> >>> Thanks anyway! >>> >>> :-Håkan >>> >>>> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode > wrote: >>>> >>>> Hakan, >>>> >>>> as far as I know >>>> >>>> you have to create a script only stack and name it for example >>>> se.eformedia.widget.MyButton >>>> >>>> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >>>> >>>> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >>>> >>>> Use getProp and SetProp handlers to add properties for the control >>>> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >>>> You could just use the message box and execute the following: >>>> >>>> create widget as "se.eformedia.widget.MyButton" >>>> >>>> use here the name of the stack you used at the beginning. >>>> >>>> >>>> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >>>> https://livecode.com/documents/sample-script-widget.zip >>>> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >>>> >>>> >>>> >>>> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >>>> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >>>> But it's a DP so let's see. >>>> >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>> >>>> >>>> >>>>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode >: >>>>> >>>>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>>>> >>>>> :-Håkan >>>>> >>>>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode > wrote: >>>>>> >>>>>> - A prototype implementation of the 'script widgets' feature has >>>>>> been included >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Sat Apr 22 14:20:02 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 22 Apr 2023 18:20:02 +0000 Subject: Android 13? In-Reply-To: <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Message-ID: I have a custom that is trying to install my app (from the Google Play Store) and says they are getting the message, “This app was built for an older version of Android…”. The app was built with 9.6.2. Does LC support this version of Android? And, if so, what version of LC do I need to use? Thank you in advance, -Dan From matthias_livecode_150811 at m-r-d.de Sat Apr 22 15:13:18 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 22 Apr 2023 21:13:18 +0200 Subject: Android 13? In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Message-ID: <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> The release notes of the lates build of LC (LC10DP5 and LC9.6.9) say: "The Android engine supports devices using x86, x86-64, ARM and ARM64 processors. It will run on the following versions of Android: 5.0-5.1 (Lollipop) 6.0 (Marshmallow) 7.x (Nougat) 8.x (Oreo) 9.0 (Pie) 10.0 (Q) 11.0 (R)" > dAm 22.04.2023 um 20:20 schrieb Dan Friedman via use-livecode : > > I have a custom that is trying to install my app (from the Google Play Store) and says they are getting the message, “This app was built for an older version of Android…”. The app was built with 9.6.2. Does LC support this version of Android? And, if so, what version of LC do I need to use? > > Thank you in advance, > -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 merakosp at gmail.com Sat Apr 22 15:18:49 2023 From: merakosp at gmail.com (panagiotis m) Date: Sat, 22 Apr 2023 22:18:49 +0300 Subject: Android 13? In-Reply-To: <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> Message-ID: Hello all, LiveCode does support Android 13. The release notes need to be updated. Dan, if you rebuild the app with lc 9.6.9 I think you should be fine. I am not sure why an app built with 9.6.2 would throw this error, but it has been a long time since 9.6.2 anyway. Cheers, Panos On Sat, Apr 22, 2023, 10:14 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > The release notes of the lates build of LC (LC10DP5 and LC9.6.9) say: > "The Android engine supports devices using x86, x86-64, ARM and ARM64 > processors. It will run on the following versions of Android: > 5.0-5.1 (Lollipop) > 6.0 (Marshmallow) > 7.x (Nougat) > 8.x (Oreo) > 9.0 (Pie) > 10.0 (Q) > 11.0 (R)" > > > > > > > > dAm 22.04.2023 um 20:20 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > I have a custom that is trying to install my app (from the Google Play > Store) and says they are getting the message, “This app was built for an > older version of Android…”. The app was built with 9.6.2. Does LC > support this version of Android? And, if so, what version of LC do I need > to use? > > > > Thank you in advance, > > -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 jacque at hyperactivesw.com Sat Apr 22 15:41:50 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 Apr 2023 14:41:50 -0500 Subject: Android 13? In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Message-ID: <2bd0f618-0be1-99a5-f768-8e159925e3c8@hyperactivesw.com> I believe this is an error relating to the target version embedded in the app. Google's policy says that new and updated apps must target an Android API no earlier than 2 versions behind the current one. Since API 33 is current, your app must target at least API 31. Android 14 will be released very soon (in a couple of weeks I think) and any apps submitted after that will need to target API 32+. Note that the target API is not the same as the minimum supported version which can be much lower. LC 9.6.9 targets API 31. I don't think LC 10 has updated the target yet, so 9.6.9 is your best bet. The target API has to be an LC engine update, we can't change it ourselves. Here's a list of required APIs for new and updated apps: That said, I'm not sure if your customer can download the app anyway, or if it is just a warning. Google says if they already have an older copy of the app, they can still see the app in the store. If they have never installed the app, it won't be available to them even if they do a search. On 4/22/23 1:20 PM, Dan Friedman via use-livecode wrote: > I have a custom that is trying to install my app (from the Google Play Store) and says they are getting the message, “This app was built for an older version of Android…”. The app was built with 9.6.2. Does LC support this version of Android? And, if so, what version of LC do I need to use? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Sat Apr 22 15:45:54 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 22 Apr 2023 21:45:54 +0200 Subject: Android 13? In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> Message-ID: <5E2FF2B5-5A7C-4EC3-A4B7-24324952706C@m-r-d.de> Hello Panos, > LiveCode does support Android 13. The release notes need to be updated. But only as host platform on which LC Android apps (5 to 12) can be run, right? Tried that btw now and i can run an Android standalone built with 9.6.9 in the Android 13 simulator. But building standalones for minimum Android version 13 is not possible, correct? At least only 5 to 12 are currently possible options in the standalone builder. Matthias > Am 22.04.2023 um 21:18 schrieb panagiotis m via use-livecode : > > Hello all, > > LiveCode does support Android 13. The release notes need to be updated. > Dan, if you rebuild the app with lc 9.6.9 I think you should be fine. I am > not sure why an app built with 9.6.2 would throw this error, but it has > been a long time since 9.6.2 anyway. > > Cheers, > Panos > > On Sat, Apr 22, 2023, 10:14 PM matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The release notes of the lates build of LC (LC10DP5 and LC9.6.9) say: >> "The Android engine supports devices using x86, x86-64, ARM and ARM64 >> processors. It will run on the following versions of Android: >> 5.0-5.1 (Lollipop) >> 6.0 (Marshmallow) >> 7.x (Nougat) >> 8.x (Oreo) >> 9.0 (Pie) >> 10.0 (Q) >> 11.0 (R)" >> >> >> >> >> >> >>> dAm 22.04.2023 um 20:20 schrieb Dan Friedman via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> I have a custom that is trying to install my app (from the Google Play >> Store) and says they are getting the message, “This app was built for an >> older version of Android…”. The app was built with 9.6.2. Does LC >> support this version of Android? And, if so, what version of LC do I need >> to use? >>> >>> Thank you in advance, >>> -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 klaus at major-k.de Sat Apr 22 16:19:51 2023 From: klaus at major-k.de (Klaus major-k) Date: Sat, 22 Apr 2023 22:19:51 +0200 Subject: Windows and MP3 In-Reply-To: <481D24B5-4DE8-4D24-9884-B36071417854@m-r-d.de> References: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> <481D24B5-4DE8-4D24-9884-B36071417854@m-r-d.de> Message-ID: Hi Mathias, > Am 21.04.2023 um 22:02 schrieb matthias rebbe via use-livecode : > > Just tried here with LC10DP4 on freshly installed Windows 11. > The .mp3 plays fine. great, thank you for checking! > Regards, > Matthias > > P.s.: Wie war das mit "Aber für heute mach ich Feierabend! " ;) No comment... :-D >> Am 21.04.2023 um 20:16 schrieb Klaus major-k via use-livecode : >> >> Hi friends, >> >> quick question to Windows User: >> Is LC on Windows currently able to play MP3 in a player object >> out of the box? I mean without installing third party codecs, >> like currently still neccessary for playing MP4 video files? >> >> Thanks for a quick answer! >> >> I'm very curious for the new support of the current multimedia >> architecture on Windows coming with LC 10! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From mark at livecode.com Sun Apr 23 05:18:00 2023 From: mark at livecode.com (Mark Waddingham) Date: Sun, 23 Apr 2023 10:18:00 +0100 Subject: Android 13? In-Reply-To: <2bd0f618-0be1-99a5-f768-8e159925e3c8@hyperactivesw.com> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <2bd0f618-0be1-99a5-f768-8e159925e3c8@hyperactivesw.com> Message-ID: <0c5dd5e03f7999a5080b585069d4ba79@livecode.com> On 2023-04-22 20:41, J. Landman Gay via use-livecode wrote: > I believe this is an error relating to the target version embedded in > the app. Google's policy says that new and updated apps must target an > Android API no earlier than 2 versions behind the current one. Since > API 33 is current, your app must target at least API 31. Android 14 > will be released very soon (in a couple of weeks I think) and any apps > submitted after that will need to target API 32+. Note that the target > API is not the same as the minimum supported version which can be much > lower. Google have now made it so that the effects on appstore submission are on a fixed date each year - August 31st - https://support.google.com/googleplay/android-developer/answer/11926878?hl=en. So the release of Android 14 won't affect the ability to submit apps or updates. We'll update the engine and s/b appropriately by the August deadline though :) > LC 9.6.9 targets API 31. I don't think LC 10 has updated the target > yet, so 9.6.9 is your best bet. The target API has to be an LC engine > update, we can't change it ourselves. So 10-dp-5 includes all (maintenance related changes) in 9.6.9 - so also contains the updates to Android (and iOS) version targets. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Sun Apr 23 05:22:27 2023 From: mark at livecode.com (Mark Waddingham) Date: Sun, 23 Apr 2023 10:22:27 +0100 Subject: Android 13? In-Reply-To: <5E2FF2B5-5A7C-4EC3-A4B7-24324952706C@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> <5E2FF2B5-5A7C-4EC3-A4B7-24324952706C@m-r-d.de> Message-ID: <9a151b05868de6d47d4b1f6c9d77f47b@livecode.com> > But building standalones for minimum Android version 13 is not > possible, correct? At least only 5 to 12 are currently possible options > in the standalone builder. We really need to make that drop-down work out its values from the built engine somehow :) The min-version controls the lowest version of Android the app will install on - not whether it will run. i.e. You don't set to in order to make the app run on (say) Android 13, but to say that it *only* runs on that version. (If you do need to make an app only run on Android 13, for some reason right now, you would need to use a custom manifest) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Sun Apr 23 15:18:47 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 23 Apr 2023 21:18:47 +0200 Subject: more then 1 browser widget in a web standalone? Message-ID: Hi, does any one know if it should be possible to use more than one Browser Widget in a Web standalone? Currently i only get 1 browser widget display in the Web standalone. Regards, Matthias From matthias_livecode_150811 at m-r-d.de Mon Apr 24 10:46:50 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 24 Apr 2023 16:46:50 +0200 Subject: more then 1 browser widget in a web standalone? In-Reply-To: References: Message-ID: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> I can now confirm that more than one Browser Widget will work in Web standalones, but not all URLs that work in LC IDE or Desktop standalones will work in Web standalones. For example this one here fails in Web Standalones. https://www.whatismybrowser.com/de/ > Am 23.04.2023 um 21:18 schrieb matthias rebbe via use-livecode : > > Hi, > does any one know if it should be possible to use more than one Browser Widget in a Web standalone? > Currently i only get 1 browser widget display in the Web standalone. > > Regards, > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Mon Apr 24 11:05:16 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 24 Apr 2023 16:05:16 +0100 Subject: more then 1 browser widget in a web standalone? In-Reply-To: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> References: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> Message-ID: On 2023-04-24 15:46, matthias rebbe via use-livecode wrote: > I can now confirm that more than one Browser Widget will work in Web > standalones, but not all URLs that work in LC IDE or Desktop > standalones will work in Web standalones. > For example this one here fails in Web Standalones. > > https://www.whatismybrowser.com/de/ The web browser widget is implemented as an IFrame - this comes with it a fair amount of security restrictions unless the website being embedded has appropriate cross-origin settings (or comes from the same host as the surrounding page). In this case, I suspect the website is just refusing to be embedded - indeed if you go to: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_iframe_height_width Then change the src to the website above then it won't work there either. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Mon Apr 24 11:36:44 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 24 Apr 2023 17:36:44 +0200 Subject: more then 1 browser widget in a web standalone? In-Reply-To: References: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> Message-ID: Hello Mark, thank you very much for clarifying. Tried the w3schools.com website and added the whatismybrowser... url as you suggested and it is not displayed. Good to know what was the reason for it. Regards, Matthias > Am 24.04.2023 um 17:05 schrieb Mark Waddingham via use-livecode : > > On 2023-04-24 15:46, matthias rebbe via use-livecode wrote: >> I can now confirm that more than one Browser Widget will work in Web standalones, but not all URLs that work in LC IDE or Desktop standalones will work in Web standalones. >> For example this one here fails in Web Standalones. >> https://www.whatismybrowser.com/de/ > > The web browser widget is implemented as an IFrame - this comes with it a fair amount of security restrictions unless the website being embedded has appropriate cross-origin settings (or comes from the same host as the surrounding page). > > In this case, I suspect the website is just refusing to be embedded - indeed if you go to: > > https://www.w3schools.com/html/tryit.asp?filename=tryhtml_iframe_height_width > > Then change the src to the website above then it won't work there either. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Apr 24 12:29:08 2023 From: heather at livecode.com (Heather Laine) Date: Mon, 24 Apr 2023 17:29:08 +0100 Subject: Webinar on Xavvi Tomorrow Message-ID: <8A610E75-94F7-4D42-BF38-AFC4EEBD7915@livecode.com> Dear List Folks, I trouble you briefly again. We're having a free webinar on Xavvi tomorrow where you can see a live demo and bring your questions. In case some of you have missed the invite and would like to join, there is still space: https://us02web.zoom.us/webinar/register/3716823534510/WN_VUS-nJ9pR8mhRP4tpImShA I'm really looking forward to seeing so many of you there, its going to be a great session :) Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From Mark at rauterkus.com Wed Apr 26 20:58:41 2023 From: Mark at rauterkus.com (Mark Rauterkus) Date: Wed, 26 Apr 2023 20:58:41 -0400 Subject: Are we talking about the Xavvi efforts here? In-Reply-To: References: Message-ID: Hi, I have some questions. What’s up with the April 27th offer? When does the timeline begin. So, if a year license is obtained, when might that year begin? September 1? Chat GPT is used for the creation of the app, but can the AI be used within the app too? That seems to me to be a huge benefit. So in the example with the doctor’s table, could the AI fill the data of Doctors within the county or a 50 mile area? Mark Rauterkus Mark at Rauterkus.com From heather at livecode.com Thu Apr 27 05:42:54 2023 From: heather at livecode.com (Heather Laine) Date: Thu, 27 Apr 2023 10:42:54 +0100 Subject: Are we talking about the Xavvi efforts here? In-Reply-To: References: Message-ID: Mark - April 27th is when the very best discounts on pledging expire. The timeline for pledged licenses begins when we ship Xavvi. Yes, we're adding a chatGPT connector for you to use within your apps. I hope this helps, Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 27 Apr 2023, at 01:58, Mark Rauterkus via use-livecode wrote: > > Hi, > > I have some questions. > > What’s up with the April 27th offer? > > When does the timeline begin. So, if a year license is obtained, when might > that year begin? September 1? > > Chat GPT is used for the creation of the app, but can the AI be used within > the app too? That seems to me to be a huge benefit. So in the example with > the doctor’s table, could the AI fill the data of Doctors within the county > or a 50 mile area? > > > Mark Rauterkus > Mark at Rauterkus.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 benr_mc at cogapp.com Thu Apr 27 11:42:58 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 27 Apr 2023 16:42:58 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen Message-ID: I had a need to click on an element in a web page loaded in a browser widget on a card. There might be an elegant way to do this using javascript injected into the widget, but I'm too ignorant to figure it out. So to save time (hah!), I though I could use the accessibility functionality to just click on that bit of the screen. I could get the location to click within the stack, then use globalLoc to convert it to screen coordinates. (This is just a personal stack to achieve an objective, nothing that's ever going to be shared with anyone else, so any filthy/fragile method is OK if it works.) I tested this in Script Debugger: tell application "System Events" click at {917, 667} end tell It worked fine. So then I tried the same script in my stack, via do ... as "applescript" And after a brief spinning pizza, got the dry result "execution error". I expected that this would happen because I needed to give it permission to control the computer; but after granting that in System Preferences, there was no change. Just for fun, I tried building a standalone from my stack. This demonstrated a different effect: first I got the same result "execution error". Then I granted it permission for this standalone app to 'control the computer'. Now, there's still no evidence that it sends a click; but it gives a different result, which I think is the path to the UI element corresponding to that location. If the point is over a native control in the stack, it's something like window "Ben Test Stack (1)" of application process "Ben Test Stack" of application "System Events" (I don't think LiveCode controls are recognisable by the accessibility system.) If the point is over the browser widget, 'the result' is something like: group 2 of UI element 1 of scroll area 1 of group 1 of group 1 of window "Ben Test Stack (1)" of application process "Ben Test Stack" of application "System Events" ("Ben Test Stack" is the name of my stack and of the standalone. My guess about the complicated control path is that it reflects the complicated web page loaded in the browser widget.) So that does suggest that there is something which doesn't quite work about giving the IDE permission to use the Accessibility Framework, but which does for a standalone. But still doesn't explain what the problem is. I finally solved my problem with an even uglier hack: compiling the script from Script Debugger as an 'application', and then in my stack, instead of executing the applescript directly, using "launch" on that application. Yeuchh. Can anyone shed light, either on how to grant the IDE permission to use the Accessibility controls; or on why the applescript wouldn't work? TIA, Ben From mark at livecode.com Thu Apr 27 12:03:24 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 17:03:24 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen In-Reply-To: References: Message-ID: On 2023-04-27 16:42, Ben Rubinstein via use-livecode wrote: > Can anyone shed light, either on how to grant the IDE permission to use > the Accessibility controls; or on why the applescript wouldn't work? Not immediately - no :) However, three questions... What version of LC are you using? Are you using an Apple architecture mac? If so, is the IDE running under Rosetta, and the standalone native, or vice-versa (or both the same)? -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Thu Apr 27 12:39:03 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 17:39:03 +0100 Subject: Weird window behavior In-Reply-To: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: > Ever since I updated to Ventura on my Mac I've had this weird behavior > both in the IDE and in two different standalones - if I have more than > one stack open, when I click on a stack that is behind another stack to > bring it to the front, it very briefly comes to the front (flashes), > then goes back behind everything, even windows from other apps. If I > click on the title bar it does not do this. In the menubar is still > indicates that I'm in my app. It's not happening with any non-Livecode > apps and it's occurring on two different Macs. Im not seeing this > behavior on OSes previous to Ventura. > > Am I going crazy? Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From benr at cogapp.com Thu Apr 27 14:21:19 2023 From: benr at cogapp.com (Ben Rubinstein) Date: Thu, 27 Apr 2023 19:21:19 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen In-Reply-To: References: Message-ID: <95ee9745-9b20-10bf-209a-e282b97ebc59@cogapp.com> Update to note: 1) Difference in LiveCode versions. Under the IDE in LiveCode 9.6.7 behaviour is as per the standalone; no click, and 'the result' is the path to the control. Under the IDE in LiveCode 9.6.8 or LiveCode 10.0.0dp5, 'the result' is "execution error". 2) The browser widget is a red herring; relevant only insofar as if it was some other spot on the stack, I could just the LiveCode "click at ". Whether over the browser widget or some other part of the stack window, invoking the applescript returns the identity of the control at that location, rather than clicking it (in LC 9.6.7 IDE, or standalone built from any version); or execution error in later IDEs. On 27/04/2023 16:42, Ben Rubinstein via use-livecode wrote: > I had a need to click on an element in a web page loaded in a browser widget > on a card. > > There might be an elegant way to do this using javascript injected into the > widget, but I'm too ignorant to figure it out. > > So to save time (hah!), I though I could use the accessibility functionality > to just click on that bit of the screen. I could get the location to click > within the stack, then use globalLoc to convert it to screen coordinates. > > (This is just a personal stack to achieve an objective, nothing that's ever > going to be shared with anyone else, so any filthy/fragile method is OK if it > works.) > > I tested this in Script Debugger: > >     tell application "System Events" >         click at {917, 667} >     end tell > > It worked fine. > > So then I tried the same script in my stack, via >     do ... as "applescript" > > And after a brief spinning pizza, got the dry result "execution error". > > I expected that this would happen because I needed to give it permission to > control the computer; but after granting that in System Preferences, there was > no change. > > Just for fun, I tried building a standalone from my stack. This demonstrated a > different effect: first I got the same result "execution error". Then I > granted it permission for this standalone app to 'control the computer'. Now, > there's still no evidence that it sends a click; but it gives a different > result, which I think is the path to the UI element corresponding to that > location. If the point is over a native control in the stack, it's something like >      window "Ben Test Stack (1)" of application process "Ben Test Stack" >     of application "System Events" > > (I don't think LiveCode controls are recognisable by the accessibility > system.) If the point is over the browser widget, 'the result' is something like: >     group 2 of UI element 1 of scroll area 1 of group 1 of group 1 >      of window "Ben Test Stack (1)" of application process "Ben Test Stack" >     of application "System Events" > > ("Ben Test Stack" is the name of my stack and of the standalone. My guess > about the complicated control path is that it reflects the complicated web > page loaded in the browser widget.) > > So that does suggest that there is something which doesn't quite work about > giving the IDE permission to use the Accessibility Framework, but which does > for a standalone. But still doesn't explain what the problem is. > > I finally solved my problem with an even uglier hack: compiling the script > from Script Debugger as an 'application', and then in my stack, instead of > executing the applescript directly, using "launch" on that application. Yeuchh. > > Can anyone shed light, either on how to grant the IDE permission to use the > Accessibility controls; or on why the applescript wouldn't work? > > 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 martyknappster at gmail.com Thu Apr 27 14:57:18 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 27 Apr 2023 11:57:18 -0700 Subject: Weird window behavior In-Reply-To: References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. --- Marty Knapp > On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: > > On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >> Am I going crazy? > > Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? > > The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 27 15:50:13 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Apr 2023 14:50:13 -0500 Subject: Custom property retrieval incorrect Message-ID: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From craig at starfirelighting.com Thu Apr 27 15:56:27 2023 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 27 Apr 2023 15:56:27 -0400 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Jacque. Have you tried another name, Like “XYZ”? Craig > On Apr 27, 2023, at 3:50 PM, J. Landman Gay via use-livecode wrote: > > I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. > > I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. > > There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". > > I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. > > I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. > > Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Apr 27 16:00:33 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 27 Apr 2023 22:00:33 +0200 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: <51D1EE3F-752A-4583-B544-31628B0A1F44@m-r-d.de> I just created a stack in LC 10DP5 without setting any property and run put the cVersion of this stack while the stack was show as the target in messagebox and it returned 1.0.4 When i do this in 9.6.9 it returns 3.0.9. And now if i repeat it in 10DP5 it returns also 3.0.9 without having set cVersion. > Am 27.04.2023 um 21:50 schrieb J. Landman Gay via use-livecode : > > I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. > > I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. > > There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". > > I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. > > I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. > > Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. > > -- > 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 ahsoftware at sonic.net Thu Apr 27 16:00:59 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 27 Apr 2023 13:00:59 -0700 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: On 4/27/23 12:50, J. Landman Gay via use-livecode wrote: > Anyone seen this? Is there something special about a custom prop named > "cVersion"? This used to work fine, but that was about 2 years ago. Verified here. cVersion is weird. I get 1.0.4 on all stacks. I put all the properties for update checks etc in a custom propertyset and just access them from there. Never tried cVersion before. -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Thu Apr 27 17:18:25 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 22:18:25 +0100 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Intriguing - my guess is that something in the message path in your IDEs has a getProp cVersion handler. Now it could be something built into the IDE - although I’m not sure what - or it could be a plug-in or extension. An easy way to find out is to temporarily rename the ‘My LiveCode’ folder and restart the IDE to see if it still happens… Warmest Regards, Mark Sent from my iPhone > On 27 Apr 2023, at 20:51, J. Landman Gay via use-livecode wrote: > > I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. > > I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. > > There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". > > I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. > > I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. > > Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. > > -- > 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 mark at livecode.com Thu Apr 27 17:35:21 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 22:35:21 +0100 Subject: Weird window behavior In-Reply-To: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> References: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> Message-ID: <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> Okay that is strange - but the fact it is happening when levure is loaded suggests it is some property or mechanism it is adding. The engine only really has three things (that I can think of) which change window stacking order… The backdrop - which makes the engine *try* to keep all the windows next to each other, with the backdrop window immediately behind the bottom one; The ‘raiseWindows’ global property which is basically the same as the backdrop feature - except the backdrop has zero width and height. The go command which raises a stack to the top (amongst those with same mode). So i’m not sure how a script in levure could cause that effect - unless it’s setting ‘the raiseWindows’ to true (thus making the problem you are seeing the same as the backdrop issues that others are on Ventura). Anyway, the fact it requires levure to be loaded for it to happen means we can track it down! Warmest Regards, Mark. Sent from my iPhone > On 27 Apr 2023, at 19:58, Marty Knapp via use-livecode wrote: > > No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. > --- > Marty Knapp > >> On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: >> >>> On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >>> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >>> Am I going crazy? >> >> Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? >> >> The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. >> >> Warmest Regards, >> >> Mark. >> >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Build Amazing Things >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Thu Apr 27 17:42:35 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 22:42:35 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen In-Reply-To: <95ee9745-9b20-10bf-209a-e282b97ebc59@cogapp.com> References: <95ee9745-9b20-10bf-209a-e282b97ebc59@cogapp.com> Message-ID: <5137F584-EB78-40E4-87FC-C5B585C94465@livecode.com> You didn’t mention the kind of mac you are running and whether either the standalone or ide is running in rosetta or not :) To be fair, that part was about the exec error rather than the expected outcome though… The reason you are seeing the effect you are when not doing the request from a separate process is that executing applescript is a modal operation (Ie you can’t get an application to use AppleScript to control itself) - and I suspect the accessibility framework is timing out internally and just doing the best it can in that situation. Warmest Regards, Mark. Sent from my iPhone > On 27 Apr 2023, at 19:22, Ben Rubinstein via use-livecode wrote: > > Update to note: > > 1) Difference in LiveCode versions. > > Under the IDE in LiveCode 9.6.7 behaviour is as per the standalone; no click, and 'the result' is the path to the control. Under the IDE in LiveCode 9.6.8 or LiveCode 10.0.0dp5, 'the result' is "execution error". > > 2) The browser widget is a red herring; relevant only insofar as if it was some other spot on the stack, I could just the LiveCode "click at ". Whether over the browser widget or some other part of the stack window, invoking the applescript returns the identity of the control at that location, rather than clicking it (in LC 9.6.7 IDE, or standalone built from any version); or execution error in later IDEs. > >> On 27/04/2023 16:42, Ben Rubinstein via use-livecode wrote: >> I had a need to click on an element in a web page loaded in a browser widget on a card. >> There might be an elegant way to do this using javascript injected into the widget, but I'm too ignorant to figure it out. >> So to save time (hah!), I though I could use the accessibility functionality to just click on that bit of the screen. I could get the location to click within the stack, then use globalLoc to convert it to screen coordinates. >> (This is just a personal stack to achieve an objective, nothing that's ever going to be shared with anyone else, so any filthy/fragile method is OK if it works.) >> I tested this in Script Debugger: >> tell application "System Events" >> click at {917, 667} >> end tell >> It worked fine. >> So then I tried the same script in my stack, via >> do ... as "applescript" >> And after a brief spinning pizza, got the dry result "execution error". >> I expected that this would happen because I needed to give it permission to control the computer; but after granting that in System Preferences, there was no change. >> Just for fun, I tried building a standalone from my stack. This demonstrated a different effect: first I got the same result "execution error". Then I granted it permission for this standalone app to 'control the computer'. Now, there's still no evidence that it sends a click; but it gives a different result, which I think is the path to the UI element corresponding to that location. If the point is over a native control in the stack, it's something like >> window "Ben Test Stack (1)" of application process "Ben Test Stack" >> of application "System Events" >> (I don't think LiveCode controls are recognisable by the accessibility system.) If the point is over the browser widget, 'the result' is something like: >> group 2 of UI element 1 of scroll area 1 of group 1 of group 1 >> of window "Ben Test Stack (1)" of application process "Ben Test Stack" >> of application "System Events" >> ("Ben Test Stack" is the name of my stack and of the standalone. My guess about the complicated control path is that it reflects the complicated web page loaded in the browser widget.) >> So that does suggest that there is something which doesn't quite work about giving the IDE permission to use the Accessibility Framework, but which does for a standalone. But still doesn't explain what the problem is. >> I finally solved my problem with an even uglier hack: compiling the script from Script Debugger as an 'application', and then in my stack, instead of executing the applescript directly, using "launch" on that application. Yeuchh. >> Can anyone shed light, either on how to grant the IDE permission to use the Accessibility controls; or on why the applescript wouldn't work? >> 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 ahsoftware at sonic.net Thu Apr 27 18:09:54 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 27 Apr 2023 15:09:54 -0700 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: On 4/27/23 14:18, Mark Waddingham via use-livecode wrote: > Intriguing - my guess is that something in the message path in your IDEs has a getProp cVersion handler. > > Now it could be something built into the IDE - although Im not sure what - or it could be a plug-in or extension. > > An easy way to find out is to temporarily rename the My LiveCode folder and restart the IDE to see if it still happens The 1.0.4 cVersion comes from com.livecode.library.i18n.1.0.4 The 3.0.9 cVersion comes from com.livecode.library.smartcrumbsvcw.3.0.9 Unfortunately the scripts for both are locked, so there's no workaround other than not using the cVersion custom property. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Thu Apr 27 18:32:30 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Apr 2023 17:32:30 -0500 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Those are exactly the two values I get too. The earliest version of LC I currently have installed is 9.6.7 and it happens there and in three newer versions after that. A custom property named "cVers" works okay. But I've been using "cVersion" for years and years, so not sure what the ripple effect may be if I update my older apps (which is how I found this one.) For now I can change the name of the property, I guess. Thanks for tracking it down, Mark. I'm not crazy after all. On 4/27/23 5:09 PM, Mark Wieder via use-livecode wrote: > > The 1.0.4 cVersion comes from com.livecode.library.i18n.1.0.4 > The 3.0.9 cVersion comes from com.livecode.library.smartcrumbsvcw.3.0.9 > > Unfortunately the scripts for both are locked, so there's no workaround other than not using > the cVersion custom property. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Apr 27 19:44:05 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 27 Apr 2023 23:44:05 +0000 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Well... ;-) Thanks for tracking it down, Mark. I'm not crazy after all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Thu Apr 27 20:30:56 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 27 Apr 2023 17:30:56 -0700 Subject: Weird window behavior In-Reply-To: <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> References: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> Message-ID: <2B368ABB-724C-4DA3-AC35-BD80FFBFA368@gmail.com> Bingo - it was “raiseWindows” being set to true. Setting that to false has resolved the issue. Weird that it works fine on previous macOSes previous to Ventura. --- Marty Knapp > On Apr 27, 2023, at 2:35 PM, Mark Waddingham via use-livecode wrote: > > Okay that is strange - but the fact it is happening when levure is loaded suggests it is some property or mechanism it is adding. > > The engine only really has three things (that I can think of) which change window stacking order… > > The backdrop - which makes the engine *try* to keep all the windows next to each other, with the backdrop window immediately behind the bottom one; > > The ‘raiseWindows’ global property which is basically the same as the backdrop feature - except the backdrop has zero width and height. > > The go command which raises a stack to the top (amongst those with same mode). > > So i’m not sure how a script in levure could cause that effect - unless it’s setting ‘the raiseWindows’ to true (thus making the problem you are seeing the same as the backdrop issues that others are on Ventura). > > Anyway, the fact it requires levure to be loaded for it to happen means we can track it down! > > Warmest Regards, > > Mark. > > Sent from my iPhone > >> On 27 Apr 2023, at 19:58, Marty Knapp via use-livecode wrote: >> >> No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. >> --- >> Marty Knapp >> >>> On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: >>> >>>> On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >>>> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >>>> Am I going crazy? >>> >>> Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? >>> >>> The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. >>> >>> Warmest Regards, >>> >>> Mark. >>> >>> -- >>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>> LiveCode: Build Amazing Things >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 27 20:41:53 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 27 Apr 2023 17:41:53 -0700 Subject: iOS 16.4.1 breaks connection with LiveCode test feature Message-ID: Hello everyone, There may be a problem with iOS devices updated to 16.4 or 16.4.1 and Xcode 14.2 as a working combination. The issue between them is that devices may fail to prepare for development (error from Xcode). https://developer.apple.com/forums/thread/727270 Of course, you can continue to build iOS apps with Xcode 14.2 if you accidentally allow your device to upgrade to 16.4.1. You cannot test your app directly from the LiveCode IDE using the test button if your device has been updated to iOS 16.4 or 16.4.1. You can build for TestFlight and run your app on your device that way. But, it is more cumbersome than direct testing from the LiveCode IDE. I hope this public service announcement is useful to iOS developers using LiveCode. The short of it is do not allow your iOS devices to update to 16.4.1 for now. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com From mark at livecode.com Fri Apr 28 06:36:42 2023 From: mark at livecode.com (Mark Waddingham) Date: Fri, 28 Apr 2023 11:36:42 +0100 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: <04e21fc227f1557d7ddbe4ae53aa191c@livecode.com> On 2023-04-27 23:32, J. Landman Gay via use-livecode wrote: > Those are exactly the two values I get too. The earliest version of LC > I currently have installed is 9.6.7 and it happens there and in three > newer versions after that. > > A custom property named "cVers" works okay. But I've been using > "cVersion" for years and years, so not sure what the ripple effect may > be if I update my older apps (which is how I found this one.) For now I > can change the name of the property, I guess. > > Thanks for tracking it down, Mark. I'm not crazy after all. > > On 4/27/23 5:09 PM, Mark Wieder via use-livecode wrote: >> >> The 1.0.4 cVersion comes from com.livecode.library.i18n.1.0.4 >> The 3.0.9 cVersion comes from >> com.livecode.library.smartcrumbsvcw.3.0.9 >> >> Unfortunately the scripts for both are locked, so there's no >> workaround other than not using the cVersion custom property. >> @MarkW : Thanks for tracking down which libraries it is. @Jacque (and anyone else): You can just remove those two libraries/extensions from My LiveCode for now (assuming you aren't using them). I've poked the developers of them and asked them to remove the offending getProp handlers from those libraries - hopefully an update will go out next week :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From MikeKerner at roadrunner.com Fri Apr 28 09:18:27 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 28 Apr 2023 09:18:27 -0400 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: well, my main test ipad is running 16.5, and i'm using xc 14.2 no issues with the remote debugger with this setup, anway. On Thu, Apr 27, 2023 at 8:43 PM Mark Talluto via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello everyone, > > There may be a problem with iOS devices updated to 16.4 or 16.4.1 and > Xcode 14.2 as a working combination. The issue between them is that devices > may fail to prepare for development (error from Xcode). > > https://developer.apple.com/forums/thread/727270 > > Of course, you can continue to build iOS apps with Xcode 14.2 if you > accidentally allow your device to upgrade to 16.4.1. You cannot test your > app directly from the LiveCode IDE using the test button if your device has > been updated to iOS 16.4 or 16.4.1. > > You can build for TestFlight and run your app on your device that way. > But, it is more cumbersome than direct testing from the LiveCode IDE. > > I hope this public service announcement is useful to iOS developers using > LiveCode. The short of it is do not allow your iOS devices to update to > 16.4.1 for now. > > > Best regards, > Mark Talluto > > appli.io > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From matthias_livecode_150811 at m-r-d.de Fri Apr 28 09:29:39 2023 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 28 Apr 2023 15:29:39 +0200 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: I think Mark is speaking of the On The Fly deployment in LC that is not working anymore with 16.4 to 16.4.2 and Xcode 14.2 Von meinem iPad gesendet > Am 28.04.2023 um 15:20 schrieb Mike Kerner via use-livecode : > > well, my main test ipad is running 16.5, and i'm using xc 14.2 > no issues with the remote debugger with this setup, anway. > >> On Thu, Apr 27, 2023 at 8:43 PM Mark Talluto via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hello everyone, >> >> There may be a problem with iOS devices updated to 16.4 or 16.4.1 and >> Xcode 14.2 as a working combination. The issue between them is that devices >> may fail to prepare for development (error from Xcode). >> >> https://developer.apple.com/forums/thread/727270 >> >> Of course, you can continue to build iOS apps with Xcode 14.2 if you >> accidentally allow your device to upgrade to 16.4.1. You cannot test your >> app directly from the LiveCode IDE using the test button if your device has >> been updated to iOS 16.4 or 16.4.1. >> >> You can build for TestFlight and run your app on your device that way. >> But, it is more cumbersome than direct testing from the LiveCode IDE. >> >> I hope this public service announcement is useful to iOS developers using >> LiveCode. The short of it is do not allow your iOS devices to update to >> 16.4.1 for now. >> >> >> Best regards, >> Mark Talluto >> >> appli.io >> 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 >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Apr 28 09:50:18 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 28 Apr 2023 09:50:18 -0400 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: i think that's what i'm talking about, but maybe i don't understand what he's experiencing. i'm in active development on an app. i'm building it many times per day and deploying it on my test ipad, running it, and invoking the remote debugger. since i'm running 16.5 i'm wondering if that might fix it. what i'm doing that might be slightly different is i'm not using the test button in the ide to install it, but rather the configurator (my apps are all using levure, so the build process might be slightly different). On Fri, Apr 28, 2023 at 9:30 AM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I think Mark is speaking of the On The Fly deployment in LC that is not > working anymore with 16.4 to 16.4.2 and Xcode 14.2 > > > Von meinem iPad gesendet > > > Am 28.04.2023 um 15:20 schrieb Mike Kerner via use-livecode < > use-livecode at lists.runrev.com>: > > > > well, my main test ipad is running 16.5, and i'm using xc 14.2 > > no issues with the remote debugger with this setup, anway. > > > >> On Thu, Apr 27, 2023 at 8:43 PM Mark Talluto via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >> Hello everyone, > >> > >> There may be a problem with iOS devices updated to 16.4 or 16.4.1 and > >> Xcode 14.2 as a working combination. The issue between them is that > devices > >> may fail to prepare for development (error from Xcode). > >> > >> https://developer.apple.com/forums/thread/727270 > >> > >> Of course, you can continue to build iOS apps with Xcode 14.2 if you > >> accidentally allow your device to upgrade to 16.4.1. You cannot test > your > >> app directly from the LiveCode IDE using the test button if your device > has > >> been updated to iOS 16.4 or 16.4.1. > >> > >> You can build for TestFlight and run your app on your device that way. > >> But, it is more cumbersome than direct testing from the LiveCode IDE. > >> > >> I hope this public service announcement is useful to iOS developers > using > >> LiveCode. The short of it is do not allow your iOS devices to update to > >> 16.4.1 for now. > >> > >> > >> Best regards, > >> Mark Talluto > >> > >> appli.io > >> 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 > >> > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From matthias_livecode_150811 at m-r-d.de Fri Apr 28 11:16:28 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 28 Apr 2023 17:16:28 +0200 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: <81FEA407-E7D7-4437-9515-DE3F2C20AADE@m-r-d.de> Mark, Mike's comment made me think and i installed 16.4.1 on my iPhone and was able to successfully test an LC iOS app with Xcode 14.2 using the Test button in LC 9.6.9. Regards, Matthias > Am 28.04.2023 um 02:41 schrieb Mark Talluto via use-livecode : > > Hello everyone, > > There may be a problem with iOS devices updated to 16.4 or 16.4.1 and Xcode 14.2 as a working combination. The issue between them is that devices may fail to prepare for development (error from Xcode). > > https://developer.apple.com/forums/thread/727270 > > Of course, you can continue to build iOS apps with Xcode 14.2 if you accidentally allow your device to upgrade to 16.4.1. You cannot test your app directly from the LiveCode IDE using the test button if your device has been updated to iOS 16.4 or 16.4.1. > > You can build for TestFlight and run your app on your device that way. But, it is more cumbersome than direct testing from the LiveCode IDE. > > I hope this public service announcement is useful to iOS developers using LiveCode. The short of it is do not allow your iOS devices to update to 16.4.1 for now. > > > Best regards, > Mark Talluto > > appli.io > 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 jbv at souslelogo.com Sat Apr 29 07:40:03 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 29 Apr 2023 07:40:03 -0400 Subject: mySQL and primary key Message-ID: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> Hi list, I have a mySQL table with 13500000 entries that weights almost 20 Gb. I need to create a primary key on the "id" column. I have tried in phpMyAdmin as well as in a script with "ALTER TABLE myTable ADD PRIMARY KEY(id)", but each time I get a "504 Gateway Timeout" error, and no index is created. What else can I try ? Thank you in advance. jbv From dvglasgow at gmail.com Sun Apr 30 07:35:34 2023 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 30 Apr 2023 12:35:34 +0100 Subject: Creating 'read only' text files Message-ID: Hi folks, Really simple question that I can’t see having been asked before, so here goes… I have a stack that outputs small text files. Each includes a hash value referencing part of itself that can be checked subsequently, so any change to the text can be flagged. Is there a way I can easily create read-only files (Mac & Win) to discourage accidental user changes? No need for encryption or hiding information anywhere, I just want to deter casual oopsies. Thanks in anticipation... Best Wishes, David Glasgow Honorary Professor, Nottingham Trent University Sexual Offences, Crime and Misconduct Research Unit Consultant Forensic & Clinical Psychologist Carlton Glasgow Partnership Director, Child & Family Training, York LinkedIn From dvglasgow at gmail.com Sun Apr 30 07:43:36 2023 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 30 Apr 2023 12:43:36 +0100 Subject: Weird window behavior In-Reply-To: <2B368ABB-724C-4DA3-AC35-BD80FFBFA368@gmail.com> References: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> <2B368ABB-724C-4DA3-AC35-BD80FFBFA368@gmail.com> Message-ID: <4E2E9C5F-1D02-4E91-BAD9-4AF3DED2B231@gmail.com> Only just catching up with this (been walking in Scotland)… Probably not tremendously informative now, but I’m not using Levure, I am using backdrop, and on Ventura. I’ll check the state of RaiseWindows when I can - would it be expected to change depending on backdrop use? Best Wishes, David Glasgow > On 28 Apr 2023, at 1:30 am, Marty Knapp via use-livecode wrote: > > Bingo - it was “raiseWindows” being set to true. Setting that to false has resolved the issue. Weird that it works fine on previous macOSes previous to Ventura. > --- > Marty Knapp > >> On Apr 27, 2023, at 2:35 PM, Mark Waddingham via use-livecode wrote: >> >> Okay that is strange - but the fact it is happening when levure is loaded suggests it is some property or mechanism it is adding. >> >> The engine only really has three things (that I can think of) which change window stacking order… >> >> The backdrop - which makes the engine *try* to keep all the windows next to each other, with the backdrop window immediately behind the bottom one; >> >> The ‘raiseWindows’ global property which is basically the same as the backdrop feature - except the backdrop has zero width and height. >> >> The go command which raises a stack to the top (amongst those with same mode). >> >> So i’m not sure how a script in levure could cause that effect - unless it’s setting ‘the raiseWindows’ to true (thus making the problem you are seeing the same as the backdrop issues that others are on Ventura). >> >> Anyway, the fact it requires levure to be loaded for it to happen means we can track it down! >> >> Warmest Regards, >> >> Mark. >> >> Sent from my iPhone >> >>> On 27 Apr 2023, at 19:58, Marty Knapp via use-livecode wrote: >>> >>> No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. >>> --- >>> Marty Knapp >>> >>>> On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: >>>> >>>>> On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >>>>> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >>>>> Am I going crazy? >>>> >>>> Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? >>>> >>>> The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. >>>> >>>> Warmest Regards, >>>> >>>> Mark. >>>> >>>> -- >>>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>>> LiveCode: Build Amazing Things >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 30 08:43:57 2023 From: paul at researchware.com (Paul Dupuis) Date: Sun, 30 Apr 2023 08:43:57 -0400 Subject: Creating 'read only' text files In-Reply-To: References: Message-ID: <8ba5f663-334d-1354-a5ce-18f1b08395d7@researchware.com> I don't know of a Livecode syntax per se to do this (i.e some syntax like: set the permissions of file tFile to read-only) You can do this in Livecode using the shell() function (see the dictionary) to issue applicable mac or win command lines. For eample a Google search shows the command line to change a file's permissions on Windows is: attrib +r file.txt so you could code something like (not tested): switch platform()   case "Win32"     set the hideConsoleWindows to true -- prevents windows console window from appears when the shell command executes    put "attrib +r " & quote & tFile & quote into tCommand -- were tFile is the file (path and name with native \ delimiters) you want to make read-only    put shell(tCommand) into tResult    break   case "MacOS"     -- use chmod 744 apple.txt for you to have full access and everyone else read-only OR     -- use chmod 444 apple.txt for everyone, you included, to be read-only    put "chmod 444 " & quote & tFile & quote into tCommand -- were tFile is the file (path and name) you want to make read-only    put shell(tCommand) into tResult    break end switch This code may need some tweaking but I think this is the general approach to do what you want. On 4/30/2023 7:35 AM, David V Glasgow via use-livecode wrote: > Hi folks, > > Really simple question that I cant see having been asked before, so here goes > > I have a stack that outputs small text files. Each includes a hash value referencing part of itself that can be checked subsequently, so any change to the text can be flagged. > > Is there a way I can easily create read-only files (Mac & Win) to discourage accidental user changes? No need for encryption or hiding information anywhere, I just want to deter casual oopsies. > > Thanks in anticipation... > > Best Wishes, > > David Glasgow > Honorary Professor, Nottingham Trent University > Sexual Offences, Crime and Misconduct Research Unit > Consultant Forensic & Clinical Psychologist > Carlton Glasgow Partnership > Director, Child & Family Training, York > > > LinkedIn > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sun Apr 30 16:01:45 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 30 Apr 2023 16:01:45 -0400 Subject: mySQL and primary key In-Reply-To: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> References: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> Message-ID: is this a local table? the 504 sounds like you're connecting via an api On Sat, Apr 29, 2023 at 7:41 AM jbv via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi list, > > I have a mySQL table with 13500000 entries that weights > almost 20 Gb. > I need to create a primary key on the "id" column. > I have tried in phpMyAdmin as well as in a script with > "ALTER TABLE myTable ADD PRIMARY KEY(id)", but each time > I get a "504 Gateway Timeout" error, and no index is created. > > What else can I try ? > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Sun Apr 30 17:26:22 2023 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 30 Apr 2023 17:26:22 -0400 Subject: mySQL and primary key In-Reply-To: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> References: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> Message-ID: <002201d97baa$6c8fa3f0$45aeebd0$@net> JBV, This looks like a server timeout. There is a mySQL server ini file parameter "ExecTimeLimit" There is also a phpMyAdmin ini file "LoginCookieValidity" timeout parameter. If you can't get those changed(especially "ExecTimeLimit" so you can do it by script) you will be forced to create a new table with a primary key and copy the data over in chunks small enough to avoid a timeout. 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 jbv via use-livecode Sent: Saturday, April 29, 2023 7:40 AM To: How to use LiveCode Cc: jbv at souslelogo.com Subject: mySQL and primary key Hi list, I have a mySQL table with 13500000 entries that weights almost 20 Gb. I need to create a primary key on the "id" column. I have tried in phpMyAdmin as well as in a script with "ALTER TABLE myTable ADD PRIMARY KEY(id)", but each time I get a "504 Gateway Timeout" error, and no index is created. What else can I try ? Thank you in advance. jbv _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat Apr 1 08:17:22 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 01 Apr 2023 08:17:22 -0400 Subject: How to split a large xml file Message-ID: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> Hi list, I have a 75Go xml file that I need to process, and therefore need to split it into smaller files. I tried to do that with LC, reading successive chunks of 50000 lines with an endless loop and save them in successive files, but it crashes LC (9.6.9 on OSX 10.15) every time before finishing. Of course, I am interested in any working solution using LC. On the other hand, I found EasySplitMerge that runs on Mac and the free trial version works fine on files under 30Mb. Does anyone have any experience with it on larger files ? I'd be interested in any feedback before purchasing a license. https://www.321soft.com/easysplitmerge/ Thank you in advance. jbv From kee.nethery at elloco.com Sat Apr 1 10:19:20 2023 From: kee.nethery at elloco.com (kee nethery) Date: Sat, 1 Apr 2023 07:19:20 -0700 Subject: How to split a large xml file In-Reply-To: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> References: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> Message-ID: <52D286C8-F586-40AE-9E76-77EF1A0E8F90@elloco.com> I had to do this once upon a time and I used some of the unix commands in Terminal on a mac. The command is “split” and it was wicked fast. Just be sure to work on a copy of the file. Many examples on the interwebs. If you were going to do this day in a day out, yes, a GUI app would be a good idea. But for an infrequent thing … use “split”. https://kb.iu.edu/d/afar https://www.geeksforgeeks.org/split-command-in-linux-with-examples/ I think I split mine into 5Gb files and used BBEdit to open and examine them. Not sure what maximum size file LiveCode can parse so you might want to adjust. But for sure BBEdit was a champ in opening them and scrolling through them easily. Kee Nethery > On Apr 1, 2023, at 5:17 AM, jbv via use-livecode wrote: > > Hi list, > > I have a 75Go xml file that I need to process, and therefore > need to split it into smaller files. > I tried to do that with LC, reading successive chunks of 50000 > lines with an endless loop and save them in successive files, > but it crashes LC (9.6.9 on OSX 10.15) every time before > finishing. > Of course, I am interested in any working solution using LC. > > On the other hand, I found EasySplitMerge that runs on Mac > and the free trial version works fine on files under 30Mb. > Does anyone have any experience with it on larger files ? > I'd be interested in any feedback before purchasing a > license. > https://www.321soft.com/easysplitmerge/ > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sun Apr 2 05:16:25 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sun, 02 Apr 2023 05:16:25 -0400 Subject: How to split a large xml file In-Reply-To: <52D286C8-F586-40AE-9E76-77EF1A0E8F90@elloco.com> References: <05291bb6b7ea87704ede2085bf94cb77@souslelogo.com> <52D286C8-F586-40AE-9E76-77EF1A0E8F90@elloco.com> Message-ID: <7966199340b243e6200a8914c28ba4cd@souslelogo.com> Thank you so much for the tip. It took 12 hours to split 75 Gb into 1278 files of 200000 lines each. I had to add a -a5 parameter otherwise Terminal would output a "too many files" error. Thanks again. Le 2023-04-01 10:19, kee nethery via use-livecode a crit : > I had to do this once upon a time and I used some of the unix commands > in Terminal on a mac. The command is split and it was wicked fast. > Just be sure to work on a copy of the file. Many examples on the > interwebs. If you were going to do this day in a day out, yes, a GUI > app would be a good idea. But for an infrequent thing use split. > > https://kb.iu.edu/d/afar > > https://www.geeksforgeeks.org/split-command-in-linux-with-examples/ > > I think I split mine into 5Gb files and used BBEdit to open and > examine them. Not sure what maximum size file LiveCode can parse so > you might want to adjust. But for sure BBEdit was a champ in opening > them and scrolling through them easily. > > Kee Nethery > > > >> On Apr 1, 2023, at 5:17 AM, jbv via use-livecode >> wrote: >> >> Hi list, >> >> I have a 75Go xml file that I need to process, and therefore >> need to split it into smaller files. >> I tried to do that with LC, reading successive chunks of 50000 >> lines with an endless loop and save them in successive files, >> but it crashes LC (9.6.9 on OSX 10.15) every time before >> finishing. >> Of course, I am interested in any working solution using LC. >> >> On the other hand, I found EasySplitMerge that runs on Mac >> and the free trial version works fine on files under 30Mb. >> Does anyone have any experience with it on larger files ? >> I'd be interested in any feedback before purchasing a >> license. >> https://www.321soft.com/easysplitmerge/ >> >> Thank you in advance. >> jbv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Tue Apr 4 10:22:30 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Tue, 4 Apr 2023 16:22:30 +0200 Subject: How to loop through stacks with same name? Message-ID: When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! I have tried to: close stack tStack delete stack tStack That didn't work I then thought that it might be that the IDE needed some more time to clean up so I added a loop: delete stack tStack repeat while tStack is among the lines of the openStacks wait for 100 milliseconds with messages end repeat That didn’t work either as the next time I try to open a stack with the same name I get the dialog again I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: local sFileList # A text with one file path per line for all files that should be crawled local sCurrentStack # The name of the currently crawled stack on stackCrawl if sCurrentStack is among the lines of the openstacks then send “stackCrawl” to me in 500 milliseconds else if sCurrentStack is not empty then # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) put empty into sCurrentStack if sFileList is empty then # All stacks crawled => We are finished! else send “stackCrawl” to me in 0 milliseconds end if else # sCurrentStack is empty so we should move on to the next stack in the file list! put line 1 of sFileList into tFile delete line 1 of sFileList put the openStacks into tStackList open stack tFile repeat for each line aStack in the openStacks if aStack is not among the lines of tStackList then put aStack into sCurrentStack exit repeat end if end repeat # Do needed operations on sCurrentStack delete sCurrentStack send “stackCrawl” to me in 500 milliseconds end if end stackCrawl This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: put the substacks of stack sCurrentStack into tSubStacks lock messages repeat for each line tSubStack in tSubstacks close stack tSubStack end repeat delete stack sCurrentStack unlock messages I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks” I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! I’ve reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround… From paul at researchware.com Tue Apr 4 11:18:12 2023 From: paul at researchware.com (Paul Dupuis) Date: Tue, 4 Apr 2023 11:18:12 -0400 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> I believe there is a IDE handler you can call to unload a stack - something like "revUnloadStack" or similar, but I do not recall the exact API name. Hopefully, some one else on the list has the exact API details. Alternatively, contact support at livecode.com and ask what the IDE API is to unload a stack. On 4/4/2023 10:22 AM, Hkan Liljegren via use-livecode wrote: > When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! > > I have tried to: > > close stack tStack > delete stack tStack > > That didn't work > > I then thought that it might be that the IDE needed some more time to clean up so I added a loop: > delete stack tStack > repeat while tStack is among the lines of the openStacks > wait for 100 milliseconds with messages > end repeat > > That didnt work either as the next time I try to open a stack with the same name I get the dialog again > > I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: > > local sFileList # A text with one file path per line for all files that should be crawled > local sCurrentStack # The name of the currently crawled stack > > on stackCrawl > if sCurrentStack is among the lines of the openstacks then > send stackCrawl to me in 500 milliseconds > else if sCurrentStack is not empty then > # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) > put empty into sCurrentStack > if sFileList is empty then > # All stacks crawled => We are finished! > else > send stackCrawl to me in 0 milliseconds > end if > else # sCurrentStack is empty so we should move on to the next stack in the file list! > put line 1 of sFileList into tFile > delete line 1 of sFileList > put the openStacks into tStackList > open stack tFile > repeat for each line aStack in the openStacks > if aStack is not among the lines of tStackList then > put aStack into sCurrentStack > exit repeat > end if > end repeat > # Do needed operations on sCurrentStack > delete sCurrentStack > send stackCrawl to me in 500 milliseconds > end if > end stackCrawl > > This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: > > put the substacks of stack sCurrentStack into tSubStacks > lock messages > repeat for each line tSubStack in tSubstacks > close stack tSubStack > end repeat > delete stack sCurrentStack > unlock messages > > I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! > > Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! > > So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! > > Ive reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 11:31:57 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Apr 2023 15:31:57 +0000 Subject: test Message-ID: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> This is a test of the use list. Bob S From craig at starfirelighting.com Tue Apr 4 14:42:04 2023 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 4 Apr 2023 14:42:04 -0400 Subject: How to loop through stacks with same name? In-Reply-To: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> References: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> Message-ID: <1BF1D56C-7BE2-4AAB-97FD-FFBB285ECF02@starfirelighting.com> Bi. There has been much discussion on the forum why, if the “destroyStack” property is set to “true”, there still seems to be remnants of that stack that linger when the “close stack” command is given. Nonetheless, have you established that this property is set? If not, set it, and let us know if that worked. Craig > On Apr 4, 2023, at 11:18 AM, Paul Dupuis via use-livecode wrote: > > I believe there is a IDE handler you can call to unload a stack - something like "revUnloadStack" or similar, but I do not recall the exact API name. > > Hopefully, some one else on the list has the exact API details. Alternatively, contact support at livecode.com and ask what the IDE API is to unload a stack. > > > > On 4/4/2023 10:22 AM, Håkan Liljegren via use-livecode wrote: >> When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! >> >> I have tried to: >> >> close stack tStack >> delete stack tStack >> >> That didn't work >> >> I then thought that it might be that the IDE needed some more time to clean up so I added a loop: >> delete stack tStack >> repeat while tStack is among the lines of the openStacks >> wait for 100 milliseconds with messages >> end repeat >> >> That didn’t work either as the next time I try to open a stack with the same name I get the dialog again >> >> I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: >> >> local sFileList # A text with one file path per line for all files that should be crawled >> local sCurrentStack # The name of the currently crawled stack >> >> on stackCrawl >> if sCurrentStack is among the lines of the openstacks then >> send “stackCrawl” to me in 500 milliseconds >> else if sCurrentStack is not empty then >> # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) >> put empty into sCurrentStack >> if sFileList is empty then >> # All stacks crawled => We are finished! >> else >> send “stackCrawl” to me in 0 milliseconds >> end if >> else # sCurrentStack is empty so we should move on to the next stack in the file list! >> put line 1 of sFileList into tFile >> delete line 1 of sFileList >> put the openStacks into tStackList >> open stack tFile >> repeat for each line aStack in the openStacks >> if aStack is not among the lines of tStackList then >> put aStack into sCurrentStack >> exit repeat >> end if >> end repeat >> # Do needed operations on sCurrentStack >> delete sCurrentStack >> send “stackCrawl” to me in 500 milliseconds >> end if >> end stackCrawl >> This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: >> >> put the substacks of stack sCurrentStack into tSubStacks >> lock messages >> repeat for each line tSubStack in tSubstacks >> close stack tSubStack >> end repeat >> delete stack sCurrentStack >> unlock messages >> >> I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! >> >> Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks” I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! >> >> So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! >> >> I’ve reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround… >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Tue Apr 4 14:42:41 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Tue, 4 Apr 2023 20:42:41 +0200 Subject: How to loop through stacks with same name? In-Reply-To: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> References: <1c08986d-a0cb-6a9b-b0cb-0371ea9e3fb3@researchware.com> Message-ID: <7ECD0DDB-C182-4C21-A544-AEFD350DF624@exformedia.se> Thanks for the input, digging further… If I run the following code: put 0 into tCount delete tStackID put revLoadedStacks() into tStackList repeat while tStack is among the lines of tStackList add 1 to tCount delete stack tStack wait 100 milliseconds with messages put revLoadedStacks() into tStackList end repeat put "Looped " & tCount & " times" & CR & tStackList I get the output “Looped 0 times” followed by a list without tStack but If I then run ‘put revLoadedStacks()' from a button or in the message box the stack is back again! My very unprofessional guess is that this reappearance of the stack might be the same problems that sometimes causes the infinite save-purge-cancel loop that sometimes occurs in the IDE. If I on the other hand run ‘delete stack “mystack”’ in the message box. The stack is gone and never reappears! > On 4 Apr 2023, at 17:18, Paul Dupuis via use-livecode wrote: > > I believe there is a IDE handler you can call to unload a stack - something like "revUnloadStack" or similar, but I do not recall the exact API name. > > Hopefully, some one else on the list has the exact API details. Alternatively, contact support at livecode.com and ask what the IDE API is to unload a stack. > > > > On 4/4/2023 10:22 AM, Håkan Liljegren via use-livecode wrote: >> When my students turn in their assignments all their individual stacks usually have the same name. If I try to loop through all of them there seems to be no way to close one stack and move on to the next one (with the same name) without getting the dialog asking if I want to save, purge or cancel the previous stack?! >> >> I have tried to: >> >> close stack tStack >> delete stack tStack >> >> That didn't work >> >> I then thought that it might be that the IDE needed some more time to clean up so I added a loop: >> delete stack tStack >> repeat while tStack is among the lines of the openStacks >> wait for 100 milliseconds with messages >> end repeat >> >> That didn’t work either as the next time I try to open a stack with the same name I get the dialog again >> >> I then thought that maybe the handler needs to be finished before the cleanup is done so I tried to rewrite using a system where I added all files that should be crawled into a local variable and added the current stack into another and created a system using the send command: >> >> local sFileList # A text with one file path per line for all files that should be crawled >> local sCurrentStack # The name of the currently crawled stack >> >> on stackCrawl >> if sCurrentStack is among the lines of the openstacks then >> send “stackCrawl” to me in 500 milliseconds >> else if sCurrentStack is not empty then >> # Now we now that the sCurrentStack is not among the open stacks (I.e closed and deleted) >> put empty into sCurrentStack >> if sFileList is empty then >> # All stacks crawled => We are finished! >> else >> send “stackCrawl” to me in 0 milliseconds >> end if >> else # sCurrentStack is empty so we should move on to the next stack in the file list! >> put line 1 of sFileList into tFile >> delete line 1 of sFileList >> put the openStacks into tStackList >> open stack tFile >> repeat for each line aStack in the openStacks >> if aStack is not among the lines of tStackList then >> put aStack into sCurrentStack >> exit repeat >> end if >> end repeat >> # Do needed operations on sCurrentStack >> delete sCurrentStack >> send “stackCrawl” to me in 500 milliseconds >> end if >> end stackCrawl >> This also gives the same result. Then I realised that the stacks I have also have sub stacks so I also tried: >> >> put the substacks of stack sCurrentStack into tSubStacks >> lock messages >> repeat for each line tSubStack in tSubstacks >> close stack tSubStack >> end repeat >> delete stack sCurrentStack >> unlock messages >> >> I even found a call to revIDEHandleObjectDeleted by peeking into the IDE itself. Added a call to that function but still no luck! >> >> Even if I loop through all my stacks (by clicking purge for each stack) and then do a "put the openStacks” I can see that the last stack is not among the the open stacks. But, if I now try to open the first stack in the list again I still get a dialog asking me about what I want to do with the last stack in the list (save, purge or cancel)! >> >> So as soon as a stack I opened via script there is no way to close it via script and also remove it from the internal workings of the IDE. Is there ANY way to really delete the stack from the IDE memory so I can open a stack with the same name without a dialog popping up?! >> >> I’ve reported this as a bug (https://quality.livecode.com/show_bug.cgi?id=24163), but is still interested if anyone has at least a workaround… >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 16:47:25 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Apr 2023 20:47:25 +0000 Subject: Sockets (again) Message-ID: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> I have sockets working in my File Server Agent, but only using non-blocking calls, that is using "with message". Removing the "with message" bit does not return any response from the server agent. For instance I send a payload using write payload to socket tSocket with message "messageReceived" The messageReceived handler gets triggered, and I can then read from socket tSocket until EOF -- or other delimiter it will then contain the response from the File Server Agent. If however I use write payload to socket tSocket -- blocking read from socket tSocket until EOF -- or some other delimiter doesn't matter the call times out and nothing ends up in the it or result variables. I can (and have) made the non-blocking method work, but that means I have to send all the files I want to transfer all at once, because if I send them one at a time, I need to know if the last transfer succeeded before continuing. Does anyone have an example of a blocking socket server? The example in Livecode Lessons really only focuses on non-blocking calls. Bob S From phil at pdslabs.net Tue Apr 4 23:06:19 2023 From: phil at pdslabs.net (Phil Davis) Date: Tue, 4 Apr 2023 20:06:19 -0700 Subject: Sockets (again) In-Reply-To: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> Message-ID: <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> Bob - Don't use EOF. It's broken since forever ago. I've done both of the following methods with success: -- either -- End your data stream with a CR, and then on the receiving end "read from socket XYZ for 1 line". This assumes that the data stream itself doesn't contain any CRs. I normally base64-encode the data stream, then replace CR with empty in the encoded string. This doesn't interfere with base64Decoding on the receiving end - it'll still work fine. -- or -- Make line 1 of your data stream an integer that is the number of bytes in line 2 of your data stream Make line 2 of your data stream the data you want to send Then on the receiving end, do a two-step: - read from socket XYZ for 1 line - put it into tDataLength - read from socket XYZ for tDataLength bytes That's all I got :-) Phil Davis On 4/4/23 1:47 PM, Bob Sneidar via use-livecode wrote: > I have sockets working in my File Server Agent, but only using non-blocking calls, that is using "with message". Removing the "with message" bit does not return any response from the server agent. > > For instance I send a payload using > write payload to socket tSocket with message "messageReceived" > The messageReceived handler gets triggered, and I can then > read from socket tSocket until EOF -- or other delimiter > it will then contain the response from the File Server Agent. > > If however I use > write payload to socket tSocket -- blocking > read from socket tSocket until EOF -- or some other delimiter doesn't matter > > the call times out and nothing ends up in the it or result variables. > > I can (and have) made the non-blocking method work, but that means I have to send all the files I want to transfer all at once, because if I send them one at a time, I need to know if the last transfer succeeded before continuing. > > Does anyone have an example of a blocking socket server? The example in Livecode Lessons really only focuses on non-blocking calls. > > 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 > -- Phil Davis (503) 307-4363 From jacque at hyperactivesw.com Wed Apr 5 00:42:59 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Apr 2023 23:42:59 -0500 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Are you opening all the same-named stacks at once? LC warns that this produces unreliable results and should be avoided. The "delete stack" command does work from a script, but if there are several open with the same name there's no telling what the engine will do. The normal way to handle this is to only open one, delete it when done with it, and then open the next. But if it is necessary for some reason to have multiple same-named stacks open then check the mainstacks rather than the openstacks. The mainstacks function should report all stacks in memory, not just the ones that are open on screen. Untested, but try this: repeat until "stackName" is not in the mainstacks -- whatever the duplicate stack name is delete stack "stackName" end repeat It might work. Also, check your LC preferences in the Files and Memory pane. Tick the option to close the stack even if its deleteStack property is false. That should allow you to close any stack and remove it from memory just with the close box. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 4, 2023 9:25:08 AM Hkan Liljegren via use-livecode wrote: > When my students turn in their assignments all their individual stacks > usually have the same name. If I try to loop through all of them there > seems to be no way to close one stack and move on to the next one (with the > same name) without getting the dialog asking if I want to save, purge or > cancel the previous stack?! From bobsneidar at iotecdigital.com Wed Apr 5 11:07:26 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Apr 2023 15:07:26 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. Bob S On Apr 4, 2023, at 21:42, J. Landman Gay via use-livecode wrote: But if it is necessary for some reason to have multiple same-named stacks open then check the mainstacks rather than the openstacks. From bobsneidar at iotecdigital.com Wed Apr 5 11:13:51 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Apr 2023 15:13:51 +0000 Subject: Sockets (again) In-Reply-To: <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> Message-ID: <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> Thanks Phil. Yes I learned the hard way with my SQL Agent to base64encode anything over sockets. And yes I do append a numtochar(13) coming and going and strip it off before decoding and read until numToChar(13). I don't use cr because I am uncertain how each OS platform treats it. The Server Agent could be running on anything in the future. I also instituted a debugging log and determined the File Server Agent is getting the payload and sending the result back, but for whatever reason the client side is not getting the result. It may be that I have to initiate some kind of delay on the server side because the assumption has to be that the reply is getting sent before the client starts listening. Bob S > On Apr 4, 2023, at 20:06, Phil Davis via use-livecode wrote: > > Bob - > > Don't use EOF. It's broken since forever ago. > > I've done both of the following methods with success: > > -- either -- > > End your data stream with a CR, and then on the receiving end "read from socket XYZ for 1 line". This assumes that the data stream itself doesn't contain any CRs. I normally base64-encode the data stream, then replace CR with empty in the encoded string. This doesn't interfere with base64Decoding on the receiving end - it'll still work fine. > > -- or -- > > Make line 1 of your data stream an integer that is the number of bytes in line 2 of your data stream > Make line 2 of your data stream the data you want to send > > Then on the receiving end, do a two-step: > - read from socket XYZ for 1 line > - put it into tDataLength > - read from socket XYZ for tDataLength bytes > > > That's all I got :-) > Phil Davis > > > > On 4/4/23 1:47 PM, Bob Sneidar via use-livecode wrote: >> I have sockets working in my File Server Agent, but only using non-blocking calls, that is using "with message". Removing the "with message" bit does not return any response from the server agent. >> >> For instance I send a payload using >> write payload to socket tSocket with message "messageReceived" >> The messageReceived handler gets triggered, and I can then >> read from socket tSocket until EOF -- or other delimiter >> it will then contain the response from the File Server Agent. >> >> If however I use >> write payload to socket tSocket -- blocking >> read from socket tSocket until EOF -- or some other delimiter doesn't matter >> >> the call times out and nothing ends up in the it or result variables. >> >> I can (and have) made the non-blocking method work, but that means I have to send all the files I want to transfer all at once, because if I send them one at a time, I need to know if the last transfer succeeded before continuing. >> >> Does anyone have an example of a blocking socket server? The example in Livecode Lessons really only focuses on non-blocking calls. >> >> 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 >> > > -- > 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 bobsneidar at iotecdigital.com Wed Apr 5 11:15:36 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Apr 2023 15:15:36 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> Message-ID: <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! Bob S On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: Oooh Pro Tip #276 from Jacque. I'm gonna use that one. Bob S From jacque at hyperactivesw.com Wed Apr 5 12:48:58 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 05 Apr 2023 11:48:58 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> Message-ID: <18752524c90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It should be fairly instant, I use a similar handler routinely. It doesn't check all the mainstacks, only determines if the name is in the list. Then it deletes the named stack directly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 5, 2023 10:17:31 AM Bob Sneidar via use-livecode wrote: > Whoa! No I'm not! There's over 300 mainstacks just from Livecode! > > Bob S > > > On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode > wrote: > > Oooh Pro Tip #276 from Jacque. I'm gonna use that one. > > 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 rdimola at evergreeninfo.net Wed Apr 5 13:06:47 2023 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 5 Apr 2023 13:06:47 -0400 Subject: How to loop through stacks with same name? In-Reply-To: <18752524c90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <18752524c90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <004101d967e1$0487ee20$0d97ca60$@net> Use "filter". It is blazingly fast. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Wednesday, April 05, 2023 12:49 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: How to loop through stacks with same name? It should be fairly instant, I use a similar handler routinely. It doesn't check all the mainstacks, only determines if the name is in the list. Then it deletes the named stack directly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 5, 2023 10:17:31 AM Bob Sneidar via use-livecode wrote: > Whoa! No I'm not! There's over 300 mainstacks just from Livecode! > > Bob S > > > On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode > wrote: > > Oooh Pro Tip #276 from Jacque. I'm gonna use that one. > > 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 ahsoftware at sonic.net Wed Apr 5 13:29:57 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 5 Apr 2023 10:29:57 -0700 Subject: Sockets (again) In-Reply-To: <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> Message-ID: <8a74522f-2963-9d41-e53d-dd37971fe570@sonic.net> On 4/5/23 08:13, Bob Sneidar via use-livecode wrote: > Thanks Phil. Yes I learned the hard way with my SQL Agent to base64encode anything over sockets. And yes I do append a numtochar(13) coming and going and strip it off before decoding and read until numToChar(13). I don't use cr because I am uncertain how each OS platform treats it. The Server Agent could be running on anything in the future. If you're already base64encoding the text you might consider a different end character than numtochar(13). For instance, numtochar(3) is already defined as "End of Text". That should eliminate or at least reduce any cross-platform issues you might run into. https://www.ascii-code.com/ -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Apr 5 15:27:15 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 5 Apr 2023 14:27:15 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> Message-ID: <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> I just created four same-named stacks and ran my suggested handler wrapped with timer commands. All four were deleted in 67 milliseconds. LC 10.0.0 DP 4. put the milliseconds into tStart repeat while "test" is in the mainstacks delete stack "test" end repeat answer the milliseconds - tStart Ralph's idea to use filter is good too but slightly slower, at (a fairly insignificant) 79 milliseconds: put the milliseconds into tStart filter the mainstacks with "test*" into tStacks repeat for each line l in tStacks delete stack l end repeat answer the milliseconds - tStart On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: > Whoa! No I'm not! There's over 300 mainstacks just from Livecode! > > Bob S > > > On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: > > Oooh Pro Tip #276 from Jacque. I'm gonna use that one. > > 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 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From info at dicod.com Thu Apr 6 01:03:32 2023 From: info at dicod.com (Jean-Jacques Wagner) Date: Thu, 6 Apr 2023 07:03:32 +0200 Subject: Ventura 1.3 - revcopyfile Message-ID: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Hi, Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one old stack, which I don not use for year is copied. So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my documents which I will have to deliver within the next 5 days. But at first I couldn’t at a time open document, then I was able to pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. This is an alert, I will be able to go deeper finding the trouble by end of next week. Have a nice Easter ! Jean-Jacques Wagner From merakosp at gmail.com Thu Apr 6 02:25:17 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 6 Apr 2023 09:25:17 +0300 Subject: Ventura 1.3 - revcopyfile In-Reply-To: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Message-ID: Hello Jean-Jacques, This sounds like a permissions issue. Which version of LiveCode are you using? IIRC, I think we fixed a similar issue in LC 9.6.8 - we added proper permissions to the LC IDE and standalones to use AppleScript to control other apps in recent MacOS versions. If you still see the problem in LC 9.6.8+, I suggest you file a bug report ( https://quality.livecode.com) and include a simple sample stack which we can use to reproduce the problem. Kind regards, Panos On Thu, 6 Apr 2023 at 08:05, Jean-Jacques Wagner via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. > The function revcopyfile does not work anymore. > I have stack to manage files (over 8000 pdf files), which with > revcopyfile are getting corrupt. There are not anymore openable > using preview, but also pages dokument are getting lost or corrupt, > because not anymore reopenable. > > Some time a file placed in a folder is not anymore openable, moving it on > the desktop, there is sometime against openable. > > I pin down the problems on a script, where I do makes on regular basis a > backup of about 10 textfiles (Wrangler) and 20 stacks, > so using revcopyfile and rename file to do it. The backup is not longer > functioning, make no copies of the files anymore. Just one > old stack, which I don not use for year is copied. > > So I can spend just now the time to go more deeper and investigate on the > problem, since I have to be careful not to loose my > documents which I will have to deliver within the next 5 days. But at > first I couldn’t at a time open document, then I was able to > pin down thats was not the system but the function revcopyfile should be > at the center of the problems. Possibly it has to do with > AppleScript (I hate this app, which was and is almost a copy of hypercard > in a very bad manner) on which revcopyfile should work. > > This is an alert, I will be able to go deeper finding the trouble by end > of next week. > > Have a < > https://dict.leo.org/englisch-deutsch/a> nice < > https://dict.leo.org/englisch-deutsch/nice> Easter < > https://dict.leo.org/englisch-deutsch/Easter>! > > Jean-Jacques Wagner > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 6 07:28:11 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 6 Apr 2023 07:28:11 -0400 Subject: Ventura 1.3 - revcopyfile In-Reply-To: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Message-ID: You may also be able to address this by giving any Standalone if this app is it's own Standalone) or the Livecode version you are using the "Full Disk Access" permission, from System Settings On 4/6/2023 1:03 AM, Jean-Jacques Wagner via use-livecode wrote: > Hi, > Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. > I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable > using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. > > Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. > > I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, > so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one > old stack, which I don not use for year is copied. > > So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my > documents which I will have to deliver within the next 5 days. But at first I couldnt at a time open document, then I was able to > pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with > AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. > > This is an alert, I will be able to go deeper finding the trouble by end of next week. > > Have a nice Easter ! > > Jean-Jacques Wagner > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Apr 6 07:58:53 2023 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 6 Apr 2023 12:58:53 +0100 Subject: How to loop through stacks with same name? In-Reply-To: <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> Message-ID: <5dd3f9b2-d20d-2851-3227-5cc51d6daf83@tweedly.net> Jacque, those two code snippets do slightly different things - and I don't think either of them is doing exactly what's intended; I think the intent is to delete stack(s) called (exactly) "test". The first one will (wrongly) catch a stack called "testabc" or "abctest" - and then will fail on deleting 'test'. The second one also catches "testabc" - but in this case deletes it unintentionally. Alternatively, we could go straight to the point > > put the milliseconds into tStart > repeat forever >   try >      delete stack "test" >   catch tmp >     exit repeat >   end > end repeat > answer the milliseconds - tStart > again, the timings are overlapping - the variation between different runs far outweighs the difference between the methods. I think that could be different if there many other mainstacks in play, but I don't see that it would be significant in any realistic case. So pick the one that seems  most easily read and understood :-) Alex. On 05/04/2023 20:27, J. Landman Gay via use-livecode wrote: > I just created four same-named stacks and ran my suggested handler > wrapped with timer commands. All four were deleted in 67 milliseconds. > LC 10.0.0 DP 4. > > put the milliseconds into tStart > repeat while "test" is in the mainstacks >    delete stack "test" > end repeat > answer the milliseconds - tStart > > Ralph's idea to use filter is good too but slightly slower, at (a > fairly insignificant) 79 milliseconds: > > put the milliseconds into tStart > filter the mainstacks with "test*" into tStacks > repeat for each line l in tStacks >    delete stack l > end repeat > answer the milliseconds - tStart > > On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >> >> Bob S >> >> >> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode >> wrote: >> >> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >> >> 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 MikeKerner at roadrunner.com Thu Apr 6 08:22:06 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Apr 2023 08:22:06 -0400 Subject: test In-Reply-To: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: and it's a great, big, gigantic failburger end of line. On Tue, Apr 4, 2023 at 11:33 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > This is a test of the use list. > > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From hakan at exformedia.se Thu Apr 6 08:45:44 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Thu, 6 Apr 2023 14:45:44 +0200 Subject: How to loop through stacks with same name? In-Reply-To: <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> Message-ID: <75FE2FA5-FF34-4263-83DE-3C0CB68AE4E6@exformedia.se> Thanks for the tip! But unfortunately already tried that! I only try to work with one stack at a time. If I set a breakpoint and step over the line delete stack “teststack" And then try to open a new stack with the same name there is no dialog box If I run the same code (without any breakpoints). I can wait forever (well kind of) and the stack will still be among the mainStacks. If I run your suggest code with a counter addition: repeat while "teststack" is among the lines of the mainStacks delete stack "teststack" add 1 to tCount end repeat put tCount I get an output of 1 but again if I bring up the message box after the code Is executed and do a “put the mainStacks” the stack is back again! If I run a loop over all my 25 stacks (or so) with the same name using the code above it loops through several stacks in quick succession but then I got the dialog again, and again, and again, and again… until I force quitted LiveCode. Created there stacks teststack1, 2 and 3 in the same folder all with the same name “teststack”. If I then run the following code from another stack in the same folder: set the itemDelimiter to slash put item 1 to -2 of the filename of this stack into tPath repeat with i = 1 to 3 open stack tPath & "/teststack" & i & ".livecode" repeat while “teststack" is among the lines of the mainStacks delete stack "teststack" end repeat end repeat Then I get a dialog asking what I want to do with teststack1 before I load teststack2 and teststack2 is still open after the code has run! If I create 6 stacks and run the same code (but from 1 to 6 of course) I get into the unstoppable dialog loop and needs to quit LiveCode! I’ve update the bug report https://quality.livecode.com/show_bug.cgi?id=24163 with new example ( https://quality.livecode.com/attachment.cgi?id=11421 ) that causes my LiveCode to get into the endless dialog loop. So, don’t run this if you have unsaved work in another stack! If it works for you Jacqueline, what platform are you using? Maybe this is a Mac only problem? I’m running MacOS Ventura 13.1 on a MacBook Pro (M1 Max). :-Håkan > On 5 Apr 2023, at 21:27, J. Landman Gay via use-livecode wrote: > > I just created four same-named stacks and ran my suggested handler wrapped with timer commands. All four were deleted in 67 milliseconds. LC 10.0.0 DP 4. > > put the milliseconds into tStart > repeat while "test" is in the mainstacks > delete stack "test" > end repeat > answer the milliseconds - tStart > > Ralph's idea to use filter is good too but slightly slower, at (a fairly insignificant) 79 milliseconds: > > put the milliseconds into tStart > filter the mainstacks with "test*" into tStacks > repeat for each line l in tStacks > delete stack l > end repeat > answer the milliseconds - tStart > > On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >> Bob S >> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: >> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >> 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 > > -- > 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 craig at starfirelighting.com Thu Apr 6 09:05:43 2023 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 6 Apr 2023 09:05:43 -0400 Subject: test In-Reply-To: References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: Mike. Why a failure? i see you. Craig > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode wrote: > > and it's a great, big, gigantic failburger > end of line. > > On Tue, Apr 4, 2023 at 11:33 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> This is a test of the use list. >> >> 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 >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From phil at liverpool.ac.uk Thu Apr 6 09:08:32 2023 From: phil at liverpool.ac.uk (Jimmieson, Phil) Date: Thu, 6 Apr 2023 13:08:32 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <75FE2FA5-FF34-4263-83DE-3C0CB68AE4E6@exformedia.se> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> <75FE2FA5-FF34-4263-83DE-3C0CB68AE4E6@exformedia.se> Message-ID: In 2017 I reported a bug related to opening a series of stack files all with the same name. The problem was that I could not get the old stacks to go away and eventually I would end up in the “duplicate stack name” dialog infinite loop. https://quality.livecode.com/show_bug.cgi?id=19075 Panos suggested putting a lock messages / unlock messages set of statements around the code that opened and accessed each stack and that did seem to fix the problem I was having (though not the bug in LiveCode). Maybe you could do something similar here? Another thing I considered was to rename each old stack with a unique suffix so that the names would no longer clash, even if the stack ended up staying in memory for longer than necessary… > On 6 Apr 2023, at 13:45, Håkan Liljegren via use-livecode wrote: > > Thanks for the tip! But unfortunately already tried that! I only try to work with one stack at a time. > > If I set a breakpoint and step over the line > delete stack “teststack" > > And then try to open a new stack with the same name there is no dialog box > If I run the same code (without any breakpoints). I can wait forever (well kind of) and the stack will still be among the mainStacks. If I run your suggest code with a counter addition: > > repeat while "teststack" is among the lines of the mainStacks > delete stack "teststack" > add 1 to tCount > end repeat > put tCount > > I get an output of 1 but again if I bring up the message box after the code Is executed and do a “put the mainStacks” the stack is back again! If I run a loop over all my 25 stacks (or so) with the same name using the code above it loops through several stacks in quick succession but then I got the dialog again, and again, and again, and again… until I force quitted LiveCode. > > Created there stacks teststack1, 2 and 3 in the same folder all with the same name “teststack”. If I then run the following code from another stack in the same folder: > > set the itemDelimiter to slash > put item 1 to -2 of the filename of this stack into tPath > repeat with i = 1 to 3 > open stack tPath & "/teststack" & i & ".livecode" > repeat while “teststack" is among the lines of the mainStacks > delete stack "teststack" > end repeat > end repeat > > Then I get a dialog asking what I want to do with teststack1 before I load teststack2 and teststack2 is still open after the code has run! If I create 6 stacks and run the same code (but from 1 to 6 of course) I get into the unstoppable dialog loop and needs to quit LiveCode! > > I’ve update the bug report https://quality.livecode.com/show_bug.cgi?id=24163 with new example ( https://quality.livecode.com/attachment.cgi?id=11421 ) that causes my LiveCode to get into the endless dialog loop. So, don’t run this if you have unsaved work in another stack! > > If it works for you Jacqueline, what platform are you using? Maybe this is a Mac only problem? I’m running MacOS Ventura 13.1 on a MacBook Pro (M1 Max). > > :-Håkan > >> On 5 Apr 2023, at 21:27, J. Landman Gay via use-livecode wrote: >> >> I just created four same-named stacks and ran my suggested handler wrapped with timer commands. All four were deleted in 67 milliseconds. LC 10.0.0 DP 4. >> >> put the milliseconds into tStart >> repeat while "test" is in the mainstacks >> delete stack "test" >> end repeat >> answer the milliseconds - tStart >> >> Ralph's idea to use filter is good too but slightly slower, at (a fairly insignificant) 79 milliseconds: >> >> put the milliseconds into tStart >> filter the mainstacks with "test*" into tStacks >> repeat for each line l in tStacks >> delete stack l >> end repeat >> answer the milliseconds - tStart >> >> On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >>> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >>> Bob S >>> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode wrote: >>> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >>> 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 >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Jimmieson (He/Him) University of Liverpool, Computer Science Department Ashton Bldg, Ashton Street, Liverpool. L69 3BX 0151 795 4236 From jacque at hyperactivesw.com Thu Apr 6 13:13:11 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 12:13:11 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <5dd3f9b2-d20d-2851-3227-5cc51d6daf83@tweedly.net> References: <1874fb9a438.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <610EE940-3D14-4BEA-8F8F-7E9B1B399972@iotecdigital.com> <13F55837-1D5D-4044-BF8A-6E5104F6BD9E@iotecdigital.com> <86b0b578-f4ef-b1b4-c92c-12220e89f2fb@hyperactivesw.com> <5dd3f9b2-d20d-2851-3227-5cc51d6daf83@tweedly.net> Message-ID: <187578ed458.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You're right, though I assumed the stack names would be sufficiently unique. But your way is safer. Regardless of the method, I have no idea why it isn't working for Hkan. It should. Hkan, did you check your LC preferences in Files and Memory? Try the various options. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 7:00:29 AM Alex Tweedly via use-livecode wrote: > Jacque, > > those two code snippets do slightly different things - and I don't think > either of them is doing exactly what's intended; I think the intent is > to delete stack(s) called (exactly) "test". > > The first one will (wrongly) catch a stack called "testabc" or "abctest" > - and then will fail on deleting 'test'. > > The second one also catches "testabc" - but in this case deletes it > unintentionally. > > Alternatively, we could go straight to the point >> >> put the milliseconds into tStart >> repeat forever >> try >> delete stack "test" >> catch tmp >> exit repeat >> end >> end repeat >> answer the milliseconds - tStart > again, the timings are overlapping - the variation between different > runs far outweighs the difference between the methods. I think that > could be different if there many other mainstacks in play, but I don't > see that it would be significant in any realistic case. > > So pick the one that seems most easily read and understood :-) > > Alex. > > On 05/04/2023 20:27, J. Landman Gay via use-livecode wrote: >> I just created four same-named stacks and ran my suggested handler >> wrapped with timer commands. All four were deleted in 67 milliseconds. >> LC 10.0.0 DP 4. >> >> put the milliseconds into tStart >> repeat while "test" is in the mainstacks >> delete stack "test" >> end repeat >> answer the milliseconds - tStart >> >> Ralph's idea to use filter is good too but slightly slower, at (a >> fairly insignificant) 79 milliseconds: >> >> put the milliseconds into tStart >> filter the mainstacks with "test*" into tStacks >> repeat for each line l in tStacks >> delete stack l >> end repeat >> answer the milliseconds - tStart >> >> On 4/5/23 10:15 AM, Bob Sneidar via use-livecode wrote: >>> Whoa! No I'm not! There's over 300 mainstacks just from Livecode! >>> >>> Bob S >>> >>> >>> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode >>> wrote: >>> >>> Oooh Pro Tip #276 from Jacque. I'm gonna use that one. >>> >>> 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 roland.huettmann at gmail.com Thu Apr 6 14:15:37 2023 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 6 Apr 2023 20:15:37 +0200 Subject: How to loop through stacks with same name? Message-ID: I had all the same problems running through hundreds of stacks with the aim to take snapshots of each to easily identify a stack visually. The dialog for stacks with name conflicts always popped up. None of the methods worked for me. But I will try again. I have a lot of stacks with different versions, same name, and I do not want to change the stack name since a stack is mostly not isolated and needs a fixed name to communicate with other stacks. My changes of version numbers are visible in the label name only. One solution would be if it were possible to address a stack by id. But that does not work even though a stack has an id. And if it were possible, how to ensure that each id is unique? The name conflict could probably only be solved by the Livecode team? It is annoying frequently. But there a side effects to any solution to think about first. But I will try whatever may work. Roland From bobsneidar at iotecdigital.com Thu Apr 6 14:55:29 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Apr 2023 18:55:29 +0000 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> I just tried to close a stack using it's full path and it did sort of, BUT... it only closes the window. The Window menu in LC still shows the stack! The destroyStack and destroyWindow properties are both true. Is that the expected behavior??? There are of course other stacks in use, library stacks and behaviors. That may be the issue. Still, closing a stack should CLOSE the stack! In response to someone else's post, the ID of a stack is not really it's ID, it's the ID that gets assigned to the next object created in that stack, and then it gets incremented. There was talk some while back about assigning a REAL ID to a stack so we could deal with just this very issue. Bob S > On Apr 6, 2023, at 11:15, R.H. via use-livecode wrote: > > I had all the same problems running through hundreds of stacks with the aim > to take snapshots of each to easily identify a stack visually. The dialog > for stacks with name conflicts always popped up. None of the methods worked > for me. But I will try again. > > I have a lot of stacks with different versions, same name, and I do not > want to change the stack name since a stack is mostly not isolated and > needs a fixed name to communicate with other stacks. My changes of version > numbers are visible in the label name only. > > One solution would be if it were possible to address a stack by id. But > that does not work even though a stack has an id. And if it were possible, > how to ensure that each id is unique? > > The name conflict could probably only be solved by the Livecode team? It is > annoying frequently. But there a side effects to any solution to think > about first. > > But I will try whatever may work. > > Roland From bobsneidar at iotecdigital.com Thu Apr 6 14:59:48 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Apr 2023 18:59:48 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> References: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> Message-ID: <1F64F12E-4A32-4BD2-84C9-06D9B0671741@iotecdigital.com> This begs another question, how high can the id of a stack go? Presently mine is over 33 million! (I use a lot of datagrids). Bob S > On Apr 6, 2023, at 11:55, Bob Sneidar via use-livecode wrote: > > I just tried to close a stack using it's full path and it did sort of, BUT... it only closes the window. The Window menu in LC still shows the stack! The destroyStack and destroyWindow properties are both true. Is that the expected behavior??? > > There are of course other stacks in use, library stacks and behaviors. That may be the issue. Still, closing a stack should CLOSE the stack! > > In response to someone else's post, the ID of a stack is not really it's ID, it's the ID that gets assigned to the next object created in that stack, and then it gets incremented. There was talk some while back about assigning a REAL ID to a stack so we could deal with just this very issue. > > Bob S > >> On Apr 6, 2023, at 11:15, R.H. via use-livecode wrote: >> >> I had all the same problems running through hundreds of stacks with the aim >> to take snapshots of each to easily identify a stack visually. The dialog >> for stacks with name conflicts always popped up. None of the methods worked >> for me. But I will try again. >> >> I have a lot of stacks with different versions, same name, and I do not >> want to change the stack name since a stack is mostly not isolated and >> needs a fixed name to communicate with other stacks. My changes of version >> numbers are visible in the label name only. >> >> One solution would be if it were possible to address a stack by id. But >> that does not work even though a stack has an id. And if it were possible, >> how to ensure that each id is unique? >> >> The name conflict could probably only be solved by the Livecode team? It is >> annoying frequently. But there a side effects to any solution to think >> about first. >> >> But I will try whatever may work. >> >> Roland > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 6 15:28:01 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 14:28:01 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> References: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> Message-ID: <187580a45e8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Closing a stack is different from deleting a stack. Deleting gets rid of it completely as you'd expect. Closing a stack removes it from view, removes it from the message path, and does everything a deleted stack does *except* it is kept in memory. The window structure and stack content are retained, the stacks are listed in the mainstacks (but not the openStacks) and appear in the IDE Window menu. Back in the day, this was to allow stacks to re-open quickly. With today's computers that's not really necessary any more, though it is useful if you have scripts that refer to other stacks often but you don't want them visible or in the message path. I have a multi-stack project that jumps from one stack to another. Their destroyStack property is false so when I close the stacks they are not deleted, which keeps them available and avoids excessive disk access. To completely remove a stack, use "delete" (note that the File menu offers "close and remove from memory -- two different actions.) At least, theoretically. I've never had trouble with deletion but apparently there's a bug in there somewhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 1:57:40 PM Bob Sneidar via use-livecode wrote: > Still, closing a stack should CLOSE the stack! From jacque at hyperactivesw.com Thu Apr 6 15:31:12 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 14:31:12 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> References: <6EA3C56E-A705-48D4-BE4B-07AAB0D33938@iotecdigital.com> Message-ID: <187580d3000.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Sorry, I missed the first part of your post. If destroyStack/Window is true then yes, I'd expect it to be completely removed when closed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 1:57:40 PM Bob Sneidar via use-livecode wrote: > I just tried to close a stack using it's full path and it did sort of, > BUT... it only closes the window. The Window menu in LC still shows the > stack! The destroyStack and destroyWindow properties are both true. Is that > the expected behavior??? From jacque at hyperactivesw.com Thu Apr 6 15:35:21 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Apr 2023 14:35:21 -0500 Subject: How to loop through stacks with same name? In-Reply-To: References: Message-ID: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The best solution would be for LC to use file paths instead of stack names to identify stacks. But the current implementation is so embedded in the IDE that changing it would probably break everything. This has been discussed quite a bit in the past but there's no easy solution. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2023 1:17:59 PM "R.H. via use-livecode" wrote: > > The name conflict could probably only be solved by the Livecode team? It is > annoying frequently. But there a side effects to any solution to think > about first. From bobsneidar at iotecdigital.com Thu Apr 6 16:06:23 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Apr 2023 20:06:23 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> You can supply the full path of a stack to the close stack command, but not to the delete stack command. That may be worth a look by the devs. Bob S > On Apr 6, 2023, at 12:35, J. Landman Gay via use-livecode wrote: > > The best solution would be for LC to use file paths instead of stack names to identify stacks. But the current implementation is so embedded in the IDE that changing it would probably break everything. This has been discussed quite a bit in the past but there's no easy solution. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 6, 2023 1:17:59 PM "R.H. via use-livecode" wrote: >> >> The name conflict could probably only be solved by the Livecode team? It is >> annoying frequently. But there a side effects to any solution to think >> about first. From hechris at ziggo.nl Thu Apr 6 19:53:59 2023 From: hechris at ziggo.nl (Chris Heidecker) Date: Fri, 7 Apr 2023 01:53:59 +0200 Subject: Ventura 1.3 - revcopyfile In-Reply-To: References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> Message-ID: <38858DE0-432D-407D-8926-8A53BB35EAD5@ziggo.nl> Hi, I had some trouble using revCopyFolder, maybe it is related. Looking for a method to move/duplicate folders on MacOS I tried using revCopyFolder. The internal LC appleScript seems to use 'copy folder' in LC9.6.8 On MacOS 12.6.3 that does not work for me. 'duplicate folder' does. Not sure since when or what version this changed. Maybe it's the same for revCopyFile Applescript from LiveCode works pretty well for me, most of the time. Moving and duplicating folders in the Finder by applescript from LC is slow. Adding 'ignoring application responses' get's the beachball away, but also all the results and errors. Maybe somebody has a different workaround? My script for 'do ... as applescript' looks something like this: set sourcePath to "/Users/.../...." set destinationPath to "/Users/.../...." tell application "Finder" ignoring application responses set theSource to sourcePath as POSIX file set theDestination to destinationPath as POSIX file duplicate folder theSource to folder theDestination end ignoring end tell The script works like expected, but getting the results and errors would be helpfull. regards, Chris Hiedecker > Op 6 apr. 2023, om 13:28 heeft Paul Dupuis via use-livecode het volgende geschreven: > > You may also be able to address this by giving any Standalone if this app is it's own Standalone) or the Livecode version you are using the "Full Disk Access" permission, from System Settings > > > > On 4/6/2023 1:03 AM, Jean-Jacques Wagner via use-livecode wrote: >> Hi, >> Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. >> I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable >> using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. >> >> Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. >> >> I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, >> so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one >> old stack, which I don not use for year is copied. >> >> So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my >> documents which I will have to deliver within the next 5 days. But at first I couldn’t at a time open document, then I was able to >> pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with >> AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. >> >> This is an alert, I will be able to go deeper finding the trouble by end of next week. >> >> Have a nice Easter ! >> >> Jean-Jacques Wagner >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 6 20:11:29 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Apr 2023 00:11:29 +0000 Subject: Ventura 1.3 - revcopyfile In-Reply-To: <38858DE0-432D-407D-8926-8A53BB35EAD5@ziggo.nl> References: <1DBC306C-1421-4D0B-AA4C-6AE01DBF0232@dicod.com> <38858DE0-432D-407D-8926-8A53BB35EAD5@ziggo.nl> Message-ID: <69BEF281-7769-433A-838B-C5C1BFD9B21C@iotecdigital.com> I just use createFolder. I discovered however that the folder you are creating the new folder in has to exist already. In other words, if the root folder is hdd/users/bob/documents I cannot simply create a folder hdd/users/bob/documents/filetransfer/data/forms. I have to create file transfer, then create data, then create forms. I typically do this by setting the itemDelimiter to "/" then looping through the items and checking to see if the folder exists next repeating if it does, appending the current item to the path, creating the folder, then rinse and repeat. Bob S > On Apr 6, 2023, at 16:53, Chris Heidecker via use-livecode wrote: > > Hi, > > I had some trouble using revCopyFolder, maybe it is related. > > Looking for a method to move/duplicate folders on MacOS I tried using revCopyFolder. > > The internal LC appleScript seems to use 'copy folder' in LC9.6.8 > On MacOS 12.6.3 that does not work for me. > 'duplicate folder' does. > Not sure since when or what version this changed. > Maybe it's the same for revCopyFile > > Applescript from LiveCode works pretty well for me, most of the time. > Moving and duplicating folders in the Finder by applescript from LC is slow. > > Adding 'ignoring application responses' get's the beachball away, but also all the results and errors. > Maybe somebody has a different workaround? > > My script for 'do ... as applescript' looks something like this: > > set sourcePath to "/Users/.../...." > set destinationPath to "/Users/.../...." > tell application "Finder" > ignoring application responses > set theSource to sourcePath as POSIX file > set theDestination to destinationPath as POSIX file > duplicate folder theSource to folder theDestination > end ignoring > end tell > > The script works like expected, but getting the results and errors would be helpfull. > > regards, > Chris Hiedecker > >> Op 6 apr. 2023, om 13:28 heeft Paul Dupuis via use-livecode het volgende geschreven: >> >> You may also be able to address this by giving any Standalone if this app is it's own Standalone) or the Livecode version you are using the "Full Disk Access" permission, from System Settings >> >> >> >> On 4/6/2023 1:03 AM, Jean-Jacques Wagner via use-livecode wrote: >>> Hi, >>> Last Sunday I upgrade to ventura 1.3 and since then I am in big troubles. The function revcopyfile does not work anymore. >>> I have stack to manage files (over 8000 pdf files), which with revcopyfile are getting corrupt. There are not anymore openable >>> using preview, but also pages dokument are getting lost or corrupt, because not anymore reopenable. >>> >>> Some time a file placed in a folder is not anymore openable, moving it on the desktop, there is sometime against openable. >>> >>> I pin down the problems on a script, where I do makes on regular basis a backup of about 10 textfiles (Wrangler) and 20 stacks, >>> so using revcopyfile and rename file to do it. The backup is not longer functioning, make no copies of the files anymore. Just one >>> old stack, which I don not use for year is copied. >>> >>> So I can spend just now the time to go more deeper and investigate on the problem, since I have to be careful not to loose my >>> documents which I will have to deliver within the next 5 days. But at first I couldn’t at a time open document, then I was able to >>> pin down thats was not the system but the function revcopyfile should be at the center of the problems. Possibly it has to do with >>> AppleScript (I hate this app, which was and is almost a copy of hypercard in a very bad manner) on which revcopyfile should work. >>> >>> This is an alert, I will be able to go deeper finding the trouble by end of next week. >>> >>> Have a nice Easter ! >>> >>> Jean-Jacques Wagner >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Apr 7 08:04:19 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 7 Apr 2023 14:04:19 +0200 Subject: Android native scroller Message-ID: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Hi friends, I have a working scroller for a long field on Android. The user can "jump" to a certain position in the text with: ---------------------------- on mouseup set the vScroll of group "scrollgroup" to 1670 end mouseup ---------------------------- So far, so good. But when the user starts scrolling from there, the scoller (vScroll) jumps back to 0 and the scrolling start from there again. What do I need to add to prevent this? Know what I mean? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Apr 7 08:19:10 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 7 Apr 2023 15:19:10 +0300 Subject: Android native scroller In-Reply-To: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Message-ID: Hello Klaus, I _think_ you also have to do: mobileControlSet "myScroller", "vScroll", 1670 Kind regards, Panos -- On Fri, 7 Apr 2023 at 15:05, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi friends, > > I have a working scroller for a long field on Android. > The user can "jump" to a certain position in the text with: > ---------------------------- > on mouseup > set the vScroll of group "scrollgroup" to 1670 > end mouseup > ---------------------------- > So far, so good. > > But when the user starts scrolling from there, the scoller (vScroll) > jumps back to 0 and the scrolling start from there again. > > What do I need to add to prevent this? > Know what I mean? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brian at milby7.com Fri Apr 7 08:22:02 2023 From: brian at milby7.com (Brian Milby) Date: Fri, 7 Apr 2023 08:22:02 -0400 Subject: Android native scroller In-Reply-To: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Message-ID: <24858AC3-A770-4A99-9EE0-C165B45216FA@milby7.com> I can’t look at code right now but essentially you need to match the native scroller with the field scroll position as a separate step. Brian Milby brian at milby7.com > On Apr 7, 2023, at 8:05 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > I have a working scroller for a long field on Android. > The user can "jump" to a certain position in the text with: > ---------------------------- > on mouseup > set the vScroll of group "scrollgroup" to 1670 > end mouseup > ---------------------------- > So far, so good. > > But when the user starts scrolling from there, the scoller (vScroll) > jumps back to 0 and the scrolling start from there again. > > What do I need to add to prevent this? > Know what I mean? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Apr 7 08:24:19 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 7 Apr 2023 14:24:19 +0200 Subject: Android native scroller In-Reply-To: References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> Message-ID: <118EF8FE-9661-4A42-B978-8F71EE955E7D@major-k.de> Hi Panos, > Am 07.04.2023 um 14:19 schrieb panagiotis m via use-livecode : > > Hello Klaus, > > I _think_ you also have to do: > mobileControlSet "myScroller", "vScroll", 1670 YES, you thought right, that was it. :-) Thanks a BUNCH! > Kind regards, > Panos Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Fri Apr 7 08:25:17 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 7 Apr 2023 14:25:17 +0200 Subject: Android native scroller In-Reply-To: <24858AC3-A770-4A99-9EE0-C165B45216FA@milby7.com> References: <1533C4E2-5995-4D11-8F2C-5441419C3A17@major-k.de> <24858AC3-A770-4A99-9EE0-C165B45216FA@milby7.com> Message-ID: Hi Brian, > Am 07.04.2023 um 14:22 schrieb Brian Milby via use-livecode : > > I can’t look at code right now but essentially you need to match the native scroller with the field scroll position as a separate step. yep, that's it, but Panos was a tad faster! ;-) Thank you! > Brian Milby > brian at milby7.com > >> On Apr 7, 2023, at 8:05 AM, Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> I have a working scroller for a long field on Android. >> The user can "jump" to a certain position in the text with: >> ---------------------------- >> on mouseup >> set the vScroll of group "scrollgroup" to 1670 >> end mouseup >> ---------------------------- >> So far, so good. >> >> But when the user starts scrolling from there, the scoller (vScroll) >> jumps back to 0 and the scrolling start from there again. >> >> What do I need to add to prevent this? >> Know what I mean? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Fri Apr 7 15:46:35 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 7 Apr 2023 14:46:35 -0500 Subject: How to loop through stacks with same name? In-Reply-To: <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> References: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> Message-ID: <54e18644-c235-361a-bd1c-9300a9ee56c2@hyperactivesw.com> On 4/6/23 3:06 PM, Bob Sneidar via use-livecode wrote: > You can supply the full path of a stack to the close stack command, but not to the delete stack command. That may be worth a look by the devs. I was able to delete a stack using the full filepath: delete stack "/Users//Desktop/deleteTest.livecode" It no longer appeared in the mainstacks. LC 10.0 DP 4 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Apr 7 16:34:19 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Apr 2023 20:34:19 +0000 Subject: How to loop through stacks with same name? In-Reply-To: <54e18644-c235-361a-bd1c-9300a9ee56c2@hyperactivesw.com> References: <1875810fca8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4BD4DEA3-303B-4DB0-9B63-972D2F19E850@iotecdigital.com> <54e18644-c235-361a-bd1c-9300a9ee56c2@hyperactivesw.com> Message-ID: Whaa? I’m on 9.6.9 I’ll have another peek. Probably typed something wrong in the message box. Sent from my iPhone > On Apr 7, 2023, at 12:47, J. Landman Gay via use-livecode wrote: > > On 4/6/23 3:06 PM, Bob Sneidar via use-livecode wrote: >> You can supply the full path of a stack to the close stack command, but not to the delete stack command. That may be worth a look by the devs. > > I was able to delete a stack using the full filepath: > delete stack "/Users//Desktop/deleteTest.livecode" > > It no longer appeared in the mainstacks. > > LC 10.0 DP 4 > -- > 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 bob at bobhall.net Sat Apr 8 09:58:55 2023 From: bob at bobhall.net (bob at bobhall.net) Date: Sat, 8 Apr 2023 09:58:55 -0400 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 Message-ID: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> I'm wondering if anyone might be able to help me out. I’m trying to use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am able to open the app in the IDE with no issue. When I try to open the app with LC 9.6.9rc3 I get “An error occurred while initializing the application [unable to load external Preferences]”. I’m tracing through the Levure script now and can see in fact the Preference stack is not being loaded. I’ve confirmed Preferences.bundle is at the location referenced in the script. Can anyone steer me in a direction for a fix to this? Thanks in advance, Bob From martyknappster at gmail.com Sat Apr 8 11:50:27 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Sat, 8 Apr 2023 08:50:27 -0700 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> Message-ID: <06B9C118-575A-4C56-9CC4-886B7E2CADE0@gmail.com> I use Levure to build apps too and discovered this issue when my standalones try to run natively on the Apple “M” chips. I’m guessing that LC 9.6.9rc3 (haven’t tried it yet) defaults to running natively rather than under Rosetta. For some reason when running natively it apparently thinks that something in the “Preferences.bundle" is a (not native) external so won’t/can’t load it. So I am also needing a solution to this but no luck so far. --- Marty Knapp > On Apr 8, 2023, at 6:58 AM, bob--- via use-livecode wrote: > > I'm wondering if anyone might be able to help me out. I’m trying to use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am able to open the app in the IDE with no issue. > > When I try to open the app with LC 9.6.9rc3 I get “An error occurred while initializing the application [unable to load external Preferences]”. I’m tracing through the Levure script now and can see in fact the Preference stack is not being loaded. I’ve confirmed Preferences.bundle is at the location referenced in the script. > > Can anyone steer me in a direction for a fix to this? > > Thanks in advance, > Bob From MikeKerner at roadrunner.com Sun Apr 9 08:54:54 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 9 Apr 2023 08:54:54 -0400 Subject: test In-Reply-To: References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: poor joke. it's like when you're gaming, and someone gets on their headset and asks if anyone can hear them, and everyone replies "No." On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike. > > Why a failure? i see you. > > Craig > > > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > and it's a great, big, gigantic failburger > > end of line. > > > > On Tue, Apr 4, 2023 at 11:33 AM Bob Sneidar via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> This is a test of the use list. > >> > >> 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 > >> > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tom at makeshyft.com Sun Apr 9 20:40:32 2023 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Apr 2023 20:40:32 -0400 Subject: Sockets (again) In-Reply-To: <8a74522f-2963-9d41-e53d-dd37971fe570@sonic.net> References: <8906646D-8E5C-4856-9E96-2B808B8536EA@iotecdigital.com> <50d36943-3f9f-1895-10d7-6b25584dccc9@pdslabs.net> <82D8CB45-6203-4F78-9263-8C9A4CBD5978@iotecdigital.com> <8a74522f-2963-9d41-e53d-dd37971fe570@sonic.net> Message-ID: Thanks guys, this was a very insightful thread. On Wed, Apr 5, 2023 at 1:31 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/5/23 08:13, Bob Sneidar via use-livecode wrote: > > Thanks Phil. Yes I learned the hard way with my SQL Agent to > base64encode anything over sockets. And yes I do append a numtochar(13) > coming and going and strip it off before decoding and read until > numToChar(13). I don't use cr because I am uncertain how each OS platform > treats it. The Server Agent could be running on anything in the future. > > If you're already base64encoding the text you might consider a different > end character than numtochar(13). For instance, numtochar(3) is already > defined as "End of Text". That should eliminate or at least reduce any > cross-platform issues you might run into. > > https://www.ascii-code.com/ > > -- > 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 jbv at souslelogo.com Mon Apr 10 04:07:57 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 10 Apr 2023 04:07:57 -0400 Subject: revXML and UTF8 Message-ID: Hi list, I have an xml file with lots of non-western characters (greek, arabic, japanese...). I need to convert these data into sql requests to insert into a DB. For each node, I need to pick only some attributes, so I wrote a script that : - opens the file as utf8 - processes each node - writes a file as utf8 with the processed data. My problem is that all non-western characters appear as ???? in the final file. Should I use unidecode for each revXMLNodeContents ? What am I missing ? Thank you in advance. jbv From mark at livecode.com Mon Apr 10 06:23:31 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 10 Apr 2023 11:23:31 +0100 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> Message-ID: On 2023-04-08 14:58, bob--- via use-livecode wrote: > I'm wondering if anyone might be able to help me out. Im trying to > use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am > able to open the app in the IDE with no issue. > > When I try to open the app with LC 9.6.9rc3 I get An error occurred > while initializing the application [unable to load external > Preferences]. Im tracing through the Levure script now and can see > in fact the Preference stack is not being loaded. Ive confirmed > Preferences.bundle is at the location referenced in the script. > > Can anyone steer me in a direction for a fix to this? So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. The preferences external will need to be rebuilt with an arm64 slice and included in Levure. (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From paul at researchware.com Mon Apr 10 07:28:39 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Apr 2023 07:28:39 -0400 Subject: revXML and UTF8 In-Reply-To: References: Message-ID: Look up textEncode and textDecode in the dictionary. Text from or to a file needs to be decoded or encoded since LC 7. On 4/10/2023 4:07 AM, jbv via use-livecode wrote: > Hi list, > > I have an xml file with lots of non-western characters > (greek, arabic, japanese...). I need to convert these > data into sql requests to insert into a DB. > For each node, I need to pick only some attributes, so > I wrote a script that : > - opens the file as utf8 > - processes each node > - writes a file as utf8 with the processed data. > > My problem is that all non-western characters appear as > ???? in the final file. > Should I use unidecode for each revXMLNodeContents ? > What am I missing ? > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Apr 10 10:09:18 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 10 Apr 2023 17:09:18 +0300 Subject: [[ ANN ]] Release 9.6.9 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.9 STABLE. LiveCode 9.6.9 STABLE comes with more than 75 bugfixes and improvements, compared to the previous stable (9.6.8) release, including: - Support for Android API 31, which is now a requirement for submitting new apps to the Google Play Store. - Update to the version of OpenSSL used by the engine to 1.1.1q, allowing LiveCode built apps including "SSL & Encryption" to be submitted successfully to the Google Play Store. - Support for building with Xcode 14.2 and the iOS 16.2 SDK to meet the new (as of April 2023) requirements of the Apple AppStore. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-9-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From bobsneidar at iotecdigital.com Mon Apr 10 11:41:14 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Apr 2023 15:41:14 +0000 Subject: test In-Reply-To: References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> Message-ID: <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> You must be in my guild! Bob S On Apr 9, 2023, at 05:54, Mike Kerner via use-livecode wrote: poor joke. it's like when you're gaming, and someone gets on their headset and asks if anyone can hear them, and everyone replies "No." On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < use-livecode at lists.runrev.com> wrote: Mike. Why a failure? i see you. Craig On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: and it's a great, big, gigantic failburger end of line. From mkoob at rogers.com Mon Apr 10 12:24:24 2023 From: mkoob at rogers.com (Martin Koob) Date: Mon, 10 Apr 2023 12:24:24 -0400 Subject: test In-Reply-To: <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> Message-ID: <4B7D445A-536E-4A6A-9EDC-12E6B8CDB2AF@rogers.com> A better joke would be for everyone to say nothing. … and let the fun ensue... Martin > On Apr 10, 2023, at 11:41 AM, Bob Sneidar via use-livecode wrote: > > You must be in my guild! > > Bob S > > > On Apr 9, 2023, at 05:54, Mike Kerner via use-livecode wrote: > > poor joke. it's like when you're gaming, and someone gets on their headset > and asks if anyone can hear them, and everyone replies "No." > > On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Mike. > > Why a failure? i see you. > > Craig > > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > and it's a great, big, gigantic failburger > end of line. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Mon Apr 10 13:06:44 2023 From: jiml at netrin.com (Jim Lambert) Date: Mon, 10 Apr 2023 10:06:44 -0700 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: Panos et al., Thanks for the 9.6.9 release. The team's great work is appreciated. Jim Lambert From MikeKerner at roadrunner.com Mon Apr 10 13:45:32 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Apr 2023 13:45:32 -0400 Subject: test In-Reply-To: <4B7D445A-536E-4A6A-9EDC-12E6B8CDB2AF@rogers.com> References: <9CDFE41C-D03A-4C22-B814-36565EBA00A3@iotecdigital.com> <7EF74F73-5EAC-4501-92C8-2B4B85CEC9B2@iotecdigital.com> <4B7D445A-536E-4A6A-9EDC-12E6B8CDB2AF@rogers.com> Message-ID: it was two days. i couldn't just let it go, any longer. On Mon, Apr 10, 2023 at 12:25 PM Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > A better joke would be for everyone to say nothing. > > … and let the fun ensue... > > Martin > > > > On Apr 10, 2023, at 11:41 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > You must be in my guild! > > > > Bob S > > > > > > On Apr 9, 2023, at 05:54, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > poor joke. it's like when you're gaming, and someone gets on their > headset > > and asks if anyone can hear them, and everyone replies "No." > > > > On Thu, Apr 6, 2023 at 9:07 AM Craig Newman via use-livecode < > > use-livecode at lists.runrev.com> > wrote: > > > > Mike. > > > > Why a failure? i see you. > > > > Craig > > > > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> > wrote: > > > > and it's a great, big, gigantic failburger > > end of line. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Apr 10 13:45:59 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Apr 2023 13:45:59 -0400 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: so does that mean i can upgrade macos to 13? On Mon, Apr 10, 2023 at 1:08 PM Jim Lambert via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos et al., > > Thanks for the 9.6.9 release. The team's great work is appreciated. > > Jim Lambert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dan at clearvisiontech.com Mon Apr 10 13:46:48 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 17:46:48 +0000 Subject: Android SDK Tools Missing In-Reply-To: References: Message-ID: I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. Any ideas? -Dan From matthias_livecode_150811 at m-r-d.de Mon Apr 10 14:28:41 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 10 Apr 2023 20:28:41 +0200 Subject: Android SDK Tools Missing In-Reply-To: References: Message-ID: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Hello Dan, i am not sure what exactly your problem is. Do you just not see the any SDK Tools listed on the tab or do you just not see the version that you want to install? If the latter then "enable" the option "show package details". This will show all available SDK tools. Regards Matthias > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode : > > I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. > > Any ideas? > > -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 dan at clearvisiontech.com Mon Apr 10 14:37:35 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 18:37:35 +0000 Subject: Android SDK Tools Missing In-Reply-To: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Matthias, Thank you for the reply. The “SDK Tools” is just not listed. Everything else is. I see “Android Emulator” and “Android SDK Platform-Tools”, but not “Android SDK Tools”. “Show Package Details” is checked. -Dan From: use-livecode on behalf of matthias rebbe via use-livecode Date: Monday, April 10, 2023 at 11:30 AM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: Android SDK Tools Missing Hello Dan, i am not sure what exactly your problem is. Do you just not see the any SDK Tools listed on the tab or do you just not see the version that you want to install? If the latter then "enable" the option "show package details". This will show all available SDK tools. Regards Matthias > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode : > > I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. > > Any ideas? > > -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 jbv at souslelogo.com Mon Apr 10 14:46:44 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 10 Apr 2023 14:46:44 -0400 Subject: revXML and UTF8 In-Reply-To: References: Message-ID: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> Nope, when I process the data without using the xml library, all characters display fine. The problem is really with revXML. There must be a trick for using revXML with UTF8 file format. Le 2023-04-10 07:28, Paul Dupuis via use-livecode a crit : > Look up textEncode and textDecode in the dictionary. Text from or to a > file needs to be decoded or encoded since LC 7. > > > On 4/10/2023 4:07 AM, jbv via use-livecode wrote: >> Hi list, >> >> I have an xml file with lots of non-western characters >> (greek, arabic, japanese...). I need to convert these >> data into sql requests to insert into a DB. >> For each node, I need to pick only some attributes, so >> I wrote a script that : >> - opens the file as utf8 >> - processes each node >> - writes a file as utf8 with the processed data. >> >> My problem is that all non-western characters appear as >> ???? in the final file. >> Should I use unidecode for each revXMLNodeContents ? >> What am I missing ? >> >> Thank you in advance. >> jbv >> From dan at clearvisiontech.com Mon Apr 10 14:54:35 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 18:54:35 +0000 Subject: Android SDK Tools Missing In-Reply-To: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Interesting… When I uncheck “Hide Obsolete Packages”, the “Android SDK Tools” appears. Although, it says “Android SDK Tools (Obsolete)”. -Dan Hello Dan, i am not sure what exactly your problem is. Do you just not see the any SDK Tools listed on the tab or do you just not see the version that you want to install? If the latter then "enable" the option "show package details". This will show all available SDK tools. Regards Matthias > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode : > > I am following the directions (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to install Android Studio on my Apple M1 Max Mac. The instructions say to select the “Android SDK Tools”. However, this option is not listed in the “SDK Tools” tab of the Android Studio Preferences. Did I do something wrong, or do I have to download this manually? If so, where do I get this? > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the dreaded “The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 10.0.” message. > > Any ideas? > > -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 merakosp at gmail.com Mon Apr 10 14:55:25 2023 From: merakosp at gmail.com (panagiotis m) Date: Mon, 10 Apr 2023 21:55:25 +0300 Subject: Android SDK Tools Missing In-Reply-To: References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Hello Dan, If you uncheck the option "Hide Obsolete Packages" then you will see the "Android SDK Tools" package. It is now marked a s obsolete, so I am not entirely sure if it is still necessary. Kind regards, Panos -- On Mon, 10 Apr 2023 at 21:38, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Matthias, > > Thank you for the reply. The “SDK Tools” is just not listed. Everything > else is. I see “Android Emulator” and “Android SDK Platform-Tools”, but > not “Android SDK Tools”. “Show Package Details” is checked. > > -Dan > > > From: use-livecode on behalf of > matthias rebbe via use-livecode > Date: Monday, April 10, 2023 at 11:30 AM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: Android SDK Tools Missing > Hello Dan, > > i am not sure what exactly your problem is. > > Do you just not see the any SDK Tools listed on the tab or do you just > not see the version that you want to install? > If the latter then "enable" the option "show package details". This will > show all available SDK tools. > > Regards > Matthias > > > > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > I am following the directions ( > https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) > to install Android Studio on my Apple M1 Max Mac. The instructions say to > select the “Android SDK Tools”. However, this option is not listed in the > “SDK Tools” tab of the Android Studio Preferences. Did I do something > wrong, or do I have to download this manually? If so, where do I get this? > > > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the > dreaded “The chosen folder is not a valid Android SDK. Please ensure you > have installed it correctly, and enabled support for Android 10.0.” message. > > > > Any ideas? > > > > -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 dan at clearvisiontech.com Mon Apr 10 15:00:13 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 10 Apr 2023 19:00:13 +0000 Subject: Android SDK Tools Missing In-Reply-To: References: <33330248-EEF0-4BFC-8DC3-81DAF3C18C4E@m-r-d.de> Message-ID: Panos, Yes, thank you! I discovered that. I did install it and now LC accepted the SDK root. Woo Hoo! The JDK path didn’t fill in so I’ll have to investigate that next. Thank you! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Monday, April 10, 2023 at 11:56 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Android SDK Tools Missing Hello Dan, If you uncheck the option "Hide Obsolete Packages" then you will see the "Android SDK Tools" package. It is now marked a s obsolete, so I am not entirely sure if it is still necessary. Kind regards, Panos -- On Mon, 10 Apr 2023 at 21:38, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Matthias, > > Thank you for the reply. The “SDK Tools” is just not listed. Everything > else is. I see “Android Emulator” and “Android SDK Platform-Tools”, but > not “Android SDK Tools”. “Show Package Details” is checked. > > -Dan > > > From: use-livecode on behalf of > matthias rebbe via use-livecode > Date: Monday, April 10, 2023 at 11:30 AM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: Android SDK Tools Missing > Hello Dan, > > i am not sure what exactly your problem is. > > Do you just not see the any SDK Tools listed on the tab or do you just > not see the version that you want to install? > If the latter then "enable" the option "show package details". This will > show all available SDK tools. > > Regards > Matthias > > > > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > I am following the directions ( > https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) > to install Android Studio on my Apple M1 Max Mac. The instructions say to > select the “Android SDK Tools”. However, this option is not listed in the > “SDK Tools” tab of the Android Studio Preferences. Did I do something > wrong, or do I have to download this manually? If so, where do I get this? > > > > Currently, when I select the “sdk” folder in LC’s Preferences, I get the > dreaded “The chosen folder is not a valid Android SDK. Please ensure you > have installed it correctly, and enabled support for Android 10.0.” message. > > > > Any ideas? > > > > -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 > _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 10 15:24:22 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Apr 2023 15:24:22 -0400 Subject: revXML and UTF8 In-Reply-To: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> References: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> Message-ID: <7b259d9c-4fbb-d0da-9ed0-0ac72c4fb5b6@researchware.com> This known bug is reading a UTF8 XML file, and I gather you are writing (or trying to write) a UTF8 XML file, but it may be related: https://quality.livecode.com/show_bug.cgi?id=21320 On 4/10/2023 2:46 PM, jbv via use-livecode wrote: > Nope, when I process the data without using the xml library, all > characters display fine. The problem is really with revXML. > There must be a trick for using revXML with UTF8 file format. > > > Le 2023-04-10 07:28, Paul Dupuis via use-livecode a crit : >> Look up textEncode and textDecode in the dictionary. Text from or to a >> file needs to be decoded or encoded since LC 7. >> >> >> On 4/10/2023 4:07 AM, jbv via use-livecode wrote: >>> Hi list, >>> >>> I have an xml file with lots of non-western characters >>> (greek, arabic, japanese...). I need to convert these >>> data into sql requests to insert into a DB. >>> For each node, I need to pick only some attributes, so >>> I wrote a script that : >>> - opens the file as utf8 >>> - processes each node >>> - writes a file as utf8 with the processed data. >>> >>> My problem is that all non-western characters appear as >>> ???? in the final file. >>> Should I use unidecode for each revXMLNodeContents ? >>> What am I missing ? >>> >>> Thank you in advance. >>> jbv >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Apr 10 15:27:12 2023 From: merakosp at gmail.com (panagiotis m) Date: Mon, 10 Apr 2023 22:27:12 +0300 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: Hello Mike, MacOS 13.x was supported in previous LC versions too. If your goal is to build iOS apps, it is possible even with Xcode 13.2 on MacOS 13.x. Yes, Xcode 13.2 won't run on MacOS 13.x, but LC just needs Xcode 13.2 to "be there", since it does not run Xcode directly. it just uses some command line tools that are bundled within Xcode. Kind regards, Panos -- On Mon, 10 Apr 2023, 20:47 Mike Kerner via use-livecode, < use-livecode at lists.runrev.com> wrote: > so does that mean i can upgrade macos to 13? > > On Mon, Apr 10, 2023 at 1:08 PM Jim Lambert via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Panos et al., > > > > Thanks for the 9.6.9 release. The team's great work is appreciated. > > > > Jim Lambert > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Mon Apr 10 15:29:53 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Apr 2023 15:29:53 -0400 Subject: revXML and UTF8 In-Reply-To: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> References: <7562c06a8765b4513e095b450c3e3cc4@souslelogo.com> Message-ID: <18db09a9-89d7-c5b4-95d8-b54a38000d50@researchware.com> And, as of LC9, there was a generic issue with revXML and Unicode. See https://quality.livecode.com/show_bug.cgi?id=18942 I have no idea if this was ever resolved. The bug has been "Hibernated" On 4/10/2023 2:46 PM, jbv via use-livecode wrote: > Nope, when I process the data without using the xml library, all > characters display fine. The problem is really with revXML. > There must be a trick for using revXML with UTF8 file format. > > > Le 2023-04-10 07:28, Paul Dupuis via use-livecode a crit : >> Look up textEncode and textDecode in the dictionary. Text from or to a >> file needs to be decoded or encoded since LC 7. >> >> >> On 4/10/2023 4:07 AM, jbv via use-livecode wrote: >>> Hi list, >>> >>> I have an xml file with lots of non-western characters >>> (greek, arabic, japanese...). I need to convert these >>> data into sql requests to insert into a DB. >>> For each node, I need to pick only some attributes, so >>> I wrote a script that : >>> - opens the file as utf8 >>> - processes each node >>> - writes a file as utf8 with the processed data. >>> >>> My problem is that all non-western characters appear as >>> ???? in the final file. >>> Should I use unidecode for each revXMLNodeContents ? >>> What am I missing ? >>> >>> Thank you in advance. >>> jbv >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Mon Apr 10 16:27:48 2023 From: brian at milby7.com (Brian Milby) Date: Mon, 10 Apr 2023 16:27:48 -0400 Subject: revXML and UTF8 In-Reply-To: References: Message-ID: <53C89BDE-7E61-4D67-B142-94ED8D5283C5@milby7.com> Are you sending encoded data to libXML and then decoding the data you pull out? In the first bug report in the thread, if you textDecode the output from libXML then it renders with the smart quote. I recall this topic coming up before but I don’t mess with XML and can’t recall more details on it (could have been in the forum too). Brian Milby brian at milby7.com > On Apr 10, 2023, at 4:09 AM, jbv via use-livecode wrote: > > Hi list, > > I have an xml file with lots of non-western characters > (greek, arabic, japanese...). I need to convert these > data into sql requests to insert into a DB. > For each node, I need to pick only some attributes, so > I wrote a script that : > - opens the file as utf8 > - processes each node > - writes a file as utf8 with the processed data. > > My problem is that all non-western characters appear as > ???? in the final file. > Should I use unidecode for each revXMLNodeContents ? > What am I missing ? > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Apr 10 17:02:37 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Apr 2023 17:02:37 -0400 Subject: remote debugger won't start Message-ID: something new, today: ios, 968 or 969 mature app that has been in production for a year remote debugger included do a build install both ios and mac are on the same net lc has accept permission through the firewall run app remote debugger never connects, like executing the breakpoint command causes nothing to happen. so, how do we debug the debugger not connecting? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mark at canelasoftware.com Mon Apr 10 17:10:20 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 10 Apr 2023 14:10:20 -0700 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: <19A942A3-07F0-415F-B562-B9C2E96BA5D6@canelasoftware.com> Thank you very much for this release. Rc 3 has been a solid/stable release for us. I very much appreciate the hard work keeping LC compliant with the various app stores. Have a great week! Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Apr 10, 2023, at 7:09 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.9 STABLE. > > LiveCode 9.6.9 STABLE comes with more than 75 bugfixes and improvements, > compared to the previous stable (9.6.8) release, including: > > - Support for Android API 31, which is now a requirement for submitting new > apps to the Google Play Store. > - Update to the version of OpenSSL used by the engine to 1.1.1q, allowing > LiveCode built apps including "SSL & Encryption" to be submitted > successfully to the Google Play Store. > - Support for building with Xcode 14.2 and the iOS 16.2 SDK to meet the new > (as of April 2023) requirements of the Apple AppStore. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-9-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hlowe at me.com Tue Apr 11 20:24:16 2023 From: hlowe at me.com (HENRY LOWE) Date: Tue, 11 Apr 2023 17:24:16 -0700 Subject: iOS Device orientation confusion! Message-ID: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> Hi, I am trying fix a new (I think) issue in a Livecode iOS app that had previously successfully handled UI updates based on changes in device orientation. I am using LC 9.6.9, Mac OS Ventura 13.3.1, iOS 16.4.1 and Xcode Simulator 14.2. The problem is that when the iPhone is in Landscape Left mode (according to the simulator and to Apple’s definition of that mode - see below), Livecode is returning Landscape Right. When the device is in Landscape Right mode, Livecode returns Landscape Left - via the MobileDeviceOrientation function. Apple’s Definition (developer.apple.com ) of these two modes: • LandscapeLeft: The device is in landscape mode, with the device held upright and the front-facing camera on the left side. • LandscapeRight: The device is in landscape mode, with the device held upright and the front-facing camera on the right side. Livecode’s Definition (Dictionary): • landscape left: the device is being held upward with the home button on the left • landscape right: the device is being held upward with the home button on the right It would appear that these two definitions at odds with each other. Am I missing something? Henry From klaus at major-k.de Wed Apr 12 08:17:05 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 14:17:05 +0200 Subject: Problem signing Android app Message-ID: Hi all, I created a new app and cannot sign it!? I did this: -> Generate an upload key and keystore and generated a *.jks file. Then I selected this key file in LC, and at the end of the signing process LC told me that the keystore file had the wrong format!? Then I renamed the key to *.keystore And LC told me again that this was the wrong format of the key file? What am I missing? Thank you for any hint! P.S. I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further updates of the app. However that failed so far, see above... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Wed Apr 12 12:01:09 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 12 Apr 2023 19:01:09 +0300 Subject: Problem signing Android app In-Reply-To: References: Message-ID: Hello Klaus, When you tried to upload a new build using your original keystore, was it actually the original one? Usually this error (i.e. that you did not use the correct key for signing) is thrown when a different key is used to sign an app update compared to the key used to sign the previous build(s) you have submitted. Kind regards, Panos On Wed, 12 Apr 2023 at 15:18, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > I created a new app and cannot sign it!? > > I did this: > > -> Generate an upload key and keystore > and generated a *.jks file. > > Then I selected this key file in LC, and at the end of the signing process > LC told me that the keystore file had the wrong format!? > > Then I renamed the key to *.keystore > And LC told me again that this was the wrong format of the key file? > > What am I missing? > Thank you for any hint! > > P.S. > I had published my earlier app successfully to the Google Play Store with > a selfsigned key in "Android Studio" as shown in: > < > https://lessons.livecode.com/m/4069/l/32674-how-do-i-create-a-self-signed-certificate-for-an-android-app > > > > When I later wanted to upload an update, Google told me that I did not use > the correct key for signing??? > So I read up everthing about this and came to create an UPLOAD key, so I > could use this later for any further > updates of the app. > > However that failed so far, see above... > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Wed Apr 12 12:12:03 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 18:12:03 +0200 Subject: Problem signing Android app In-Reply-To: References: Message-ID: <1F329F6F-52D1-4B45-B401-99F6306C61E6@major-k.de> Hi Panos, > Am 12.04.2023 um 18:01 schrieb panagiotis m via use-livecode : > > Hello Klaus, > > When you tried to upload a new build using your original keystore, was it > actually the original one? yes, of course! I created a self-signing key, signed the app and uploaded it to Google It was accepted, but the update, SAME key, was not, which puzzled me very much. I did not see e.g. any checkbox to let Google NOT sign my app, but maybe that was the default and Google overwrote my original key with their own and that does not of course match my initial key. That is why I tried to create an key for UPLOADING my app and all future updates for that namely app as Google wrote in their docs, see below for the link. > Usually this error (i.e. that you did not use > the correct key for signing) is thrown when a different key is used to sign > an app update compared to the key used to sign the previous build(s) you > have submitted. Really? ;-) > Kind regards, > Panos > > > On Wed, 12 Apr 2023 at 15:18, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> I created a new app and cannot sign it!? >> >> I did this: >> >> -> Generate an upload key and keystore >> and generated a *.jks file. >> >> Then I selected this key file in LC, and at the end of the signing process >> LC told me that the keystore file had the wrong format!? >> >> Then I renamed the key to *.keystore >> And LC told me again that this was the wrong format of the key file? >> >> What am I missing? >> Thank you for any hint! >> >> P.S. >> I had published my earlier app successfully to the Google Play Store with >> a selfsigned key in "Android Studio" as shown in: >> < >> https://lessons.livecode.com/m/4069/l/32674-how-do-i-create-a-self-signed-certificate-for-an-android-app >>> >> >> When I later wanted to upload an update, Google told me that I did not use >> the correct key for signing??? >> So I read up everthing about this and came to create an UPLOAD key, so I >> could use this later for any further >> updates of the app. >> >> However that failed so far, see above... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 12:12:48 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 11:12:48 -0500 Subject: Problem signing Android app In-Reply-To: References: Message-ID: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Did you agree to let Google manage your keys? If so you need to create an upload key, which I think is different from the original signing key. LC may not recognize that format. I've never let Google manage my keys so I'm not sure how that works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: > Hi all, > > I created a new app and cannot sign it!? > > I did this: > > -> Generate an upload key and keystore > and generated a *.jks file. > > Then I selected this key file in LC, and at the end of the signing process > LC told me that the keystore file had the wrong format!? > > Then I renamed the key to *.keystore > And LC told me again that this was the wrong format of the key file? > > What am I missing? > Thank you for any hint! > > P.S. > I had published my earlier app successfully to the Google Play Store with a > selfsigned key in "Android Studio" as shown in: > > > When I later wanted to upload an update, Google told me that I did not use > the correct key for signing??? > So I read up everthing about this and came to create an UPLOAD key, so I > could use this later for any further > updates of the app. > > However that failed so far, see above... > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Apr 12 12:18:08 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 18:18:08 +0200 Subject: Problem signing Android app In-Reply-To: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> Hi Jacque, > Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode : > Did you agree to let Google manage your keys? to be honest, I did not find that one (yet) on the Google Dev pages!? Any hints much appreciated! > If so you need to create an upload key, which I think is different from the original signing key. > LC may not recognize that format. Yes, that's what I experienced. See below, LC told me about a wrong format of the key file. > I've never let Google manage my keys so I'm not sure how that works. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: > >> Hi all, >> >> I created a new app and cannot sign it!? >> >> I did this: >> >> -> Generate an upload key and keystore >> and generated a *.jks file. >> >> Then I selected this key file in LC, and at the end of the signing process >> LC told me that the keystore file had the wrong format!? >> >> Then I renamed the key to *.keystore >> And LC told me again that this was the wrong format of the key file? >> >> What am I missing? >> Thank you for any hint! >> >> P.S. >> I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: >> >> >> When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? >> So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further >> updates of the app. >> >> However that failed so far, see above.. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 12:58:10 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 11:58:10 -0500 Subject: Problem signing Android app In-Reply-To: <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> Message-ID: <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think the option to allow Google to manage the keys only appears the first time you upload a new app. Maybe there's a way to retake control of the keys? Is there any info in the app page that tells you who has control of the keys? If you can verify that Google is managing the keys, and you can't regain control, then I think the only fix is for LC to update the SB to recognize an upload key. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode wrote: > Hi Jacque, > >> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode >> : >> Did you agree to let Google manage your keys? > > to be honest, I did not find that one (yet) on the Google Dev pages!? > Any hints much appreciated! > >> If so you need to create an upload key, which I think is different from the >> original signing key. >> LC may not recognize that format. > > Yes, that's what I experienced. > See below, LC told me about a wrong format of the key file. > >> I've never let Google manage my keys so I'm not sure how that works. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode >> wrote: >> >>> Hi all, >>> >>> I created a new app and cannot sign it!? >>> >>> I did this: >>> >>> -> Generate an upload key and keystore >>> and generated a *.jks file. >>> >>> Then I selected this key file in LC, and at the end of the signing process >>> LC told me that the keystore file had the wrong format!? >>> >>> Then I renamed the key to *.keystore >>> And LC told me again that this was the wrong format of the key file? >>> >>> What am I missing? >>> Thank you for any hint! >>> >>> P.S. >>> I had published my earlier app successfully to the Google Play Store with a >>> selfsigned key in "Android Studio" as shown in: >>> >>> >>> When I later wanted to upload an update, Google told me that I did not use >>> the correct key for signing??? >>> So I read up everthing about this and came to create an UPLOAD key, so I >>> could use this later for any further >>> updates of the app. >>> >>> However that failed so far, see above.. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Apr 12 13:06:31 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 19:06:31 +0200 Subject: Problem signing Android app In-Reply-To: <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> Hi Jacque, > Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode : > > I think the option to allow Google to manage the keys only appears the first time you upload a new app. OK, will take a deeper look once I upload the new app. > Maybe there's a way to retake control of the keys? Nope! Google explicitely states that they will NOT share any of their keys. Will try and look better next time. > Is there any info in the app page that tells you who has control of the keys? > > If you can verify that Google is managing the keys, and you can't regain control, then I think the only fix is for LC to update the SB to recognize an upload key. Ouch, that may take a couple of versions of LC until that will happen and I'm already 66. 8-) Will create a new report/enhancement request tomorrow. I will have to dive deeper into the "Google Play Console"... > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode wrote: > >> Hi Jacque, >> >>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode : >>> Did you agree to let Google manage your keys? >> >> to be honest, I did not find that one (yet) on the Google Dev pages!? >> Any hints much appreciated! >> >>> If so you need to create an upload key, which I think is different from the original signing key. >>> LC may not recognize that format. >> >> Yes, that's what I experienced. >> See below, LC told me about a wrong format of the key file. >> >>> I've never let Google manage my keys so I'm not sure how that works. >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: >>> >>>> Hi all, >>>> >>>> I created a new app and cannot sign it!? >>>> >>>> I did this: >>>> >>>> -> Generate an upload key and keystore >>>> and generated a *.jks file. >>>> >>>> Then I selected this key file in LC, and at the end of the signing process >>>> LC told me that the keystore file had the wrong format!? >>>> >>>> Then I renamed the key to *.keystore >>>> And LC told me again that this was the wrong format of the key file? >>>> >>>> What am I missing? >>>> Thank you for any hint! >>>> >>>> P.S. >>>> I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: >>>> >>>> >>>> When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? >>>> So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further >>>> updates of the app. >>>> >>>> However that failed so far, see above.. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Apr 12 13:27:38 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 19:27:38 +0200 Subject: Problem signing Android app -> no LC support for *.jks keystore files for UPLOAD In-Reply-To: <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> Message-ID: Hi all, just created a report: Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 15:52:44 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 14:52:44 -0500 Subject: Problem signing Android app In-Reply-To: <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> Message-ID: <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You may be able to use your original signing key to upload an updated app. This page is complicated but explains how the system works: If I'm reading it right, you can still use your original signing key again for updates. There is also a way to opt out of Google Signing on that page. It says you should only do that if you plan to re-enroll in Google Signing later, but I suppose you can ignore that advice. It also says: "After you select a release track, the App integrity section displays the status of Play App Signing for your app." So I think if you prepare to upload an updated app, when you choose a release track it will tell you if you are using Google Signing. I think you probably are. It's far too complicated. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 12:07:52 PM Klaus major-k via use-livecode wrote: > Hi Jacque, > >> Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode >> : >> >> I think the option to allow Google to manage the keys only appears the >> first time you upload a new app. > > OK, will take a deeper look once I upload the new app. > >> Maybe there's a way to retake control of the keys? > > Nope! Google explicitely states that they will NOT share any of their keys. > Will try and look better next time. > >> Is there any info in the app page that tells you who has control of the keys? >> >> If you can verify that Google is managing the keys, and you can't regain >> control, then I think the only fix is for LC to update the SB to recognize >> an upload key. > > Ouch, that may take a couple of versions of LC until that will happen and > I'm already 66. 8-) > Will create a new report/enhancement request tomorrow. > > I will have to dive deeper into the "Google Play Console"... > >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode >> wrote: >> >>> Hi Jacque, >>> >>>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode >>>> : >>>> Did you agree to let Google manage your keys? >>> >>> to be honest, I did not find that one (yet) on the Google Dev pages!? >>> Any hints much appreciated! >>> >>>> If so you need to create an upload key, which I think is different from the >>>> original signing key. >>>> LC may not recognize that format. >>> >>> Yes, that's what I experienced. >>> See below, LC told me about a wrong format of the key file. >>> >>>> I've never let Google manage my keys so I'm not sure how that works. >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode >>>> wrote: >>>> >>>>> Hi all, >>>>> >>>>> I created a new app and cannot sign it!? >>>>> >>>>> I did this: >>>>> >>>>> -> Generate an upload key and keystore >>>>> and generated a *.jks file. >>>>> >>>>> Then I selected this key file in LC, and at the end of the signing process >>>>> LC told me that the keystore file had the wrong format!? >>>>> >>>>> Then I renamed the key to *.keystore >>>>> And LC told me again that this was the wrong format of the key file? >>>>> >>>>> What am I missing? >>>>> Thank you for any hint! >>>>> >>>>> P.S. >>>>> I had published my earlier app successfully to the Google Play Store with a >>>>> selfsigned key in "Android Studio" as shown in: >>>>> >>>>> >>>>> When I later wanted to upload an update, Google told me that I did not use >>>>> the correct key for signing??? >>>>> So I read up everthing about this and came to create an UPLOAD key, so I >>>>> could use this later for any further >>>>> updates of the app. >>>>> >>>>> However that failed so far, see above.. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Apr 12 16:07:43 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Apr 2023 22:07:43 +0200 Subject: Problem signing Android app In-Reply-To: <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque, > Am 12.04.2023 um 21:52 schrieb J. Landman Gay via use-livecode : > > You may be able to use your original signing key to upload an updated app. This page is complicated but explains how the system works: > > > If I'm reading it right, you can still use your original signing key again for updates. There is also a way to opt out of Google Signing on that page. It says you should only do that if you plan to re-enroll in Google Signing later, but I suppose you can ignore that advice. > > It also says: "After you select a release track, the “App integrity” section displays the status of Play App Signing for your app." So I think if you prepare to upload an updated app, when you choose a release track it will tell you if you are using Google Signing. I think you probably are. thank you very much, will study this in detail tomorrow! > It's far too complicated. You BET! :-/ > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 12:07:52 PM Klaus major-k via use-livecode wrote: > >> Hi Jacque, >> >>> Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode : >>> >>> I think the option to allow Google to manage the keys only appears the first time you upload a new app. >> >> OK, will take a deeper look once I upload the new app. >> >>> Maybe there's a way to retake control of the keys? >> >> Nope! Google explicitely states that they will NOT share any of their keys. >> Will try and look better next time. >> >>> Is there any info in the app page that tells you who has control of the keys? >>> >>> If you can verify that Google is managing the keys, and you can't regain control, then I think the only fix is for LC to update the SB to recognize an upload key. >> >> Ouch, that may take a couple of versions of LC until that will happen and I'm already 66. 8-) >> Will create a new report/enhancement request tomorrow. >> >> I will have to dive deeper into the "Google Play Console"... >> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode wrote: >>> >>>> Hi Jacque, >>>> >>>>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode : >>>>> Did you agree to let Google manage your keys? >>>> >>>> to be honest, I did not find that one (yet) on the Google Dev pages!? >>>> Any hints much appreciated! >>>> >>>>> If so you need to create an upload key, which I think is different from the original signing key. >>>>> LC may not recognize that format. >>>> >>>> Yes, that's what I experienced. >>>> See below, LC told me about a wrong format of the key file. >>>> >>>>> I've never let Google manage my keys so I'm not sure how that works. >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I created a new app and cannot sign it!? >>>>>> >>>>>> I did this: >>>>>> >>>>>> -> Generate an upload key and keystore >>>>>> and generated a *.jks file. >>>>>> >>>>>> Then I selected this key file in LC, and at the end of the signing process >>>>>> LC told me that the keystore file had the wrong format!? >>>>>> >>>>>> Then I renamed the key to *.keystore >>>>>> And LC told me again that this was the wrong format of the key file? >>>>>> >>>>>> What am I missing? >>>>>> Thank you for any hint! >>>>>> >>>>>> P.S. >>>>>> I had published my earlier app successfully to the Google Play Store with a selfsigned key in "Android Studio" as shown in: >>>>>> >>>>>> >>>>>> When I later wanted to upload an update, Google told me that I did not use the correct key for signing??? >>>>>> So I read up everthing about this and came to create an UPLOAD key, so I could use this later for any further >>>>>> updates of the app. >>>>>> >>>>>> However that failed so far, see above.. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Apr 12 16:48:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Apr 2023 15:48:17 -0500 Subject: Problem signing Android app In-Reply-To: <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1877739ea68.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On this page: it says: * If you choose for Google to generate the app signing key for you when you opt in, then the key you use to sign your app for release is designated as your upload key. * If you provide the app signing key to Google when opting in your new or existing app, then you have the option to generate a new upload key during or after opting in for increased security. * If you do not generate a new upload key, you continue to use your app signing key as your upload key to sign each release. So yeah, I think that means your original signing key is your upload key, which LC supports. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 12, 2023 2:52:44 PM "J. Landman Gay" wrote: > You may be able to use your original signing key to upload an updated app. > This page is complicated but explains how the system works: > > > If I'm reading it right, you can still use your original signing key again > for updates. There is also a way to opt out of Google Signing on that page. > It says you should only do that if you plan to re-enroll in Google Signing > later, but I suppose you can ignore that advice. > > It also says: "After you select a release track, the App integrity > section displays the status of Play App Signing for your app." So I think > if you prepare to upload an updated app, when you choose a release track it > will tell you if you are using Google Signing. I think you probably are. > > It's far too complicated. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 12:07:52 PM Klaus major-k via use-livecode > wrote: > >> Hi Jacque, >> >>> Am 12.04.2023 um 18:58 schrieb J. Landman Gay via use-livecode >>> : >>> >>> I think the option to allow Google to manage the keys only appears the >>> first time you upload a new app. >> >> OK, will take a deeper look once I upload the new app. >> >>> Maybe there's a way to retake control of the keys? >> >> Nope! Google explicitely states that they will NOT share any of their keys. >> Will try and look better next time. >> >>> Is there any info in the app page that tells you who has control of the keys? >>> >>> If you can verify that Google is managing the keys, and you can't regain >>> control, then I think the only fix is for LC to update the SB to recognize >>> an upload key. >> >> Ouch, that may take a couple of versions of LC until that will happen and >> I'm already 66. 8-) >> Will create a new report/enhancement request tomorrow. >> >> I will have to dive deeper into the "Google Play Console"... >> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On April 12, 2023 11:19:40 AM Klaus major-k via use-livecode >>> wrote: >>> >>>> Hi Jacque, >>>> >>>>> Am 12.04.2023 um 18:12 schrieb J. Landman Gay via use-livecode >>>>> : >>>>> Did you agree to let Google manage your keys? >>>> >>>> to be honest, I did not find that one (yet) on the Google Dev pages!? >>>> Any hints much appreciated! >>>> >>>>> If so you need to create an upload key, which I think is different from the >>>>> original signing key. >>>>> LC may not recognize that format. >>>> >>>> Yes, that's what I experienced. >>>> See below, LC told me about a wrong format of the key file. >>>> >>>>> I've never let Google manage my keys so I'm not sure how that works. >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On April 12, 2023 7:18:57 AM Klaus major-k via use-livecode >>>>> wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I created a new app and cannot sign it!? >>>>>> >>>>>> I did this: >>>>>> >>>>>> -> Generate an upload key and keystore >>>>>> and generated a *.jks file. >>>>>> >>>>>> Then I selected this key file in LC, and at the end of the signing process >>>>>> LC told me that the keystore file had the wrong format!? >>>>>> >>>>>> Then I renamed the key to *.keystore >>>>>> And LC told me again that this was the wrong format of the key file? >>>>>> >>>>>> What am I missing? >>>>>> Thank you for any hint! >>>>>> >>>>>> P.S. >>>>>> I had published my earlier app successfully to the Google Play Store with a >>>>>> selfsigned key in "Android Studio" as shown in: >>>>>> >>>>>> >>>>>> When I later wanted to upload an update, Google told me that I did not use >>>>>> the correct key for signing??? >>>>>> So I read up everthing about this and came to create an UPLOAD key, so I >>>>>> could use this later for any further >>>>>> updates of the app. >>>>>> >>>>>> However that failed so far, see above.. >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Apr 12 20:31:58 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Apr 2023 17:31:58 -0700 Subject: [[ ANN ]] Release 9.6.9 In-Reply-To: References: Message-ID: Quite a long list of enhancements - thank you, esp for the field alignment. -- 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 Apr 12 20:40:40 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Apr 2023 17:40:40 -0700 Subject: iOS Device orientation confusion! In-Reply-To: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> References: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> Message-ID: Henry Lowe wrote: > The problem is that when the iPhone is in Landscape Left mode > (according to the simulator and to Apples definition of that mode > - see below), Livecode is returning Landscape Right. When the > device is in Landscape Right mode, Livecode returns Landscape > Left - via the MobileDeviceOrientation function. > > Apples Definition (developer.apple.com ) > of these two modes: > > LandscapeLeft: > The device is in landscape mode, with the device held upright and > the front-facing camera on the left side. > > LandscapeRight: > The device is in landscape mode, with the device held upright and > the front-facing camera on the right side. > > > Livecodes Definition (Dictionary): > > landscape left: the device is being held upward with the home button > on the left > > landscape right: the device is being held upward with the home > button on the right > > It would appear that these two definitions at odds with each other. They are indeed at odds. Apple should update their description to match LC's. :) They seem consistent with one another, except that each uses a part of the hardware at opposite ends of the phone to define orientation. Apple's docs are referencing the camera as the point of reference for orientation, while LC uses the Home button as the point of reference. So while "left" and "right" are used differently, you should be able to get the result you need in LC. Use Apple's spec when coding in Apple tools and languages, and LC's when writing in LC and you should be fine. -- 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 Thu Apr 13 03:58:11 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 13 Apr 2023 09:58:11 +0200 Subject: Problem signing Android app In-Reply-To: <1877739ea68.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <187763db400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <46C0785B-9464-43E0-B15F-DBD974E629AF@major-k.de> <18776673cd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1F4EBAE9-CB72-4B4C-B060-2C68C34AD106@major-k.de> <18777070ee0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1877739ea68.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <84DCD412-660C-47FD-88DF-1ADD6F10A4EB@major-k.de> Hi Jacque, > Am 12.04.2023 um 22:48 schrieb J. Landman Gay via use-livecode : > > On this page: > > > it says: > > * If you choose for Google to generate the app signing key for you when you opt in, then the key you use to sign your app for release is designated as your upload key. > * If you provide the app signing key to Google when opting in your new or existing app, then you have the option to generate a new upload key during or after opting in for increased security. > * If you do not generate a new upload key, you continue to use your app signing key as your upload key to sign each release. > > So yeah, I think that means your original signing key is your upload key, which LC supports. ah, great, thank you for this valuable info! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 12, 2023 2:52:44 PM "J. Landman Gay" wrote: > >> You may be able to use your original signing key to upload an updated app. >> This page is complicated but explains how the system works: >> >> >> If I'm reading it right, you can still use your original signing key again >> for updates. There is also a way to opt out of Google Signing on that page. >> It says you should only do that if you plan to re-enroll in Google Signing >> later, but I suppose you can ignore that advice. >> >> It also says: "After you select a release track, the “App integrity” >> section displays the status of Play App Signing for your app." So I think >> if you prepare to upload an updated app, when you choose a release track it >> will tell you if you are using Google Signing. I think you probably are. >> >> It's far too complicated. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From htorrado at networkdreams.net Thu Apr 13 10:47:14 2023 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Thu, 13 Apr 2023 10:47:14 -0400 Subject: Livecode script on Raspberry pi Message-ID: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> Dear Livecode experts, I'm interested in running the Livecode script/server version on my Raspberry Pi. While I'm not keen on creating graphical applications, I'd like to switch from using Python as my scripting language and utilize Livecode instead. I find Livecode to be more efficient and productive for my needs. My question is: have you successfully managed to run the server version of Livecode on a Raspberry Pi using an x86 emulator like Box86? Any insights or advice on this matter would be greatly appreciated. Thank you! Best, Heriberto Torrado From hlowe at me.com Thu Apr 13 11:42:37 2023 From: hlowe at me.com (HENRY LOWE) Date: Thu, 13 Apr 2023 08:42:37 -0700 Subject: iOS Device orientation confusion! In-Reply-To: References: <19D4D780-1B83-47D9-9EA0-1817E0FB9DFE@me.com> Message-ID: <1E8E3530-74CD-4D2D-A01C-DFB0D42C58AD@me.com> Thank you Richard. Henry > On Apr 12, 2023, at 5:40 PM, Richard Gaskin via use-livecode wrote: > > Henry Lowe wrote: > > > The problem is that when the iPhone is in Landscape Left mode > > (according to the simulator and to Apple’s definition of that mode > > - see below), Livecode is returning Landscape Right. When the > > device is in Landscape Right mode, Livecode returns Landscape > > Left - via the MobileDeviceOrientation function. > > > > Apple’s Definition (developer.apple.com ) > > of these two modes: > > > > • LandscapeLeft: > > The device is in landscape mode, with the device held upright and > > the front-facing camera on the left side. > > > > • LandscapeRight: > > The device is in landscape mode, with the device held upright and > > the front-facing camera on the right side. > > > > > > Livecode’s Definition (Dictionary): > > > > • landscape left: the device is being held upward with the home button > > on the left > > > > • landscape right: the device is being held upward with the home > > button on the right > > > > It would appear that these two definitions at odds with each other. > > They are indeed at odds. Apple should update their description to match LC's. :) > > They seem consistent with one another, except that each uses a part of the hardware at opposite ends of the phone to define orientation. > > Apple's docs are referencing the camera as the point of reference for orientation, while LC uses the Home button as the point of reference. So while "left" and "right" are used differently, you should be able to get the result you need in LC. > > Use Apple's spec when coding in Apple tools and languages, and LC's when writing in LC and you should be fine. > > -- > 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 andrew at midwestcoastmedia.com Thu Apr 13 22:48:16 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Thu, 13 Apr 2023 22:48:16 -0400 Subject: 9.6.2 iOS compile error Message-ID: Has anyone been able to successfully submit an iOS build to the AppStore using the new 9.6.2 and Xcode 14.2? When compiling my app using 9.6.2rc2 and Xcode 13.2, my submissions are accepted with the familiar warning: WARNING ITMS-90725: "SDK version issue. This app was built with the iOS 15.2 SDK. Starting April 25, 2023, all iOS and iPadOS apps submitted to the App Store must be built with the iOS 16.1 SDK or later, included in Xcode 14.1 or later.” When compiling the same app using 9.6.9 and Xcode 14.2, my submissions are getting rejected by Apple when attempting to upload with Transporter: ERROR ITMS-90502: "Invalid Bundle. Your binary, 'com.midwestcoastmedia.link', has a 64-bit architecture slice, so you must include the "arm64" value for the UIRequiredDeviceCapabilities key in your Xcode project. Learn more (https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3).” I’m guessing I could just update the info.plist manually but I was really trying to avoid that long term. —Andrew Bell From mark at livecode.com Fri Apr 14 01:21:48 2023 From: mark at livecode.com (Mark Waddingham) Date: Fri, 14 Apr 2023 06:21:48 +0100 Subject: 9.6.9 iOS compile error In-Reply-To: References: Message-ID: On 2023-04-14 03:48, Andrew at MidWest Coast Media via use-livecode wrote: > When compiling the same app using 9.6.9 and Xcode 14.2, my submissions > are getting rejected by Apple when attempting to upload with > Transporter: > > ERROR ITMS-90502: "Invalid Bundle. Your binary, > 'com.midwestcoastmedia.link', has a 64-bit architecture slice, so you > must include the "arm64" value for the UIRequiredDeviceCapabilities key > in your Xcode project. Learn more > (https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3). > > Im guessing I could just update the info.plist manually but I was > really trying to avoid that long term. So with the move to Xcode14.2 we can no longer build 32-bit slices in iOS so we have had to remove those from the engines in 9.6.9 - however we did miss the fact that currently the S/B will only include the `arm64` capability *if* the min iOS version is 11.0 and above (the arm64 capability is required as there is only a 64-bit slice!). Thus you can either change the min version to 11.0 - or just tweak the revsaveasiosstandalone script - at around line 1771 there is: -- Building for iOS 11.0 or more only builds the 64bit slice, so update the plist if pSettings["ios,minimum version"] >= 11.0 then put "arm64" after it end if Removing the 'if' and making this unconditional will ensure that the arm64 key is always present. Sorry for the inconvenience. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From ambassador at fourthworld.com Fri Apr 14 15:13:57 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Apr 2023 12:13:57 -0700 Subject: Livecode script on Raspberry pi In-Reply-To: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> References: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> Message-ID: <2952e9ec-d163-a4ce-0a69-f2c70a5591e2@fourthworld.com> Hello Heriberto - I haven't run the old LC/ARM-Linux build in so long I have no idea how well it works anymore. It was created as a weekend side project of an LC staff member who's long since moved on. Back in the open source days I tried to find someone to maintain it, but I was unable to locate anyone who'd made a successful compile, let alone be able to maintain it with future OS changes. But if your current LC/ARM build runs on whatever RPi you're using, there was never a Server build but LC has always had the ability to use standalones as command-line apps, going al the way back to beginning in 1992. This is how we were using MetaCard/LC as our server CGI engine for all the years before the team made the PHP-style LC Server edition. To run an LC standalone from the command line, add a "-ui" flag, e.g.: /home/UserName/AppName -ui The -ui flag prompts the engine to launch in a way that bypasses GUI initialization. This may be essential on many RPi units, since LC's GUI implementation there is old and no longer in sync with the OS, so crashes are increasingly common when attempting to run with a UI. But since command-line is all you need you should (hopefully) be fine, and you'll find the engine runs _very_ fast with no GUI. Bonus: Back when Dr Peter Brett was with LC he made a nifty library for parsing command-line arguments. To learn more on that see the GetOpt function in the LC Dictionary. -- Richard Gaskin Fourth World Systems > Dear Livecode experts, > > I'm interested in running the Livecode script/server version on my > Raspberry Pi. While I'm not keen on creating graphical applications, I'd > like to switch from using Python as my scripting language and utilize > Livecode instead. I find Livecode to be more efficient and productive > for my needs. My question is: have you successfully managed to run the > server version of Livecode on a Raspberry Pi using an x86 emulator like > Box86? Any insights or advice on this matter would be greatly > appreciated. Thank you! > > Best, > > Heriberto Torrado From martyknappster at gmail.com Fri Apr 14 17:35:54 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 14 Apr 2023 14:35:54 -0700 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> Message-ID: <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> I don’t have an “M” chip Mac here to test at the moment but here’s something to try: In the Levure framework open the helpers folder and then the preferences folder Modify the helper.yml file by deleting the section under externals so the file just contains the following externals: libraries: - filename: preferences.livecodescript extensions: - filename: nsuserdefaults.lcm engine version: ">=9.0" platform: macos,ios Then try a build and see how that works. I just tried it on my Intel iMac and preferences are working OK without the previous content. Please let me know how it works on your “M” mac Marty > On Apr 10, 2023, at 3:23 AM, Mark Waddingham via use-livecode wrote: > > On 2023-04-08 14:58, bob--- via use-livecode wrote: >> I'm wondering if anyone might be able to help me out. I’m trying to >> use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am >> able to open the app in the IDE with no issue. >> When I try to open the app with LC 9.6.9rc3 I get “An error occurred >> while initializing the application [unable to load external >> Preferences]”. I’m tracing through the Levure script now and can see >> in fact the Preference stack is not being loaded. I’ve confirmed >> Preferences.bundle is at the location referenced in the script. >> Can anyone steer me in a direction for a fix to this? > > So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). > > The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. > > The preferences external will need to be rebuilt with an arm64 slice and included in Levure. > > (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things From neville.smythe at optusnet.com.au Sat Apr 15 07:13:37 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 15 Apr 2023 21:13:37 +1000 Subject: Which sqlite? Message-ID: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Is it possible to direct LC to use a custom version of sqlite3 rather than its default? I ask because the installed version of sqlite which come installed with macOS, and which I assume LC uses when it initialises its database library, is crippled ---arithmetic functions which come with the standard augmentation of sqlite (such as floor(), log() etc) are not enabled, similarly regular expressions are not enabled. It is easy enough to install a more capable version of sqlite on the Mac, but I don’t see a way to get LC to use it. Possibly there is an environment variable or an initialisation handler which can be edited? (Note that Apple goes to some lengths to make it difficult to overwrite the installed sqlite in the system, and such a change would be lost on the next os update anyway.) If LC is using its own built-in sqlite and dylib rather than the os-provided package, then is there a way to update that to one own version? Neville Smythe From dochawk at gmail.com Sat Apr 15 10:51:45 2023 From: dochawk at gmail.com (doc hawk) Date: Sat, 15 Apr 2023 07:51:45 -0700 Subject: Which sqlite? In-Reply-To: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: <714B0625-5A29-4093-9295-AE59EEF62676@gmail.com> neville noticed, >It is easy enough to install a more capable version of sqlite on the Mac, but I don’t see a way to get LC to use it. It seems to me that several years ago I briefly used an external SQLite, but I cannot remember how I started with mysql (on livecode’s server, come to think of it, or was it still runrev?), but performance was beyond molasses, as livecode cannot do a compound query on mysql. I shifted to hosting my own postgreSQL, and then (if I have the order straight) switched from an array of variables to the included SQLite for local storage, updating periodically. The problem with trying to use the Mac-supplied databases is that they sometimes change without notice. I started using the internal postgres, and then, one day, my whole system suddenly stopped working. It turned out that apple had changed major postgres releases on a minor maintenance release. And the postgres's weren’t compatible with one another! I had to install an older postgres to export my data, and at that point stayed with running my own postgres. If you’re going to use the built-in, you need to be *very* careful. From dan at clearvisiontech.com Sat Apr 15 13:20:07 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 15 Apr 2023 17:20:07 +0000 Subject: Android Build Error In-Reply-To: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: I am trying to build my Android App with the latest version of 10.0.0 DP-5. However, when I build the app, I get this error: There was an error while saving the standalone application could not encode class bundle - error: Methods with invalid locals information: void android.viewpager.widget.PagerTitleStrip.updateTextPositions(int,float,boolean) Information in locals-table is invalid with respect to the stack map table. Local refers to non-present stack map type for register: 37 with constraint INT. Info in /private/var/folders/f7/33kdx2c501dfsgt687_1c0000gn/T/Temporaryltems/tmp.21643.4AABuSE/35/classes.jar:android×/print/PrintHelperSPrintUriAdapter$1.class: Methods with invalid locals information: void android.print.PrintHelper$PrintUriAdapter$1.onPostExecute(android.graphics.Bitmap) Information in locals-table is invalid with respect to the stack map table. Local refers to non-present stack map type for register: 2 with constraint OBJECT. Anyone have any thoughts or ideas on this problem? -Dan From merakosp at gmail.com Sat Apr 15 13:44:33 2023 From: merakosp at gmail.com (panagiotis m) Date: Sat, 15 Apr 2023 20:44:33 +0300 Subject: Android Build Error In-Reply-To: References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: Hello Dan, This is caused because the version of the build-tools you have installed is > v32 You have to uninstall this version of the build tools and install a version among v30 and v31. I suggest v30.0.3, which is extensively tested - as recommended in the LC lesson about Android Studio. See this bug: https://quality.livecode.com/show_bug.cgi?id=23570 KInd regards, Panos -- On Sat, 15 Apr 2023 at 20:21, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > I am trying to build my Android App with the latest version of 10.0.0 > DP-5. However, when I build the app, I get this error: > > There was an error while saving the standalone application could not > encode class bundle - error: > Methods with invalid locals information: > void > android.viewpager.widget.PagerTitleStrip.updateTextPositions(int,float,boolean) > Information in locals-table is invalid with respect to the stack map > table. Local refers to non-present stack map type for register: 37 with > constraint INT. Info in > /private/var/folders/f7/33kdx2c501dfsgt687_1c0000gn/T/Temporaryltems/tmp.21643.4AABuSE/35/classes.jar:android×/print/PrintHelperSPrintUriAdapter$1.class: > Methods with invalid locals information: > void > android.print.PrintHelper$PrintUriAdapter$1.onPostExecute(android.graphics.Bitmap) > Information in locals-table is invalid with respect to the stack map > table. Local refers to non-present stack map type for register: 2 with > constraint OBJECT. > > Anyone have any thoughts or ideas on this problem? > > -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 mark at livecode.com Mon Apr 17 06:57:38 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 17 Apr 2023 11:57:38 +0100 Subject: Which sqlite? In-Reply-To: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> References: <5A7EFAAD-1B08-4874-B1BE-13EF54202F8C@optusnet.com.au> Message-ID: <219cf362eeec8426a39c6f0eb1be4ee9@livecode.com> On 2023-04-15 12:13, Neville Smythe via use-livecode wrote: > Is it possible to direct LC to use a custom version of sqlite3 rather > than its default? > > I ask because the installed version of sqlite which come installed with > macOS, and which I assume LC uses when it initialises its database > library, is crippled ---arithmetic functions which come with the > standard augmentation of sqlite (such as floor(), log() etc) are not > enabled, similarly regular expressions are not enabled. It is easy > enough to install a more capable version of sqlite on the Mac, but I > dont see a way to get LC to use it. Possibly there is an environment > variable or an initialisation handler which can be edited? (Note that > Apple goes to some lengths to make it difficult to overwrite the > installed sqlite in the system, and such a change would be lost on the > next os update anyway.) > > If LC is using its own built-in sqlite and dylib rather than the > os-provided package, then is there a way to update that to one own > version? The version of sqlite we use is compiled in to the dbsqlite driver and thus is independent of any installed libraries. We've already got a pending request (https://quality.livecode.com/show_bug.cgi?id=24051) to update it to a newer version so if you just drop a note on there reminding us to enable the math functions and REGEXP extension then we'll enable those at the same time. The update will likely go into the next 9.6 maintenance release (9.6.10), and also appear in a subsequent 10dp. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From benr_mc at cogapp.com Mon Apr 17 10:37:30 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 17 Apr 2023 15:37:30 +0100 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? Message-ID: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> Thanks to this list, I know about "do in widget" that can cause some javascript to be evaluated in the current page in the browser widget. Which is great. But how do I get (into LiveCode) the result of a javascript expression? TIA, Ben From klaus at major-k.de Mon Apr 17 11:11:13 2023 From: klaus at major-k.de (Klaus major-k) Date: Mon, 17 Apr 2023 17:11:13 +0200 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> Message-ID: <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> Hi Ben, > Am 17.04.2023 um 16:37 schrieb Ben Rubinstein via use-livecode : > > Thanks to this list, I know about "do in widget" that can cause some javascript to be evaluated in the current page in the browser widget. Which is great. > > But how do I get (into LiveCode) the result of a javascript expression? if in doubt try either -> IT or -> the result :-) > TIA, > > Ben Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From benr_mc at cogapp.com Mon Apr 17 11:17:31 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 17 Apr 2023 16:17:31 +0100 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> Message-ID: <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> Thanks Klaus, I tried both of those! So for example I can execute do "alert(document.title)" in widget "browser" and see the expected string in an alert box. But do "document.title" in widget "browser"; put it or do "document.title" in widget "browser"; put the result just put empty. Any other ideas? I don't know whether I need to do something different in the livecode end (probably) or in the javascript end. TIA, Ben On 17/04/2023 16:11, Klaus major-k via use-livecode wrote: > Hi Ben, > >> Am 17.04.2023 um 16:37 schrieb Ben Rubinstein via use-livecode : >> >> Thanks to this list, I know about "do in widget" that can cause some javascript to be evaluated in the current page in the browser widget. Which is great. >> >> But how do I get (into LiveCode) the result of a javascript expression? > > if in doubt try either -> IT or -> the result :-) > >> TIA, >> >> Ben > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From htorrado at networkdreams.net Mon Apr 17 11:20:24 2023 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Mon, 17 Apr 2023 11:20:24 -0400 Subject: Livecode script on Raspberry pi In-Reply-To: <2952e9ec-d163-a4ce-0a69-f2c70a5591e2@fourthworld.com> References: <0c8bd2b9-d52c-a310-a4dd-5d6daf342f8c@networkdreams.net> <2952e9ec-d163-a4ce-0a69-f2c70a5591e2@fourthworld.com> Message-ID: <4cabf4cc-cdff-c77d-db93-85620e643b5e@networkdreams.net> Thank you very much Richard! I will check if what you say works well and I will let you know. Best, Hery On 4/14/23 15:13, Richard Gaskin via use-livecode wrote: > Hello Heriberto - > > I haven't run the old LC/ARM-Linux build in so long I have no idea how > well it works anymore. It was created as a weekend side project of an > LC staff member who's long since moved on. Back in the open source > days I tried to find someone to maintain it, but I was unable to > locate anyone who'd made a successful compile, let alone be able to > maintain it with future OS changes. > > But if your current LC/ARM build runs on whatever RPi you're using, > there was never a Server build but LC has always had the ability to > use standalones as command-line apps, going al the way back to > beginning in 1992. This is how we were using MetaCard/LC as our server > CGI engine for all the years before the team made the PHP-style LC > Server edition. > > To run an LC standalone from the command line, add a "-ui" flag, e.g.: > >   /home/UserName/AppName -ui > > The -ui flag prompts the engine to launch in a way that bypasses GUI > initialization.  This may be essential on many RPi units, since LC's > GUI implementation there is old and no longer in sync with the OS, so > crashes are increasingly common when attempting to run with a UI. > > But since command-line is all you need you should (hopefully) be fine, > and you'll find the engine runs _very_ fast with no GUI. > > > Bonus: Back when Dr Peter Brett was with LC he made a nifty library > for parsing command-line arguments. To learn more on that see the > GetOpt function in the LC Dictionary. > From klaus at major-k.de Mon Apr 17 11:34:58 2023 From: klaus at major-k.de (Klaus major-k) Date: Mon, 17 Apr 2023 17:34:58 +0200 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> Message-ID: Hi Ben, > Am 17.04.2023 um 17:17 schrieb Ben Rubinstein via use-livecode : > > Thanks Klaus, I tried both of those! > So for example I can execute > do "alert(document.title)" in widget "browser" > and see the expected string in an alert box. But > do "document.title" in widget "browser"; put it > or > do "document.title" in widget "browser"; put the result > just put empty. > Any other ideas? I don't know whether I need to do something different in the livecode end (probably) or in the javascript end. sorry, no more ideas... Too bad the dictionary doesn't mention this. > TIA, > > Ben Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From neville.smythe at optusnet.com.au Mon Apr 17 19:19:01 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 18 Apr 2023 09:19:01 +1000 Subject: Which sqlite? In-Reply-To: References: Message-ID: That is excellent news Mark, thank you. Mark Waddingham wrote... > > The version of sqlite we use is compiled in to the dbsqlite driver and > thus is independent of any installed libraries. We've already got a > pending request (https://quality.livecode.com/show_bug.cgi?id=24051) to > update it to a newer version so if you just drop a note on there > reminding us to enable the math functions and REGEXP extension then > we'll enable those at the same time. > > The update will likely go into the next 9.6 maintenance release > (9.6.10), and also appear in a subsequent 10dp. > That is excellent > Thanks to this list, I know about "do in widget" that can cause some > javascript to be evaluated in the current page in the browser widget. Which is > great. > From marksmithhfx at gmail.com Tue Apr 18 05:42:04 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 18 Apr 2023 10:42:04 +0100 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> Message-ID: Hi Marty, this worked like a charm. I was trying to open Trevor's dataview_demo and was getting the same “An error occurred while initialising the application…” msg. This fixed it. Thanks Mark > On 14 Apr 2023, at 10:35 pm, Marty Knapp via use-livecode wrote: > > I don’t have an “M” chip Mac here to test at the moment but here’s something to try: > > In the Levure framework open the helpers folder and then the preferences folder > Modify the helper.yml file by deleting the section under externals so the file just contains the following > > externals: > libraries: > - filename: preferences.livecodescript > extensions: > - filename: nsuserdefaults.lcm > engine version: ">=9.0" > platform: macos,ios > > Then try a build and see how that works. I just tried it on my Intel iMac and preferences are working OK without the previous content. > > Please let me know how it works on your “M” mac > > > Marty > >> On Apr 10, 2023, at 3:23 AM, Mark Waddingham via use-livecode wrote: >> >> On 2023-04-08 14:58, bob--- via use-livecode wrote: >>> I'm wondering if anyone might be able to help me out. I’m trying to >>> use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am >>> able to open the app in the IDE with no issue. >>> When I try to open the app with LC 9.6.9rc3 I get “An error occurred >>> while initializing the application [unable to load external >>> Preferences]”. I’m tracing through the Levure script now and can see >>> in fact the Preference stack is not being loaded. I’ve confirmed >>> Preferences.bundle is at the location referenced in the script. >>> Can anyone steer me in a direction for a fix to this? >> >> So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). >> >> The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. >> >> The preferences external will need to be rebuilt with an arm64 slice and included in Levure. >> >> (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). >> >> Warmest Regards, >> >> Mark. >> >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Build Amazing Things > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 18 06:36:10 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 18 Apr 2023 11:36:10 +0100 Subject: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5 In-Reply-To: References: <46D05D00-B844-45E8-A8D9-9D15E5F2CF16@bobhall.net> <5FB804F3-470B-4E7E-87CA-4891EAE21352@gmail.com> Message-ID: <076A5260-E367-4379-B567-EDB9F7F529E6@gmail.com> Marty, apologies, I forgot to add I am doing this on an “M” chip. Mark > On 18 Apr 2023, at 10:42 am, Mark Smith wrote: > > Hi Marty, this worked like a charm. I was trying to open Trevor's dataview_demo and was getting the same “An error occurred while initialising the application…” msg. This fixed it. Thanks > > Mark > > >> On 14 Apr 2023, at 10:35 pm, Marty Knapp via use-livecode wrote: >> >> I don’t have an “M” chip Mac here to test at the moment but here’s something to try: >> >> In the Levure framework open the helpers folder and then the preferences folder >> Modify the helper.yml file by deleting the section under externals so the file just contains the following >> >> externals: >> libraries: >> - filename: preferences.livecodescript >> extensions: >> - filename: nsuserdefaults.lcm >> engine version: ">=9.0" >> platform: macos,ios >> >> Then try a build and see how that works. I just tried it on my Intel iMac and preferences are working OK without the previous content. >> >> Please let me know how it works on your “M” mac >> >> >> Marty >> >>> On Apr 10, 2023, at 3:23 AM, Mark Waddingham via use-livecode wrote: >>> >>> On 2023-04-08 14:58, bob--- via use-livecode wrote: >>>> I'm wondering if anyone might be able to help me out. I’m trying to >>>> use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am >>>> able to open the app in the IDE with no issue. >>>> When I try to open the app with LC 9.6.9rc3 I get “An error occurred >>>> while initializing the application [unable to load external >>>> Preferences]”. I’m tracing through the Levure script now and can see >>>> in fact the Preference stack is not being loaded. I’ve confirmed >>>> Preferences.bundle is at the location referenced in the script. >>>> Can anyone steer me in a direction for a fix to this? >>> >>> So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and ask it to 'open in rosetta'... Then when building any standalones, disable generating a the arm64 slice (you can do this in the MacOS pane of standalone settings). >>> >>> The reason is isn't working is that the preferences external included in Levure does not have a ARM64 slice - so won't load when the engine is running using that architecture. >>> >>> The preferences external will need to be rebuilt with an arm64 slice and included in Levure. >>> >>> (When looking at this the other day, I did notice that Levure has an LCB extension which can do preferences stuff on macOS - bypassing the need for an external, but I couldn't see how you opt to use that instead of the external). >>> >>> Warmest Regards, >>> >>> Mark. >>> >>> -- >>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>> LiveCode: Build Amazing Things >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Tue Apr 18 12:08:10 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 18 Apr 2023 17:08:10 +0100 Subject: "get in widget"?? How can I get a value out of a browser widget into LiveCode? In-Reply-To: <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> References: <2e9e9815-c816-5de4-b5c2-3cbfdb3c9135@cogapp.com> <7D80F7A3-B8B5-4E5A-B436-2B1A38879800@major-k.de> <6349cc8c-c3aa-9b19-c66e-69123380fc58@cogapp.com> Message-ID: <2fed0a0e-593d-d38d-7f11-235d371638e8@cogapp.com> I've found a solution. For the benefit of others (and myself, because I'll have forgotten this next time I want it), this can be done using "the javascriptHandlers". So you can set up a handler to be called from the browser: set the javascriptHandlers of widget "Browser" to "myJSHandler" ... and then have javascript pass the expression to that handler: do "liveCode.myJSHandler(document.title);" in widget "browser" On 17/04/2023 16:17, Ben Rubinstein via use-livecode wrote: > Thanks Klaus, I tried both of those! > > So for example I can execute >     do "alert(document.title)" in widget "browser" > > and see the expected string in an alert box. But >     do "document.title" in widget "browser"; put it > > or >     do "document.title" in widget "browser"; put the result > > just put empty. > > Any other ideas? I don't know whether I need to do something different in the > livecode end (probably) or in the javascript end. > > TIA, > > Ben > > > On 17/04/2023 16:11, Klaus major-k via use-livecode wrote: >> Hi Ben, >> >>> Am 17.04.2023 um 16:37 schrieb Ben Rubinstein via use-livecode >>> : >>> >>> Thanks to this list, I know about "do in widget" that can cause some >>> javascript to be evaluated in the current page in the browser widget. Which >>> is great. >>> >>> But how do I get (into LiveCode) the result of a javascript expression? >> >> if in doubt try either -> IT or -> the result :-) >> >>> TIA, >>> >>> Ben >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Tue Apr 18 13:18:44 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 18 Apr 2023 20:18:44 +0300 Subject: [[ ANN ]] Release 10.0.0 DP-5 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 DP-5. LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: - The initializing value for constant and local declarations can now be any constant expression - The suspend and resume messages are now supported on mobile platforms - A library has been added which gives access to the Sign-in with Google API on Android - Support for working with media controls on Android has been added - On Web, data required by the engine to run has been separated out into optional files thus reducing the size of the download required in many cases - A prototype implementation of the 'script widgets' feature has been included and many more :) You can find more details on the new features and the bug fixes of this new release here: https://livecode.com/livecode-10-dp-5-smaller-faster-richer You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From MikeKerner at roadrunner.com Tue Apr 18 15:11:29 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Apr 2023 15:11:29 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: i'm curious to hear if script widgets perform better than grouped controls did. one of the things that lcb widgets had was better performance and responsiveness. On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 10.0.0 DP-5. > > LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: > > - The initializing value for constant and local declarations can > now be any constant expression > - The suspend and resume messages are now supported on > mobile platforms > - A library has been added which gives access to the Sign-in with Google > API on Android > - Support for working with media controls on Android has been > added > - On Web, data required by the engine to run has been > separated out into optional files thus reducing the size of the > download required in many cases > - A prototype implementation of the 'script widgets' feature has > been included > > and many more :) > > You can find more details on the new features and the bug fixes of this new > release here: > > https://livecode.com/livecode-10-dp-5-smaller-faster-richer > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Apr 18 15:53:17 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Apr 2023 15:53:17 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: anyone try to download this version? i don't see where to do it On Tue, Apr 18, 2023 at 3:11 PM Mike Kerner wrote: > i'm curious to hear if script widgets perform better than grouped controls > did. > one of the things that lcb widgets had was better performance and > responsiveness. > > On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Dear list members, >> >> We are pleased to announce the release of LiveCode 10.0.0 DP-5. >> >> LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: >> >> - The initializing value for constant and local declarations can >> now be any constant expression >> - The suspend and resume messages are now supported on >> mobile platforms >> - A library has been added which gives access to the Sign-in with Google >> API on Android >> - Support for working with media controls on Android has been >> added >> - On Web, data required by the engine to run has been >> separated out into optional files thus reducing the size of the >> download required in many cases >> - A prototype implementation of the 'script widgets' feature has >> been included >> >> and many more :) >> >> You can find more details on the new features and the bug fixes of this >> new >> release here: >> >> https://livecode.com/livecode-10-dp-5-smaller-faster-richer >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> The LiveCode Team >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Apr 18 15:55:01 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Apr 2023 15:55:01 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: wupz. nevermind. https://livecode.com/account/all-livecode-downloads On Tue, Apr 18, 2023 at 3:53 PM Mike Kerner wrote: > anyone try to download this version? i don't see where to do it > > On Tue, Apr 18, 2023 at 3:11 PM Mike Kerner > wrote: > >> i'm curious to hear if script widgets perform better than grouped >> controls did. >> one of the things that lcb widgets had was better performance and >> responsiveness. >> >> On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 10.0.0 DP-5. >>> >>> LiveCode 10.0.0 DP-5 comes with some amazing new features, such as: >>> >>> - The initializing value for constant and local declarations can >>> now be any constant expression >>> - The suspend and resume messages are now supported on >>> mobile platforms >>> - A library has been added which gives access to the Sign-in with Google >>> API on Android >>> - Support for working with media controls on Android has been >>> added >>> - On Web, data required by the engine to run has been >>> separated out into optional files thus reducing the size of the >>> download required in many cases >>> - A prototype implementation of the 'script widgets' feature has >>> been included >>> >>> and many more :) >>> >>> You can find more details on the new features and the bug fixes of this >>> new >>> release here: >>> >>> https://livecode.com/livecode-10-dp-5-smaller-faster-richer >>> >>> You can find the release in your LiveCode account area or get it via the >>> automatic updater. >>> >>> Enjoy! >>> >>> Kind regards >>> The LiveCode Team >>> -- >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ahsoftware at sonic.net Tue Apr 18 15:58:13 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 18 Apr 2023 12:58:13 -0700 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: I would so like to like this release: script widgets expression constants (finally!) etc... but it's so wonky on linux that I'd have to write up a slew of bug reports. Essentially unusable for me in ways that dp4 behaves. I'm looking forward to dp6. -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Wed Apr 19 11:56:12 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 19 Apr 2023 17:56:12 +0200 Subject: error while signing Android app Message-ID: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> Hi friends, I created a selfsigning keystore with the app "Keymaker.app", which worked fine for my last app created with LC 9.6.8. But with LC 9.6.9 I get this LC error: ----------------------------------- There was an error while saving the standalone application signing failed - Certificate chain not found for: (PWD here) (PWD here) must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain ------------------------------------ Do I need to crewate the key with Android Studio? Any idea what goes wrong here? Thank you! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From dougr at telus.net Wed Apr 19 14:04:39 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 19 Apr 2023 11:04:39 -0700 Subject: FW: card background color Message-ID: <00e001d972e9$68c46c70$3a4d4550$@telus.net> Using LC v9.6.8 Business on Windows 10. When I drag a new object from the Tools Palette onto a card, as the object "enters" the destination card, the background of that card turns a VERY dark blue . making the visibility of the object-being-dragged very difficult to see until I release the mouse button. Additionally, the background/highlight color of the entry field on the Message Box is, similarly, very dark blue after I enter a command . making the text (again) very difficult to read. I've look thru LC's Preferences and tried adjusting Windows colors.. but to no avail. Anyone know how to adjust (or defeat) this "highlighting" feature? Doug From craig at starfirelighting.com Wed Apr 19 14:12:13 2023 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 19 Apr 2023 14:12:13 -0400 Subject: card background color In-Reply-To: <00e001d972e9$68c46c70$3a4d4550$@telus.net> References: <00e001d972e9$68c46c70$3a4d4550$@telus.net> Message-ID: <2FD76BD7-B714-42FF-8A05-A002A206F5E4@starfirelighting.com> Doug. I also find this annoying. But I have never found a property to disable it. Of course, I never asked, so let us both see what turns up. Craig > On Apr 19, 2023, at 2:04 PM, Douglas A. Ruisaard via use-livecode wrote: > > Using LC v9.6.8 Business on Windows 10. When I drag a new object from the > Tools Palette onto a card, as the object "enters" the destination card, the > background of that card turns a VERY dark blue . making the visibility of > the object-being-dragged very difficult to see until I release the mouse > button. Additionally, the background/highlight color of the entry field on > the Message Box is, similarly, very dark blue after I enter a command . > making the text (again) very difficult to read. > > > > I've look thru LC's Preferences and tried adjusting Windows colors.. but to > no avail. Anyone know how to adjust (or defeat) this "highlighting" > feature? > > > > Doug > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 19 14:25:27 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 19 Apr 2023 11:25:27 -0700 Subject: card background color In-Reply-To: <2FD76BD7-B714-42FF-8A05-A002A206F5E4@starfirelighting.com> References: <00e001d972e9$68c46c70$3a4d4550$@telus.net> <2FD76BD7-B714-42FF-8A05-A002A206F5E4@starfirelighting.com> Message-ID: <011b01d972ec$50e2f600$f2a8e200$@telus.net> Thanks for the confirmation... always good to have another collaborator. Not sure what version this showed up. Doug -----Original Message----- From: use-livecode On Behalf Of Craig Newman via use-livecode Sent: Wednesday, April 19, 2023 11:12 AM To: How to use LiveCode Cc: Craig Newman Subject: Re: card background color Doug. I also find this annoying. But I have never found a property to disable it. Of course, I never asked, so let us both see what turns up. Craig > On Apr 19, 2023, at 2:04 PM, Douglas A. Ruisaard via use-livecode wrote: > > Using LC v9.6.8 Business on Windows 10. When I drag a new object from > the Tools Palette onto a card, as the object "enters" the destination > card, the background of that card turns a VERY dark blue . making the > visibility of the object-being-dragged very difficult to see until I > release the mouse button. Additionally, the background/highlight > color of the entry field on the Message Box is, similarly, very dark blue after I enter a command . > making the text (again) very difficult to read. > > > > I've look thru LC's Preferences and tried adjusting Windows colors.. > but to no avail. Anyone know how to adjust (or defeat) this "highlighting" > feature? > > > > Doug > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Wed Apr 19 14:25:59 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 19 Apr 2023 11:25:59 -0700 Subject: Weird window behavior Message-ID: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. Am I going crazy? Marty From craig at starfirelighting.com Wed Apr 19 14:29:17 2023 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 19 Apr 2023 14:29:17 -0400 Subject: Weird window behavior In-Reply-To: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: <4DD838F7-8E18-4FF5-A157-78EF779D22B2@starfirelighting.com> Marty. No more than I. I lead both the forum and this list for personally directed oddities. Nobody can touch me… Craig > On Apr 19, 2023, at 2:25 PM, Marty Knapp via use-livecode wrote: > > Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. > > Am I going crazy? > > 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 dochawk at gmail.com Wed Apr 19 14:34:36 2023 From: dochawk at gmail.com (doc hawk) Date: Wed, 19 Apr 2023 11:34:36 -0700 Subject: Weird window behavior In-Reply-To: <4DD838F7-8E18-4FF5-A157-78EF779D22B2@starfirelighting.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> <4DD838F7-8E18-4FF5-A157-78EF779D22B2@starfirelighting.com> Message-ID: <4BFA6A1F-11C3-487A-8629-57607EB6A812@gmail.com> I’ll see your oddity and raise you a weirdness! > On Apr 19, 2023, at 11:29 AM, Craig Newman via use-livecode wrote: > > Marty. > > No more than I. I lead both the forum and this list for personally directed oddities. Nobody can touch me… > > Craig > >> On Apr 19, 2023, at 2:25 PM, Marty Knapp via use-livecode wrote: >> >> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >> >> Am I going crazy? >> >> 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 jacque at hyperactivesw.com Wed Apr 19 15:43:04 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Apr 2023 14:43:04 -0500 Subject: error while signing Android app In-Reply-To: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> Message-ID: <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > I created a selfsigning keystore with the app > "Keymaker.app", which worked fine for my last app > created with LC 9.6.8. > > But with LC 9.6.9 I get this LC error: > ----------------------------------- > There was an error while saving the standalone application > signing failed - Certificate chain not found for: (PWD here) > (PWD here) must reference a valid KeyStore key entry containing > a private key and corresponding public key certificate chain > ------------------------------------ > > Do I need to crewate the key with Android Studio? Could this be related to the dialog box error that misplaces the insertion point when you type? Or did you get the error before it asked for the password? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Apr 19 16:08:43 2023 From: klaus at major-k.de (Klaus major-k) Date: Wed, 19 Apr 2023 22:08:43 +0200 Subject: error while signing Android app In-Reply-To: <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: Hi Jacque, > Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : > On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >> Hi friends, >> I created a selfsigning keystore with the app >> "Keymaker.app", which worked fine for my last app >> created with LC 9.6.8. >> But with LC 9.6.9 I get this LC error: >> ----------------------------------- >> There was an error while saving the standalone application >> signing failed - Certificate chain not found for: (PWD here) >> (PWD here) must reference a valid KeyStore key entry containing >> a private key and corresponding public key certificate chain >> ------------------------------------ >> >> Do I need to crewate the key with Android Studio? > > Could this be related to the dialog box error that misplaces the insertion point when you type? no, that looks like it has been fixed in LC 9.6.9 stable. > Or did you get the error before it asked for the password? No, that happens after I had entered all the passwords. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From Bernd.Niggemann at uni-wh.de Wed Apr 19 18:23:11 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 19 Apr 2023 22:23:11 +0000 Subject: card background color Message-ID: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> Douglas A. Ruisaard wrote > When I drag a new object from the > Tools Palette onto a card, as the object "enters" the destination card, the > background of that card turns a VERY dark blue . making the visibility of > the object-being-dragged very difficult to see until I release the mouse > button. > Anyone know how to adjust (or defeat) this "highlighting" > feature? In stack "Home" around line 1930 in function revEnvironmentEditionProperty pProp, pEdition change the color to e.g. ------------------- case "color" return 180,191,200 ------------------- Kind regards Bernd From bobsneidar at iotecdigital.com Wed Apr 19 18:45:39 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Apr 2023 22:45:39 +0000 Subject: card background color In-Reply-To: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> References: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> Message-ID: <3CC4658D-AA92-42A0-A647-3E17B162C75F@iotecdigital.com> Won't that revert next time LC is downloaded and installed? Bob S > On Apr 19, 2023, at 15:23, Niggemann, Bernd via use-livecode wrote: > > Douglas A. Ruisaard wrote > >> When I drag a new object from the >> Tools Palette onto a card, as the object "enters" the destination card, the >> background of that card turns a VERY dark blue . making the visibility of >> the object-being-dragged very difficult to see until I release the mouse >> button. >> Anyone know how to adjust (or defeat) this "highlighting" >> feature? > > > In stack "Home" around line 1930 in > > function revEnvironmentEditionProperty pProp, pEdition > > change the color to e.g. > > ------------------- > case "color" > return 180,191,200 > ------------------- > > > 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 Bernd.Niggemann at uni-wh.de Wed Apr 19 19:24:09 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 19 Apr 2023 23:24:09 +0000 Subject: card background color Message-ID: <5F5BB345-03C1-41FB-AE47-88D4DBC9B53F@uni-wh.de> Bob Sneidar wrote: > Won't that revert next time LC is downloaded and installed? You could write a plug-in that patches the Home stack on every startUp of LC. That will work until that handler of stack "Home" is changed. Kind regards Bernd From klaus at major-k.de Thu Apr 20 05:15:15 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 20 Apr 2023 11:15:15 +0200 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: Hi all, > Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : > > Hi Jacque, > >> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>> Hi friends, >>> I created a selfsigning keystore with the app >>> "Keymaker.app", which worked fine for my last app >>> created with LC 9.6.8. >>> But with LC 9.6.9 I get this LC error: >>> ----------------------------------- >>> There was an error while saving the standalone application >>> signing failed - Certificate chain not found for: (PWD here) >>> (PWD here) must reference a valid KeyStore key entry containing >>> a private key and corresponding public key certificate chain >>> ------------------------------------ >>> >>> Do I need to crewate the key with Android Studio? >> Could this be related to the dialog box error that misplaces the insertion point when you type? > no, that looks like it has been fixed in LC 9.6.9 stable. >> Or did you get the error before it asked for the password? > No, that happens after I had entered all the passwords. I don't even know what the dialog ist trying to tell me. Any ideas? Thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Thu Apr 20 06:21:34 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 20 Apr 2023 12:21:34 +0200 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: <6363E324-8C3B-4995-A410-BE44BC187D64@m-r-d.de> Hi Klaus, i just did test here on macOS. I've created a key using the shell command keytool and could successfully build an Android 9 standalone with LC 9.6.9. What is the keymaker.app? Is that a 3rd party tool? Regards, Matthias > Am 20.04.2023 um 11:15 schrieb Klaus major-k via use-livecode : > > Hi all, > >> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : >> >> Hi Jacque, >> >>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>> Hi friends, >>>> I created a selfsigning keystore with the app >>>> "Keymaker.app", which worked fine for my last app >>>> created with LC 9.6.8. >>>> But with LC 9.6.9 I get this LC error: >>>> ----------------------------------- >>>> There was an error while saving the standalone application >>>> signing failed - Certificate chain not found for: (PWD here) >>>> (PWD here) must reference a valid KeyStore key entry containing >>>> a private key and corresponding public key certificate chain >>>> ------------------------------------ >>>> >>>> Do I need to crewate the key with Android Studio? >>> Could this be related to the dialog box error that misplaces the insertion point when you type? >> no, that looks like it has been fixed in LC 9.6.9 stable. >>> Or did you get the error before it asked for the password? >> No, that happens after I had entered all the passwords. > > I don't even know what the dialog ist trying to tell me. > Any ideas? Thank you. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Apr 20 06:36:16 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 20 Apr 2023 12:36:16 +0200 Subject: error while signing Android app In-Reply-To: <6363E324-8C3B-4995-A410-BE44BC187D64@m-r-d.de> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <6363E324-8C3B-4995-A410-BE44BC187D64@m-r-d.de> Message-ID: <80FE645C-5732-4D9E-9770-CBF02E372D38@major-k.de> Hi Matthias, > Am 20.04.2023 um 12:21 schrieb matthias rebbe via use-livecode : > > Hi Klaus, > > i just did test here on macOS. > I've created a key using the shell command keytool and could successfully build an Android 9 standalone with LC 9.6.9. > What is the keymaker.app? Is that a 3rd party tool? Yes, see here a link to the forum: The keystore file it gernerated worked without problem with the first version of my app.!? > Regards, > Matthias Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From heather at livecode.com Thu Apr 20 10:16:12 2023 From: heather at livecode.com (Heather Laine) Date: Thu, 20 Apr 2023 15:16:12 +0100 Subject: In case any of you missed it... Message-ID: Dear List Members, We just made what we think is the most significant announcement since Revolution 1.0: https://livecode.com/xavvi/ Looking forward to hearing what you all think about it! Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From mark at livecode.com Thu Apr 20 10:20:12 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 20 Apr 2023 15:20:12 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: <144287e4665c1d4d8d76b0b457870500@livecode.com> On 2023-04-18 20:58, Mark Wieder via use-livecode wrote: > I would so like to like this release: > script widgets > expression constants (finally!) > etc... > > but it's so wonky on linux that I'd have to write up a slew of bug > reports. Essentially unusable for me in ways that dp4 behaves. > > I'm looking forward to dp6. Heh - well if there is a Linux specific issue that we haven't seen but you do - then its not likely to be fixed in dp-6 unless we know what it is :D We've already identified a problem with the 'after' message which causes the layout of the IDE palettes to not update correctly - and are fixing :) Beyond that, do you get (as many) problems if you run the IDE without any plugins and such? (i.e. an empty 'My LiveCode' folder) The reason I ask is that we have (unusually) made two backwards-incompatible script changes in dp-5 in order to accommodate constant initializer expressions - both touch on edge-cases, but hey, edge-cases happen. There is a small possibility that a plugin or similar which contains such an edge case could break and thus be causing errors and thus destabilize the IDE. Specifically: The tokenization of numeric literals (i.e. numbers) is now much more strict - https://quality.livecode.com/show_bug.cgi?id=23653. Previously a numeric token which had an 'error suffix' would encompass the suffix into the token rather than treat it separately. The right-hand side of an initializer is no longer treated as a token (this is key to having them as expressions at all!) - https://quality.livecode.com/show_bug.cgi?id=19413. Previously if you had an initializer which was an engine constant, then the initialized value would be the name of the constant and not its value (e.g. local tFoo = empty => tFoo = "empty" and not ""). The fix to both is to quote the offending token. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From dvglasgow at gmail.com Thu Apr 20 10:49:42 2023 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 20 Apr 2023 15:49:42 +0100 Subject: Weird window behavior In-Reply-To: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: <24A60DAE-38B7-497F-A7D5-567CB3AA9274@gmail.com> Me too. Or maybe me too. Is this the same thing?... Even if focus shifts from my stack to Message Box, the next click on my stack causes it to just disappear. Most alarming until I realised what was happening. My stack is just behind everything else and CMD tab (x2) brings it to front. Phew... M2, LC 9.6.8 Cheers Best Wishes, David Glasgow Honorary Professor, Nottingham Trent University Sexual Offences, Crime and Misconduct Research Unit Consultant Forensic & Clinical Psychologist Carlton Glasgow Partnership Director, Child & Family Training, York LinkedIn > On 19 Apr 2023, at 7:25 pm, Marty Knapp via use-livecode wrote: > > Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. > > Am I going crazy? > > 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 dougr at telus.net Thu Apr 20 11:45:34 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 08:45:34 -0700 Subject: card background color In-Reply-To: <5F5BB345-03C1-41FB-AE47-88D4DBC9B53F@uni-wh.de> References: <5F5BB345-03C1-41FB-AE47-88D4DBC9B53F@uni-wh.de> Message-ID: <04a101d9739f$25b1e4b0$7115ae10$@telus.net> Wow .. MAGIC! ... one more annoying question: The input line (?) on the MessageBox is also that deep blue ... I scanned thru the C:\Program Files\RunRev\LiveCode 9.6.8 directory but couldn't find any obviously relevant reference ... not that I could have noticed the one you pointed out! If you could suggest where I might find THAT color reference, I'd be very grateful Doug -----Original Message----- From: use-livecode On Behalf Of Niggemann, Bernd via use-livecode Sent: Wednesday, April 19, 2023 4:24 PM To: use-livecode at lists.runrev.com Cc: Niggemann, Bernd Subject: Re: card background color Bob Sneidar wrote: > Won't that revert next time LC is downloaded and installed? You could write a plug-in that patches the Home stack on every startUp of LC. That will work until that handler of stack "Home" is changed. 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 dougr at telus.net Thu Apr 20 11:57:16 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 08:57:16 -0700 Subject: card background color In-Reply-To: <3CC4658D-AA92-42A0-A647-3E17B162C75F@iotecdigital.com> References: <2FF1831E-833C-49A8-AD25-8DFF51722BA4@uni-wh.de> <3CC4658D-AA92-42A0-A647-3E17B162C75F@iotecdigital.com> Message-ID: <057001d973a0$c82638d0$5872aa70$@telus.net> Thanks for the reminder about losing the change with a new install... I'll make a note of it!! Cheers Doug -----Original Message----- From: use-livecode On Behalf Of Bob Sneidar via use-livecode Sent: Wednesday, April 19, 2023 3:46 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: card background color Won't that revert next time LC is downloaded and installed? Bob S > On Apr 19, 2023, at 15:23, Niggemann, Bernd via use-livecode wrote: > > Douglas A. Ruisaard wrote > >> When I drag a new object from the >> Tools Palette onto a card, as the object "enters" the destination >> card, the background of that card turns a VERY dark blue . making the >> visibility of the object-being-dragged very difficult to see until I >> release the mouse button. >> Anyone know how to adjust (or defeat) this "highlighting" >> feature? > > > In stack "Home" around line 1930 in > > function revEnvironmentEditionProperty pProp, pEdition > > change the color to e.g. > > ------------------- > case "color" > return 180,191,200 > ------------------- > > > Kind regards > Bernd > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 20 12:11:48 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Apr 2023 11:11:48 -0500 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> Message-ID: <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I did a search for the first few words of the error message and got a lot of hits. Here's one: https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fix-and-publish-to-google-play-store There are several solutions but it sounds like the keystore file can't be found, or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. I wonder if diacriticals or foreign characters may interfere. Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. The outside world will never see it. It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: > Hi all, > >> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode >> : >> >> Hi Jacque, >> >>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode >>> : >>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>> Hi friends, >>>> I created a selfsigning keystore with the app >>>> "Keymaker.app", which worked fine for my last app >>>> created with LC 9.6.8. >>>> But with LC 9.6.9 I get this LC error: >>>> ----------------------------------- >>>> There was an error while saving the standalone application >>>> signing failed - Certificate chain not found for: (PWD here) >>>> (PWD here) must reference a valid KeyStore key entry containing >>>> a private key and corresponding public key certificate chain >>>> ------------------------------------ >>>> >>>> Do I need to crewate the key with Android Studio? >>> Could this be related to the dialog box error that misplaces the insertion >>> point when you type? >> no, that looks like it has been fixed in LC 9.6.9 stable. >>> Or did you get the error before it asked for the password? >> No, that happens after I had entered all the passwords. > > I don't even know what the dialog ist trying to tell me. > Any ideas? Thank you. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Thu Apr 20 12:52:33 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 20 Apr 2023 16:52:33 +0000 Subject: card background color Message-ID: <57220EB1-87A5-4E3A-9718-600D77AC8EAE@uni-wh.de> Douglas A. Ruisaard wrote: > The input line (?) on the MessageBox is also that deep blue ... I scanned > thru the C:\Program Files\RunRev\LiveCode 9.6.8 directory but couldn't find > any obviously relevant reference For me the backgroundcolor of the input line of the MessageBox is controlled by my setting of the backgroundColor of the Script Editor in LC Preferences. That also changes the backgroundcolor of the input field of single line and multiline input field of the message box. Kind regards Bernd From dougr at telus.net Thu Apr 20 13:18:46 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 10:18:46 -0700 Subject: card background color In-Reply-To: <57220EB1-87A5-4E3A-9718-600D77AC8EAE@uni-wh.de> References: <57220EB1-87A5-4E3A-9718-600D77AC8EAE@uni-wh.de> Message-ID: <05a901d973ac$2a70e070$7f52a150$@telus.net> Thanks for the tip .. however, while the background setting *does* control the background color of the input field on the Message Box, it does NOT affect the dark blue "highlight" within the field when the Box display previous commands. This is not biggie and I REALLY appreciate your time in responding... one click on the dark blue highlighting goes away. Thanks again! Doug -----Original Message----- From: use-livecode On Behalf Of Niggemann, Bernd via use-livecode Sent: Thursday, April 20, 2023 9:53 AM To: use-livecode at lists.runrev.com Cc: Niggemann, Bernd Subject: RE: card background color Douglas A. Ruisaard wrote: > The input line (?) on the MessageBox is also that deep blue ... I > scanned thru the C:\Program Files\RunRev\LiveCode 9.6.8 directory but > couldn't find any obviously relevant reference For me the backgroundcolor of the input line of the MessageBox is controlled by my setting of the backgroundColor of the Script Editor in LC Preferences. That also changes the backgroundcolor of the input field of single line and multiline input field of the message box. 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 martyknappster at gmail.com Thu Apr 20 13:22:13 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 20 Apr 2023 10:22:13 -0700 Subject: Weird window behavior In-Reply-To: <24A60DAE-38B7-497F-A7D5-567CB3AA9274@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> <24A60DAE-38B7-497F-A7D5-567CB3AA9274@gmail.com> Message-ID: <4DCE39FF-F8C4-4432-B116-BD3E1E7DF2A4@gmail.com> The question is - why would it do that? This is totally repeatable for me. Even when I create a new stack with no code in it whatsoever. Have any other app displaying a window (like a browser window), then click anything in the toolbar, for example, and that new stack will disappear back behind the browser window. Only happens on Ventura for me - not on any previous Mac OS that I’ve tried. And it’s doing it on 2 different Macs. It does it both in the IDE and in a standalone, so not caused by any plugins. Do you use the Levure framework by chance? I do - I’ll do some testing here to see if that might be effecting things. Marty > On Apr 20, 2023, at 7:49 AM, David V Glasgow via use-livecode wrote: > > Me too. Or maybe me too. Is this the same thing?... > > Even if focus shifts from my stack to Message Box, the next click on my stack causes it to just disappear. Most alarming until I realised what was happening. My stack is just behind everything else and CMD tab (x2) brings it to front. Phew... > > M2, LC 9.6.8 > > Cheers > > > Best Wishes, > > David Glasgow > Honorary Professor, Nottingham Trent University > Sexual Offences, Crime and Misconduct Research Unit > Consultant Forensic & Clinical Psychologist > Carlton Glasgow Partnership > Director, Child & Family Training, York > > > LinkedIn > >> On 19 Apr 2023, at 7:25 pm, Marty Knapp via use-livecode wrote: >> >> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >> >> Am I going crazy? >> >> Marty From Bernd.Niggemann at uni-wh.de Thu Apr 20 13:28:05 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 20 Apr 2023 17:28:05 +0000 Subject: card background color Message-ID: <1700F371-9EF3-4F55-BDDB-937C600139A1@uni-wh.de> Douglas A. Ruisaard wrote: > Thanks for the tip .. however, while the background setting *does* control > the background color of the input field on the Message Box, it does NOT > affect the dark blue "highlight" within the field when the Box display > previous commands. Sorry, I did not get that you meant the highlight color of the input field of the message box when the text is selected. I see that you use Window. I am on a Mac. The highlight color for all text in LC on a Mac is controlled by "System Preferences" -> "General". and is applied system wide to all apps. No idea how this is handled on Windows Computers. Kind regards Bernd From rdimola at evergreeninfo.net Thu Apr 20 13:32:44 2023 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 20 Apr 2023 13:32:44 -0400 Subject: error while signing Android app In-Reply-To: <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <003e01d973ae$20c7f7a0$6257e6e0$@net> I've always used "Keystore Explorer". It's Java based so it runs on any platform. Lots of options and a decent GUI. Give it a shot and see what's in your keystore file. 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: Thursday, April 20, 2023 12:12 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: error while signing Android app I did a search for the first few words of the error message and got a lot of hits. Here's one: https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstac koverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fi x-and-publish-to-google-play-store There are several solutions but it sounds like the keystore file can't be found, or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. I wonder if diacriticals or foreign characters may interfere. Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. The outside world will never see it. It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: > Hi all, > >> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode >> : >> >> Hi Jacque, >> >>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode >>> : >>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>> Hi friends, >>>> I created a selfsigning keystore with the app "Keymaker.app", which >>>> worked fine for my last app created with LC 9.6.8. >>>> But with LC 9.6.9 I get this LC error: >>>> ----------------------------------- >>>> There was an error while saving the standalone application signing >>>> failed - Certificate chain not found for: (PWD here) (PWD here) >>>> must reference a valid KeyStore key entry containing a private key >>>> and corresponding public key certificate chain >>>> ------------------------------------ >>>> >>> 0> Do I need to crewate the key with Android Studio? >>> Could this be related to the dialog box error that misplaces the >>> insertion point when you type? >> no, that looks like it has been fixed in LC 9.6.9 stable. >>> Or did you get the error before it asked for the password? >> No, that happens after I had entered all the passwords. > > I don't even know what the dialog ist trying to tell me. > Any ideas? Thank you. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 20 13:49:12 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Apr 2023 17:49:12 +0000 Subject: In case any of you missed it... In-Reply-To: References: Message-ID: That is interesting... and a bit scary. Just as I was getting my coffee, and before I saw this email, I was thinking that in less than 20 years we will be coding with sensors attached to our heads and driven by AI and reading our minds and learning from our corrections. Bob S > On Apr 20, 2023, at 07:16, Heather Laine via use-livecode wrote: > > Dear List Members, > > We just made what we think is the most significant announcement since Revolution 1.0: > > https://livecode.com/xavvi/ > > Looking forward to hearing what you all think about it! > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dougr at telus.net Thu Apr 20 14:16:06 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 11:16:06 -0700 Subject: card background color In-Reply-To: <1700F371-9EF3-4F55-BDDB-937C600139A1@uni-wh.de> References: <1700F371-9EF3-4F55-BDDB-937C600139A1@uni-wh.de> Message-ID: <05c101d973b4$2cc89270$8659b750$@telus.net> Hey! ... half an answer is better than none at all. Windows dev's are (secretly or not) jealous of the MAC OS and environment .. except when it comes to iPhones. Perhaps someone from the Mothership could chime in on this matter? Cheers! Doug -----Original Message----- From: use-livecode On Behalf Of Niggemann, Bernd via use-livecode Sent: Thursday, April 20, 2023 10:28 AM To: use-livecode at lists.runrev.com Cc: Niggemann, Bernd Subject: RE: card background color Douglas A. Ruisaard wrote: > Thanks for the tip .. however, while the background setting *does* > control the background color of the input field on the Message Box, it > does NOT affect the dark blue "highlight" within the field when the > Box display previous commands. Sorry, I did not get that you meant the highlight color of the input field of the message box when the text is selected. I see that you use Window. I am on a Mac. The highlight color for all text in LC on a Mac is controlled by "System Preferences" -> "General". and is applied system wide to all apps. No idea how this is handled on Windows Computers. 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 Bernd.Niggemann at uni-wh.de Thu Apr 20 14:53:26 2023 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 20 Apr 2023 18:53:26 +0000 Subject: card background color Message-ID: <5A3D895E-0F12-4EF2-9BD8-6F65D28F700A@uni-wh.de> Douglas A. Ruisaard wrote: > Hey! ... half an answer is better than none at all. BTW the background color used for stacks while dragging a control from the toolbar is supposedly the "Edition Color" While I like the blue as "Edition Color" it is a little dark as background color. Just wait until LC offers the "Black Edition"... While testing the backgroundcolor of stacks when dragging a control from the toolbar I was again annoyed that when stacks overlap the target stack for the control (usually your frontmost stack = default stack) the background color only changes when you leave the rect of a partially overlapping stack although your mouse is within the rect of your default/target stack. That in my opinion is not the best user interface. Since I work on a laptop the problem of overlapping stacks is not uncommon. I had a look at it and made an enhancement request with a proposed fix. https://quality.livecode.com/show_bug.cgi?id=24189 Anyone adventurous enough could test the proposed patch by applying it temporarily to stack "revTools" to handler "on mouseDown" Kind regards Bernd From ahsoftware at sonic.net Thu Apr 20 14:53:43 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 20 Apr 2023 11:53:43 -0700 Subject: In case any of you missed it... In-Reply-To: References: Message-ID: <8af33d0e-7932-d630-a19e-f7e0421ddf9e@sonic.net> On 4/20/23 10:49, Bob Sneidar via use-livecode wrote: > That is interesting... and a bit scary. Just as I was getting my coffee, and before I saw this email, I was thinking that in less than 20 years we will be coding with sensors attached to our heads and driven by AI and reading our minds and learning from our corrections. I'll be impressed when it can create an improved version of itself. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Thu Apr 20 15:01:50 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 20 Apr 2023 12:01:50 -0700 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <144287e4665c1d4d8d76b0b457870500@livecode.com> References: <144287e4665c1d4d8d76b0b457870500@livecode.com> Message-ID: <21517fb0-f23f-d1cf-e1d1-3c4c50b8093a@sonic.net> On 4/20/23 07:20, Mark Waddingham via use-livecode wrote: > Heh - well if there is a Linux specific issue that we haven't seen but > you do - then its not likely to be fixed in dp-6 unless we know what it > is :D Well, I've coded around two problems already. I'm currently working on a crashing one on both linux and OSX. Seems to be related to the Chart widget in 10-dp4 as well so not anything really new. I'm guessing it's CEF-related. -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Thu Apr 20 15:15:10 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 20 Apr 2023 21:15:10 +0200 Subject: error while signing Android app In-Reply-To: <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque, > Am 20.04.2023 um 18:11 schrieb J. Landman Gay via use-livecode : > > I did a search for the first few words of the error message and got a lot of hits. Here's one: > https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fix-and-publish-to-google-play-store > > There are several solutions but it sounds like the keystore file can't be found, ??? I added this in the Standalone Application Setting. So it IS present and LC knows where it is! Not? Maybe I misunderstand this completely... > or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. Isn't that the meaning of an ALIAS? That it can be named differently than the original? > I wonder if diacriticals or foreign characters may interfere. > Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. > The outside world will never see it. I did, only used ASCII and UNDERSCORES, NO spaces and umlauts etc. > It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. I did and got different errors! :-/ Oh my... Matthias Rebbe helped me out and created a keystore file for me, will test it tomorrow and report here about success or fail. :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: > >> Hi all, >> >>> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : >>> >>> Hi Jacque, >>> >>>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >>>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>>> Hi friends, >>>>> I created a selfsigning keystore with the app >>>>> "Keymaker.app", which worked fine for my last app >>>>> created with LC 9.6.8. >>>>> But with LC 9.6.9 I get this LC error: >>>>> ----------------------------------- >>>>> There was an error while saving the standalone application >>>>> signing failed - Certificate chain not found for: (PWD here) >>>>> (PWD here) must reference a valid KeyStore key entry containing >>>>> a private key and corresponding public key certificate chain >>>>> ------------------------------------ >>>>> >>>>> Do I need to crewate the key with Android Studio? >>>> Could this be related to the dialog box error that misplaces the insertion point when you type? >>> no, that looks like it has been fixed in LC 9.6.9 stable. >>>> Or did you get the error before it asked for the password? >>> No, that happens after I had entered all the passwords. >> >> I don't even know what the dialog ist trying to tell me. >> Any ideas? Thank you. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Thu Apr 20 16:09:30 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 20 Apr 2023 22:09:30 +0200 Subject: error while signing Android app In-Reply-To: References: <0F290F19-7FAF-47FF-BC1C-6838FCBD0220@major-k.de> <1d3b08fc-bf98-c2c6-b8ca-f4e9da19a6c3@hyperactivesw.com> <1879f6fa5b8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <9828CA37-E563-4F54-89B1-6141F99C527F@m-r-d.de> The keystore file can contain more than one certificate (alias). For each certificate(alias) you can specify an other password (and also other values for FullName, Organization, OrganizationUnit and so on. The name of the alias is only important for you so that you can distinguish between the different certificates (aliases) in the keystore. You could of course use the same password for the Keystore itself and also for each alias, but for security reasons it might be better to use one password to secure the Keystore and different passwords for each alias. Regards, Matthias > Am 20.04.2023 um 21:15 schrieb Klaus major-k via use-livecode : > > Hi Jacque, > >> Am 20.04.2023 um 18:11 schrieb J. Landman Gay via use-livecode : >> >> I did a search for the first few words of the error message and got a lot of hits. Here's one: >> https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fix-and-publish-to-google-play-store >> >> There are several solutions but it sounds like the keystore file can't be found, > > ??? I added this in the Standalone Application Setting. > So it IS present and LC knows where it is! Not? > Maybe I misunderstand this completely... > >> or else the alias name doesn't match the keystore fillename. It may be that the keystore tool you're using assigned a different alias name. > > Isn't that the meaning of an ALIAS? > That it can be named differently than the original? > >> I wonder if diacriticals or foreign characters may interfere. >> Name your alias and keystore with a single word using only plain ascii, no spaces or punctuation. >> The outside world will never see it. > > I did, only used ASCII and UNDERSCORES, NO spaces and umlauts etc. > >> It's not hard to just use Terminal to generate your own keystore. That way you know what's in there. > > I did and got different errors! :-/ > Oh my... > > Matthias Rebbe helped me out and created a keystore file for me, > will test it tomorrow and report here about success or fail. :-) > >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 20, 2023 4:16:55 AM Klaus major-k via use-livecode wrote: >> >>> Hi all, >>> >>>> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode : >>>> >>>> Hi Jacque, >>>> >>>>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode : >>>>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote: >>>>>> Hi friends, >>>>>> I created a selfsigning keystore with the app >>>>>> "Keymaker.app", which worked fine for my last app >>>>>> created with LC 9.6.8. >>>>>> But with LC 9.6.9 I get this LC error: >>>>>> ----------------------------------- >>>>>> There was an error while saving the standalone application >>>>>> signing failed - Certificate chain not found for: (PWD here) >>>>>> (PWD here) must reference a valid KeyStore key entry containing >>>>>> a private key and corresponding public key certificate chain >>>>>> ------------------------------------ >>>>>> >>>>>> Do I need to crewate the key with Android Studio? >>>>> Could this be related to the dialog box error that misplaces the insertion point when you type? >>>> no, that looks like it has been fixed in LC 9.6.9 stable. >>>>> Or did you get the error before it asked for the password? >>>> No, that happens after I had entered all the passwords. >>> >>> I don't even know what the dialog ist trying to tell me. >>> Any ideas? Thank you. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Apr 20 16:29:15 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 20 Apr 2023 16:29:15 -0400 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <21517fb0-f23f-d1cf-e1d1-3c4c50b8093a@sonic.net> References: <144287e4665c1d4d8d76b0b457870500@livecode.com> <21517fb0-f23f-d1cf-e1d1-3c4c50b8093a@sonic.net> Message-ID: if you want to throw those at the hacking the ide repo, that'd be great https://github.com/macMikey/LC-HACK/issues On Thu, Apr 20, 2023 at 3:02 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/20/23 07:20, Mark Waddingham via use-livecode wrote: > > > Heh - well if there is a Linux specific issue that we haven't seen but > > you do - then its not likely to be fixed in dp-6 unless we know what it > > is :D > > Well, I've coded around two problems already. > I'm currently working on a crashing one on both linux and OSX. > Seems to be related to the Chart widget in 10-dp4 as well so not > anything really new. I'm guessing it's CEF-related. > > -- > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dougr at telus.net Thu Apr 20 21:36:41 2023 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 20 Apr 2023 18:36:41 -0700 Subject: GLX2 questions Message-ID: <06b801d973f1$b9a2ff40$2ce8fdc0$@telus.net> Hopefully this note isn't inappropriate for this listing . This message is primarily intended for Mark Wieder. I've just installed GLX2 editor (and Power Debug) and have some questions regarding the Hyperlink and Breadcrumbs aspects of GLX2. I've sent a rather lengthy personal contact from the LC forum. but I know Mark is very active on this list. Hopefully Mark will be able to answer my questions. Thanks in advance Douglas Ruisaard From ahsoftware at sonic.net Thu Apr 20 21:50:26 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 20 Apr 2023 18:50:26 -0700 Subject: GLX2 questions In-Reply-To: <06b801d973f1$b9a2ff40$2ce8fdc0$@telus.net> References: <06b801d973f1$b9a2ff40$2ce8fdc0$@telus.net> Message-ID: <81b81063-678e-11ee-94d1-cc206b3c0a5e@sonic.net> On 4/20/23 18:36, Douglas A. Ruisaard via use-livecode wrote: > Hopefully this note isn't inappropriate for this listing . This message is > primarily intended for Mark Wieder. I've just installed GLX2 editor (and > Power Debug) and have some questions regarding the Hyperlink and Breadcrumbs > aspects of GLX2. I've sent a rather lengthy personal contact from the LC > forum. but I know Mark is very active on this list. Hopefully Mark will be > able to answer my questions. No worries. I got your PM. I'll have a look at it, but it's been some years since I've looked at that code. -- Mark Wieder ahsoftware at gmail.com From hakan at exformedia.se Fri Apr 21 04:49:18 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Fri, 21 Apr 2023 10:49:18 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: Message-ID: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? :-Håkan > On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: > > - A prototype implementation of the 'script widgets' feature has > been included From matthias_livecode_150811 at m-r-d.de Fri Apr 21 08:02:14 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 14:02:14 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> Message-ID: <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> Hakan, as far as I know you have to create a script only stack and name it for example se.eformedia.widget.MyButton Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. Create a resizeControl handler in which you put any code that is responsible for resizing the controls. Use getProp and SetProp handlers to add properties for the control As long as the stack is in memory you do not need to use the extension builder to test the script widget. You could just use the message box and execute the following: create widget as "se.eformedia.widget.MyButton" use here the name of the stack you used at the beginning. To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example https://livecode.com/documents/sample-script-widget.zip The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. But it's a DP so let's see. Regards, Matthias > Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode : > > This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? > > :-Håkan > >> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: >> >> - A prototype implementation of the 'script widgets' feature has >> been included > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Apr 21 09:23:27 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 21 Apr 2023 14:23:27 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> Message-ID: <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> Thanks Matthias for shedding some light on this new feature. I read the blog post as well and it references something called a “widget chunk”. I couldn’t fine anything on it. Do you know what it is? Mark > On 21 Apr 2023, at 1:02 pm, matthias rebbe via use-livecode wrote: > > To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example > https://livecode.com/documents/sample-script-widget.zip > The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ From heather at livecode.com Fri Apr 21 12:29:34 2023 From: heather at livecode.com (Heather Laine) Date: Fri, 21 Apr 2023 17:29:34 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> Message-ID: Ali has now written a lesson on using Script Widgets, you can find it here: https://lessons.livecode.com/m/98525/l/1672543-creating-a-script-widget Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 21 Apr 2023, at 14:23, Mark Smith via use-livecode wrote: > > Thanks Matthias for shedding some light on this new feature. I read the blog post as well and it references something called a “widget chunk”. I couldn’t fine anything on it. Do you know what it is? > > Mark > > >> On 21 Apr 2023, at 1:02 pm, matthias rebbe via use-livecode wrote: >> >> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >> https://livecode.com/documents/sample-script-widget.zip >> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Apr 21 13:46:26 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 21 Apr 2023 18:46:26 +0100 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <84AED347-7F88-4CFD-859A-1B4309F7F11B@gmail.com> Message-ID: Thanks Heather and Ali. So exciting to see this development. Mark > On 21 Apr 2023, at 5:29 pm, Heather Laine via use-livecode wrote: > > Ali has now written a lesson on using Script Widgets, you can find it here: > > https://lessons.livecode.com/m/98525/l/1672543-creating-a-script-widget > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 21 Apr 2023, at 14:23, Mark Smith via use-livecode wrote: >> >> Thanks Matthias for shedding some light on this new feature. I read the blog post as well and it references something called a “widget chunk”. I couldn’t fine anything on it. Do you know what it is? >> >> Mark >> >> >>> On 21 Apr 2023, at 1:02 pm, matthias rebbe via use-livecode wrote: >>> >>> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >>> https://livecode.com/documents/sample-script-widget.zip >>> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Apr 21 14:16:03 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 21 Apr 2023 20:16:03 +0200 Subject: Windows and MP3 Message-ID: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> Hi friends, quick question to Windows User: Is LC on Windows currently able to play MP3 in a player object out of the box? I mean without installing third party codecs, like currently still neccessary for playing MP4 video files? Thanks for a quick answer! I'm very curious for the new support of the current multimedia architecture on Windows coming with LC 10! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Fri Apr 21 16:02:30 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 22:02:30 +0200 Subject: Windows and MP3 In-Reply-To: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> References: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> Message-ID: <481D24B5-4DE8-4D24-9884-B36071417854@m-r-d.de> Just tried here with LC10DP4 on freshly installed Windows 11. The .mp3 plays fine. Regards, Matthias P.s.: Wie war das mit "Aber für heute mach ich Feierabend! " ;) > Am 21.04.2023 um 20:16 schrieb Klaus major-k via use-livecode : > > Hi friends, > > quick question to Windows User: > Is LC on Windows currently able to play MP3 in a player object > out of the box? I mean without installing third party codecs, > like currently still neccessary for playing MP4 video files? > > Thanks for a quick answer! > > I'm very curious for the new support of the current multimedia > architecture on Windows coming with LC 10! :-) > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Fri Apr 21 16:10:50 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Fri, 21 Apr 2023 22:10:50 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> Message-ID: <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… …but still. Can now work from that! Thanks anyway! :-Håkan > On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode wrote: > > Hakan, > > as far as I know > > you have to create a script only stack and name it for example > se.eformedia.widget.MyButton > > Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. > > Create a resizeControl handler in which you put any code that is responsible for resizing the controls. > > Use getProp and SetProp handlers to add properties for the control > As long as the stack is in memory you do not need to use the extension builder to test the script widget. > You could just use the message box and execute the following: > > create widget as "se.eformedia.widget.MyButton" > > use here the name of the stack you used at the beginning. > > > To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example > https://livecode.com/documents/sample-script-widget.zip > The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ > > > > My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. > In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. > But it's a DP so let's see. > > > Regards, > Matthias > > > > > >> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode : >> >> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >> >> :-Håkan >> >>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: >>> >>> - A prototype implementation of the 'script widgets' feature has >>> been included >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Apr 21 17:32:22 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 23:32:22 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: <41C4033E-5518-41D6-9536-1CA282FBD908@m-r-d.de> > Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : > > Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… > …but still. Can now work from that! > > Thanks anyway! > > :-Håkan > >> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode wrote: >> >> Hakan, >> >> as far as I know >> >> you have to create a script only stack and name it for example >> se.eformedia.widget.MyButton >> >> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >> >> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >> >> Use getProp and SetProp handlers to add properties for the control >> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >> You could just use the message box and execute the following: >> >> create widget as "se.eformedia.widget.MyButton" >> >> use here the name of the stack you used at the beginning. >> >> >> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >> https://livecode.com/documents/sample-script-widget.zip >> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >> >> >> >> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >> But it's a DP so let's see. >> >> >> Regards, >> Matthias >> >> >> >> >> >>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode : >>> >>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>> >>> :-Håkan >>> >>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode wrote: >>>> >>>> - A prototype implementation of the 'script widgets' feature has >>>> been included >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Fri Apr 21 17:45:12 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 21 Apr 2023 23:45:12 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: Here LC is also crashing to Desktop. Tried now the steps of Ali's lesson, but LC still is crashing. But maybe there is an typo in one of my scripts, so they are not identical to the ones in the lesson. Will wait with a bug report until Ali is adding the final stack to the lesson or at least the complete stack script that can be copied. Currently only screenshots from the scripts are shown. > Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : > > Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… > …but still. Can now work from that! > > Thanks anyway! > > :-Håkan > >> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode > wrote: >> >> Hakan, >> >> as far as I know >> >> you have to create a script only stack and name it for example >> se.eformedia.widget.MyButton >> >> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >> >> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >> >> Use getProp and SetProp handlers to add properties for the control >> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >> You could just use the message box and execute the following: >> >> create widget as "se.eformedia.widget.MyButton" >> >> use here the name of the stack you used at the beginning. >> >> >> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >> https://livecode.com/documents/sample-script-widget.zip >> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >> >> >> >> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >> But it's a DP so let's see. >> >> >> Regards, >> Matthias >> >> >> >> >> >>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode >: >>> >>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>> >>> :-Håkan >>> >>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode > wrote: >>>> >>>> - A prototype implementation of the 'script widgets' feature has >>>> been included >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From hakan at exformedia.se Fri Apr 21 18:46:52 2023 From: hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Liljegren?=) Date: Sat, 22 Apr 2023 00:46:52 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: For me following the steps it doesn’t crash but I get an empty widget without any visible label when I am supposed to create a new widget. If I follow through with the code still nothing is visible. If I create a new script only stack and copy the code of the Square widget. I can create a widget that is placed in the upper left corner. But I see none of the properties in the inspector. If I open the Extension Builder and load the widget and test it it works! When trying to build a simple widget it is super easy to crash LiveCode. If you use the id of the control but misses the id key word anywhere it crashes. Like: set the backgroundColor of control sMyControlID instead of set the backgroundColor of control id sMyControlID But now it moves forward anyway! My best tips so far: Save often and load the widget via the Extensions Builder Happy coding! > On 21 Apr 2023, at 23:45, matthias rebbe via use-livecode wrote: > > Here LC is also crashing to Desktop. > > Tried now the steps of Ali's lesson, > but LC still is crashing. But maybe there is an typo in one of my scripts, so they are not identical to the ones in the lesson. > Will wait with a bug report until Ali is adding the final stack to the lesson or at least the complete stack script that can be copied. Currently only screenshots from the scripts are shown. > > >> Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : >> >> Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… >> …but still. Can now work from that! >> >> Thanks anyway! >> >> :-Håkan >> >>> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode > wrote: >>> >>> Hakan, >>> >>> as far as I know >>> >>> you have to create a script only stack and name it for example >>> se.eformedia.widget.MyButton >>> >>> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >>> >>> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >>> >>> Use getProp and SetProp handlers to add properties for the control >>> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >>> You could just use the message box and execute the following: >>> >>> create widget as "se.eformedia.widget.MyButton" >>> >>> use here the name of the stack you used at the beginning. >>> >>> >>> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >>> https://livecode.com/documents/sample-script-widget.zip >>> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >>> >>> >>> >>> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >>> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >>> But it's a DP so let's see. >>> >>> >>> Regards, >>> Matthias >>> >>> >>> >>> >>> >>>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode >: >>>> >>>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>>> >>>> :-Håkan >>>> >>>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode > wrote: >>>>> >>>>> - A prototype implementation of the 'script widgets' feature has >>>>> been included >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Apr 21 18:58:22 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 22 Apr 2023 00:58:22 +0200 Subject: [[ ANN ]] Release 10.0.0 DP-5 In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> Message-ID: <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Sorry i was not clear enough. When using Ali's steps creating the widget using the message box i also get only an empty widget. When i try to install it using the extension builder then LC is crashing. Maybe there are some steps missing in Ali's description. I have plenty of ideas what i could use that new feature for. > . But I see none of the properties in the inspector. The properties of the controls in the widget are not accessible through the PI, you have to set/get them by script set the fillcolor of widget id 1047 to "black" for example would change the background color of the square to black Matthias > Am 22.04.2023 um 00:46 schrieb Håkan Liljegren : > > For me following the steps it doesn’t crash but I get an empty widget without any visible label when I am supposed to create a new widget. If I follow through with the code still nothing is visible. If I create a new script only stack and copy the code of the Square widget. I can create a widget that is placed in the upper left corner. But I see none of the properties in the inspector. > If I open the Extension Builder and load the widget and test it it works! > > When trying to build a simple widget it is super easy to crash LiveCode. > > If you use the id of the control but misses the id key word anywhere it crashes. Like: > set the backgroundColor of control sMyControlID > instead of > set the backgroundColor of control id sMyControlID > > But now it moves forward anyway! > > My best tips so far: Save often and load the widget via the Extensions Builder > > Happy coding! > >> On 21 Apr 2023, at 23:45, matthias rebbe via use-livecode wrote: >> >> Here LC is also crashing to Desktop. >> >> Tried now the steps of Ali's lesson, >> but LC still is crashing. But maybe there is an typo in one of my scripts, so they are not identical to the ones in the lesson. >> Will wait with a bug report until Ali is adding the final stack to the lesson or at least the complete stack script that can be copied. Currently only screenshots from the scripts are shown. >> >> >>> Am 21.04.2023 um 22:10 schrieb Håkan Liljegren : >>> >>> Thanks for the input. I thought I had done everything until I finally realised that the file dialog that comes up had a button in the lower left corner that said: “Show options”. =-o So then I could select “LiveCode Script” as format. And tada. Well, LiveCode crashed… >>> …but still. Can now work from that! >>> >>> Thanks anyway! >>> >>> :-Håkan >>> >>>> On 21 Apr 2023, at 14:02, matthias rebbe via use-livecode > wrote: >>>> >>>> Hakan, >>>> >>>> as far as I know >>>> >>>> you have to create a script only stack and name it for example >>>> se.eformedia.widget.MyButton >>>> >>>> Then add a openControl handler to the script and put the part of your script into it that creates the internal widget controls. >>>> >>>> Create a resizeControl handler in which you put any code that is responsible for resizing the controls. >>>> >>>> Use getProp and SetProp handlers to add properties for the control >>>> As long as the stack is in memory you do not need to use the extension builder to test the script widget. >>>> You could just use the message box and execute the following: >>>> >>>> create widget as "se.eformedia.widget.MyButton" >>>> >>>> use here the name of the stack you used at the beginning. >>>> >>>> >>>> To build the widget using the extension builder you'll need to add some more to the script. You could use the following sample stack as an example >>>> https://livecode.com/documents/sample-script-widget.zip >>>> The link to that stack was posted in the Blog here https://livecode.com/livecode-10-dp-5-smaller-faster-richer/ >>>> >>>> >>>> >>>> My problem currently is, that LC crashes to Desktop right away when I try to build the widget using the extension builder. >>>> In my opinion this should not happen. There should be some routine that prevents LC from crashing when there is a problem with building the script widget. >>>> But it's a DP so let's see. >>>> >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>> >>>> >>>> >>>>> Am 21.04.2023 um 10:49 schrieb Håkan Liljegren via use-livecode >: >>>>> >>>>> This caught my eye as I have several “controls” already that could be turned into "script widgets”. But after “scriptifying” a “group widget” how can I turn it into a script widget. I can’t add the file in the extension builder so how can I create the needed .lce file? Or is this a “not implemented yet” feature? >>>>> >>>>> :-Håkan >>>>> >>>>>> On 18 Apr 2023, at 19:18, panagiotis merakos via use-livecode > wrote: >>>>>> >>>>>> - A prototype implementation of the 'script widgets' feature has >>>>>> been included >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Sat Apr 22 14:20:02 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 22 Apr 2023 18:20:02 +0000 Subject: Android 13? In-Reply-To: <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Message-ID: I have a custom that is trying to install my app (from the Google Play Store) and says they are getting the message, “This app was built for an older version of Android…”. The app was built with 9.6.2. Does LC support this version of Android? And, if so, what version of LC do I need to use? Thank you in advance, -Dan From matthias_livecode_150811 at m-r-d.de Sat Apr 22 15:13:18 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 22 Apr 2023 21:13:18 +0200 Subject: Android 13? In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Message-ID: <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> The release notes of the lates build of LC (LC10DP5 and LC9.6.9) say: "The Android engine supports devices using x86, x86-64, ARM and ARM64 processors. It will run on the following versions of Android: 5.0-5.1 (Lollipop) 6.0 (Marshmallow) 7.x (Nougat) 8.x (Oreo) 9.0 (Pie) 10.0 (Q) 11.0 (R)" > dAm 22.04.2023 um 20:20 schrieb Dan Friedman via use-livecode : > > I have a custom that is trying to install my app (from the Google Play Store) and says they are getting the message, “This app was built for an older version of Android…”. The app was built with 9.6.2. Does LC support this version of Android? And, if so, what version of LC do I need to use? > > Thank you in advance, > -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 merakosp at gmail.com Sat Apr 22 15:18:49 2023 From: merakosp at gmail.com (panagiotis m) Date: Sat, 22 Apr 2023 22:18:49 +0300 Subject: Android 13? In-Reply-To: <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> Message-ID: Hello all, LiveCode does support Android 13. The release notes need to be updated. Dan, if you rebuild the app with lc 9.6.9 I think you should be fine. I am not sure why an app built with 9.6.2 would throw this error, but it has been a long time since 9.6.2 anyway. Cheers, Panos On Sat, Apr 22, 2023, 10:14 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > The release notes of the lates build of LC (LC10DP5 and LC9.6.9) say: > "The Android engine supports devices using x86, x86-64, ARM and ARM64 > processors. It will run on the following versions of Android: > 5.0-5.1 (Lollipop) > 6.0 (Marshmallow) > 7.x (Nougat) > 8.x (Oreo) > 9.0 (Pie) > 10.0 (Q) > 11.0 (R)" > > > > > > > > dAm 22.04.2023 um 20:20 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > I have a custom that is trying to install my app (from the Google Play > Store) and says they are getting the message, “This app was built for an > older version of Android…”. The app was built with 9.6.2. Does LC > support this version of Android? And, if so, what version of LC do I need > to use? > > > > Thank you in advance, > > -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 jacque at hyperactivesw.com Sat Apr 22 15:41:50 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 Apr 2023 14:41:50 -0500 Subject: Android 13? In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> Message-ID: <2bd0f618-0be1-99a5-f768-8e159925e3c8@hyperactivesw.com> I believe this is an error relating to the target version embedded in the app. Google's policy says that new and updated apps must target an Android API no earlier than 2 versions behind the current one. Since API 33 is current, your app must target at least API 31. Android 14 will be released very soon (in a couple of weeks I think) and any apps submitted after that will need to target API 32+. Note that the target API is not the same as the minimum supported version which can be much lower. LC 9.6.9 targets API 31. I don't think LC 10 has updated the target yet, so 9.6.9 is your best bet. The target API has to be an LC engine update, we can't change it ourselves. Here's a list of required APIs for new and updated apps: That said, I'm not sure if your customer can download the app anyway, or if it is just a warning. Google says if they already have an older copy of the app, they can still see the app in the store. If they have never installed the app, it won't be available to them even if they do a search. On 4/22/23 1:20 PM, Dan Friedman via use-livecode wrote: > I have a custom that is trying to install my app (from the Google Play Store) and says they are getting the message, “This app was built for an older version of Android…”. The app was built with 9.6.2. Does LC support this version of Android? And, if so, what version of LC do I need to use? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Sat Apr 22 15:45:54 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 22 Apr 2023 21:45:54 +0200 Subject: Android 13? In-Reply-To: References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> Message-ID: <5E2FF2B5-5A7C-4EC3-A4B7-24324952706C@m-r-d.de> Hello Panos, > LiveCode does support Android 13. The release notes need to be updated. But only as host platform on which LC Android apps (5 to 12) can be run, right? Tried that btw now and i can run an Android standalone built with 9.6.9 in the Android 13 simulator. But building standalones for minimum Android version 13 is not possible, correct? At least only 5 to 12 are currently possible options in the standalone builder. Matthias > Am 22.04.2023 um 21:18 schrieb panagiotis m via use-livecode : > > Hello all, > > LiveCode does support Android 13. The release notes need to be updated. > Dan, if you rebuild the app with lc 9.6.9 I think you should be fine. I am > not sure why an app built with 9.6.2 would throw this error, but it has > been a long time since 9.6.2 anyway. > > Cheers, > Panos > > On Sat, Apr 22, 2023, 10:14 PM matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The release notes of the lates build of LC (LC10DP5 and LC9.6.9) say: >> "The Android engine supports devices using x86, x86-64, ARM and ARM64 >> processors. It will run on the following versions of Android: >> 5.0-5.1 (Lollipop) >> 6.0 (Marshmallow) >> 7.x (Nougat) >> 8.x (Oreo) >> 9.0 (Pie) >> 10.0 (Q) >> 11.0 (R)" >> >> >> >> >> >> >>> dAm 22.04.2023 um 20:20 schrieb Dan Friedman via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> I have a custom that is trying to install my app (from the Google Play >> Store) and says they are getting the message, “This app was built for an >> older version of Android…”. The app was built with 9.6.2. Does LC >> support this version of Android? And, if so, what version of LC do I need >> to use? >>> >>> Thank you in advance, >>> -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 klaus at major-k.de Sat Apr 22 16:19:51 2023 From: klaus at major-k.de (Klaus major-k) Date: Sat, 22 Apr 2023 22:19:51 +0200 Subject: Windows and MP3 In-Reply-To: <481D24B5-4DE8-4D24-9884-B36071417854@m-r-d.de> References: <8056C592-0AD5-4366-A260-AB6E6B27DD46@major-k.de> <481D24B5-4DE8-4D24-9884-B36071417854@m-r-d.de> Message-ID: Hi Mathias, > Am 21.04.2023 um 22:02 schrieb matthias rebbe via use-livecode : > > Just tried here with LC10DP4 on freshly installed Windows 11. > The .mp3 plays fine. great, thank you for checking! > Regards, > Matthias > > P.s.: Wie war das mit "Aber für heute mach ich Feierabend! " ;) No comment... :-D >> Am 21.04.2023 um 20:16 schrieb Klaus major-k via use-livecode : >> >> Hi friends, >> >> quick question to Windows User: >> Is LC on Windows currently able to play MP3 in a player object >> out of the box? I mean without installing third party codecs, >> like currently still neccessary for playing MP4 video files? >> >> Thanks for a quick answer! >> >> I'm very curious for the new support of the current multimedia >> architecture on Windows coming with LC 10! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From mark at livecode.com Sun Apr 23 05:18:00 2023 From: mark at livecode.com (Mark Waddingham) Date: Sun, 23 Apr 2023 10:18:00 +0100 Subject: Android 13? In-Reply-To: <2bd0f618-0be1-99a5-f768-8e159925e3c8@hyperactivesw.com> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <2bd0f618-0be1-99a5-f768-8e159925e3c8@hyperactivesw.com> Message-ID: <0c5dd5e03f7999a5080b585069d4ba79@livecode.com> On 2023-04-22 20:41, J. Landman Gay via use-livecode wrote: > I believe this is an error relating to the target version embedded in > the app. Google's policy says that new and updated apps must target an > Android API no earlier than 2 versions behind the current one. Since > API 33 is current, your app must target at least API 31. Android 14 > will be released very soon (in a couple of weeks I think) and any apps > submitted after that will need to target API 32+. Note that the target > API is not the same as the minimum supported version which can be much > lower. Google have now made it so that the effects on appstore submission are on a fixed date each year - August 31st - https://support.google.com/googleplay/android-developer/answer/11926878?hl=en. So the release of Android 14 won't affect the ability to submit apps or updates. We'll update the engine and s/b appropriately by the August deadline though :) > LC 9.6.9 targets API 31. I don't think LC 10 has updated the target > yet, so 9.6.9 is your best bet. The target API has to be an LC engine > update, we can't change it ourselves. So 10-dp-5 includes all (maintenance related changes) in 9.6.9 - so also contains the updates to Android (and iOS) version targets. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Sun Apr 23 05:22:27 2023 From: mark at livecode.com (Mark Waddingham) Date: Sun, 23 Apr 2023 10:22:27 +0100 Subject: Android 13? In-Reply-To: <5E2FF2B5-5A7C-4EC3-A4B7-24324952706C@m-r-d.de> References: <30C0B2E1-0327-42E1-94B9-C745113E1290@exformedia.se> <98EB3377-6503-4BA6-A168-65E9E1CE5D50@m-r-d.de> <51C3D2F1-CFD1-47F1-AAAF-DF94355EDB4A@exformedia.se> <908BE937-B048-472E-B0D4-6FBEA5091386@m-r-d.de> <1A7282BF-27EA-4287-B87C-4DE60606FB28@m-r-d.de> <5E2FF2B5-5A7C-4EC3-A4B7-24324952706C@m-r-d.de> Message-ID: <9a151b05868de6d47d4b1f6c9d77f47b@livecode.com> > But building standalones for minimum Android version 13 is not > possible, correct? At least only 5 to 12 are currently possible options > in the standalone builder. We really need to make that drop-down work out its values from the built engine somehow :) The min-version controls the lowest version of Android the app will install on - not whether it will run. i.e. You don't set to in order to make the app run on (say) Android 13, but to say that it *only* runs on that version. (If you do need to make an app only run on Android 13, for some reason right now, you would need to use a custom manifest) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Sun Apr 23 15:18:47 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 23 Apr 2023 21:18:47 +0200 Subject: more then 1 browser widget in a web standalone? Message-ID: Hi, does any one know if it should be possible to use more than one Browser Widget in a Web standalone? Currently i only get 1 browser widget display in the Web standalone. Regards, Matthias From matthias_livecode_150811 at m-r-d.de Mon Apr 24 10:46:50 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 24 Apr 2023 16:46:50 +0200 Subject: more then 1 browser widget in a web standalone? In-Reply-To: References: Message-ID: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> I can now confirm that more than one Browser Widget will work in Web standalones, but not all URLs that work in LC IDE or Desktop standalones will work in Web standalones. For example this one here fails in Web Standalones. https://www.whatismybrowser.com/de/ > Am 23.04.2023 um 21:18 schrieb matthias rebbe via use-livecode : > > Hi, > does any one know if it should be possible to use more than one Browser Widget in a Web standalone? > Currently i only get 1 browser widget display in the Web standalone. > > Regards, > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Mon Apr 24 11:05:16 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 24 Apr 2023 16:05:16 +0100 Subject: more then 1 browser widget in a web standalone? In-Reply-To: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> References: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> Message-ID: On 2023-04-24 15:46, matthias rebbe via use-livecode wrote: > I can now confirm that more than one Browser Widget will work in Web > standalones, but not all URLs that work in LC IDE or Desktop > standalones will work in Web standalones. > For example this one here fails in Web Standalones. > > https://www.whatismybrowser.com/de/ The web browser widget is implemented as an IFrame - this comes with it a fair amount of security restrictions unless the website being embedded has appropriate cross-origin settings (or comes from the same host as the surrounding page). In this case, I suspect the website is just refusing to be embedded - indeed if you go to: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_iframe_height_width Then change the src to the website above then it won't work there either. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Mon Apr 24 11:36:44 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 24 Apr 2023 17:36:44 +0200 Subject: more then 1 browser widget in a web standalone? In-Reply-To: References: <2F46AD3E-2A80-46D6-A90E-E28330B0CD9E@m-r-d.de> Message-ID: Hello Mark, thank you very much for clarifying. Tried the w3schools.com website and added the whatismybrowser... url as you suggested and it is not displayed. Good to know what was the reason for it. Regards, Matthias > Am 24.04.2023 um 17:05 schrieb Mark Waddingham via use-livecode : > > On 2023-04-24 15:46, matthias rebbe via use-livecode wrote: >> I can now confirm that more than one Browser Widget will work in Web standalones, but not all URLs that work in LC IDE or Desktop standalones will work in Web standalones. >> For example this one here fails in Web Standalones. >> https://www.whatismybrowser.com/de/ > > The web browser widget is implemented as an IFrame - this comes with it a fair amount of security restrictions unless the website being embedded has appropriate cross-origin settings (or comes from the same host as the surrounding page). > > In this case, I suspect the website is just refusing to be embedded - indeed if you go to: > > https://www.w3schools.com/html/tryit.asp?filename=tryhtml_iframe_height_width > > Then change the src to the website above then it won't work there either. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Apr 24 12:29:08 2023 From: heather at livecode.com (Heather Laine) Date: Mon, 24 Apr 2023 17:29:08 +0100 Subject: Webinar on Xavvi Tomorrow Message-ID: <8A610E75-94F7-4D42-BF38-AFC4EEBD7915@livecode.com> Dear List Folks, I trouble you briefly again. We're having a free webinar on Xavvi tomorrow where you can see a live demo and bring your questions. In case some of you have missed the invite and would like to join, there is still space: https://us02web.zoom.us/webinar/register/3716823534510/WN_VUS-nJ9pR8mhRP4tpImShA I'm really looking forward to seeing so many of you there, its going to be a great session :) Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From Mark at rauterkus.com Wed Apr 26 20:58:41 2023 From: Mark at rauterkus.com (Mark Rauterkus) Date: Wed, 26 Apr 2023 20:58:41 -0400 Subject: Are we talking about the Xavvi efforts here? In-Reply-To: References: Message-ID: Hi, I have some questions. What’s up with the April 27th offer? When does the timeline begin. So, if a year license is obtained, when might that year begin? September 1? Chat GPT is used for the creation of the app, but can the AI be used within the app too? That seems to me to be a huge benefit. So in the example with the doctor’s table, could the AI fill the data of Doctors within the county or a 50 mile area? Mark Rauterkus Mark at Rauterkus.com From heather at livecode.com Thu Apr 27 05:42:54 2023 From: heather at livecode.com (Heather Laine) Date: Thu, 27 Apr 2023 10:42:54 +0100 Subject: Are we talking about the Xavvi efforts here? In-Reply-To: References: Message-ID: Mark - April 27th is when the very best discounts on pledging expire. The timeline for pledged licenses begins when we ship Xavvi. Yes, we're adding a chatGPT connector for you to use within your apps. I hope this helps, Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 27 Apr 2023, at 01:58, Mark Rauterkus via use-livecode wrote: > > Hi, > > I have some questions. > > What’s up with the April 27th offer? > > When does the timeline begin. So, if a year license is obtained, when might > that year begin? September 1? > > Chat GPT is used for the creation of the app, but can the AI be used within > the app too? That seems to me to be a huge benefit. So in the example with > the doctor’s table, could the AI fill the data of Doctors within the county > or a 50 mile area? > > > Mark Rauterkus > Mark at Rauterkus.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 benr_mc at cogapp.com Thu Apr 27 11:42:58 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 27 Apr 2023 16:42:58 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen Message-ID: I had a need to click on an element in a web page loaded in a browser widget on a card. There might be an elegant way to do this using javascript injected into the widget, but I'm too ignorant to figure it out. So to save time (hah!), I though I could use the accessibility functionality to just click on that bit of the screen. I could get the location to click within the stack, then use globalLoc to convert it to screen coordinates. (This is just a personal stack to achieve an objective, nothing that's ever going to be shared with anyone else, so any filthy/fragile method is OK if it works.) I tested this in Script Debugger: tell application "System Events" click at {917, 667} end tell It worked fine. So then I tried the same script in my stack, via do ... as "applescript" And after a brief spinning pizza, got the dry result "execution error". I expected that this would happen because I needed to give it permission to control the computer; but after granting that in System Preferences, there was no change. Just for fun, I tried building a standalone from my stack. This demonstrated a different effect: first I got the same result "execution error". Then I granted it permission for this standalone app to 'control the computer'. Now, there's still no evidence that it sends a click; but it gives a different result, which I think is the path to the UI element corresponding to that location. If the point is over a native control in the stack, it's something like window "Ben Test Stack (1)" of application process "Ben Test Stack" of application "System Events" (I don't think LiveCode controls are recognisable by the accessibility system.) If the point is over the browser widget, 'the result' is something like: group 2 of UI element 1 of scroll area 1 of group 1 of group 1 of window "Ben Test Stack (1)" of application process "Ben Test Stack" of application "System Events" ("Ben Test Stack" is the name of my stack and of the standalone. My guess about the complicated control path is that it reflects the complicated web page loaded in the browser widget.) So that does suggest that there is something which doesn't quite work about giving the IDE permission to use the Accessibility Framework, but which does for a standalone. But still doesn't explain what the problem is. I finally solved my problem with an even uglier hack: compiling the script from Script Debugger as an 'application', and then in my stack, instead of executing the applescript directly, using "launch" on that application. Yeuchh. Can anyone shed light, either on how to grant the IDE permission to use the Accessibility controls; or on why the applescript wouldn't work? TIA, Ben From mark at livecode.com Thu Apr 27 12:03:24 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 17:03:24 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen In-Reply-To: References: Message-ID: On 2023-04-27 16:42, Ben Rubinstein via use-livecode wrote: > Can anyone shed light, either on how to grant the IDE permission to use > the Accessibility controls; or on why the applescript wouldn't work? Not immediately - no :) However, three questions... What version of LC are you using? Are you using an Apple architecture mac? If so, is the IDE running under Rosetta, and the standalone native, or vice-versa (or both the same)? -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Thu Apr 27 12:39:03 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 17:39:03 +0100 Subject: Weird window behavior In-Reply-To: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: > Ever since I updated to Ventura on my Mac I've had this weird behavior > both in the IDE and in two different standalones - if I have more than > one stack open, when I click on a stack that is behind another stack to > bring it to the front, it very briefly comes to the front (flashes), > then goes back behind everything, even windows from other apps. If I > click on the title bar it does not do this. In the menubar is still > indicates that I'm in my app. It's not happening with any non-Livecode > apps and it's occurring on two different Macs. Im not seeing this > behavior on OSes previous to Ventura. > > Am I going crazy? Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From benr at cogapp.com Thu Apr 27 14:21:19 2023 From: benr at cogapp.com (Ben Rubinstein) Date: Thu, 27 Apr 2023 19:21:19 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen In-Reply-To: References: Message-ID: <95ee9745-9b20-10bf-209a-e282b97ebc59@cogapp.com> Update to note: 1) Difference in LiveCode versions. Under the IDE in LiveCode 9.6.7 behaviour is as per the standalone; no click, and 'the result' is the path to the control. Under the IDE in LiveCode 9.6.8 or LiveCode 10.0.0dp5, 'the result' is "execution error". 2) The browser widget is a red herring; relevant only insofar as if it was some other spot on the stack, I could just the LiveCode "click at ". Whether over the browser widget or some other part of the stack window, invoking the applescript returns the identity of the control at that location, rather than clicking it (in LC 9.6.7 IDE, or standalone built from any version); or execution error in later IDEs. On 27/04/2023 16:42, Ben Rubinstein via use-livecode wrote: > I had a need to click on an element in a web page loaded in a browser widget > on a card. > > There might be an elegant way to do this using javascript injected into the > widget, but I'm too ignorant to figure it out. > > So to save time (hah!), I though I could use the accessibility functionality > to just click on that bit of the screen. I could get the location to click > within the stack, then use globalLoc to convert it to screen coordinates. > > (This is just a personal stack to achieve an objective, nothing that's ever > going to be shared with anyone else, so any filthy/fragile method is OK if it > works.) > > I tested this in Script Debugger: > >     tell application "System Events" >         click at {917, 667} >     end tell > > It worked fine. > > So then I tried the same script in my stack, via >     do ... as "applescript" > > And after a brief spinning pizza, got the dry result "execution error". > > I expected that this would happen because I needed to give it permission to > control the computer; but after granting that in System Preferences, there was > no change. > > Just for fun, I tried building a standalone from my stack. This demonstrated a > different effect: first I got the same result "execution error". Then I > granted it permission for this standalone app to 'control the computer'. Now, > there's still no evidence that it sends a click; but it gives a different > result, which I think is the path to the UI element corresponding to that > location. If the point is over a native control in the stack, it's something like >      window "Ben Test Stack (1)" of application process "Ben Test Stack" >     of application "System Events" > > (I don't think LiveCode controls are recognisable by the accessibility > system.) If the point is over the browser widget, 'the result' is something like: >     group 2 of UI element 1 of scroll area 1 of group 1 of group 1 >      of window "Ben Test Stack (1)" of application process "Ben Test Stack" >     of application "System Events" > > ("Ben Test Stack" is the name of my stack and of the standalone. My guess > about the complicated control path is that it reflects the complicated web > page loaded in the browser widget.) > > So that does suggest that there is something which doesn't quite work about > giving the IDE permission to use the Accessibility Framework, but which does > for a standalone. But still doesn't explain what the problem is. > > I finally solved my problem with an even uglier hack: compiling the script > from Script Debugger as an 'application', and then in my stack, instead of > executing the applescript directly, using "launch" on that application. Yeuchh. > > Can anyone shed light, either on how to grant the IDE permission to use the > Accessibility controls; or on why the applescript wouldn't work? > > 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 martyknappster at gmail.com Thu Apr 27 14:57:18 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 27 Apr 2023 11:57:18 -0700 Subject: Weird window behavior In-Reply-To: References: <2DC34E23-C25B-452F-9831-2BDDD9939FE4@gmail.com> Message-ID: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. --- Marty Knapp > On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: > > On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >> Am I going crazy? > > Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? > > The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 27 15:50:13 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Apr 2023 14:50:13 -0500 Subject: Custom property retrieval incorrect Message-ID: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From craig at starfirelighting.com Thu Apr 27 15:56:27 2023 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 27 Apr 2023 15:56:27 -0400 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Jacque. Have you tried another name, Like “XYZ”? Craig > On Apr 27, 2023, at 3:50 PM, J. Landman Gay via use-livecode wrote: > > I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. > > I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. > > There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". > > I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. > > I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. > > Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Apr 27 16:00:33 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 27 Apr 2023 22:00:33 +0200 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: <51D1EE3F-752A-4583-B544-31628B0A1F44@m-r-d.de> I just created a stack in LC 10DP5 without setting any property and run put the cVersion of this stack while the stack was show as the target in messagebox and it returned 1.0.4 When i do this in 9.6.9 it returns 3.0.9. And now if i repeat it in 10DP5 it returns also 3.0.9 without having set cVersion. > Am 27.04.2023 um 21:50 schrieb J. Landman Gay via use-livecode : > > I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. > > I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. > > There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". > > I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. > > I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. > > Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. > > -- > 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 ahsoftware at sonic.net Thu Apr 27 16:00:59 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 27 Apr 2023 13:00:59 -0700 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: On 4/27/23 12:50, J. Landman Gay via use-livecode wrote: > Anyone seen this? Is there something special about a custom prop named > "cVersion"? This used to work fine, but that was about 2 years ago. Verified here. cVersion is weird. I get 1.0.4 on all stacks. I put all the properties for update checks etc in a custom propertyset and just access them from there. Never tried cVersion before. -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Thu Apr 27 17:18:25 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 22:18:25 +0100 Subject: Custom property retrieval incorrect In-Reply-To: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Intriguing - my guess is that something in the message path in your IDEs has a getProp cVersion handler. Now it could be something built into the IDE - although I’m not sure what - or it could be a plug-in or extension. An easy way to find out is to temporarily rename the ‘My LiveCode’ folder and restart the IDE to see if it still happens… Warmest Regards, Mark Sent from my iPhone > On 27 Apr 2023, at 20:51, J. Landman Gay via use-livecode wrote: > > I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly. > > I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from. > > There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0". > > I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch. > > I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails. > > Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. > > -- > 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 mark at livecode.com Thu Apr 27 17:35:21 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 22:35:21 +0100 Subject: Weird window behavior In-Reply-To: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> References: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> Message-ID: <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> Okay that is strange - but the fact it is happening when levure is loaded suggests it is some property or mechanism it is adding. The engine only really has three things (that I can think of) which change window stacking order… The backdrop - which makes the engine *try* to keep all the windows next to each other, with the backdrop window immediately behind the bottom one; The ‘raiseWindows’ global property which is basically the same as the backdrop feature - except the backdrop has zero width and height. The go command which raises a stack to the top (amongst those with same mode). So i’m not sure how a script in levure could cause that effect - unless it’s setting ‘the raiseWindows’ to true (thus making the problem you are seeing the same as the backdrop issues that others are on Ventura). Anyway, the fact it requires levure to be loaded for it to happen means we can track it down! Warmest Regards, Mark. Sent from my iPhone > On 27 Apr 2023, at 19:58, Marty Knapp via use-livecode wrote: > > No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. > --- > Marty Knapp > >> On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: >> >>> On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >>> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >>> Am I going crazy? >> >> Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? >> >> The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. >> >> Warmest Regards, >> >> Mark. >> >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Build Amazing Things >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Thu Apr 27 17:42:35 2023 From: mark at livecode.com (Mark Waddingham) Date: Thu, 27 Apr 2023 22:42:35 +0100 Subject: Problem using AppleScript of "system events" to click a location on screen In-Reply-To: <95ee9745-9b20-10bf-209a-e282b97ebc59@cogapp.com> References: <95ee9745-9b20-10bf-209a-e282b97ebc59@cogapp.com> Message-ID: <5137F584-EB78-40E4-87FC-C5B585C94465@livecode.com> You didn’t mention the kind of mac you are running and whether either the standalone or ide is running in rosetta or not :) To be fair, that part was about the exec error rather than the expected outcome though… The reason you are seeing the effect you are when not doing the request from a separate process is that executing applescript is a modal operation (Ie you can’t get an application to use AppleScript to control itself) - and I suspect the accessibility framework is timing out internally and just doing the best it can in that situation. Warmest Regards, Mark. Sent from my iPhone > On 27 Apr 2023, at 19:22, Ben Rubinstein via use-livecode wrote: > > Update to note: > > 1) Difference in LiveCode versions. > > Under the IDE in LiveCode 9.6.7 behaviour is as per the standalone; no click, and 'the result' is the path to the control. Under the IDE in LiveCode 9.6.8 or LiveCode 10.0.0dp5, 'the result' is "execution error". > > 2) The browser widget is a red herring; relevant only insofar as if it was some other spot on the stack, I could just the LiveCode "click at ". Whether over the browser widget or some other part of the stack window, invoking the applescript returns the identity of the control at that location, rather than clicking it (in LC 9.6.7 IDE, or standalone built from any version); or execution error in later IDEs. > >> On 27/04/2023 16:42, Ben Rubinstein via use-livecode wrote: >> I had a need to click on an element in a web page loaded in a browser widget on a card. >> There might be an elegant way to do this using javascript injected into the widget, but I'm too ignorant to figure it out. >> So to save time (hah!), I though I could use the accessibility functionality to just click on that bit of the screen. I could get the location to click within the stack, then use globalLoc to convert it to screen coordinates. >> (This is just a personal stack to achieve an objective, nothing that's ever going to be shared with anyone else, so any filthy/fragile method is OK if it works.) >> I tested this in Script Debugger: >> tell application "System Events" >> click at {917, 667} >> end tell >> It worked fine. >> So then I tried the same script in my stack, via >> do ... as "applescript" >> And after a brief spinning pizza, got the dry result "execution error". >> I expected that this would happen because I needed to give it permission to control the computer; but after granting that in System Preferences, there was no change. >> Just for fun, I tried building a standalone from my stack. This demonstrated a different effect: first I got the same result "execution error". Then I granted it permission for this standalone app to 'control the computer'. Now, there's still no evidence that it sends a click; but it gives a different result, which I think is the path to the UI element corresponding to that location. If the point is over a native control in the stack, it's something like >> window "Ben Test Stack (1)" of application process "Ben Test Stack" >> of application "System Events" >> (I don't think LiveCode controls are recognisable by the accessibility system.) If the point is over the browser widget, 'the result' is something like: >> group 2 of UI element 1 of scroll area 1 of group 1 of group 1 >> of window "Ben Test Stack (1)" of application process "Ben Test Stack" >> of application "System Events" >> ("Ben Test Stack" is the name of my stack and of the standalone. My guess about the complicated control path is that it reflects the complicated web page loaded in the browser widget.) >> So that does suggest that there is something which doesn't quite work about giving the IDE permission to use the Accessibility Framework, but which does for a standalone. But still doesn't explain what the problem is. >> I finally solved my problem with an even uglier hack: compiling the script from Script Debugger as an 'application', and then in my stack, instead of executing the applescript directly, using "launch" on that application. Yeuchh. >> Can anyone shed light, either on how to grant the IDE permission to use the Accessibility controls; or on why the applescript wouldn't work? >> 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 ahsoftware at sonic.net Thu Apr 27 18:09:54 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 27 Apr 2023 15:09:54 -0700 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: On 4/27/23 14:18, Mark Waddingham via use-livecode wrote: > Intriguing - my guess is that something in the message path in your IDEs has a getProp cVersion handler. > > Now it could be something built into the IDE - although Im not sure what - or it could be a plug-in or extension. > > An easy way to find out is to temporarily rename the My LiveCode folder and restart the IDE to see if it still happens The 1.0.4 cVersion comes from com.livecode.library.i18n.1.0.4 The 3.0.9 cVersion comes from com.livecode.library.smartcrumbsvcw.3.0.9 Unfortunately the scripts for both are locked, so there's no workaround other than not using the cVersion custom property. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Thu Apr 27 18:32:30 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Apr 2023 17:32:30 -0500 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Those are exactly the two values I get too. The earliest version of LC I currently have installed is 9.6.7 and it happens there and in three newer versions after that. A custom property named "cVers" works okay. But I've been using "cVersion" for years and years, so not sure what the ripple effect may be if I update my older apps (which is how I found this one.) For now I can change the name of the property, I guess. Thanks for tracking it down, Mark. I'm not crazy after all. On 4/27/23 5:09 PM, Mark Wieder via use-livecode wrote: > > The 1.0.4 cVersion comes from com.livecode.library.i18n.1.0.4 > The 3.0.9 cVersion comes from com.livecode.library.smartcrumbsvcw.3.0.9 > > Unfortunately the scripts for both are locked, so there's no workaround other than not using > the cVersion custom property. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Apr 27 19:44:05 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 27 Apr 2023 23:44:05 +0000 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: Well... ;-) Thanks for tracking it down, Mark. I'm not crazy after all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Thu Apr 27 20:30:56 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 27 Apr 2023 17:30:56 -0700 Subject: Weird window behavior In-Reply-To: <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> References: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> Message-ID: <2B368ABB-724C-4DA3-AC35-BD80FFBFA368@gmail.com> Bingo - it was “raiseWindows” being set to true. Setting that to false has resolved the issue. Weird that it works fine on previous macOSes previous to Ventura. --- Marty Knapp > On Apr 27, 2023, at 2:35 PM, Mark Waddingham via use-livecode wrote: > > Okay that is strange - but the fact it is happening when levure is loaded suggests it is some property or mechanism it is adding. > > The engine only really has three things (that I can think of) which change window stacking order… > > The backdrop - which makes the engine *try* to keep all the windows next to each other, with the backdrop window immediately behind the bottom one; > > The ‘raiseWindows’ global property which is basically the same as the backdrop feature - except the backdrop has zero width and height. > > The go command which raises a stack to the top (amongst those with same mode). > > So i’m not sure how a script in levure could cause that effect - unless it’s setting ‘the raiseWindows’ to true (thus making the problem you are seeing the same as the backdrop issues that others are on Ventura). > > Anyway, the fact it requires levure to be loaded for it to happen means we can track it down! > > Warmest Regards, > > Mark. > > Sent from my iPhone > >> On 27 Apr 2023, at 19:58, Marty Knapp via use-livecode wrote: >> >> No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. >> --- >> Marty Knapp >> >>> On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: >>> >>>> On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >>>> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >>>> Am I going crazy? >>> >>> Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? >>> >>> The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. >>> >>> Warmest Regards, >>> >>> Mark. >>> >>> -- >>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>> LiveCode: Build Amazing Things >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 27 20:41:53 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 27 Apr 2023 17:41:53 -0700 Subject: iOS 16.4.1 breaks connection with LiveCode test feature Message-ID: Hello everyone, There may be a problem with iOS devices updated to 16.4 or 16.4.1 and Xcode 14.2 as a working combination. The issue between them is that devices may fail to prepare for development (error from Xcode). https://developer.apple.com/forums/thread/727270 Of course, you can continue to build iOS apps with Xcode 14.2 if you accidentally allow your device to upgrade to 16.4.1. You cannot test your app directly from the LiveCode IDE using the test button if your device has been updated to iOS 16.4 or 16.4.1. You can build for TestFlight and run your app on your device that way. But, it is more cumbersome than direct testing from the LiveCode IDE. I hope this public service announcement is useful to iOS developers using LiveCode. The short of it is do not allow your iOS devices to update to 16.4.1 for now. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com From mark at livecode.com Fri Apr 28 06:36:42 2023 From: mark at livecode.com (Mark Waddingham) Date: Fri, 28 Apr 2023 11:36:42 +0100 Subject: Custom property retrieval incorrect In-Reply-To: References: <9ed5c66f-f30b-1b1c-7159-29152b22dec8@hyperactivesw.com> Message-ID: <04e21fc227f1557d7ddbe4ae53aa191c@livecode.com> On 2023-04-27 23:32, J. Landman Gay via use-livecode wrote: > Those are exactly the two values I get too. The earliest version of LC > I currently have installed is 9.6.7 and it happens there and in three > newer versions after that. > > A custom property named "cVers" works okay. But I've been using > "cVersion" for years and years, so not sure what the ripple effect may > be if I update my older apps (which is how I found this one.) For now I > can change the name of the property, I guess. > > Thanks for tracking it down, Mark. I'm not crazy after all. > > On 4/27/23 5:09 PM, Mark Wieder via use-livecode wrote: >> >> The 1.0.4 cVersion comes from com.livecode.library.i18n.1.0.4 >> The 3.0.9 cVersion comes from >> com.livecode.library.smartcrumbsvcw.3.0.9 >> >> Unfortunately the scripts for both are locked, so there's no >> workaround other than not using the cVersion custom property. >> @MarkW : Thanks for tracking down which libraries it is. @Jacque (and anyone else): You can just remove those two libraries/extensions from My LiveCode for now (assuming you aren't using them). I've poked the developers of them and asked them to remove the offending getProp handlers from those libraries - hopefully an update will go out next week :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From MikeKerner at roadrunner.com Fri Apr 28 09:18:27 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 28 Apr 2023 09:18:27 -0400 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: well, my main test ipad is running 16.5, and i'm using xc 14.2 no issues with the remote debugger with this setup, anway. On Thu, Apr 27, 2023 at 8:43 PM Mark Talluto via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello everyone, > > There may be a problem with iOS devices updated to 16.4 or 16.4.1 and > Xcode 14.2 as a working combination. The issue between them is that devices > may fail to prepare for development (error from Xcode). > > https://developer.apple.com/forums/thread/727270 > > Of course, you can continue to build iOS apps with Xcode 14.2 if you > accidentally allow your device to upgrade to 16.4.1. You cannot test your > app directly from the LiveCode IDE using the test button if your device has > been updated to iOS 16.4 or 16.4.1. > > You can build for TestFlight and run your app on your device that way. > But, it is more cumbersome than direct testing from the LiveCode IDE. > > I hope this public service announcement is useful to iOS developers using > LiveCode. The short of it is do not allow your iOS devices to update to > 16.4.1 for now. > > > Best regards, > Mark Talluto > > appli.io > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From matthias_livecode_150811 at m-r-d.de Fri Apr 28 09:29:39 2023 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 28 Apr 2023 15:29:39 +0200 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: I think Mark is speaking of the On The Fly deployment in LC that is not working anymore with 16.4 to 16.4.2 and Xcode 14.2 Von meinem iPad gesendet > Am 28.04.2023 um 15:20 schrieb Mike Kerner via use-livecode : > > well, my main test ipad is running 16.5, and i'm using xc 14.2 > no issues with the remote debugger with this setup, anway. > >> On Thu, Apr 27, 2023 at 8:43 PM Mark Talluto via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hello everyone, >> >> There may be a problem with iOS devices updated to 16.4 or 16.4.1 and >> Xcode 14.2 as a working combination. The issue between them is that devices >> may fail to prepare for development (error from Xcode). >> >> https://developer.apple.com/forums/thread/727270 >> >> Of course, you can continue to build iOS apps with Xcode 14.2 if you >> accidentally allow your device to upgrade to 16.4.1. You cannot test your >> app directly from the LiveCode IDE using the test button if your device has >> been updated to iOS 16.4 or 16.4.1. >> >> You can build for TestFlight and run your app on your device that way. >> But, it is more cumbersome than direct testing from the LiveCode IDE. >> >> I hope this public service announcement is useful to iOS developers using >> LiveCode. The short of it is do not allow your iOS devices to update to >> 16.4.1 for now. >> >> >> Best regards, >> Mark Talluto >> >> appli.io >> 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 >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Apr 28 09:50:18 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 28 Apr 2023 09:50:18 -0400 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: i think that's what i'm talking about, but maybe i don't understand what he's experiencing. i'm in active development on an app. i'm building it many times per day and deploying it on my test ipad, running it, and invoking the remote debugger. since i'm running 16.5 i'm wondering if that might fix it. what i'm doing that might be slightly different is i'm not using the test button in the ide to install it, but rather the configurator (my apps are all using levure, so the build process might be slightly different). On Fri, Apr 28, 2023 at 9:30 AM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I think Mark is speaking of the On The Fly deployment in LC that is not > working anymore with 16.4 to 16.4.2 and Xcode 14.2 > > > Von meinem iPad gesendet > > > Am 28.04.2023 um 15:20 schrieb Mike Kerner via use-livecode < > use-livecode at lists.runrev.com>: > > > > well, my main test ipad is running 16.5, and i'm using xc 14.2 > > no issues with the remote debugger with this setup, anway. > > > >> On Thu, Apr 27, 2023 at 8:43 PM Mark Talluto via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >> Hello everyone, > >> > >> There may be a problem with iOS devices updated to 16.4 or 16.4.1 and > >> Xcode 14.2 as a working combination. The issue between them is that > devices > >> may fail to prepare for development (error from Xcode). > >> > >> https://developer.apple.com/forums/thread/727270 > >> > >> Of course, you can continue to build iOS apps with Xcode 14.2 if you > >> accidentally allow your device to upgrade to 16.4.1. You cannot test > your > >> app directly from the LiveCode IDE using the test button if your device > has > >> been updated to iOS 16.4 or 16.4.1. > >> > >> You can build for TestFlight and run your app on your device that way. > >> But, it is more cumbersome than direct testing from the LiveCode IDE. > >> > >> I hope this public service announcement is useful to iOS developers > using > >> LiveCode. The short of it is do not allow your iOS devices to update to > >> 16.4.1 for now. > >> > >> > >> Best regards, > >> Mark Talluto > >> > >> appli.io > >> 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 > >> > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From matthias_livecode_150811 at m-r-d.de Fri Apr 28 11:16:28 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 28 Apr 2023 17:16:28 +0200 Subject: iOS 16.4.1 breaks connection with LiveCode test feature In-Reply-To: References: Message-ID: <81FEA407-E7D7-4437-9515-DE3F2C20AADE@m-r-d.de> Mark, Mike's comment made me think and i installed 16.4.1 on my iPhone and was able to successfully test an LC iOS app with Xcode 14.2 using the Test button in LC 9.6.9. Regards, Matthias > Am 28.04.2023 um 02:41 schrieb Mark Talluto via use-livecode : > > Hello everyone, > > There may be a problem with iOS devices updated to 16.4 or 16.4.1 and Xcode 14.2 as a working combination. The issue between them is that devices may fail to prepare for development (error from Xcode). > > https://developer.apple.com/forums/thread/727270 > > Of course, you can continue to build iOS apps with Xcode 14.2 if you accidentally allow your device to upgrade to 16.4.1. You cannot test your app directly from the LiveCode IDE using the test button if your device has been updated to iOS 16.4 or 16.4.1. > > You can build for TestFlight and run your app on your device that way. But, it is more cumbersome than direct testing from the LiveCode IDE. > > I hope this public service announcement is useful to iOS developers using LiveCode. The short of it is do not allow your iOS devices to update to 16.4.1 for now. > > > Best regards, > Mark Talluto > > appli.io > 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 jbv at souslelogo.com Sat Apr 29 07:40:03 2023 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 29 Apr 2023 07:40:03 -0400 Subject: mySQL and primary key Message-ID: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> Hi list, I have a mySQL table with 13500000 entries that weights almost 20 Gb. I need to create a primary key on the "id" column. I have tried in phpMyAdmin as well as in a script with "ALTER TABLE myTable ADD PRIMARY KEY(id)", but each time I get a "504 Gateway Timeout" error, and no index is created. What else can I try ? Thank you in advance. jbv From dvglasgow at gmail.com Sun Apr 30 07:35:34 2023 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 30 Apr 2023 12:35:34 +0100 Subject: Creating 'read only' text files Message-ID: Hi folks, Really simple question that I can’t see having been asked before, so here goes… I have a stack that outputs small text files. Each includes a hash value referencing part of itself that can be checked subsequently, so any change to the text can be flagged. Is there a way I can easily create read-only files (Mac & Win) to discourage accidental user changes? No need for encryption or hiding information anywhere, I just want to deter casual oopsies. Thanks in anticipation... Best Wishes, David Glasgow Honorary Professor, Nottingham Trent University Sexual Offences, Crime and Misconduct Research Unit Consultant Forensic & Clinical Psychologist Carlton Glasgow Partnership Director, Child & Family Training, York LinkedIn From dvglasgow at gmail.com Sun Apr 30 07:43:36 2023 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 30 Apr 2023 12:43:36 +0100 Subject: Weird window behavior In-Reply-To: <2B368ABB-724C-4DA3-AC35-BD80FFBFA368@gmail.com> References: <76C46333-638F-4BBD-881D-84D91F6AF346@gmail.com> <4A80D5A6-91BC-4A6D-A285-9B41AC16F1F3@livecode.com> <2B368ABB-724C-4DA3-AC35-BD80FFBFA368@gmail.com> Message-ID: <4E2E9C5F-1D02-4E91-BAD9-4AF3DED2B231@gmail.com> Only just catching up with this (been walking in Scotland)… Probably not tremendously informative now, but I’m not using Levure, I am using backdrop, and on Ventura. I’ll check the state of RaiseWindows when I can - would it be expected to change depending on backdrop use? Best Wishes, David Glasgow > On 28 Apr 2023, at 1:30 am, Marty Knapp via use-livecode wrote: > > Bingo - it was “raiseWindows” being set to true. Setting that to false has resolved the issue. Weird that it works fine on previous macOSes previous to Ventura. > --- > Marty Knapp > >> On Apr 27, 2023, at 2:35 PM, Mark Waddingham via use-livecode wrote: >> >> Okay that is strange - but the fact it is happening when levure is loaded suggests it is some property or mechanism it is adding. >> >> The engine only really has three things (that I can think of) which change window stacking order… >> >> The backdrop - which makes the engine *try* to keep all the windows next to each other, with the backdrop window immediately behind the bottom one; >> >> The ‘raiseWindows’ global property which is basically the same as the backdrop feature - except the backdrop has zero width and height. >> >> The go command which raises a stack to the top (amongst those with same mode). >> >> So i’m not sure how a script in levure could cause that effect - unless it’s setting ‘the raiseWindows’ to true (thus making the problem you are seeing the same as the backdrop issues that others are on Ventura). >> >> Anyway, the fact it requires levure to be loaded for it to happen means we can track it down! >> >> Warmest Regards, >> >> Mark. >> >> Sent from my iPhone >> >>> On 27 Apr 2023, at 19:58, Marty Knapp via use-livecode wrote: >>> >>> No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework. >>> --- >>> Marty Knapp >>> >>>> On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode wrote: >>>> >>>>> On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >>>>> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura. >>>>> Am I going crazy? >>>> >>>> Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled? >>>> >>>> The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200. >>>> >>>> Warmest Regards, >>>> >>>> Mark. >>>> >>>> -- >>>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>>> LiveCode: Build Amazing Things >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 30 08:43:57 2023 From: paul at researchware.com (Paul Dupuis) Date: Sun, 30 Apr 2023 08:43:57 -0400 Subject: Creating 'read only' text files In-Reply-To: References: Message-ID: <8ba5f663-334d-1354-a5ce-18f1b08395d7@researchware.com> I don't know of a Livecode syntax per se to do this (i.e some syntax like: set the permissions of file tFile to read-only) You can do this in Livecode using the shell() function (see the dictionary) to issue applicable mac or win command lines. For eample a Google search shows the command line to change a file's permissions on Windows is: attrib +r file.txt so you could code something like (not tested): switch platform()   case "Win32"     set the hideConsoleWindows to true -- prevents windows console window from appears when the shell command executes    put "attrib +r " & quote & tFile & quote into tCommand -- were tFile is the file (path and name with native \ delimiters) you want to make read-only    put shell(tCommand) into tResult    break   case "MacOS"     -- use chmod 744 apple.txt for you to have full access and everyone else read-only OR     -- use chmod 444 apple.txt for everyone, you included, to be read-only    put "chmod 444 " & quote & tFile & quote into tCommand -- were tFile is the file (path and name) you want to make read-only    put shell(tCommand) into tResult    break end switch This code may need some tweaking but I think this is the general approach to do what you want. On 4/30/2023 7:35 AM, David V Glasgow via use-livecode wrote: > Hi folks, > > Really simple question that I cant see having been asked before, so here goes > > I have a stack that outputs small text files. Each includes a hash value referencing part of itself that can be checked subsequently, so any change to the text can be flagged. > > Is there a way I can easily create read-only files (Mac & Win) to discourage accidental user changes? No need for encryption or hiding information anywhere, I just want to deter casual oopsies. > > Thanks in anticipation... > > Best Wishes, > > David Glasgow > Honorary Professor, Nottingham Trent University > Sexual Offences, Crime and Misconduct Research Unit > Consultant Forensic & Clinical Psychologist > Carlton Glasgow Partnership > Director, Child & Family Training, York > > > LinkedIn > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sun Apr 30 16:01:45 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 30 Apr 2023 16:01:45 -0400 Subject: mySQL and primary key In-Reply-To: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> References: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> Message-ID: is this a local table? the 504 sounds like you're connecting via an api On Sat, Apr 29, 2023 at 7:41 AM jbv via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi list, > > I have a mySQL table with 13500000 entries that weights > almost 20 Gb. > I need to create a primary key on the "id" column. > I have tried in phpMyAdmin as well as in a script with > "ALTER TABLE myTable ADD PRIMARY KEY(id)", but each time > I get a "504 Gateway Timeout" error, and no index is created. > > What else can I try ? > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Sun Apr 30 17:26:22 2023 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 30 Apr 2023 17:26:22 -0400 Subject: mySQL and primary key In-Reply-To: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> References: <03bd7225a05442bbc509c0f04c74fce6@souslelogo.com> Message-ID: <002201d97baa$6c8fa3f0$45aeebd0$@net> JBV, This looks like a server timeout. There is a mySQL server ini file parameter "ExecTimeLimit" There is also a phpMyAdmin ini file "LoginCookieValidity" timeout parameter. If you can't get those changed(especially "ExecTimeLimit" so you can do it by script) you will be forced to create a new table with a primary key and copy the data over in chunks small enough to avoid a timeout. 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 jbv via use-livecode Sent: Saturday, April 29, 2023 7:40 AM To: How to use LiveCode Cc: jbv at souslelogo.com Subject: mySQL and primary key Hi list, I have a mySQL table with 13500000 entries that weights almost 20 Gb. I need to create a primary key on the "id" column. I have tried in phpMyAdmin as well as in a script with "ALTER TABLE myTable ADD PRIMARY KEY(id)", but each time I get a "504 Gateway Timeout" error, and no index is created. What else can I try ? Thank you in advance. jbv _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode