From smk at anvic.net Sat Jun 1 04:20:40 2019 From: smk at anvic.net (Simon Knight) Date: Sat, 1 Jun 2019 09:20:40 +0100 Subject: Ken Burns Effects - acceleratedRendering In-Reply-To: <1F013A23-6C2B-4D7F-B576-041603B1FF89@hindu.org> References: <4BA29C8F-F958-4051-8ECC-05696832C637@hindu.org> <6D93D155-57DC-40AC-8BD5-C0DA48BF98AC@appisle.net> <1F013A23-6C2B-4D7F-B576-041603B1FF89@hindu.org> Message-ID: <2ACAF821-81ED-40CB-A341-40F7CDEAD754@anvic.net> I have only just resubscribed to the mailing list so may have missed some conversations on this subject, so I apologise for hijacking this thread. I am interested in this new to me layer mode of ?container? being discussed here. I see that it is also mentioned in ?This week in Livecode? : Issue #179 here: http://bit.ly/2W8LU5x . I did a google search for more information and found this page : https://livecode.com/container-layer-mode-examples/ which google reports as from 2017 but that may be in error. I wonder if the web page I found refer to the same mode as is being discussed in this thread and are the details on the page correct? best wishes Simon Knight > On 31 May 2019, at 03:17, Sannyasin Brahmanathaswami via use-livecode wrote: > > Monte Goulding wrote: > > At some point in the future we may support applying transformations to dynamic layerMode objects (changing size and perhaps location) which would mean Ken Burn effect would be done by the GPU. I suspect that?s a fair way off and would definitely involve some serious Mark time ;-) > > BR: that answers the question. So I'll need to learn on new language (html5) and run it in a browser. :-( > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Jun 1 07:09:45 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 1 Jun 2019 13:09:45 +0200 Subject: Notarize your app In-Reply-To: <594FCEDF-4698-47E3-B0EE-4F48C2864F0A@m-r-d.de> References: <594FCEDF-4698-47E3-B0EE-4F48C2864F0A@m-r-d.de> Message-ID: <0C5550A1-D44B-42A2-BD19-E5197F4B10DE@m-r-d.de> Today i was able to successfully notarize my app with SD Notarize. It seems the error i encountered yesterday was also on Apple?s side. Thanks again for providing the link to SD Notarize. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 31.05.2019 um 16:03 schrieb Matthias Rebbe via use-livecode >: > > Dear Ludovic, > > thanks for that link. Were you successful in notarizing an app? > > Tried now 3 times all wihtout success > > 1. the log windows showed up red text telling something about the lproj folders in /contents/Resources. I used Appwrapper to sign my app and to remove all .lproj foldes except the english one. > > 2. i then got an error because i had to sign a new updated contract in iTunes connect. Okay, this was overdue a bit, but i do not visit iTunes Connect very often. > > 3. i was able to upload the file successfully, but it took about 20 minutes for an 8.8MB zip file! > After upload and verifying process from apple the log window again showed some red text telling me that the ticket was downloaded successfully, but the staple and validate action failed with error 68. > Although the process failed, i?ve received an email from Apple telling that my app was notarized. So it seems on Apple side everything was okay, but the tool was not able to staple and validate the app. > > Matthias > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > > https://winsignhelper.dermattes.de > > >> Am 31.05.2019 um 14:24 schrieb Ludovic THEBAULT via use-livecode >>: >> >> Hello, >> >> I think that could help ! >> https://latenightsw.com/sd-notary-notarizing-made-easy/ > >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > > https://winsignhelper.dermattes.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 Sat Jun 1 09:30:15 2019 From: brian at milby7.com (Brian Milby) Date: Sat, 1 Jun 2019 09:30:15 -0400 Subject: Ken Burns Effects - acceleratedRendering In-Reply-To: <2ACAF821-81ED-40CB-A341-40F7CDEAD754@anvic.net> References: <4BA29C8F-F958-4051-8ECC-05696832C637@hindu.org> <6D93D155-57DC-40AC-8BD5-C0DA48BF98AC@appisle.net> <1F013A23-6C2B-4D7F-B576-041603B1FF89@hindu.org> <2ACAF821-81ED-40CB-A341-40F7CDEAD754@anvic.net> Message-ID: <280d5bfc-1560-4b21-86a2-f56201218085@Spark> Yes, that page refers to the new feature coming in the 9.5 release (already available in DP1). Thanks, Brian On Jun 1, 2019, 4:21 AM -0400, Simon Knight via use-livecode , wrote: > I have only just resubscribed to the mailing list so may have missed some conversations on this subject, so I apologise for hijacking this thread. > > I am interested in this new to me layer mode of ?container? being discussed here. I see that it is also mentioned in ?This week in Livecode? : Issue #179 here: http://bit.ly/2W8LU5x . I did a google search for more information and found this page : https://livecode.com/container-layer-mode-examples/ which google reports as from 2017 but that may be in error. > > I wonder if the web page I found refer to the same mode as is being discussed in this thread and are the details on the page correct? > > best wishes > Simon Knight > > > > > > > On 31 May 2019, at 03:17, Sannyasin Brahmanathaswami via use-livecode wrote: > > > > Monte Goulding wrote: > > > > At some point in the future we may support applying transformations to dynamic layerMode objects (changing size and perhaps location) which would mean Ken Burn effect would be done by the GPU. I suspect that?s a fair way off and would definitely involve some serious Mark time ;-) > > > > BR: that answers the question. So I'll need to learn on new language (html5) and run it in a browser. :-( > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 1 11:40:27 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 1 Jun 2019 17:40:27 +0200 Subject: radiobuttons, checkboxes and icongravity Message-ID: Hi friends, anyone knows why we cannot set the icongravity for radiobuttons and checkboxes? Is this an HIG thing? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Sat Jun 1 16:48:04 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 1 Jun 2019 23:48:04 +0300 Subject: radiobuttons, checkboxes and icongravity In-Reply-To: References: Message-ID: Well, Klaus, I don't know what you have been doing, but I have just managed to do exactly that: I set up a radiobutton called "RR" and gave it one of the generic icons built into LiveCode. Then I wrote this in the MessageBox: settheicongravityofbtn "RR" tobottom at which point the icon moved to the centre-bottom of the radiobutton. Here's a pretty picture and a wee stack as "proof-of-pudden." Yours aye, Richmond. On 1.06.19 18:40, Klaus major-k via use-livecode wrote: > Hi friends, > > anyone knows why we cannot set the icongravity for radiobuttons and checkboxes? > Is this an HIG thing? > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Jun 1 20:19:19 2019 From: klaus at major-k.de (Klaus major-k) Date: Sun, 2 Jun 2019 02:19:19 +0200 Subject: radiobuttons, checkboxes and icongravity In-Reply-To: References: Message-ID: <80FC1B51-5A94-4DDB-8F92-CAC98D0DE3D9@major-k.de> Hi Richmond, > Am 01.06.2019 um 22:48 schrieb Richmond via use-livecode : > > Well, Klaus, I don't know what you have been doing, but I have just managed to do exactly that: > I set up a radiobutton called "RR" and gave it one of the generic icons built into LiveCode. > Then I wrote this in the MessageBox: > settheicongravityofbtn "RR" tobottom > at which point the icon moved to the centre-bottom of the radiobutton. > Here's a pretty picture and a wee stack as "proof-of-pudden." well, Richmond, I did not try the message box, since there is no popup for icongravity in the inspector for radiobuttons and checkboxes, I dared to think this might not be allowed for these kind of buttons. My fault, so extraordinary sorry! 8-) OK, message box works, so this may mean that this feature just did not make it into the IDE, right? LC 9.0.4 Indy, macOS 10.14.5 > Yours aye, Richmond. My aye? Come on! :-D > On 1.06.19 18:40, Klaus major-k via use-livecode wrote: >> Hi friends, >> >> anyone knows why we cannot set the icongravity for radiobuttons and checkboxes? >> Is this an HIG thing? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Sun Jun 2 05:42:53 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 2 Jun 2019 12:42:53 +0300 Subject: radiobuttons, checkboxes and icongravity In-Reply-To: <80FC1B51-5A94-4DDB-8F92-CAC98D0DE3D9@major-k.de> References: <80FC1B51-5A94-4DDB-8F92-CAC98D0DE3D9@major-k.de> Message-ID: <5ead2ea7-4bb7-1108-f0b6-fdd6da6d1635@gmail.com> I'm sorry, I forgot to post the link to the stack: http://forums.livecode.com/viewtopic.php?f=7&t=32668 And, before (or after ?) you get the wrong end of the stick, "Yours aye" is the Scots for the English "Yours ever." Allus yours, Richmond. On 2.06.19 3:19, Klaus major-k via use-livecode wrote: > Hi Richmond, > >> Am 01.06.2019 um 22:48 schrieb Richmond via use-livecode : >> >> Well, Klaus, I don't know what you have been doing, but I have just managed to do exactly that: >> I set up a radiobutton called "RR" and gave it one of the generic icons built into LiveCode. >> Then I wrote this in the MessageBox: >> settheicongravityofbtn "RR" tobottom >> at which point the icon moved to the centre-bottom of the radiobutton. >> Here's a pretty picture and a wee stack as "proof-of-pudden." > well, Richmond, I did not try the message box, since there is no popup for icongravity > in the inspector for radiobuttons and checkboxes, I dared to think this might not be allowed > for these kind of buttons. My fault, so extraordinary sorry! 8-) > > OK, message box works, so this may mean that this feature just did not make it into the IDE, right? > LC 9.0.4 Indy, macOS 10.14.5 > >> Yours aye, Richmond. > My aye? Come on! :-D > >> On 1.06.19 18:40, Klaus major-k via use-livecode wrote: >>> Hi friends, >>> >>> anyone knows why we cannot set the icongravity for radiobuttons and checkboxes? >>> Is this an HIG thing? > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Jun 2 07:07:58 2019 From: klaus at major-k.de (Klaus major-k) Date: Sun, 2 Jun 2019 13:07:58 +0200 Subject: radiobuttons, checkboxes and icongravity In-Reply-To: <5ead2ea7-4bb7-1108-f0b6-fdd6da6d1635@gmail.com> References: <80FC1B51-5A94-4DDB-8F92-CAC98D0DE3D9@major-k.de> <5ead2ea7-4bb7-1108-f0b6-fdd6da6d1635@gmail.com> Message-ID: Hi Richmond, > Am 02.06.2019 um 11:42 schrieb Richmond via use-livecode : > > I'm sorry, I forgot to post the link to the stack: > http://forums.livecode.com/viewtopic.php?f=7&t=32668 thank you, I know the icongravity porperty and how to use it. I was only surprised that the IDE does not provide the means for setting this in the inspector for buttons of type RADIO and CHECKBOX. > And, before (or after ?) you get the wrong end of the stick, "Yours aye" is the > Scots for the English "Yours ever." Go figure! :-) > Allus yours, Richmond. All yours mine? What a nice flowery language. :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Sun Jun 2 07:14:32 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 2 Jun 2019 14:14:32 +0300 Subject: radiobuttons, checkboxes and icongravity In-Reply-To: References: <80FC1B51-5A94-4DDB-8F92-CAC98D0DE3D9@major-k.de> <5ead2ea7-4bb7-1108-f0b6-fdd6da6d1635@gmail.com> Message-ID: Hence my feature request and my barbed comment re some of LiveCode's claims: http://forums.livecode.com/viewtopic.php?f=6&t=32669 I am 100% you know about iconGravity and how to use it: fear not, I do not doubt you for a moment. I do, however, have my doubts about some programmers and developers in Scotland who don't always seem to put their money where their mouths are. Richmond. On 2.06.19 14:07, Klaus major-k via use-livecode wrote: > Hi Richmond, > >> Am 02.06.2019 um 11:42 schrieb Richmond via use-livecode : >> >> I'm sorry, I forgot to post the link to the stack: >> http://forums.livecode.com/viewtopic.php?f=7&t=32668 > thank you, I know the icongravity porperty and how to use it. > > I was only surprised that the IDE does not provide the means for setting this in > the inspector for buttons of type RADIO and CHECKBOX. > >> And, before (or after ?) you get the wrong end of the stick, "Yours aye" is the >> Scots for the English "Yours ever." > Go figure! :-) > >> Allus yours, Richmond. > All yours mine? What a nice flowery language. :-) > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Jun 2 07:22:34 2019 From: klaus at major-k.de (Klaus major-k) Date: Sun, 2 Jun 2019 13:22:34 +0200 Subject: radiobuttons, checkboxes and icongravity In-Reply-To: References: <80FC1B51-5A94-4DDB-8F92-CAC98D0DE3D9@major-k.de> <5ead2ea7-4bb7-1108-f0b6-fdd6da6d1635@gmail.com> Message-ID: <9FF32D4F-4E07-45DA-9872-DF8D3922D6FE@major-k.de> Hi Richmond, > Am 02.06.2019 um 13:14 schrieb Richmond via use-livecode : > > Hence my feature request and my barbed comment re some of LiveCode's claims: > http://forums.livecode.com/viewtopic.php?f=6&t=32669 well, Mr. b. is still using version 0.9 beta of Runtime Revolution, so don't exspect too much from that side! 8-) > I am 100% you know about iconGravity and how to use it: fear not, I do not doubt you > for a moment. Great relief, thank you! :-) > I do, however, have my doubts about some programmers and developers in Scotland > who don't always seem to put their money where their mouths are. Yeah, that's my Richmond! :-D > Richmond. Have a nice sunday Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From brahma at hindu.org Sun Jun 2 11:42:19 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 2 Jun 2019 15:42:19 +0000 Subject: Develop on 9.5 DP1 and Deploy in 9.0.4 Stable? Message-ID: <0F0BFCBB-0462-43BF-9110-A3571391848E@hindu.org> I have already submitted crash reports on the QA list but want to ask the group, in case someone works this way. I am getting random crashes in 9.0.4. At any time. I could just be sitting with a module (stack) open in my app, thinking, no attempt to send messages or interaction with the stack, suddenly LC crashes. I suspect it is deep in the engine with some of the memory issues that were fixed. Hard to know... Perhaps this is fixed in 9.5.DP1... but there are issues with deployment in 9.5 DP1 Can I do this without penalty: 1) use 9.5.DP1 in the IDE 2) switch to 9.0.4 when building standalones for iOS and Android ? BR PS at least this get me on board the "Join the regression extermination effort! __ " mentioned in the thread " Seeking confirmation of a bug." at least for the latest DP's in the IDE. From jacque at hyperactivesw.com Sun Jun 2 13:22:36 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 02 Jun 2019 12:22:36 -0500 Subject: Develop on 9.5 DP1 and Deploy in 9.0.4 Stable? In-Reply-To: <0F0BFCBB-0462-43BF-9110-A3571391848E@hindu.org> References: <0F0BFCBB-0462-43BF-9110-A3571391848E@hindu.org> Message-ID: <16b1936e360.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Switch to 9.0.5 where a large number of memory leaks were fixed. I find it to be far more stable, with one exception - - tracing through scripts in the debugger can eventually crash. I've submitted several crash logs about that and hopefully the remaining leaks can be found and fixed. Aside from that, 9.0.5 is standing up well for me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 2, 2019 10:44:12 AM Sannyasin Brahmanathaswami via use-livecode wrote: > I have already submitted crash reports on the QA list but want to ask the > group, in case someone works this way. > > I am getting random crashes in 9.0.4. > > At any time. I could just be sitting with a module (stack) open in my app, > thinking, no attempt to send messages or interaction with the stack, > suddenly LC crashes. I suspect it is deep in the engine with some of the > memory issues that were fixed. Hard to know... > > Perhaps this is fixed in 9.5.DP1... but there are issues with deployment in > 9.5 DP1 > > Can I do this without penalty: > > 1) use 9.5.DP1 in the IDE > 2) switch to 9.0.4 when building standalones for iOS and Android > > ? > > BR > > PS at least this get me on board the "Join the regression extermination > effort! __ " mentioned in the thread " Seeking confirmation of a bug." at > least for the latest DP's in the IDE. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Sun Jun 2 13:11:54 2019 From: brian at milby7.com (Brian Milby) Date: Sun, 2 Jun 2019 13:11:54 -0400 Subject: Develop on 9.5 DP1 and Deploy in 9.0.4 Stable? In-Reply-To: <0F0BFCBB-0462-43BF-9110-A3571391848E@hindu.org> References: <0F0BFCBB-0462-43BF-9110-A3571391848E@hindu.org> Message-ID: <175b9e95-9d7e-43b9-902c-605f49ab1b54@Spark> You should be able to do that unless you take advantage of any new features of the TreeView widget (preferences will get removed when saving from an earlier version). ?The one possible issue would be with data grids (and other groups using container mode) - not sure how the container mode setting on the parent group would be handled. ?Shouldn?t be too hard to figure out though. ?The other adjustments (like putting an outline behind the DG as a separate object) should be fine in an earlier version. I think that the accelerated rendering bug that impacts the browser widget probably shouldn?t be a factor in most cases. ?If the majority of the screen is the widget and the controls outside are going to be static then there would probably be a performance hit using AR anyway. ?In that case, the bug is avoided by turning AR off and that would actually be the better setting. Thanks, Brian On Jun 2, 2019, 11:43 AM -0400, Sannyasin Brahmanathaswami via use-livecode , wrote: > I have already submitted crash reports on the QA list but want to ask the group, in case someone works this way. > > I am getting random crashes in 9.0.4. > > At any time. I could just be sitting with a module (stack) open in my app, thinking, no attempt to send messages or interaction with the stack, suddenly LC crashes. I suspect it is deep in the engine with some of the memory issues that were fixed. Hard to know... > > Perhaps this is fixed in 9.5.DP1... but there are issues with deployment in 9.5 DP1 > > Can I do this without penalty: > > 1) use 9.5.DP1 in the IDE > 2) switch to 9.0.4 when building standalones for iOS and Android > > ? > > BR > > PS at least this get me on board the "Join the regression extermination effort! __ " mentioned in the thread " Seeking confirmation of a bug." at least for the latest DP's in the IDE. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dfepstein at comcast.net Sun Jun 2 18:00:45 2019 From: dfepstein at comcast.net (David Epstein) Date: Sun, 2 Jun 2019 18:00:45 -0400 Subject: A question about openCard In-Reply-To: References: Message-ID: <5390AC23-D84D-4B02-B2D4-76D3187EACC9@comcast.net> Is there some simple way that an openCard handler can branch based on what card it is coming from? When a user goes to a different card in a stack, or to a different stack, I use an ?openCard? handler to set things up. But I do not want those actions taken if the user is merely ?returning? to a card after using a palette tool, or after a palette tool has been opened. I?m not sure I understand the full range of events that ?close? a card so that returning to it triggers ?openCard.? Does this happen if I set an insertion point or select text in an unlocked field in a palette, or the user types there? Does it happen if I open a palette, or move a palette, or if the user clicks on the palette? Many thanks. David Epstein From klaus at major-k.de Sun Jun 2 20:22:35 2019 From: klaus at major-k.de (Klaus major-k) Date: Mon, 3 Jun 2019 02:22:35 +0200 Subject: A question about openCard In-Reply-To: <5390AC23-D84D-4B02-B2D4-76D3187EACC9@comcast.net> References: <5390AC23-D84D-4B02-B2D4-76D3187EACC9@comcast.net> Message-ID: Hi David, > Am 03.06.2019 um 00:00 schrieb David Epstein via use-livecode : > > Is there some simple way that an openCard handler can branch based on what card it is coming from? checl "recentNames" in the dictionary, that may be what you are looking for. > When a user goes to a different card in a stack, or to a different stack, I use an ?openCard? handler to set things up. Yep. > But I do not want those actions taken if the user is merely ?returning? to a card after using a palette tool, or after a palette tool has been opened. Then the card will receive a "resumestack" (and "suspendstack"), but no "opencard" message. > I?m not sure I understand the full range of events that ?close? a card so that returning to it triggers ?openCard.? Does this happen if I set an insertion point or select text in an unlocked field in a palette, or the user types there? Does it happen if I open a palette, or move a palette, or if the user clicks on the palette? See above, resumestack/suspendstack are the messages you could check, if neccessary, in that case. > Many thanks. > > David Epstein Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From smk at anvic.net Mon Jun 3 07:19:17 2019 From: smk at anvic.net (Simon Knight) Date: Mon, 3 Jun 2019 12:19:17 +0100 Subject: A question about openCard In-Reply-To: References: <5390AC23-D84D-4B02-B2D4-76D3187EACC9@comcast.net> Message-ID: <7E29F09B-AB26-477E-A247-B144C7270FEF@anvic.net> "Is there some simple way that an openCard handler can branch based on what card it is coming from?" My solution would be to give each card a customprop named say ?uCalledBy". Then when the app changes cards I set this prop e.g. Set the uCalledBy of Card 42 to ?HitchHikers? Go to Card 42 Then in Card 42 ?s opencard or anywhere else If the uCalledBy of me is ?HitchHikers? then answer ?Where is your towel?? end if Simon From panos.merakos at livecode.com Mon Jun 3 08:50:53 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 3 Jun 2019 15:50:53 +0300 Subject: [ANN] This Week in LiveCode 180 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #180 here: http://bit.ly/2KoA6ov This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From bobsneidar at iotecdigital.com Mon Jun 3 10:42:59 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Jun 2019 14:42:59 +0000 Subject: SQLite import In-Reply-To: References: Message-ID: You can execute any single line sql command using revDBExecute() or it's command version revExecuteSQL. Also, there may be command line or teminal commands to do so. Use these commands when you want to execute an SQL statement but do not need to return a cursor. Use LOAD DATA INFILE in your sql statement. Google for specifics. Bob S > On May 31, 2019, at 17:37 , Glen Bojsza via use-livecode wrote: > > Hello, > > I know LC can script SQLite database inserts but can you script an SQLite > csv file import? > > thanks, > > Glen From hh at hyperhh.de Mon Jun 3 10:43:09 2019 From: hh at hyperhh.de (hh) Date: Mon, 3 Jun 2019 16:43:09 +0200 Subject: A question about openCard Message-ID: <56A8CF41-C673-43FA-B7F6-48844688BB46@hyperhh.de> > David E. wrote: > Is there some simple way that an openCard handler can branch based on > what card it is coming from? TMHO, the function that's made for that is the target (dictionary) Returns the object which received the message that started execution. Use the target function within a message handler to determine which object originally received the message. From bobsneidar at iotecdigital.com Mon Jun 3 10:55:17 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Jun 2019 14:55:17 +0000 Subject: A question about openCard In-Reply-To: References: <5390AC23-D84D-4B02-B2D4-76D3187EACC9@comcast.net> Message-ID: ResumeStack can be tricky. For instance, if you are tracing a resumeStack handler to debug it, every time you click back on to the stack in question, it will trigger the debugger and suspend the stack again! Rinse and repeat until you realize you can't trace a resumeStack handler without some special handling. Bob S > On Jun 2, 2019, at 17:22 , Klaus major-k via use-livecode wrote: > >> I?m not sure I understand the full range of events that ?close? a card so that returning to it triggers ?openCard.? Does this happen if I set an insertion point or select text in an unlocked field in a palette, or the user types there? Does it happen if I open a palette, or move a palette, or if the user clicks on the palette? > > See above, resumestack/suspendstack are the messages you could check, if neccessary, in that case. > >> Many thanks. >> >> David Epstein > > Best > > Klaus > From quizzicaltimes20 at gmail.com Mon Jun 3 11:31:43 2019 From: quizzicaltimes20 at gmail.com (Tom Bodine) Date: Mon, 3 Jun 2019 10:31:43 -0500 Subject: No subject Message-ID: Hi all. I'm troubleshooting a rare image issue and hope you can help. The issue is that some (not all) images used in a LC standalone app appear as black boxes. Details: * Only happens if user is on Mac Mojave. * All pictures appeared normally for the users before upgrading to Mojave. After upgrading to Mojave, the black boxes appeared for certain pictures. (Other pictures in the same game work fine.) * For one user, pictures that failed to render were all screenshots done on her Mac. * For another user, failing pictures were all composite images from photographs. (He arranged one or more images on his screen and use Grab or Photoshop to capture them as a composite image.) * The issue can happen with either jpg or png files. * I am certain the picture paths are valid, because LC is finding them and sizing the image control's rect to the aspect ratio of the images. * The app in use is a LC standalone built on Mac with LC 8.1.10. * The app allows users to select images to add to a quiz. Images are stored in a media folder and loaded as needed into an image control for display. Only one image file is shown at a time. (This has worked reliably for many years.) The full path to the image file is provided to the image control. Have you seen any similar issue or do you have a theory about what's going on? Thanks, Tom Bodine P.S.: Apologies if this post appears more than once. My original listserve account wasn't working. From jacque at hyperactivesw.com Mon Jun 3 11:43:38 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 03 Jun 2019 10:43:38 -0500 Subject: A question about openCard In-Reply-To: <56A8CF41-C673-43FA-B7F6-48844688BB46@hyperhh.de> References: <56A8CF41-C673-43FA-B7F6-48844688BB46@hyperhh.de> Message-ID: <16b1e02a410.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Look at the recentCards. Line 2 is the card you came from. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com >> Is there some simple way that an openCard handler can branch based on >> what card it is coming from? From martyknappster at gmail.com Mon Jun 3 11:46:13 2019 From: martyknappster at gmail.com (Knapp Martin) Date: Mon, 3 Jun 2019 08:46:13 -0700 Subject: No subject In-Reply-To: References: Message-ID: Are you setting the ?ink? to something other than the standard srcCopy? I had some image weirdness that happened when I upgraded to Mojave, though I don?t remember which ink setting it was that caused it. --- Marty Knapp > On Jun 3, 2019, at 8:31 AM, Tom Bodine via use-livecode wrote: > > Hi all. > > I'm troubleshooting a rare image issue and hope you can help. > > The issue is that some (not all) images used in a LC standalone app appear > as black boxes. > > Details: > > * Only happens if user is on Mac Mojave. > > * All pictures appeared normally for the users before upgrading to Mojave. > After upgrading to Mojave, the black boxes appeared for certain pictures. > (Other pictures in the same game work fine.) > > * For one user, pictures that failed to render were all screenshots done on > her Mac. > > * For another user, failing pictures were all composite images from > photographs. (He arranged one or more images on his screen and use Grab or > Photoshop to capture them as a composite image.) > > * The issue can happen with either jpg or png files. > > * I am certain the picture paths are valid, because LC is finding them and > sizing the image control's rect to the aspect ratio of the images. > > * The app in use is a LC standalone built on Mac with LC 8.1.10. > > * The app allows users to select images to add to a quiz. Images are stored > in a media folder and loaded as needed into an image control for display. > Only one image file is shown at a time. (This has worked reliably for many > years.) The full path to the image file is provided to the image control. > > Have you seen any similar issue or do you have a theory about what's going > on? > > Thanks, > > Tom Bodine > > P.S.: Apologies if this post appears more than once. My original listserve > account wasn't working. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Mon Jun 3 11:56:36 2019 From: hh at hyperhh.de (hh) Date: Mon, 3 Jun 2019 17:56:36 +0200 Subject: No subject Message-ID: > Tom B. wrote: > The issue is that some (not all) images used in a LC standalone app > appear as black boxes. Did you already try to set the paintcompression to PNG in the standalone? Or set it to the paintcompression of the imported image? The black boxes result possibly from alpha data problems because a standalone's paintcompression is RLE by default ... From ambassador at fourthworld.com Mon Jun 3 13:19:01 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 3 Jun 2019 10:19:01 -0700 Subject: A question about openCard In-Reply-To: <7E29F09B-AB26-477E-A247-B144C7270FEF@anvic.net> References: <7E29F09B-AB26-477E-A247-B144C7270FEF@anvic.net> Message-ID: <9c5b692a-7a69-d1a9-dd60-96f1b679c3e5@fourthworld.com> Simon Knight wrote: > "Is there some simple way that an openCard handler can branch based on > what card it is coming from?" > > My solution would be to give each card a customprop named say > ?uCalledBy". Then when the app changes cards I set this prop e.g. > > Set the uCalledBy of Card 42 to ?HitchHikers? > Go to Card 42 > > Then in Card 42 ?s opencard or anywhere else > > If the uCalledBy of me is ?HitchHikers? then > answer ?Where is your towel?? > end if Custom properties are an excellent option when both of these requirements are met: 1. The data is most meaningfully expressed when bound to a specific object. 2. The data benefits from persistence. In the scenario at hand, #1 is well met, but #2 may be problematic. For example, if you happen to save the stack while working on it (who doesn't?) then you'll have property values in place that may not be relevant to the next runtime session. This would require that you add a handler to clear those properties on startup, or some other useful entry point for execution, in addition to adding the code above. When you find yourself writing handlers to clean up after other handlers you've written, it may be time to reconsider the original premise. FWIW Jacque's solution seems the most with-the-grain one yet, using the function designed for this purpose: > Look at the recentCards. Line 2 is the card you came from. -- 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 quizzicaltimes20 at gmail.com Mon Jun 3 13:57:01 2019 From: quizzicaltimes20 at gmail.com (Tom Bodine) Date: Mon, 3 Jun 2019 12:57:01 -0500 Subject: Black boxes replace images in Mojave (Was "No subject") Message-ID: Thanks, HH and Marty. Marty wrote: Are you setting the ?ink? to something other than the standard srcCopy? I am using srcCopy. Other settings are: don't dither ON, Buffer OFF. Resize quality: Best. Blend Lvl: 0 Layer mode: Static. HH wrote: Did you already try to set the paintcompression to PNG in the standalone? Or set it to the paintcompression of the imported image? The black boxes result possibly from alpha data problems because a standalone's paintcompression is RLE by default ... I will try that. If I set that globally, does it automatically apply to all image controls in the stack? Thanks! Tom Bodine Original Post: I'm troubleshooting a rare image issue and hope you can help. The issue is that some (not all) images used in a LC standalone app appear as black boxes. Details: * Only happens if user is on Mac Mojave. * All pictures appeared normally for the users before upgrading to Mojave. After upgrading to Mojave, the black boxes appeared for certain pictures. (Other pictures in the same game work fine.) * For one user, pictures that failed to render were all screenshots done on her Mac. * For another user, failing pictures were all composite images from photographs. (He arranged one or more images on his screen and use Grab or Photoshop to capture them as a composite image.) * The issue can happen with either jpg or png files. * I am certain the picture paths are valid, because LC is finding them and sizing the image control's rect to the aspect ratio of the images. * The app in use is a LC standalone built on Mac with LC 8.1.10. * The app allows users to select images to add to a quiz. Images are stored in a media folder and loaded as needed into an image control for display. Only one image file is shown at a time. (This has worked reliably for many years.) The full path to the image file is provided to the image control. Have you seen any similar issue or do you have a theory about what's going on? From terry.judd at unimelb.edu.au Tue Jun 4 00:53:54 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 4 Jun 2019 04:53:54 +0000 Subject: Seeking clarification on which Android versions to build against in LC 9.5.0 (dp 1) Message-ID: <2D9633A2-BDC7-456B-8F85-337BB75F5373@unimelb.edu.au> OK - so I'm trying out 9.5.0 (dp 1) and am loving the fact that we now have a functional emulator (I'm using Android Studio) that we can use to test Android apps. Thanks dev team! But, I'm not entirely clear which processors I need to build against in order to publish the app. I'm *not* distributing the app via a store but am instead just allowing users (students) to download and install it directly. In the past I just had to select to build against 'Android' but now there are 4 possible build options. I'm assuming that I can ignore both x86 ones unless I am using the emulator, which leaves me with armv7 and arm64 (same as armv8?) to choose from. Do I need both, and if I do, how might I go about advising our students which one they should download and install? Terry... From matthias_livecode_150811 at m-r-d.de Tue Jun 4 05:49:27 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 4 Jun 2019 11:49:27 +0200 Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: References: Message-ID: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> I noticed this behaviour also. But in my case it was sporadic and the png was not always black. When it happened then most of the time the png was black, but sometimes also white and sometimes also something like ruby coloured. See a screenshot of it here https://dl.qck.nu/samples/mojave-lc.png Mostly after a restart of the app, sometimes after 2 - 4 restarts the png was correctly displayded (orange). Tried with paint compression set to png also, but without success. I?ve removed the png now and set the background colour to orange. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 03.06.2019 um 19:57 schrieb Tom Bodine via use-livecode >: > > Thanks, HH and Marty. > > Marty wrote: > > Are you setting the ?ink? to something other than the standard srcCopy? > > I am using srcCopy. Other settings are: don't dither ON, Buffer OFF. Resize > quality: Best. Blend Lvl: 0 Layer mode: Static. > > HH wrote: > > Did you already try to > set the paintcompression to PNG > in the standalone? > > Or set it to the paintcompression of the imported image? > > The black boxes result possibly from alpha data problems > because a standalone's paintcompression is RLE by default ... > > I will try that. If I set that globally, does it automatically apply to all > image controls in the stack? > > Thanks! > > Tom Bodine > > Original Post: > > I'm troubleshooting a rare image issue and hope you can help. > > The issue is that some (not all) images used in a LC standalone app appear > as black boxes. > > Details: > > * Only happens if user is on Mac Mojave. > > * All pictures appeared normally for the users before upgrading to Mojave. > After upgrading to Mojave, the black boxes appeared for certain pictures. > (Other pictures in the same game work fine.) > > * For one user, pictures that failed to render were all screenshots done on > her Mac. > > * For another user, failing pictures were all composite images from > photographs. (He arranged one or more images on his screen and use Grab or > Photoshop to capture them as a composite image.) > > * The issue can happen with either jpg or png files. > > * I am certain the picture paths are valid, because LC is finding them and > sizing the image control's rect to the aspect ratio of the images. > > * The app in use is a LC standalone built on Mac with LC 8.1.10. > > * The app allows users to select images to add to a quiz. Images are stored > in a media folder and loaded as needed into an image control for display. > Only one image file is shown at a time. (This has worked reliably for many > years.) The full path to the image file is provided to the image control. > > Have you seen any similar issue or do you have a theory about what's going > on? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Tue Jun 4 07:16:01 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Tue, 04 Jun 2019 11:16:01 +0000 Subject: Seeking clarification on which Android versions to build against in LC 9.5.0 (dp 1) In-Reply-To: <2D9633A2-BDC7-456B-8F85-337BB75F5373@unimelb.edu.au> References: <2D9633A2-BDC7-456B-8F85-337BB75F5373@unimelb.edu.au> Message-ID: <68f3e2af4ae6486f89bfd86e4bffeff5@krutt.org> According to Monte, it doesnot matter. Just hit the TEST button. But probably you need to have downloaded the correct dependencies in Android Studio. It sees against which it has to build. But for the PAK standalone you need to decide for whcih processor you want to build. the ARMv7 is the quad core as of android 4.1.2 according Mark, the ARM64 are often octa-cores and of course 64bits. Terry Judd via use-livecode schreef op 2019-06-04 04:53: > OK - so I'm trying out 9.5.0 (dp 1) and am loving the fact that we now > have a functional emulator (I'm using Android Studio) that we can use > to test Android apps. Thanks dev team! But, I'm not entirely clear > which processors I need to build against in order to publish the app. > I'm *not* distributing the app via a store but am instead just > allowing users (students) to download and install it directly. In the > past I just had to select to build against 'Android' but now there are > 4 possible build options. I'm assuming that I can ignore both x86 ones > unless I am using the emulator, which leaves me with armv7 and arm64 > (same as armv8?) to choose from. Do I need both, and if I do, how > might I go about advising our students which one they should download > and install? > > Terry... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Tue Jun 4 08:50:27 2019 From: hh at hyperhh.de (hh) Date: Tue, 4 Jun 2019 14:50:27 +0200 Subject: Black boxes replace images in Mojave (Was "No subject") Message-ID: > Matthias R. wrote: > Mostly after a restart of the app, sometimes after 2 - 4 restarts > the png was correctly displayded (orange). > Tried with paint compression set to png also, but without success. Just out of interest: Happened this in the standalone only, not in the IDE? Happened this on Mac only? Happened this in both lightMode and darkMode? This may be a bug of MacOS rather than of LC ... From matthias_livecode_150811 at m-r-d.de Tue Jun 4 09:14:22 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 4 Jun 2019 15:14:22 +0200 Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: References: Message-ID: This occured on Mac in the standalone after i upgraded to Mojave. I am not sure, but i think I noticed it also in the IDE after i changed the png, but only once. But i might be wrong. Tried now also with dark mode. It?s the same. Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 04.06.2019 um 14:50 schrieb hh via use-livecode >: > >> Matthias R. wrote: >> Mostly after a restart of the app, sometimes after 2 - 4 restarts >> the png was correctly displayded (orange). >> Tried with paint compression set to png also, but without success. > > Just out of interest: > > Happened this in the standalone only, not in the IDE? > Happened this on Mac only? > Happened this in both lightMode and darkMode? > > This may be a bug of MacOS rather than of LC ... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Tue Jun 4 10:20:06 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 4 Jun 2019 10:20:06 -0400 Subject: Line Graph Widget - Plotting time series Message-ID: Hello, I am trying to use the Line Graph Widget to grapg a time series (x axis) where the time is in the format 2:45:16 The time data is being treated like text and therefore tries to plot using every x series as a x label. Optimally I would like to see only a handful of x labels spread that covers the time period as x labels. I also tried just using linear data series for the x axis and the Line Graph Widget wants to put a label for every number. Is there a property that could be set that recognizes the x data series as a number or time? thanks, Glen From bodine at bodinetraininggames.com Tue Jun 4 11:28:46 2019 From: bodine at bodinetraininggames.com (tbodine) Date: Tue, 4 Jun 2019 10:28:46 -0500 (CDT) Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> References: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> Message-ID: <1559662126046-0.post@n4.nabble.com> Thanks for that info, Matthias. Please clarify: Is the image you posted a screenshot of three separate png files or one composite image? If separate, what are the differences between the files? (Strikes me as odd that the black is only a part of the image. In my cases, users see entire rectangles of black.) Are the images in the screenshot being displayed in LC image controls or through some other app? Thanks, Tom Bodine -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From matthias_livecode_150811 at m-r-d.de Tue Jun 4 12:57:00 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 4 Jun 2019 18:57:00 +0200 Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: <1559662126046-0.post@n4.nabble.com> References: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> <1559662126046-0.post@n4.nabble.com> Message-ID: Those are some screenshots how my app looks since Mojave. i put them in one image to show the difference. The normal/correct look is the orange one on the right. The other 2 are how the app looks when it is displayed wrong. The app even showed white once, but i did not make a screenshot of it. It?s allways the same app. As i wrote, after a restart, sometimes it takes 2 or more restarts, the app is displayed correctly again. But the next start could be wrong again. My stack uses a custom shape in the same size of the png, that?s the reason why the complete app is black. The png image is displayed in an image control. This is the image i am using in my stack for the custom shape and as the background https://dl.qck.nu/samples/Background_mit_Rand_.png Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 04.06.2019 um 17:28 schrieb tbodine via use-livecode >: > > Thanks for that info, Matthias. > > Please clarify: > Is the image you posted a screenshot of three separate png files or one > composite image? > If separate, what are the differences between the files? (Strikes me as odd > that the black is only a part of the image. In my cases, users see entire > rectangles of black.) > Are the images in the screenshot being displayed in LC image controls or > through some other app? > > Thanks, > Tom Bodine > > > > > > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From matthias_livecode_150811 at m-r-d.de Tue Jun 4 13:00:34 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 4 Jun 2019 19:00:34 +0200 Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: References: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> <1559662126046-0.post@n4.nabble.com> Message-ID: <8D347A68-9582-43A4-8348-C1924B57AB53@m-r-d.de> What i forgot. Here?s the link to the complete stack https://dl.qck.nu/?dl=DropUpload.zip Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 04.06.2019 um 18:57 schrieb Matthias Rebbe >: > > Those are some screenshots how my app looks since Mojave. i put them in one image to show the difference. > The normal/correct look is the orange one on the right. The other 2 are how the app looks when it is displayed wrong. The app even showed white once, but i did not make a screenshot of it. > > It?s allways the same app. As i wrote, after a restart, sometimes it takes 2 or more restarts, the app is displayed correctly again. > But the next start could be wrong again. > > My stack uses a custom shape in the same size of the png, that?s the reason why the complete app is black. > The png image is displayed in an image control. > > This is the image i am using in my stack for the custom shape and as the background > https://dl.qck.nu/samples/Background_mit_Rand_.png > > Regards, > > Matthias > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 04.06.2019 um 17:28 schrieb tbodine via use-livecode >: >> >> Thanks for that info, Matthias. >> >> Please clarify: >> Is the image you posted a screenshot of three separate png files or one >> composite image? >> If separate, what are the differences between the files? (Strikes me as odd >> that the black is only a part of the image. In my cases, users see entire >> rectangles of black.) >> Are the images in the screenshot being displayed in LC image controls or >> through some other app? >> >> Thanks, >> Tom Bodine >> >> >> >> >> >> -- >> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de From mark at livecode.com Tue Jun 4 13:29:04 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 4 Jun 2019 18:29:04 +0100 Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: References: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> <1559662126046-0.post@n4.nabble.com> Message-ID: <68CE4867-2A31-4BCD-BE52-AFE17543E9FF@livecode.com> This is a strange issue as it sounds like it is sporadic... The only OS specific code the engine uses when decompressing images is when the image has an embedded colour profile. So I guess the question is whether the images which are ?breaking? have such a thing in them. I think preview?s info pane can tell you that. Thus a potential solution is to strip the profiles out (if they are there) and see if the problem persists... Warmest Regards, Mark. Sent from my iPhone > On 4 Jun 2019, at 17:57, Matthias Rebbe via use-livecode wrote: > > Those are some screenshots how my app looks since Mojave. i put them in one image to show the difference. > The normal/correct look is the orange one on the right. The other 2 are how the app looks when it is displayed wrong. The app even showed white once, but i did not make a screenshot of it. > > It?s allways the same app. As i wrote, after a restart, sometimes it takes 2 or more restarts, the app is displayed correctly again. > But the next start could be wrong again. > > My stack uses a custom shape in the same size of the png, that?s the reason why the complete app is black. > The png image is displayed in an image control. > > This is the image i am using in my stack for the custom shape and as the background > https://dl.qck.nu/samples/Background_mit_Rand_.png > > Regards, > > Matthias > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 04.06.2019 um 17:28 schrieb tbodine via use-livecode >: >> >> Thanks for that info, Matthias. >> >> Please clarify: >> Is the image you posted a screenshot of three separate png files or one >> composite image? >> If separate, what are the differences between the files? (Strikes me as odd >> that the black is only a part of the image. In my cases, users see entire >> rectangles of black.) >> Are the images in the screenshot being displayed in LC image controls or >> through some other app? >> >> Thanks, >> Tom Bodine >> >> >> >> >> >> -- >> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.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 matthias_livecode_150811 at m-r-d.de Tue Jun 4 13:36:31 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 4 Jun 2019 19:36:31 +0200 Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: <68CE4867-2A31-4BCD-BE52-AFE17543E9FF@livecode.com> References: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> <1559662126046-0.post@n4.nabble.com> <68CE4867-2A31-4BCD-BE52-AFE17543E9FF@livecode.com> Message-ID: Hello Mark, preview?s info pane shows me Color model : RGB (i am not sure if it is Color model, my German Mac OS shows Farbmodell: RGB) Color Sync Profile : LG Ultrawide Btw., how do i strip the profiles out? Working with graphics is not so my stuff. Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 04.06.2019 um 19:29 schrieb Mark Waddingham via use-livecode >: > > This is a strange issue as it sounds like it is sporadic... > > The only OS specific code the engine uses when decompressing images is when the image has an embedded colour profile. > > So I guess the question is whether the images which are ?breaking? have such a thing in them. I think preview?s info pane can tell you that. > > Thus a potential solution is to strip the profiles out (if they are there) and see if the problem persists... > > Warmest Regards, From mark at livecode.com Tue Jun 4 13:46:48 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 04 Jun 2019 19:46:48 +0200 Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: References: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> <1559662126046-0.post@n4.nabble.com> <68CE4867-2A31-4BCD-BE52-AFE17543E9FF@livecode.com> Message-ID: <2257792ba7e65a0f31253a6d548068ed@livecode.com> On 2019-06-04 19:36, Matthias Rebbe via use-livecode wrote: > Btw., how do i strip the profiles out? Working with graphics is not so > my stuff. The 'sips' command seems to do the trick (from Terminal): sips -d profile --deleteColorManagementProperties ~/Downloads/Background_mit_Rand_.png If you could try that and see if you could still reproduce the issue that would be great. The engine still applies color management to all images (as the screen buffers on macOS generally expect sRGB matched image data) - so at the very least this will determine whether its an issue with the color profile on Mojave, or something else. Either way, if you could file a bug with the offending image(s) and a recipe for reproduction (although it sounds like its sporadic) we can try and figure out what the actual issue is. Warmest Regards, Mark. P.S. *Hopefully* stripping the color profile will at least be a workaround if it works! -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From matthias_livecode_150811 at m-r-d.de Tue Jun 4 13:47:15 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 4 Jun 2019 19:47:15 +0200 Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: References: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> <1559662126046-0.post@n4.nabble.com> <68CE4867-2A31-4BCD-BE52-AFE17543E9FF@livecode.com> Message-ID: <932E1220-2647-4DE5-9BE0-098D45AE1836@m-r-d.de> Hi again, found out how to remove a color sync profile. Just had to drag the png to the file /library/scripts/colorsync/Remove.app. I?ve imported that modified png into the app and created a new standalone. Tried the new standalone now about 10 times w/o a problem. Seems that fixed it. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 04.06.2019 um 19:36 schrieb Matthias Rebbe via use-livecode >: > > Hello Mark, > > preview?s info pane shows me > > Color model : RGB (i am not sure if it is Color model, my German Mac OS shows Farbmodell: RGB) > Color Sync Profile : LG Ultrawide > > Btw., how do i strip the profiles out? Working with graphics is not so my stuff. > > Matthias > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > > https://winsignhelper.dermattes.de > >> Am 04.06.2019 um 19:29 schrieb Mark Waddingham via use-livecode >>: >> >> This is a strange issue as it sounds like it is sporadic... >> >> The only OS specific code the engine uses when decompressing images is when the image has an embedded colour profile. >> >> So I guess the question is whether the images which are ?breaking? have such a thing in them. I think preview?s info pane can tell you that. >> >> Thus a potential solution is to strip the profiles out (if they are there) and see if the problem persists... >> >> Warmest Regards, > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Tue Jun 4 13:57:29 2019 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 4 Jun 2019 18:57:29 +0100 Subject: View XML file in Tree View widget - worth the effort? Message-ID: Hi folks, Is parsing an XML file into a LiveCode TreeView widget a sensible (and easy) approach to render it more human-readable to understand it?s structure & content, etc., for potential onward processing / transformation? If so, can anyone please share the current state of the art for transforming an XML file to the requisite array form to seed the TreeView widget? Thanks Keith From bodine at bodinetraininggames.com Tue Jun 4 17:02:02 2019 From: bodine at bodinetraininggames.com (tbodine) Date: Tue, 4 Jun 2019 16:02:02 -0500 (CDT) Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: <932E1220-2647-4DE5-9BE0-098D45AE1836@m-r-d.de> References: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> <1559662126046-0.post@n4.nabble.com> <68CE4867-2A31-4BCD-BE52-AFE17543E9FF@livecode.com> <932E1220-2647-4DE5-9BE0-098D45AE1836@m-r-d.de> Message-ID: <1559682122208-0.post@n4.nabble.com> Mark and Matthias, This workaround looks promising! While I don't have Mojave to test against, I do find problem images have many different colorSync profiles. Matthias, after you have stripped out the profile, what does Preview's Info screen show as the ColorSync Profile data? I'm thinking it would be good to have an acceptable default value that I can tell users is OK, and anything else should be stripped. Thanks to your both! Tom Bodine -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From matthias_livecode_150811 at m-r-d.de Tue Jun 4 17:14:15 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 4 Jun 2019 23:14:15 +0200 Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: <1559682122208-0.post@n4.nabble.com> References: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> <1559662126046-0.post@n4.nabble.com> <68CE4867-2A31-4BCD-BE52-AFE17543E9FF@livecode.com> <932E1220-2647-4DE5-9BE0-098D45AE1836@m-r-d.de> <1559682122208-0.post@n4.nabble.com> Message-ID: <4245CE37-DC15-491B-853D-5B9B67D17FAF@m-r-d.de> Tom, see answer below > Am 04.06.2019 um 23:02 schrieb tbodine via use-livecode >: > > Mark and Matthias, > > This workaround looks promising! > > While I don't have Mojave to test against, I do find problem images have > many different colorSync profiles. > > Matthias, after you have stripped out the profile, what does Preview's Info > screen show as the ColorSync Profile data? > Both methods, Marks one.... terminal command: sips -d profile --deleteColorManagementProperties ~/Downloads/Background_mit_Rand_.png and my... dragging the image onto Remove.app in /library/scripts/colorsync/ replaces the ColorSync Profile to sRGB IEC61966-2.1 Regards, Matthiass > I'm thinking it would be good to have an acceptable default value that I can > tell users is OK, and anything else should be stripped. > > Thanks to your both! > > Tom Bodine > > > > > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Tue Jun 4 20:15:54 2019 From: monte at appisle.net (Monte Goulding) Date: Wed, 5 Jun 2019 10:15:54 +1000 Subject: Line Graph Widget - Plotting time series In-Reply-To: References: Message-ID: <16D506A8-C74E-469A-9F23-E599D6742795@appisle.net> No the line graph widget only treats the X axis values as labels to be evenly spaced along the axis. It would be nice to add a way to scale the X axis value along the chart so that it is a scatterplot then a way to format the values on both/either axes as time/date/decimal precision etc. > On 5 Jun 2019, at 12:20 am, Glen Bojsza via use-livecode wrote: > > Hello, > > I am trying to use the Line Graph Widget to grapg a time series (x axis) > where the time is in the format 2:45:16 > > The time data is being treated like text and therefore tries to plot using > every x series as a x label. > > Optimally I would like to see only a handful of x labels spread that covers > the time period as x labels. > > I also tried just using linear data series for the x axis and the Line > Graph Widget wants to put a label for every number. > > Is there a property that could be set that recognizes the x data series as > a number or time? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Tue Jun 4 20:50:08 2019 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 5 Jun 2019 01:50:08 +0100 Subject: Line Graph Widget - Plotting time series In-Reply-To: References: Message-ID: <20dfd62e-5d7f-4da1-9eee-3b63d6b07eea@tweedly.net> Hi Glen, Sounds like the graph widget won't do it. You could try using my GraphMaker library. I gave a brief talk about it at the conference, but since I got back I've been so busy I haven't yet got around to making a general announcement. You can get the library from https://github.com/alextweedly/LivecodeGraphMaker This includes the library (a script-only stack), a demo example (binary UI stack) and a text file of notes. I've added a couple of new examples, covering two different ways to approach your example; they both convert the time-series to seconds, and plot that. Then: ?- graph 7 uses a custom formatting function to convert the 'seconds' values into the desired hh:mm:ss to produce a few well-spaced out labels - graph 8 uses explicit X-axis labels for each data point. I'm not sure which of those (or some variant of them) might be what you want. Feel free to ask me any questions if anything is unclear, or needs changing. You can see the output at https://www.kilmelford.com/images/graph7.jpg https://www.kilmelford.com/images/graph8.jpg and the required input setup in the demo stack. Alex. On 04/06/2019 07:20, Glen Bojsza via use-livecode wrote: > Hello, > > I am trying to use the Line Graph Widget to grapg a time series (x axis) > where the time is in the format 2:45:16 > > The time data is being treated like text and therefore tries to plot using > every x series as a x label. > > Optimally I would like to see only a handful of x labels spread that covers > the time period as x labels. > > I also tried just using linear data series for the x axis and the Line > Graph Widget wants to put a label for every number. > > Is there a property that could be set that recognizes the x data series as > a number or time? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Tue Jun 4 22:23:16 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 4 Jun 2019 22:23:16 -0400 Subject: Line Graph Widget - Plotting time series In-Reply-To: <20dfd62e-5d7f-4da1-9eee-3b63d6b07eea@tweedly.net> References: <20dfd62e-5d7f-4da1-9eee-3b63d6b07eea@tweedly.net> Message-ID: Hi Alex, I will take a look at it...thanks. Can it do dual Y axis graphs? On Tue, Jun 4, 2019 at 8:50 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Glen, > > Sounds like the graph widget won't do it. > > You could try using my GraphMaker library. I gave a brief talk about it > at the conference, but since I got back I've been so busy I haven't yet > got around to making a general announcement. > > You can get the library from > https://github.com/alextweedly/LivecodeGraphMaker > > This includes the library (a script-only stack), a demo example (binary > UI stack) and a text file of notes. > > I've added a couple of new examples, covering two different ways to > approach your example; they both convert the time-series to seconds, and > plot that. Then: > > - graph 7 uses a custom formatting function to convert the 'seconds' > values into the desired hh:mm:ss to produce a few well-spaced out labels > > - graph 8 uses explicit X-axis labels for each data point. > > I'm not sure which of those (or some variant of them) might be what you > want. > > Feel free to ask me any questions if anything is unclear, or needs > changing. > > You can see the output at > > https://www.kilmelford.com/images/graph7.jpg > > https://www.kilmelford.com/images/graph8.jpg > > > and the required input setup in the demo stack. > > Alex. > > > On 04/06/2019 07:20, Glen Bojsza via use-livecode wrote: > > Hello, > > > > I am trying to use the Line Graph Widget to grapg a time series (x axis) > > where the time is in the format 2:45:16 > > > > The time data is being treated like text and therefore tries to plot > using > > every x series as a x label. > > > > Optimally I would like to see only a handful of x labels spread that > covers > > the time period as x labels. > > > > I also tried just using linear data series for the x axis and the Line > > Graph Widget wants to put a label for every number. > > > > Is there a property that could be set that recognizes the x data series > as > > a number or time? > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Tue Jun 4 23:22:11 2019 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 4 Jun 2019 20:22:11 -0700 Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: <4245CE37-DC15-491B-853D-5B9B67D17FAF@m-r-d.de> References: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> <1559662126046-0.post@n4.nabble.com> <68CE4867-2A31-4BCD-BE52-AFE17543E9FF@livecode.com> <932E1220-2647-4DE5-9BE0-098D45AE1836@m-r-d.de> <1559682122208-0.post@n4.nabble.com> <4245CE37-DC15-491B-853D-5B9B67D17FAF@m-r-d.de> Message-ID: <5449c2f6-f274-4043-7646-dd757066f210@pdslabs.net> As it turns out, the Remove script uses the sips command. (* Remove ?2009 Apple, Inc. Use sips to remove embedded profile and color management data from an image. *) on run ??? display dialog "Remove the embedded profile from an image." ??? set chosenFile to choose file with prompt "Choose an image " default location path to desktop folder ??? open chosenFile end run on open draggedItems ??? repeat with thisFile in (draggedItems as list) ??? ??? try ??? ??? ??? -- use 'sips -d profile' to remove an embedded profile ??? ??? ??? -- or use 'sips -d profile --deleteColorManagementProperties' to remove an embedded profile and other color related info ??? ??? ??? set filePath to quoted form of POSIX path of thisFile ??? ??? ??? set cmdLine to ("sips -d profile --deleteColorManagementProperties " & filePath) as string ??? ??? ??? do shell script cmdLine ??? ??? end try ??? end repeat end open Phil Davis On 6/4/19 2:14 PM, Matthias Rebbe via use-livecode wrote: > Tom, > > see answer below > > > >> Am 04.06.2019 um 23:02 schrieb tbodine via use-livecode >: >> >> Mark and Matthias, >> >> This workaround looks promising! >> >> While I don't have Mojave to test against, I do find problem images have >> many different colorSync profiles. >> >> Matthias, after you have stripped out the profile, what does Preview's Info >> screen show as the ColorSync Profile data? >> > Both methods, > > Marks one.... terminal command: sips -d profile --deleteColorManagementProperties ~/Downloads/Background_mit_Rand_.png > > and my... dragging the image onto Remove.app in /library/scripts/colorsync/ > replaces the ColorSync Profile to sRGB IEC61966-2.1 > > > Regards, > > Matthiass > > >> I'm thinking it would be good to have an acceptable default value that I can >> tell users is OK, and anything else should be stripped. >> >> Thanks to your both! >> >> Tom Bodine >> >> >> >> >> -- >> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode 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 From ali.lloyd at livecode.com Wed Jun 5 01:06:51 2019 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 5 Jun 2019 06:06:51 +0100 Subject: View XML file in Tree View widget - worth the effort? In-Reply-To: References: Message-ID: Not sure if it's exactly the format you're looking for but this code snippet from Trevor DeVore converts between XML and LiveCode arrays: https://gist.github.com/trevordevore/5584753 On Tue, 4 Jun 2019 at 18:57, Keith Clarke via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi folks, > Is parsing an XML file into a LiveCode TreeView widget a sensible (and > easy) approach to render it more human-readable to understand it?s > structure & content, etc., for potential onward processing / transformation? > > If so, can anyone please share the current state of the art for > transforming an XML file to the requisite array form to seed the TreeView > widget? > Thanks > Keith > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Wed Jun 5 03:27:56 2019 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 5 Jun 2019 08:27:56 +0100 Subject: View XML file in Tree View widget - worth the effort? In-Reply-To: References: Message-ID: <606757A6-F4D3-4290-BF8E-8441F095EE50@me.com> Thanks Ali - the 'XML to LiveCode multi-dimensional array? handler should get me close. Best, Keith > On 5 Jun 2019, at 06:06, Ali Lloyd via use-livecode wrote: > > Not sure if it's exactly the format you're looking for but this code > snippet from Trevor DeVore converts between XML and LiveCode arrays: > https://gist.github.com/trevordevore/5584753 > > On Tue, 4 Jun 2019 at 18:57, Keith Clarke via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi folks, >> Is parsing an XML file into a LiveCode TreeView widget a sensible (and >> easy) approach to render it more human-readable to understand it?s >> structure & content, etc., for potential onward processing / transformation? >> >> If so, can anyone please share the current state of the art for >> transforming an XML file to the requisite array form to seed the TreeView >> widget? >> Thanks >> Keith >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Wed Jun 5 07:55:28 2019 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 5 Jun 2019 12:55:28 +0100 Subject: Line Graph Widget - Plotting time series In-Reply-To: References: <20dfd62e-5d7f-4da1-9eee-3b63d6b07eea@tweedly.net> Message-ID: Yes - it calls the "ordinary" one the Yaxis, and the second one the YRightAxis (or YRAxis) in various places, and draws it on the right of the graph. It currently doesn't do a title on the second (right) axis - but should be 10 minutes for me to add that if you want it - just let me know. (And I should admit that I haven't used, or tested, them as thoroughly as most other aspects of the library). Alex On 04/06/2019 19:23, Glen Bojsza via use-livecode wrote: > Hi Alex, > > I will take a look at it...thanks. > > Can it do dual Y axis graphs? > > On Tue, Jun 4, 2019 at 8:50 PM Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Glen, >> >> Sounds like the graph widget won't do it. >> >> You could try using my GraphMaker library. I gave a brief talk about it >> at the conference, but since I got back I've been so busy I haven't yet >> got around to making a general announcement. >> >> You can get the library from >> https://github.com/alextweedly/LivecodeGraphMaker >> >> This includes the library (a script-only stack), a demo example (binary >> UI stack) and a text file of notes. >> >> I've added a couple of new examples, covering two different ways to >> approach your example; they both convert the time-series to seconds, and >> plot that. Then: >> >> - graph 7 uses a custom formatting function to convert the 'seconds' >> values into the desired hh:mm:ss to produce a few well-spaced out labels >> >> - graph 8 uses explicit X-axis labels for each data point. >> >> I'm not sure which of those (or some variant of them) might be what you >> want. >> >> Feel free to ask me any questions if anything is unclear, or needs >> changing. >> >> You can see the output at >> >> https://www.kilmelford.com/images/graph7.jpg >> >> https://www.kilmelford.com/images/graph8.jpg >> >> >> and the required input setup in the demo stack. >> >> Alex. >> >> >> On 04/06/2019 07:20, Glen Bojsza via use-livecode wrote: >>> Hello, >>> >>> I am trying to use the Line Graph Widget to grapg a time series (x axis) >>> where the time is in the format 2:45:16 >>> >>> The time data is being treated like text and therefore tries to plot >> using >>> every x series as a x label. >>> >>> Optimally I would like to see only a handful of x labels spread that >> covers >>> the time period as x labels. >>> >>> I also tried just using linear data series for the x axis and the Line >>> Graph Widget wants to put a label for every number. >>> >>> Is there a property that could be set that recognizes the x data series >> as >>> a number or time? >>> >>> thanks, >>> >>> Glen >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Wed Jun 5 12:52:13 2019 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 5 Jun 2019 17:52:13 +0100 Subject: View XML file in Tree View widget - worth the effort? In-Reply-To: <606757A6-F4D3-4290-BF8E-8441F095EE50@me.com> References: <606757A6-F4D3-4290-BF8E-8441F095EE50@me.com> Message-ID: Partial success with that resource, downloading it into a local script-only library stack... put ConvertXMLToArray (tXML, "utf8") into tArrayXML set the arrayData of widget 1 of this stack to tArrayXML ...successfully parses the XML nodes into array keys that get rendered into the TreeView widget - and I can set the third parameter to force ?@value? keys. Unfortunately, there are no values being displayed in the TreeView - with or without ?@value? keys being forced on. I don?t think they?re being created in the array from a couple of quick tests and attempting to recreate the XML using? put ConvertArrayToXML(tArrayXML) ?returns just a number Any ideas gratefully received, meanwhile I?ll look for alternative resources, as this one (6 years old) may not be compatible with LiveCode 9.x...? Best, Keith > On 5 Jun 2019, at 08:27, Keith Clarke wrote: > > Thanks Ali - the 'XML to LiveCode multi-dimensional array? handler should get me close. > Best, > Keith > >> On 5 Jun 2019, at 06:06, Ali Lloyd via use-livecode wrote: >> >> Not sure if it's exactly the format you're looking for but this code >> snippet from Trevor DeVore converts between XML and LiveCode arrays: >> https://gist.github.com/trevordevore/5584753 >> >> On Tue, 4 Jun 2019 at 18:57, Keith Clarke via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hi folks, >>> Is parsing an XML file into a LiveCode TreeView widget a sensible (and >>> easy) approach to render it more human-readable to understand it?s >>> structure & content, etc., for potential onward processing / transformation? >>> >>> If so, can anyone please share the current state of the art for >>> transforming an XML file to the requisite array form to seed the TreeView >>> widget? >>> Thanks >>> Keith >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From bodine at bodinetraininggames.com Wed Jun 5 18:37:56 2019 From: bodine at bodinetraininggames.com (tbodine) Date: Wed, 5 Jun 2019 17:37:56 -0500 (CDT) Subject: Black boxes replace images in Mojave (Was "No subject") In-Reply-To: <2257792ba7e65a0f31253a6d548068ed@livecode.com> References: <4D429E04-8491-4494-815B-E579C4447F4F@m-r-d.de> <1559662126046-0.post@n4.nabble.com> <68CE4867-2A31-4BCD-BE52-AFE17543E9FF@livecode.com> <2257792ba7e65a0f31253a6d548068ed@livecode.com> Message-ID: <1559774276293-0.post@n4.nabble.com> Bug report filed. See bug 22156 . -- Tom -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From ludovic.thebault at laposte.net Thu Jun 6 02:04:22 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Thu, 6 Jun 2019 08:04:22 +0200 Subject: Android and external documents crash Message-ID: <50F7F053-8FA3-42A1-942F-8A3D3D75EFB7@laposte.net> Hello One user of my app report me a bug when my script call put specialfolderpath("external documents") In the standalone settings the "Write external storage" option is set to true. With all android devices I have, I?ve no bug. But all my device have an external slot (but even with no card in it, I?ve no bug). I?ve also created a test stack with these prefs : - Internal storage only - Write external storage : false (but here it can crash on emulator) But no bug for me. And Android Emulator don?t provide device without external storage ! Someone encountered this bug `? Thanks From gbojsza at gmail.com Thu Jun 6 09:47:33 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 6 Jun 2019 09:47:33 -0400 Subject: Design questions... Message-ID: Hello, I was looking for input on the following design questions...I haven't done anything for years so I am looking for other developers' experiences. 1. what would be considered the smallest stack size for a desktop app? 2. Does the above fill most of the screens in use today ...ie what is the noraml or considered the standard screen resolution for a desktop laptop? 3. Are apps considered acceptable if the user needs to scroll down to see the full app. 4. Are menu bars (ie File Open) still necessary or are users familiar enough with section buttons? 5. If the stack is too large for a user (say they use a lower resoultion screen notebook then is there a way to detect this and have scroll bars appear? I appreciate any insights the list may have. regards, Glen From bobsneidar at iotecdigital.com Thu Jun 6 10:42:21 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Jun 2019 14:42:21 +0000 Subject: Design questions... In-Reply-To: References: Message-ID: <48B2C645-80E7-4384-A856-B7361AF82E0E@iotecdigital.com> The smallerst monitor I know of is 640x480. That is tiny. Many developers require a minimal size monitor to function correctly. Our ERP system specifies a minimum of 1024x768. As far as scrolling, I suppose it depends on the app. Take Facebook for example. It depends on scrolling. You couldn't have that app without it. But an accounting app with preset forms, nada. Some web apps revert to a different form if the screen size becomes too small. Some detect the client is a mobile device and redirect to a different page. If by section buttons you mean Microsoft style ribbons, their review was mixed. I still don't like em. In my apps that have menus, I also like controls on the card which essentially do the same thing. No one will complain about giving them multiple ways to do the same thing. Well... samoe may, but those people are going to complain anyway. Bob S > On Jun 6, 2019, at 06:47 , Glen Bojsza via use-livecode wrote: > > 1. what would be considered the smallest stack size for a desktop app? From gbojsza at gmail.com Thu Jun 6 11:09:15 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 6 Jun 2019 11:09:15 -0400 Subject: Design questions... In-Reply-To: <48B2C645-80E7-4384-A856-B7361AF82E0E@iotecdigital.com> References: <48B2C645-80E7-4384-A856-B7361AF82E0E@iotecdigital.com> Message-ID: Bob, thanks for the info...I will start with 1024x768 as a minimal screen resolution for now and see what happens. As for the combo of menus and buttons I will try to find if there is a benefit of both and also usability space within the app. My target platforms are Windows 10 and OS X 10.X Glen From bobsneidar at iotecdigital.com Thu Jun 6 11:15:04 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Jun 2019 15:15:04 +0000 Subject: Design questions... In-Reply-To: References: <48B2C645-80E7-4384-A856-B7361AF82E0E@iotecdigital.com> Message-ID: <03080ACF-C7EF-4209-B709-23821A77CBB6@iotecdigital.com> NP. BTW what I do for functionality that exists in both buttons and menus is, barring the handlers being in a library or behavior, I simply send mouseUp from the menu script to the button with the pertinent handlers. It's easier to edit the script of a button than it is to pull up the Menu Builder and get the script of the menu buttons from there. (I develop on OS X so my menus are always hidden.) Bob S > On Jun 6, 2019, at 08:09 , Glen Bojsza via use-livecode wrote: > > Bob, thanks for the info...I will start with 1024x768 as a minimal screen > resolution for now and see what happens. As for the combo of menus and > buttons I will try to find if there is a benefit of both and also usability > space within the app. > > My target platforms are Windows 10 and OS X 10.X > > Glen From bobsneidar at iotecdigital.com Thu Jun 6 12:09:13 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Jun 2019 16:09:13 +0000 Subject: How to troubleshoot Datagrid Behavior errors Message-ID: <61310876-760C-4D72-8374-072BB09ECFDE@iotecdigital.com> Hi all. I have one stack that will throw errors in the column behavior. I set the global gRevDevelopment to true and set a try catch with a breakpoint in the two places where it seems to fail, but the script is not breaking. Instead it ignores the breakpoint and continues to run. How do I troubleshoot datagrid behavior issues? Bob S From bobsneidar at iotecdigital.com Thu Jun 6 12:17:17 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Jun 2019 16:17:17 +0000 Subject: How to troubleshoot Datagrid Behavior errors In-Reply-To: <61310876-760C-4D72-8374-072BB09ECFDE@iotecdigital.com> References: <61310876-760C-4D72-8374-072BB09ECFDE@iotecdigital.com> Message-ID: NVM it's in a column template script. Bob S > On Jun 6, 2019, at 09:09 , Bob Sneidar via use-livecode wrote: > > Hi all. > > I have one stack that will throw errors in the column behavior. I set the global gRevDevelopment to true and set a try catch with a breakpoint in the two places where it seems to fail, but the script is not breaking. Instead it ignores the breakpoint and continues to run. > > How do I troubleshoot datagrid behavior issues? > > Bob S From bogdanoff at me.com Thu Jun 6 13:13:11 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 6 Jun 2019 13:13:11 -0400 Subject: Design questions... In-Reply-To: References: <48B2C645-80E7-4384-A856-B7361AF82E0E@iotecdigital.com> Message-ID: We use a height of 728?that?s in compensation for a variety of issues?some laptops have very small screens: LC window title bar (can be hidden by LC if necessary) Windows Task bar (can be hidden by LC if necessary) You can get the height of the screen: (item 4 of the working screenRect) - (item 2 of the working screenRect) You can also easily resize the window by using scaleFactor. We do some auto resizing when opening the program to scale it down for very small screens, and have a preference setting for the user to scale it up to maximum available height. Peter Bogdanoff ArtsInteractive > On Jun 6, 2019, at 11:09 AM, Glen Bojsza via use-livecode wrote: > > Bob, thanks for the info...I will start with 1024x768 as a minimal screen > resolution for now and see what happens. As for the combo of menus and > buttons I will try to find if there is a benefit of both and also usability > space within the app. > > My target platforms are Windows 10 and OS X 10.X > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Jun 6 13:39:23 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 6 Jun 2019 20:39:23 +0300 Subject: Design questions... In-Reply-To: References: Message-ID: Here's a silly thought that may help a bit . . . http://forums.livecode.com/viewtopic.php?f=7&t=32683 Richmond. On 6.06.19 16:47, Glen Bojsza via use-livecode wrote: > Hello, > > I was looking for input on the following design questions...I haven't done > anything for years so I am looking for other developers' experiences. > > 1. what would be considered the smallest stack size for a desktop app? > > 2. Does the above fill most of the screens in use today ...ie what is the > noraml or considered the standard screen resolution for a desktop laptop? > > 3. Are apps considered acceptable if the user needs to scroll down to see > the full app. > > 4. Are menu bars (ie File Open) still necessary or are users familiar > enough with section buttons? > > 5. If the stack is too large for a user (say they use a lower resoultion > screen notebook then is there a way to detect this and have scroll bars > appear? > > I appreciate any insights the list may have. > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Jun 6 13:46:38 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 6 Jun 2019 20:46:38 +0300 Subject: Design questions... In-Reply-To: References: <48B2C645-80E7-4384-A856-B7361AF82E0E@iotecdigital.com> Message-ID: I deploy (fancy word saying I have a load of ancient Pentiums . . .) some machines in my school hooked up to flat-screens with a Max Res of 1024 by 780. I mean, at $10 a pop those monitors were impossible to resist! I make my EFL (English as a Fried Language) standalones to a "standard" of 1024 x 720 because of the XFCE panels top-and-bottom on my standard Xubuntu setup . . . Smaller monitors: dunno: even my iMac G3 turquoise manages 1024 x 780. I really wonder if anyone is going to be so cash-strapped they cannot at least manage a monitor that does that. Richmond. On 6.06.19 20:13, Peter Bogdanoff via use-livecode wrote: > We use a height of 728?that?s in compensation for a variety of issues?some laptops have very small screens: > LC window title bar (can be hidden by LC if necessary) > Windows Task bar (can be hidden by LC if necessary) > > You can get the height of the screen: > (item 4 of the working screenRect) - (item 2 of the working screenRect) > > You can also easily resize the window by using scaleFactor. We do some auto resizing when opening the program to scale it down for very small screens, and have a preference setting for the user to scale it up to maximum available height. > > Peter Bogdanoff > ArtsInteractive > > >> On Jun 6, 2019, at 11:09 AM, Glen Bojsza via use-livecode wrote: >> >> Bob, thanks for the info...I will start with 1024x768 as a minimal screen >> resolution for now and see what happens. As for the combo of menus and >> buttons I will try to find if there is a benefit of both and also usability >> space within the app. >> >> My target platforms are Windows 10 and OS X 10.X >> >> Glen >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Jun 6 14:04:21 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 6 Jun 2019 20:04:21 +0200 Subject: Design questions... In-Reply-To: References: Message-ID: <2A580C17-C593-48BC-8C0E-BADB1ECC3A32@m-r-d.de> 1. that really depends on the app type and of course on the customers displays. 2. most customers i know have got 17" or higher displays with a ratio of 16:9 or 16:10. The minimum resolution is 1280x1024 or 1280x768. 3. When working with ERP tools or other business software for accounting, shipment or whatever the customers don?t want to scroll. They want to see the complete form. 4. For one of my last projects, a shipping software, i?ve asked the customer what they would prefer. They told me that they do not want to have a menubar or this ugly ribbon bar. They wanted it clear with bigger buttons and the possibility to use the function keys for some tasks. The old shipping software made use of it and they wanted to use the same function keys for the same tasks in the new software. Instead of menus i added big coloured buttons. I?ve also added a scale function, so the user can set the scalefactor of the app to 0.75, 1 and 1.5. Here?s an screenshot of the entry mask for trans-o-flex labels https://dl.qck.nu/samples/screenshot-shipping.png Okay it will not win a design contest, but it meets the demand of the customer. ;) Matthias > Am 06.06.2019 um 15:47 schrieb Glen Bojsza via use-livecode >: > > Hello, > > I was looking for input on the following design questions...I haven't done > anything for years so I am looking for other developers' experiences. > > 1. what would be considered the smallest stack size for a desktop app? > > 2. Does the above fill most of the screens in use today ...ie what is the > noraml or considered the standard screen resolution for a desktop laptop? > > 3. Are apps considered acceptable if the user needs to scroll down to see > the full app. > > 4. Are menu bars (ie File Open) still necessary or are users familiar > enough with section buttons? > > 5. If the stack is too large for a user (say they use a lower resoultion > screen notebook then is there a way to detect this and have scroll bars > appear? > > I appreciate any insights the list may have. > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From revdev at pdslabs.net Thu Jun 6 14:11:51 2019 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 6 Jun 2019 11:11:51 -0700 Subject: Design questions... In-Reply-To: References: Message-ID: Hi Glen, There are some screen resolution stats on the web that may be useful, at least for 'general public' app window sizes: https://en.wikipedia.org/wiki/Display_resolution Phil Davis On 6/6/19 6:47 AM, Glen Bojsza via use-livecode wrote: > Hello, > > I was looking for input on the following design questions...I haven't done > anything for years so I am looking for other developers' experiences. > > 1. what would be considered the smallest stack size for a desktop app? > > 2. Does the above fill most of the screens in use today ...ie what is the > noraml or considered the standard screen resolution for a desktop laptop? > > 3. Are apps considered acceptable if the user needs to scroll down to see > the full app. > > 4. Are menu bars (ie File Open) still necessary or are users familiar > enough with section buttons? > > 5. If the stack is too large for a user (say they use a lower resoultion > screen notebook then is there a way to detect this and have scroll bars > appear? > > I appreciate any insights the list may have. > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Phil Davis From gbojsza at gmail.com Thu Jun 6 14:33:33 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 6 Jun 2019 14:33:33 -0400 Subject: Design questions... In-Reply-To: References: Message-ID: All good feedback! Fortunately I plan to limit the scope of things to the desktop as previously mentioned. I can't fathom the tablet / phone market given the number of devices and their different specs. Thanks to everyone for their input. Glen On Thu, Jun 6, 2019 at 2:12 PM Phil Davis via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Glen, > > There are some screen resolution stats on the web that may be useful, at > least for 'general public' app window sizes: > > https://en.wikipedia.org/wiki/Display_resolution > > Phil Davis > > > > On 6/6/19 6:47 AM, Glen Bojsza via use-livecode wrote: > > Hello, > > > > I was looking for input on the following design questions...I haven't > done > > anything for years so I am looking for other developers' experiences. > > > > 1. what would be considered the smallest stack size for a desktop app? > > > > 2. Does the above fill most of the screens in use today ...ie what is the > > noraml or considered the standard screen resolution for a desktop laptop? > > > > 3. Are apps considered acceptable if the user needs to scroll down to see > > the full app. > > > > 4. Are menu bars (ie File Open) still necessary or are users familiar > > enough with section buttons? > > > > 5. If the stack is too large for a user (say they use a lower resoultion > > screen notebook then is there a way to detect this and have scroll bars > > appear? > > > > I appreciate any insights the list may have. > > > > regards, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Phil Davis > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Thu Jun 6 14:40:19 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 6 Jun 2019 14:40:19 -0400 Subject: Date and time Message-ID: I'm pondering the easiest way to do a linear scale based on date and time data. My thoughts are that if you can change 06-Jun-2019;09:05:21 to epoch seconds then it would possible to take all the similar timestamped data and change it to seconds thus using it as an "x-axis" scale for graphing purposes. Of course after the scale is done and the determination of the number of ticks used (i think it would be between 5 and 10 ) then you could reverse the tick marks labels from seconds back to time. I guess my difficulty is is getting 06-Jun-2019;09:05:21 converted to seconds. I have gone through several of the dictionary details around converting but have not found a solution... Any suggestions? thanks, Glen From bobsneidar at iotecdigital.com Thu Jun 6 14:47:42 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Jun 2019 18:47:42 +0000 Subject: Design questions... In-Reply-To: References: Message-ID: <496CC91B-73EA-456F-97B8-BB269E5830FF@iotecdigital.com> I ran into this too concerning the "effective" keyword. The dictionary says, "Adding the effective adjective to either form returns the area of the screen the application has to itself. In particular, if the keyboard is activated, it take into account if the keyboard is taking up space on the screen. (Android and iOS only)" I'm not sure if that means that the keyword can only be used with Android or iOS, or if it means that statement about the keyboard taking up the screen only applies to Android or iOS (as opposed to say a Windows tablet). Looking up the "effective" keyword seems to indicate that it returns the inherited property of an object. It does not list screenRect(s) as valid. But it seems (and I'm not complaining, just observing) that getting the effective screenRect of say a stack or a card would never occur to me. > On Jun 6, 2019, at 10:39 , Richmond via use-livecode wrote: > > Here's a silly thought that may help a bit . . . > > http://forums.livecode.com/viewtopic.php?f=7&t=32683 > > Richmond. From dunbarx at aol.com Thu Jun 6 14:52:59 2019 From: dunbarx at aol.com (dunbarxx) Date: Thu, 6 Jun 2019 13:52:59 -0500 (CDT) Subject: Date and time In-Reply-To: References: Message-ID: <1559847179925-0.post@n4.nabble.com> Hi. Write a simple function that dissects the string you gave. (Pseudo) function dissectOddFormat use itemDelimeters to isolate "06", "Jun", "2019", "09", "05" and "21" reform these strings into the date/time format local to your part of the planet convert that new string to seconds or ticks Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From bobsneidar at iotecdigital.com Thu Jun 6 14:54:00 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Jun 2019 18:54:00 +0000 Subject: Date and time In-Reply-To: References: Message-ID: First of all that date cannot be converted in that format. Secondly, try convert "Jun 6 2019 09:05:21" to seconds Bob S > On Jun 6, 2019, at 11:40 , Glen Bojsza via use-livecode wrote: > > I'm pondering the easiest way to do a linear scale based on date and time > data. > > My thoughts are that if you can change 06-Jun-2019;09:05:21 to epoch > seconds then it would possible to take all the similar timestamped data and > change it to seconds thus using it as an "x-axis" scale for graphing > purposes. > > Of course after the scale is done and the determination of the number of > ticks used (i think it would be between 5 and 10 ) then you could reverse > the tick marks labels from seconds back to time. > > I guess my difficulty is is getting 06-Jun-2019;09:05:21 converted to > seconds. I have gone through several of the dictionary details around > converting but have not found a solution... > > Any suggestions? > > thanks, > > Glen From gbojsza at gmail.com Thu Jun 6 15:06:47 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 6 Jun 2019 15:06:47 -0400 Subject: Date and time In-Reply-To: References: Message-ID: Obviously I overthought this (thanks Bob)...I was trying to convert the time separately and then the date and combining them which was leading to issues. The dictionary format example doesn't show this as being a solution... Glen On Thu, Jun 6, 2019 at 2:54 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > First of all that date cannot be converted in that format. Secondly, try > convert "Jun 6 2019 09:05:21" to seconds > > > From dunbarx at aol.com Thu Jun 6 15:24:04 2019 From: dunbarx at aol.com (dunbarxx) Date: Thu, 6 Jun 2019 14:24:04 -0500 (CDT) Subject: Date and time In-Reply-To: References: Message-ID: <1559849044511-0.post@n4.nabble.com> Try this in a button script somewhere" on mouseUp put "06-Jun-2019;09:05:21" into rawTime put dissectRawTime(rawTime) into tSeconds convert rawTime to seconds end mouseUp function dissectRawTime rawtime get the long date ; convert it to dateItems set the itemDel to "-" put item 1 of rawTime into tDay put getMonth(item 2 of rawTime) into tMonth put item 3 of rawTime into temp set the itemDel to ";" put item 1 of temp into tYear delete item 1 of temp set the itemDel to ":" put item 1 of temp into tHour put item 2 of temp into tMinutes put item 3 of temp into tSeconds put tYear & "," & tMonth & "," & tDay & "," & tHour & "," & tMinutes & "," & tSeconds & "," & "5" into standardFormat convert standardFormat from dateItems to seconds end dissectRawTime function getMonth tMonth return itemOffset(tMonth,"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec") end getMonth -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From dunbarx at aol.com Thu Jun 6 15:32:05 2019 From: dunbarx at aol.com (dunbarxx) Date: Thu, 6 Jun 2019 14:32:05 -0500 (CDT) Subject: Date and time In-Reply-To: <1559849044511-0.post@n4.nabble.com> References: <1559849044511-0.post@n4.nabble.com> Message-ID: <1559849525790-0.post@n4.nabble.com> OF course you would need a little better than the last, so the DOW is not just entered by me for testing: on mouseUp put "06-Jun-2019;09:05:21" into rawTime put dissectRawTime(rawTime) into tSeconds convert rawTime to seconds end mouseUp function dissectRawTime rawtime get the long date ; convert it to dateItems set the itemDel to "-" put item 1 of rawTime into tDay put getMonth(item 2 of rawTime) into tMonth put item 3 of rawTime into temp set the itemDel to ";" put item 1 of temp into tYear delete item 1 of temp set the itemDel to ":" put item 1 of temp into tHour put item 2 of temp into tMinutes put item 3 of temp into tSeconds put tYear & "," & tMonth & "," & tDay & "," & tHour & "," & tMinutes & "," & tSeconds & "," & tDay into standardFormat convert standardFormat from dateItems to seconds answer standardFormat end dissectRawTime function getMonth tMonth return itemOffset(tMonth,"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec") end getMonth -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From dunbarx at aol.com Thu Jun 6 15:35:48 2019 From: dunbarx at aol.com (dunbarxx) Date: Thu, 6 Jun 2019 14:35:48 -0500 (CDT) Subject: Date and time In-Reply-To: <1559849525790-0.post@n4.nabble.com> References: <1559849044511-0.post@n4.nabble.com> <1559849525790-0.post@n4.nabble.com> Message-ID: <1559849748489-0.post@n4.nabble.com> And we should not be sloppy about using a function to display the answer, rather to return a value and let the calling handler do that. But I was avoiding actually working when I snuck this in, so I was typing from under my desk. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From dunbarx at aol.com Thu Jun 6 18:18:10 2019 From: dunbarx at aol.com (dunbarxx) Date: Thu, 6 Jun 2019 17:18:10 -0500 (CDT) Subject: Date and time In-Reply-To: <1559849748489-0.post@n4.nabble.com> References: <1559849044511-0.post@n4.nabble.com> <1559849525790-0.post@n4.nabble.com> <1559849748489-0.post@n4.nabble.com> Message-ID: <1559859490912-0.post@n4.nabble.com> Feel like I am overdoing this, but a bit more compact: on mouseUp put "06-Jun-2019;09:05:21" into rawTime -- your formatted moment here set the itemDel to "-" put item 1 of rawTime into tDay put itemOffset(item 2 of rawTime,"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec") into tMonth put item 3 of rawTime into temp set the itemDel to ";" put item 1 of temp into tYear delete item 1 of temp set the itemDel to ":" put item 1 of temp into tHour put item 2 of temp into tMinutes put item 3 of temp into tSeconds put tYear & "," & tMonth & "," & tDay & "," & tHour & "," & tMinutes & "," & tSeconds & "," & tDay into standardFormat convert standardFormat from dateItems to seconds answer standardFormat end mouseUp Brute force for sure. My favorite. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From gbojsza at gmail.com Thu Jun 6 18:22:27 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 6 Jun 2019 18:22:27 -0400 Subject: Date and time In-Reply-To: <1559859490912-0.post@n4.nabble.com> References: <1559849044511-0.post@n4.nabble.com> <1559849525790-0.post@n4.nabble.com> <1559849748489-0.post@n4.nabble.com> <1559859490912-0.post@n4.nabble.com> Message-ID: Craig, Well done...not over done. I hope you?re out from under your desk. Glen On Thu, Jun 6, 2019 at 6:18 PM dunbarxx via use-livecode < use-livecode at lists.runrev.com> wrote: > Feel like I am overdoing this, but a bit more compact: > > on mouseUp > put "06-Jun-2019;09:05:21" into rawTime -- your formatted moment here > > set the itemDel to "-" > put item 1 of rawTime into tDay > put itemOffset(item 2 of > rawTime,"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec") into tMonth > put item 3 of rawTime into temp > set the itemDel to ";" > put item 1 of temp into tYear > delete item 1 of temp > set the itemDel to ":" > put item 1 of temp into tHour > put item 2 of temp into tMinutes > put item 3 of temp into tSeconds > > put tYear & "," & tMonth & "," & tDay & "," & tHour & "," & tMinutes & > "," & tSeconds & "," & tDay into standardFormat > convert standardFormat from dateItems to seconds > answer standardFormat > end mouseUp > > Brute force for sure. My favorite. > > Craig > > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Thu Jun 6 20:08:37 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 6 Jun 2019 20:08:37 -0400 Subject: Design questions... In-Reply-To: <496CC91B-73EA-456F-97B8-BB269E5830FF@iotecdigital.com> References: <496CC91B-73EA-456F-97B8-BB269E5830FF@iotecdigital.com> Message-ID: Glen, Just to add to whats already been said....... Your app can run at full screen mode or in a window. Your app can resize and reposition the controls as the window is resized. (using very simple commands inside a resizestack handler), so instead of worrying about monitor size, you can make it responsive. Its a bit of extra work, but not that much, and worth doing. Making scrollbars appear if needed is trivial. The key is to plan your interface into groups, and think about what you will need ahead of time. Use "shared" groups that appear on each card. eg a group called "navigation" with all navigation buttons in it. You can create a beautiful, responsive, clean interfaces using livecode. That I know for sure. Easily. All the best on your project. feel free to pm me if u need help. On Thu, Jun 6, 2019 at 2:47 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I ran into this too concerning the "effective" keyword. The dictionary > says, > > "Adding the effective adjective to either form returns the area of the > screen the application has to itself. In particular, if the keyboard is > activated, it take into account if the keyboard is taking up space on the > screen. (Android and iOS only)" > > I'm not sure if that means that the keyword can only be used with Android > or iOS, or if it means that statement about the keyboard taking up the > screen only applies to Android or iOS (as opposed to say a Windows tablet). > > Looking up the "effective" keyword seems to indicate that it returns the > inherited property of an object. It does not list screenRect(s) as valid. > But it seems (and I'm not complaining, just observing) that getting the > effective screenRect of say a stack or a card would never occur to me. > > > On Jun 6, 2019, at 10:39 , Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Here's a silly thought that may help a bit . . . > > > > http://forums.livecode.com/viewtopic.php?f=7&t=32683 > > > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jbv at souslelogo.com Fri Jun 7 01:42:44 2019 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 07 Jun 2019 01:42:44 -0400 Subject: Realtime sound generation in LC Message-ID: <55218576c80acbe3bc728d1cb8169eec@souslelogo.com> Hi list, I was wondering if it could be possible to generate sound in real time with LC. I don't mean to play a sound file, but to put together samples at a certain sample rate (like 44.1 or 45 KHz) and output them, while changing some parameters like signal frequency or amplitude. I am currently exploring the generation of wav files with LC for play back, but am much more interested in real time generation & manipulation. I'm sure other environments could be more suitable for such a project, but the fact that LC is great for building sophisticated interfaces makes me feel like trying... Probably an external is the way to go... Any ideas ? Thanks in advance. jbv From stephen at barncard.com Fri Jun 7 02:03:25 2019 From: stephen at barncard.com (Stephen Barncard) Date: Thu, 6 Jun 2019 23:03:25 -0700 Subject: Realtime sound generation in LC In-Reply-To: <55218576c80acbe3bc728d1cb8169eec@souslelogo.com> References: <55218576c80acbe3bc728d1cb8169eec@souslelogo.com> Message-ID: a few years ago I got into trying to export audio files imbedded inside Livecode to wave and aif and I got it to work, but just dealing with the pointers and grokking how Livecode stored audio was a challenge. I didn't try any processing. The late Mark Smith was way ahead of me and even had a waveform display and a traveling cursor line on playback.... it was brilliant. I think his stacks are still online somewhere. We were going to collaborate before he died. this way back about 2007 when I was still working for Mike Markkula and Jerry Jensen. I have my stacks around somewhere but it stopped working at some version I can't remember. My notes aren't human readable. I started that because I had uncompressed audio files trapped inside rev stacks but there was no way to export audio built in. I always thought that was odd. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Jun 6, 2019 at 10:43 PM jbv via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi list, > > I was wondering if it could be possible to generate sound > in real time with LC. I don't mean to play a sound file, > but to put together samples at a certain sample rate > (like 44.1 or 45 KHz) and output them, while changing > some parameters like signal frequency or amplitude. > > I am currently exploring the generation of wav files > with LC for play back, but am much more interested in > real time generation & manipulation. > I'm sure other environments could be more suitable for > such a project, but the fact that LC is great for building > sophisticated interfaces makes me feel like trying... > Probably an external is the way to go... > > Any ideas ? > Thanks in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Fri Jun 7 05:32:34 2019 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 7 Jun 2019 12:32:34 +0300 Subject: 9.5.0 Props palette Message-ID: <483534f1-675c-5c5d-1f22-d1b4926096c6@gmail.com> I see that the problem with the Properties Palette that was "there" in 9.0.4 and sorted out in 9.0.5 has not been sorted out in 9.5.0. Richmond. From matthias_livecode_150811 at m-r-d.de Fri Jun 7 05:44:34 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 7 Jun 2019 11:44:34 +0200 Subject: Realtime sound generation in LC In-Reply-To: References: <55218576c80acbe3bc728d1cb8169eec@souslelogo.com> Message-ID: <4AFAEDCB-D9DE-4F3C-ADE9-C47F4E52FDF7@m-r-d.de> The download page of MarkSmiths website is still online, but not all files. https://marksmith.on-rev.com/revstuff/ I?ve made backup of the all files some years ago, when they were still online. Here?s the link to the zipped archive https://dl.qck.nu?dl=MarkSmith.zip Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 07.06.2019 um 08:03 schrieb Stephen Barncard via use-livecode >: > > a few years ago I got into trying to export audio files imbedded inside > Livecode to wave and aif and I got it to work, but just dealing with the > pointers and grokking how Livecode stored audio was a challenge. I didn't > try any processing. > > The late Mark Smith was way ahead of me and even had a waveform display and > a traveling cursor line on playback.... it was brilliant. I think his > stacks are still online somewhere. We were going to collaborate before he > died. this way back about 2007 when I was still working for Mike Markkula > and Jerry Jensen. I have my stacks around somewhere but it stopped working > at some version I can't remember. My notes aren't human readable. > > I started that because I had uncompressed audio files trapped inside rev > stacks but there was no way to export audio built in. I always thought that > was odd. > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > > On Thu, Jun 6, 2019 at 10:43 PM jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi list, >> >> I was wondering if it could be possible to generate sound >> in real time with LC. I don't mean to play a sound file, >> but to put together samples at a certain sample rate >> (like 44.1 or 45 KHz) and output them, while changing >> some parameters like signal frequency or amplitude. >> >> I am currently exploring the generation of wav files >> with LC for play back, but am much more interested in >> real time generation & manipulation. >> I'm sure other environments could be more suitable for >> such a project, but the fact that LC is great for building >> sophisticated interfaces makes me feel like trying... >> Probably an external is the way to go... >> >> Any ideas ? >> Thanks in advance. >> jbv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Fri Jun 7 09:52:32 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 7 Jun 2019 09:52:32 -0400 Subject: Player endTime is not respected! In-Reply-To: <4AFAEDCB-D9DE-4F3C-ADE9-C47F4E52FDF7@m-r-d.de> References: <55218576c80acbe3bc728d1cb8169eec@souslelogo.com> <4AFAEDCB-D9DE-4F3C-ADE9-C47F4E52FDF7@m-r-d.de> Message-ID: <18403C5C-3414-4F0A-A9C1-A42A8CC1EE75@all-auctions.com> Good Morning LC Users, I have a Player object that I have set the startTime and endTime for the movie. When I inspect the object I can see that my values were set correctly. However, when I play the movie, although it starts at the correct place, when it reaches the endTime it just continues playing while completely ignoring the endTime that I had set. Is this a bug? Any work around such as trying to monitor the currentTime and issue the Stop player command when the endTime is reached creates a huge performance hit that puts the audio out of sync with the video. Suggestions? Thanks, Rick From bobsneidar at iotecdigital.com Fri Jun 7 10:32:57 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Jun 2019 14:32:57 +0000 Subject: 9.5.0 Props palette In-Reply-To: <483534f1-675c-5c5d-1f22-d1b4926096c6@gmail.com> References: <483534f1-675c-5c5d-1f22-d1b4926096c6@gmail.com> Message-ID: <88E2989A-1A08-4139-BE21-2552E6616E84@iotecdigital.com> There were several things. To which are you referring? For instance, when creating new elements I would like to see the new element selected so I can just start typing to name it. No big deal if only making a few elements. Big deal when making a whole lot of them. Bob S > On Jun 7, 2019, at 02:32 , Richmond via use-livecode wrote: > > I see that the problem with the Properties Palette > that was "there" in 9.0.4 and sorted out in 9.0.5 > has not been sorted out in 9.5.0. > > Richmond. From harrison at all-auctions.com Fri Jun 7 10:45:11 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 7 Jun 2019 10:45:11 -0400 Subject: Player endTime is not respected! In-Reply-To: References: Message-ID: <6D56D277-E7AD-4A17-8A73-EB6DEE6F091F@all-auctions.com> Sorry, I forgot to list system stuff. macOS 10.13.6 LC 9.0.4 Thanks, Rick From klaus at major-k.de Fri Jun 7 11:14:28 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 7 Jun 2019 17:14:28 +0200 Subject: Player endTime is not respected! In-Reply-To: <18403C5C-3414-4F0A-A9C1-A42A8CC1EE75@all-auctions.com> References: <55218576c80acbe3bc728d1cb8169eec@souslelogo.com> <4AFAEDCB-D9DE-4F3C-ADE9-C47F4E52FDF7@m-r-d.de> <18403C5C-3414-4F0A-A9C1-A42A8CC1EE75@all-auctions.com> Message-ID: <1A41AE19-A41E-4E8C-9275-3D9BF64AD0A2@major-k.de> Hi Rick, > Am 07.06.2019 um 15:52 schrieb Rick Harrison via use-livecode : > > Good Morning LC Users, > > I have a Player object that I have > set the startTime and endTime for > the movie. When I inspect the > object I can see that my values > were set correctly. However, > when I play the movie, although > it starts at the correct place, when > it reaches the endTime it just > continues playing while completely > ignoring the endTime that I had set. > > Is this a bug? > > Any work around such as trying to > monitor the currentTime and issue > the Stop player command when the > endTime is reached creates a huge > performance hit that puts the audio > out of sync with the video. > > Suggestions? did you: ... set the playSelection of player "your player here..." to TRUE ... ? This is mandatory for the player to respect the set start- and endtime. > Thanks, > > Rick Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From paul at researchware.com Fri Jun 7 11:15:36 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 7 Jun 2019 11:15:36 -0400 Subject: Player endTime is not respected! In-Reply-To: <18403C5C-3414-4F0A-A9C1-A42A8CC1EE75@all-auctions.com> References: <55218576c80acbe3bc728d1cb8169eec@souslelogo.com> <4AFAEDCB-D9DE-4F3C-ADE9-C47F4E52FDF7@m-r-d.de> <18403C5C-3414-4F0A-A9C1-A42A8CC1EE75@all-auctions.com> Message-ID: <0d46bb58-4e9d-073c-99cc-b604d2846ec2@researchware.com> Did you: set the playSelection of player to true Required to actually play from startTime to endTime and stop On 6/7/2019 9:52 AM, Rick Harrison via use-livecode wrote: > Good Morning LC Users, > > I have a Player object that I have > set the startTime and endTime for > the movie. When I inspect the > object I can see that my values > were set correctly. However, > when I play the movie, although > it starts at the correct place, when > it reaches the endTime it just > continues playing while completely > ignoring the endTime that I had set. > > Is this a bug? > > Any work around such as trying to > monitor the currentTime and issue > the Stop player command when the > endTime is reached creates a huge > performance hit that puts the audio > out of sync with the video. > > Suggestions? > > Thanks, > > Rick > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harrison at all-auctions.com Fri Jun 7 11:23:29 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 7 Jun 2019 11:23:29 -0400 Subject: Player endTime is not respected! In-Reply-To: <1A41AE19-A41E-4E8C-9275-3D9BF64AD0A2@major-k.de> References: <55218576c80acbe3bc728d1cb8169eec@souslelogo.com> <4AFAEDCB-D9DE-4F3C-ADE9-C47F4E52FDF7@m-r-d.de> <18403C5C-3414-4F0A-A9C1-A42A8CC1EE75@all-auctions.com> <1A41AE19-A41E-4E8C-9275-3D9BF64AD0A2@major-k.de> Message-ID: Hi Klause and Paul, I fixed the problem. I had copied my player object from another older stack. When I started with a freshly created object the problem went away. I had the play selection checkbox turned on. I may not have used the set the playSelection of player "your player here..." to TRUE I thought that?s what the checkbox was for? Thanks for getting back to me. Rick > > did you: > ... > set the playSelection of player "your player here..." to TRUE > ... > ? > This is mandatory for the player to respect the set start- and endtime. > >> Thanks, >> >> Rick > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alain.vezina at logilangue.com Fri Jun 7 11:25:06 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Fri, 7 Jun 2019 11:25:06 -0400 Subject: Gzip and HTML5 Message-ID: Hi all, Is there somebody who knows which file(s) we have to Gzip after making a standalone in HTML5? Alain Vezina Logilangue.com From ms1 at soas.ac.uk Fri Jun 7 14:15:33 2019 From: ms1 at soas.ac.uk (Muaadh Salih) Date: Fri, 7 Jun 2019 19:15:33 +0100 Subject: Duplicate card and object command lc 9.0.4 Message-ID: Until now I was using LC 7.1..4 with very few ( solvable ) problems. I installed the latest version (9.0.4) and noticed that "Duplicate Card " command , form either line command or menu click produced nothing . . I know I can use copy and paste but this requires reediting existing stacks with , sometime , unwanted problem. This issue concerns "duplicate Card" only . It works fine for duplicating other stack object. I have removed old preference fines and this installation is a clean one. but still can not duplicate card . His this command being disabled in 9.0.4 ? We are putting up a course module in "programming for humanities " degree and want student to be confident on what they are using . Thanks for the help Muaadh - From revdev at pdslabs.net Fri Jun 7 14:35:31 2019 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 7 Jun 2019 11:35:31 -0700 Subject: Duplicate card and object command lc 9.0.4 In-Reply-To: References: Message-ID: Hi Muaadh, Try this: Go to the card you want to duplicate and in the Message Box type "clone this card". It isn't exactly the answer to your question but it should give you the outcome you desire. Phil Davis On 6/7/19 11:15 AM, Muaadh Salih via use-livecode wrote: > Until now I was using LC 7.1..4 with very few ( solvable ) problems. > I installed the latest version (9.0.4) and noticed that "Duplicate Card " > command , form either line command or menu click produced nothing . . > I know I can use copy and paste but this requires reediting existing > stacks with , sometime , unwanted problem. > This issue concerns "duplicate Card" only . It works fine for duplicating > other stack object. > I have removed old preference fines and this installation is a clean one. > but still can not duplicate card . > His this command being disabled in 9.0.4 ? > We are putting up a course module in "programming for humanities " degree > and want student to be confident on what they are using . > Thanks for the help > > Muaadh > - > _______________________________________________ > use-livecode mailing list > use-livecode 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 From dfepstein at comcast.net Sat Jun 8 09:13:25 2019 From: dfepstein at comcast.net (David Epstein) Date: Sat, 8 Jun 2019 09:13:25 -0400 Subject: A question about openCard Message-ID: <7BEA6F31-2EF2-419A-A596-EF837766153B@comcast.net> Several people gave helpful replies to my question, including pointing out that this is a case of ?resumeStack?, not ?openCard?: Is there some simple way that an openCard handler can branch based on what card it is coming from? When a user goes to a different card in a stack, or to a different stack, I use an ?openCard? handler to set things up. But I do not want those actions taken if the user is merely ?returning? to a card after using a palette tool, or after a palette tool has been opened. Jacqueline Gay suggested using the ?recentCards? to determine what card the user is coming from. So I wrote this handler: function resumedTheSameCard -- call this in a "resumeStack" handler. -- returns true if palette "tTools" has just been active and the resumeStack message was received by the same card that had been active when that palette was activated. -- returns false if we are coming from a different card, either directly or with a palette activation in between. get the recentCards if the long id of stack "tTools" is not in line 2 of it then return false -- nb should work even if palette "tTools" stack has several cards return line 1 of it = line 3 of it end resumedTheSameCard But this does not work. When I debug, I see that line 2 of the recentCards does not refer to a card on my palette stack (?tTools?); it refers instead to a card in the stack ?Execution Contexts?. Why is that LiveCode system stack appearing in the recentCards, and why is my palette not appearing there? Many thanks. David Epstein From jacque at hyperactivesw.com Sat Jun 8 11:42:47 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Jun 2019 10:42:47 -0500 Subject: A question about openCard In-Reply-To: <7BEA6F31-2EF2-419A-A596-EF837766153B@comcast.net> References: <7BEA6F31-2EF2-419A-A596-EF837766153B@comcast.net> Message-ID: <16b37c1a4f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I wouldn't expect the execution contexts to be in the list but it sounds like that's a result of the debugging process itself. Is it different if you just log it to the message box without the debugger? get the recentCards put it ... etc Does the palette not appear anywhere in the list at all? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 8, 2019 8:15:14 AM David Epstein via use-livecode wrote: > Several people gave helpful replies to my question, including pointing out > that this is a case of ?resumeStack?, not ?openCard?: > > > Is there some simple way that an openCard handler can branch based on what > card it is coming from? > > > When a user goes to a different card in a stack, or to a different stack, I > use an ?openCard? handler to set things up. But I do not want those > actions taken if the user is merely ?returning? to a card after using a > palette tool, or after a palette tool has been opened. > > > Jacqueline Gay suggested using the ?recentCards? to determine what card the > user is coming from. So I wrote this handler: > > > function resumedTheSameCard > -- call this in a "resumeStack" handler. > -- returns true if palette "tTools" has just been active and the > resumeStack message was received by the same card that had been active when > that palette was activated. > -- returns false if we are coming from a different card, either directly or > with a palette activation in between. > get the recentCards > if the long id of stack "tTools" is not in line 2 of it then return false > -- nb should work even if palette "tTools" stack has several cards > return line 1 of it = line 3 of it > end resumedTheSameCard > > > But this does not work. When I debug, I see that line 2 of the recentCards > does not refer to a card on my palette stack (?tTools?); it refers instead > to a card in the stack ?Execution Contexts?. > > > Why is that LiveCode system stack appearing in the recentCards, and why is > my palette not appearing there? > > > Many thanks. > > > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dfepstein at comcast.net Sat Jun 8 14:41:37 2019 From: dfepstein at comcast.net (David Epstein) Date: Sat, 8 Jun 2019 14:41:37 -0400 Subject: A question about openCard In-Reply-To: <7BEA6F31-2EF2-419A-A596-EF837766153B@comcast.net> References: <7BEA6F31-2EF2-419A-A596-EF837766153B@comcast.net> Message-ID: <07475453-3FD7-4202-B451-EB4AA95C04BC@comcast.net> Jacqueline is correct: if I?m not debugging, the execution contexts is not in the list of recentCards. But my palette still does not appear in the list of recentCards. Further testing reveals: although activating a palette triggers a resumeStack message, and leaving a palette triggers a resumeStack message in the stack activated, palettes do not get listed in ?the recentCards?. So I think I will resort to a global. In my main stacks, a resumeStack handler should ? compare the name of this stack with a global ?gActiveStack? ? if they are not the same, carry out init actions, and put the name of this stack into gActiveStack. David Epstein Jacqueline Gay wrote: I wouldn't expect the execution contexts to be in the list but it sounds like that's a result of the debugging process itself. Is it different if you just log it to the message box without the debugger? get the recentCards put it ... etc Does the palette not appear anywhere in the list at all? > On Jun 8, 2019, at 9:13 AM, David Epstein wrote: > > Several people gave helpful replies to my question, including pointing out that this is a case of ?resumeStack?, not ?openCard?: > > Is there some simple way that an openCard handler can branch based on what card it is coming from? > > When a user goes to a different card in a stack, or to a different stack, I use an ?openCard? handler to set things up. But I do not want those actions taken if the user is merely ?returning? to a card after using a palette tool, or after a palette tool has been opened. > > Jacqueline Gay suggested using the ?recentCards? to determine what card the user is coming from. So I wrote this handler: > > function resumedTheSameCard > -- call this in a "resumeStack" handler. > -- returns true if palette "tTools" has just been active and the resumeStack message was received by the same card that had been active when that palette was activated. > -- returns false if we are coming from a different card, either directly or with a palette activation in between. > get the recentCards > if the long id of stack "tTools" is not in line 2 of it then return false -- nb should work even if palette "tTools" stack has several cards > return line 1 of it = line 3 of it > end resumedTheSameCard > > But this does not work. When I debug, I see that line 2 of the recentCards does not refer to a card on my palette stack (?tTools?); it refers instead to a card in the stack ?Execution Contexts?. > > Why is that LiveCode system stack appearing in the recentCards, and why is my palette not appearing there? > > Many thanks. > > David Epstein From richmondmathewson at gmail.com Sun Jun 9 05:34:43 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 9 Jun 2019 12:34:43 +0300 Subject: Box2D Message-ID: <6c8d8a58-9641-c689-4b89-82510e1b30da@gmail.com> Box2D https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode/posts/415346 Promises Fundraisers Trust Physics Engine Babble, babble, babble . . . Richmond. From klaus at major-k.de Sun Jun 9 09:28:16 2019 From: klaus at major-k.de (Klaus major-k) Date: Sun, 9 Jun 2019 15:28:16 +0200 Subject: Big problems creating standalone Message-ID: <9356B587-1BAB-40E1-8DCA-78F52F3C4F14@major-k.de> Hi friends, I have an old stack with 18 substacks from 2012. I saved it in current format with LC 9.04 on macOS 10.14.5. I selected 64bit in the standalone application settings and tried to create a standalone, but had to cancel (CMD+. period did not work I had to quit with CMD+Q) LC, which worked without problems!? It "hung" at, see also below: Removing development properties and setting profile options... for about 20 minutes before I quit. I had checked "Remove all profiles on objects". Then I applied the new "standalone fix" to the two appropriate handlers in my stack: on preopenstack if the environment = "development" and there is a stack "revStandaloneProgress" and the mode of stack "revStandaloneProgress" > 0 then exit preopenstack end if ... And: on openstack if the environment = "development" and there is a stack "revStandaloneProgress" and the mode of stack "revStandaloneProgress" > 0 then exit openstack end if ... I don't have any closestack, closecard or pre-/opencard handlers in the scripts. But now I get a long errorlist starting with: There was an error while saving the standalone application 91,1764,1 77,1764,1 449,1764,1 535,1764,1 353,0,0,stack "path to.../../../revsaveasstandalone.livecodescript" ... !? The line in question 1764 of that stack is in fact a COMMENT in handler: private command revSetStackProps pStack ... lock screen lock messages revStandaloneProgress "Removing development properties and setting profile options..." set the wholeMatches to true ## This is line 1764: --remove profiles from all objects if sStandaloneSettingsA["setToProfile"] is not "" then put true into tSetTo -- stack properties ... And 91 means "Stack not found"? WTF? What stack? Is this a bug? Any hints highly appreciated, thanks a lot in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From paul at researchware.com Sun Jun 9 10:32:50 2019 From: paul at researchware.com (Paul Dupuis) Date: Sun, 9 Jun 2019 10:32:50 -0400 Subject: Big problems creating standalone In-Reply-To: <9356B587-1BAB-40E1-8DCA-78F52F3C4F14@major-k.de> References: <9356B587-1BAB-40E1-8DCA-78F52F3C4F14@major-k.de> Message-ID: On 6/9/2019 9:28 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > I have an old stack with 18 substacks from 2012. > I saved it in current format with LC 9.04 on macOS 10.14.5. > > I selected 64bit in the standalone application settings and tried to create > a standalone, but had to cancel (CMD+. period did not work I had to quit > with CMD+Q) LC, which worked without problems!? > > It "hung" at, see also below: > Removing development properties and setting profile options... > for about 20 minutes before I quit. I had checked "Remove all profiles on objects". > > Then I applied the new "standalone fix" to the two appropriate handlers in my stack: > on preopenstack > if the environment = "development" and there is a stack "revStandaloneProgress" and the mode of stack "revStandaloneProgress" > 0 then > exit preopenstack > end if > ... > > And: > on openstack > if the environment = "development" and there is a stack "revStandaloneProgress" and the mode of stack "revStandaloneProgress" > 0 then > exit openstack > end if > ... > I don't have any closestack, closecard or pre-/opencard handlers in the scripts. > > But now I get a long errorlist starting with: > There was an error while saving the standalone application > 91,1764,1 > 77,1764,1 > 449,1764,1 > 535,1764,1 > 353,0,0,stack "path to.../../../revsaveasstandalone.livecodescript" > ... > !? > > The line in question 1764 of that stack is in fact a COMMENT in handler: > private command revSetStackProps pStack > ... > lock screen > lock messages > revStandaloneProgress "Removing development properties and setting profile options..." > set the wholeMatches to true > ## This is line 1764: > --remove profiles from all objects > if sStandaloneSettingsA["setToProfile"] is not "" then put true into tSetTo > -- stack properties > ... > > And 91 means "Stack not found"? > WTF? What stack? Is this a bug? > > Any hints highly appreciated, thanks a lot in advance! > > I too have run into standalone building errors where there was a dump of triplet numbers trying to built a complex app originally built under LC5.5.x in 904 or 905rc1, but as we have been able to build in 904 on a different computer (in ourcase it was building for OSX under Windows that through the errors, but building for OSX under OSX worked) we've just moved on and have not troubleshot the problem further. Just not enough time. So I can't say if it was the same error or not. From tom at makeshyft.com Sun Jun 9 10:54:25 2019 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Jun 2019 10:54:25 -0400 Subject: Box2D In-Reply-To: <6c8d8a58-9641-c689-4b89-82510e1b30da@gmail.com> References: <6c8d8a58-9641-c689-4b89-82510e1b30da@gmail.com> Message-ID: Maybe LC wanted to become a platform for games, thats why they planned this...... but then the market just didn't agree and they had to scrap it. Every company should strive to hit 100% of their promises, but sometimes for the sake of the company striving, some have to be abandoned. Creating a platform is challenging because you have to respond to the market of users, or you become useless. I don't see a lot of people asking for 2d physics. On Sun, Jun 9, 2019 at 5:35 AM Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > Box2D > > > https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode/posts/415346 > > Promises > > Fundraisers > > Trust > > Physics Engine > > Babble, babble, babble . . . > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Sun Jun 9 14:31:27 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Sun, 9 Jun 2019 19:31:27 +0100 Subject: Box2D In-Reply-To: References: <6c8d8a58-9641-c689-4b89-82510e1b30da@gmail.com> Message-ID: <7E33EEAE-68FC-4EF2-97E9-5277C9C87851@pidigital.co.uk> Just as well they didn?t waste their time or money on Windows 8 phone themes etc. Hehe. Sean Cole Pi Digital Prod Ltd > On 9 Jun 2019, at 15:54, Tom Glod via use-livecode wrote: > > Maybe LC wanted to become a platform for games, thats why they planned > this...... but then the market just didn't agree and they had to scrap it. > > Every company should strive to hit 100% of their promises, but sometimes > for the sake of the company striving, some have to be abandoned. > > Creating a platform is challenging because you have to respond to the > market of users, or you become useless. > > I don't see a lot of people asking for 2d physics. > > > > > > > > > On Sun, Jun 9, 2019 at 5:35 AM Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Box2D >> >> >> https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode/posts/415346 >> >> Promises >> >> Fundraisers >> >> Trust >> >> Physics Engine >> >> Babble, babble, babble . . . >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iphonelagi at gmail.com Sun Jun 9 18:29:24 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Sun, 9 Jun 2019 23:29:24 +0100 Subject: Box2D In-Reply-To: References: <6c8d8a58-9641-c689-4b89-82510e1b30da@gmail.com> Message-ID: That is not the point , it seems that they are adding other stuff before implementing what was paid for the new sqlite api/framework for instance. People keep on asking about sound and there is zilch. just cos nobody is asking about box2d doesn't mean it's not wanted -what are the chances now if the sqlite crowdfunding hasn't been implemented, 3month going on to 3 years. Hermann asks for a few more things to be sorted in the html5 that would make the product better ........ - everything seems to have stopped (other than bug fixes and regressions) to get LC for fm out and it's still in beta.- I hope they release some of the goodness from that soon - maybe data binding? Lagi Open language anyone? On Sun, 9 Jun 2019 at 15:54, Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Maybe LC wanted to become a platform for games, thats why they planned > this...... but then the market just didn't agree and they had to scrap it. > > Every company should strive to hit 100% of their promises, but sometimes > for the sake of the company striving, some have to be abandoned. > > Creating a platform is challenging because you have to respond to the > market of users, or you become useless. > > I don't see a lot of people asking for 2d physics. > > > > > > > > > On Sun, Jun 9, 2019 at 5:35 AM Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Box2D > > > > > > > https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode/posts/415346 > > > > Promises > > > > Fundraisers > > > > Trust > > > > Physics Engine > > > > Babble, babble, babble . . . > > > > Richmond. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Mon Jun 10 04:43:07 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 10 Jun 2019 11:43:07 +0300 Subject: My sticky fingers Message-ID: Everyyyyyyytttttime I try tooooooooo typppppe sooooommmmmethhhhing myyyy fffffinnnngerrrrrrs ggggget stuuuuuuuck on the keeeeeys tooooo long . . . Especially in LiveCode (!) So? on keyDown ? do something ? get me the hell out of this so it doesn't happen more than once end keyDown ? Richmond. From panos.merakos at livecode.com Mon Jun 10 07:16:58 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 10 Jun 2019 14:16:58 +0300 Subject: [ANN] This Week in LiveCode 181 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #181 here: http://bit.ly/2R0Okgw This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From klaus at major-k.de Mon Jun 10 08:44:38 2019 From: klaus at major-k.de (Klaus major-k) Date: Mon, 10 Jun 2019 14:44:38 +0200 Subject: stack can write to prefs-folder, and cannot!? Message-ID: <59976937-5491-41C9-8D28-E87295405FCB@major-k.de> Hi friends, another mistery with my "uncompilable" stack. :-/ The stack created a subfolder in specialfolderpath("preferences") (Mac only!) and two more subfolders in that folder, so the pathnames are: tAppData -> specialfolderpath("preferences") & "/nameofapp/appdata/ tUserData -> specialfolderpath("preferences") & "/nameofapp/userdata/ At one point the stack writes some data: ... put tValue into url("binfile:" & tAppData & tName & ".prf") ## No problem ... Same stack at another point: ... export snapshot from xxxxxx to file (tUserData & "XXX") as JPEG ## And I get: can't open file ??? If I create a button in hte same stack with this script: ... on mouseup put "sdsdsdsdd" into url("file:" & tAppData & "abc.prf") put the result end mouseUp ... I also get this RESULT: can't open file After several attempts, I do not even get the error anymore, just no data written!? What the hell is going on here? What am I overlooking? Any hints appreciated. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From hh at hyperhh.de Mon Jun 10 09:44:20 2019 From: hh at hyperhh.de (hh) Date: Mon, 10 Jun 2019 15:44:20 +0200 Subject: stack can write to prefs-folder, and cannot!? Message-ID: <5313D2D2-5066-4854-92D4-7504BAC46233@hyperhh.de> > Klaus M. wrote: > What the hell is going on here? What am I overlooking? I have here these problems also from a new stack or the message box on MacOS 10.14.5 using LC 9.5.0/ 9.0.5/ 8.1.10. But with "preferences" only, have no problems with "documents" or "desktop". From stephen at barncard.com Mon Jun 10 09:52:19 2019 From: stephen at barncard.com (Stephen Barncard) Date: Mon, 10 Jun 2019 06:52:19 -0700 Subject: My sticky fingers In-Reply-To: References: Message-ID: Exit to top On Mon, Jun 10, 2019 at 01:43 Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > Everyyyyyyytttttime I try tooooooooo typppppe > sooooommmmmethhhhing myyyy fffffinnnngerrrrrrs > ggggget stuuuuuuuck on the keeeeeys tooooo > long . . . > > Especially in LiveCode (!) > > So? > > on keyDown > do something > get me the hell out of this so it doesn't happen more than once > end keyDown > > ? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From klaus at major-k.de Mon Jun 10 10:12:54 2019 From: klaus at major-k.de (Klaus major-k) Date: Mon, 10 Jun 2019 16:12:54 +0200 Subject: stack can write to prefs-folder, and cannot!? In-Reply-To: <5313D2D2-5066-4854-92D4-7504BAC46233@hyperhh.de> References: <5313D2D2-5066-4854-92D4-7504BAC46233@hyperhh.de> Message-ID: <246164E1-3AC6-4BA2-8384-7C100D6096E6@major-k.de> Hallo Hermann, > Am 10.06.2019 um 15:44 schrieb hh via use-livecode : > >> Klaus M. wrote: >> What the hell is going on here? What am I overlooking? > > I have here these problems also from a new stack or the message box on > MacOS 10.14.5 using LC 9.5.0/ 9.0.5/ 8.1.10. > But with "preferences" only, have no problems with "documents" or "desktop". strange enough, I can create a folder in specialfolderpath("preferences") Via msg and via a button in namly stack. Too funky!? I'm completely clueless... Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Mon Jun 10 11:05:13 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Jun 2019 10:05:13 -0500 Subject: My sticky fingers In-Reply-To: References: Message-ID: <16b41ebf840.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> This sounds like the system's key repeat rate is set too fast. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 10, 2019 3:44:57 AM Richmond via use-livecode wrote: > Everyyyyyyytttttime I try tooooooooo typppppe > sooooommmmmethhhhing myyyy fffffinnnngerrrrrrs > ggggget stuuuuuuuck on the keeeeeys tooooo > long . . . > > Especially in LiveCode (!) > > So? > > on keyDown > do something > get me the hell out of this so it doesn't happen more than once > end keyDown > > ? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at canelasoftware.com Mon Jun 10 11:19:36 2019 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 10 Jun 2019 08:19:36 -0700 Subject: Visual Studio 2017 to the rescue Message-ID: <073190A8-D2E9-4053-9F04-DBDC0DFBB163@canelasoftware.com> Hello Friends, LiveCode 9.5 dp1 is my favorite LiveCode yet. If you are dipping into testing it out, I found something that may save you some time. If you use mergJSONencode and decode on Windows, you need to make sure you have installed the Microsoft Visual C++ Redistributable for Visual Studio 2017. Keep in mind there are both x86 and x64 variants. If you have installed LC 9.5 dp1 x86_64 you will need to install the x64 version of Microsoft Visual C++ Redistributable for Visual Studio 2017. I did not test the 32 bit version of either technology. They may have to jive as well. I ran into this because I recently did a reset on my Windows 10 and found that the default setup provided by Microsoft does not include this version of the Redistributable. I hope this helps others that want to give this a try. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From matthias_livecode_150811 at m-r-d.de Mon Jun 10 11:42:12 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 10 Jun 2019 17:42:12 +0200 Subject: Visual Studio 2017 to the rescue In-Reply-To: <073190A8-D2E9-4053-9F04-DBDC0DFBB163@canelasoftware.com> References: <073190A8-D2E9-4053-9F04-DBDC0DFBB163@canelasoftware.com> Message-ID: <9DD9D090-ECCE-44E0-A5C9-567457CF33FF@m-r-d.de> So this does also mean, that this is also the case for a standalone (created with 9.5dp1) that uses mergJSONencode/decode, right? Matthias Rebbe > Am 10.06.2019 um 17:19 schrieb Mark Talluto via use-livecode >: > > Hello Friends, > > LiveCode 9.5 dp1 is my favorite LiveCode yet. If you are dipping into testing it out, I found something that may save you some time. > > If you use mergJSONencode and decode on Windows, you need to make sure you have installed the Microsoft Visual C++ Redistributable for Visual Studio 2017. Keep in mind there are both x86 and x64 variants. > > If you have installed LC 9.5 dp1 x86_64 you will need to install the x64 version of Microsoft Visual C++ Redistributable for Visual Studio 2017. > > I did not test the 32 bit version of either technology. They may have to jive as well. > > I ran into this because I recently did a reset on my Windows 10 and found that the default setup provided by Microsoft does not include this version of the Redistributable. I hope this helps others that want to give this a try. > > > Best regards, > > Mark Talluto > livecloud.io > > nursenotes.net > > canelasoftware.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Jun 10 12:02:38 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jun 2019 12:02:38 -0400 Subject: pdf widget initial thangers Message-ID: anyone messing with the pdf widget, yet? Any thoughts about using it vs. xpdf? -- 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 lists at mangomultimedia.com Mon Jun 10 12:11:54 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 10 Jun 2019 11:11:54 -0500 Subject: Visual Studio 2017 to the rescue In-Reply-To: <073190A8-D2E9-4053-9F04-DBDC0DFBB163@canelasoftware.com> References: <073190A8-D2E9-4053-9F04-DBDC0DFBB163@canelasoftware.com> Message-ID: On Mon, Jun 10, 2019 at 10:19 AM Mark Talluto via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Friends, > > LiveCode 9.5 dp1 is my favorite LiveCode yet. If you are dipping into > testing it out, I found something that may save you some time. > > If you use mergJSONencode and decode on Windows, you need to make sure you > have installed the Microsoft Visual C++ Redistributable for Visual Studio > 2017. Keep in mind there are both x86 and x64 variants. Thanks for pointing this out Mark. Have you filed a bug report? This is incorrect behavior. I believe they just need to change some compiler flags to fix it. -- Trevor DeVore ScreenSteps From paul at researchware.com Mon Jun 10 12:37:54 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Jun 2019 12:37:54 -0400 Subject: pdf widget initial thangers In-Reply-To: References: Message-ID: <7b66c9d7-dbc8-18fe-ac8a-20158591a94e@researchware.com> On 6/10/2019 12:02 PM, Mike Kerner via use-livecode wrote: > anyone messing with the pdf widget, yet? Any thoughts about using it vs. > xpdf? > the xpdf external is Google PDFium wrapped as an External. the LC950 pdf widget is Google PDFium wrapped as a FFI widget. Expect that effectively the widget will eventually replace the external. If you find any functionality of the external not working in the widget, it should be reported as a bug. Most notable, the external sits over all other LC objects on screen. You can't put anything on top of it. The widget uses the native paint layer to render the PDF page so it will behave more like any other LC object with regard to layering and message handling. I would encourage all users of the XPDF external in earlier versions of LiveCode Business to test using the PDF widget under LC950 and, once released in a stable version, migrate to using it. From sundown at pacifier.com Mon Jun 10 12:40:05 2019 From: sundown at pacifier.com (JB) Date: Mon, 10 Jun 2019 09:40:05 -0700 Subject: My sticky fingers In-Reply-To: <16b41ebf840.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16b41ebf840.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: The keyboard might be worn out. JB > On Jun 10, 2019, at 8:05 AM, J. Landman Gay via use-livecode wrote: > > This sounds like the system's key repeat rate is set too fast. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 10, 2019 3:44:57 AM Richmond via use-livecode wrote: > >> Everyyyyyyytttttime I try tooooooooo typppppe >> sooooommmmmethhhhing myyyy fffffinnnngerrrrrrs >> ggggget stuuuuuuuck on the keeeeeys tooooo >> long . . . >> >> Especially in LiveCode (!) >> >> So? >> >> on keyDown >> do something >> get me the hell out of this so it doesn't happen more than once >> end keyDown >> >> ? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Mon Jun 10 12:50:05 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 10 Jun 2019 12:50:05 -0400 Subject: pdf widget initial thangers In-Reply-To: References: Message-ID: <00a301d51fac$90a0c930$b1e25b90$@net> I have used it extensively. The widget works on all platforms and has many more options. I think I should have done a talk about it at the conference. If you have any questions about any properties/messages shoot me an email. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner via use-livecode Sent: Monday, June 10, 2019 12:03 PM To: How to use LiveCode Cc: Mike Kerner Subject: pdf widget initial thangers anyone messing with the pdf widget, yet? Any thoughts about using it vs. xpdf? -- 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 richmondmathewson at gmail.com Mon Jun 10 12:56:57 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 10 Jun 2019 19:56:57 +0300 Subject: My sticky fingers In-Reply-To: References: Message-ID: <3516af24-408e-53fa-471a-93321c0b1dd2@gmail.com> *Exit to top* did not work inside a switch statement. Richmond. On 10.06.19 16:52, Stephen Barncard via use-livecode wrote: > Exit to top > > On Mon, Jun 10, 2019 at 01:43 Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Everyyyyyyytttttime I try tooooooooo typppppe >> sooooommmmmethhhhing myyyy fffffinnnngerrrrrrs >> ggggget stuuuuuuuck on the keeeeeys tooooo >> long . . . >> >> Especially in LiveCode (!) >> >> So? >> >> on keyDown >> do something >> get me the hell out of this so it doesn't happen more than once >> end keyDown >> >> ? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Jun 10 12:58:08 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 10 Jun 2019 19:58:08 +0300 Subject: My sticky fingers In-Reply-To: <16b41ebf840.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16b41ebf840.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <3b950eac-1fc1-5622-5ace-21d150b6e5e8@gmail.com> This looks like Richmond was being "artistic" to make a point. Richmond. On 10.06.19 18:05, J. Landman Gay via use-livecode wrote: > This sounds like the system's key repeat rate is set too fast. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 10, 2019 3:44:57 AM Richmond via use-livecode > wrote: > >> Everyyyyyyytttttime I try tooooooooo typppppe >> sooooommmmmethhhhing myyyy fffffinnnngerrrrrrs >> ggggget stuuuuuuuck on the keeeeeys tooooo >> long . . . >> >> Especially in LiveCode (!) >> >> So? >> >> on keyDown >> ? do something >> ? get me the hell out of this so it doesn't happen more than once >> end keyDown >> >> ? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Jun 10 13:02:53 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 10 Jun 2019 20:02:53 +0300 Subject: My sticky fingers In-Reply-To: References: <16b41ebf840.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1ad5cb79-2b53-24c4-7072-c5a19de70e7c@gmail.com> Many things may be worn out . . . certainly my patience is wearing a bit thin when I cannot stop a command repeating itself because an end-user has got his/her finger stuck on an arrowkey. Richmond. On 10.06.19 19:40, JB via use-livecode wrote: > The keyboard might be worn out. > > JB > > >> On Jun 10, 2019, at 8:05 AM, J. Landman Gay via use-livecode wrote: >> >> This sounds like the system's key repeat rate is set too fast. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On June 10, 2019 3:44:57 AM Richmond via use-livecode wrote: >> >>> Everyyyyyyytttttime I try tooooooooo typppppe >>> sooooommmmmethhhhing myyyy fffffinnnngerrrrrrs >>> ggggget stuuuuuuuck on the keeeeeys tooooo >>> long . . . >>> >>> Especially in LiveCode (!) >>> >>> So? >>> >>> on keyDown >>> do something >>> get me the hell out of this so it doesn't happen more than once >>> end keyDown >>> >>> ? >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Jun 10 13:07:36 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 10 Jun 2019 20:07:36 +0300 Subject: It's so good . . . In-Reply-To: <6c8d8a58-9641-c689-4b89-82510e1b30da@gmail.com> References: <6c8d8a58-9641-c689-4b89-82510e1b30da@gmail.com> Message-ID: It's so good, we bumped it up a version so we hope you don't notice all the things which you donated for in the Kickstarter that have been quietly passed over. https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode/posts/415346 I am just waiting for the slew of messages from "Yes men" justifying the fact that . . . Richmond. From jjs at krutt.org Mon Jun 10 13:41:24 2019 From: jjs at krutt.org (JJS) Date: Mon, 10 Jun 2019 19:41:24 +0200 Subject: Printing to pdf and printing to paper on Android Message-ID: <1c2f3920-75dd-3774-d481-0cf1008f01a0@krutt.org> Hi, concerning printing on mobile and then i mean Android, to pdf or paper is not supported? (as far as i know) Why? At least every Android(as of Android 6) i had, had printing services. So probably it is time to update Printing to pdf and Printer Library and maybe other dependencies. This would be really usefull for all kinds of apps. I see employees in restaurants and shops using tablets, also Android, making notes or entering orders and it gets printed right away. I see also a few forum posts but not the real deal. So printing to pdf would be nice, but printing directly on paper would be ideal. There are 2 requests for this, but no follow up on it. Bug 11582 and 19019, from 2013 and 2016... So iOs it is working but Android not. Can this be solved? It's 2019 already. Any thought's? Regards, Jerry From MikeKerner at roadrunner.com Mon Jun 10 13:58:08 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jun 2019 13:58:08 -0400 Subject: pdf widget initial thangers In-Reply-To: <00a301d51fac$90a0c930$b1e25b90$@net> References: <00a301d51fac$90a0c930$b1e25b90$@net> Message-ID: Paul, Have you reworked the xpdf example stack to use the widget? Are there any api additions/deletions between xpdf and the widget? On Mon, Jun 10, 2019 at 12:49 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > I have used it extensively. The widget works on all platforms and has many > more options. > I think I should have done a talk about it at the conference. > > If you have any questions about any properties/messages shoot me an email. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Mike Kerner via use-livecode > Sent: Monday, June 10, 2019 12:03 PM > To: How to use LiveCode > Cc: Mike Kerner > Subject: pdf widget initial thangers > > anyone messing with the pdf widget, yet? Any thoughts about using it vs. > xpdf? > > -- > 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 dsc at swcp.com Mon Jun 10 14:04:25 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Mon, 10 Jun 2019 12:04:25 -0600 Subject: Machine Learning Message-ID: <31651C35-1FCD-4D80-88D4-87FC8B2B6B1B@swcp.com> I have been involved in AI and machine learning on and off since I wrote a paper on modeling learning using linear algebra a half century ago. However, recently, I have been thrown into the deep learning volcano and am doing the backstroke in the machine learning lava. I am wondering... Has anyone tinkered with machine learning using LiveCode? I noticed there was a presentation back in 2017 by Alex Brisan, but I have nothing on that. Dar Scott Mad Scientist From dsc at swcp.com Mon Jun 10 14:17:31 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Mon, 10 Jun 2019 12:17:31 -0600 Subject: Machine Learning in LC? In-Reply-To: References: Message-ID: <83424A11-5E04-4C3A-903B-61DCE4B7F8F6@swcp.com> I realize this is a year old... I have been applying machine learning (Python, Jupyter, numpy et al, keras, tensorflow on desktop and gradient). However, a lot of my functions are in LiveCode. Also, I want to make some nice applications for classifiers. So... I, too, am interested in what folks are doing. > On Jun 26, 2018, at 12:34 AM, Alan via use-livecode wrote: > > Has anyone integrated any machine learning models in LiveCode at all? Anyone experimenting with it? > > Just considering having a play with TensorFlow.js and seeing if it'll work... Any hints/ideas welcome! > > cheers > > Alan > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 10 14:20:02 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Jun 2019 14:20:02 -0400 Subject: pdf widget initial thangers In-Reply-To: References: <00a301d51fac$90a0c930$b1e25b90$@net> Message-ID: <32bcea21-0eb5-d423-912b-b6b5031bd1f0@researchware.com> On 6/10/2019 1:58 PM, Mike Kerner via use-livecode wrote: > Paul, > Have you reworked the xpdf example stack to use the widget? > Are there any api additions/deletions between xpdf and the widget? Not yet, but it is on my to do list, probably starting next week? Perhaps the week after. I have some other work a tad more pressing to finish first. I was hoping 950dp2 would be out first to knock off a few of the existing bug reports against dp1, but I can't afford to wait much longer for our own PDF work. From jjs at krutt.org Mon Jun 10 14:47:48 2019 From: jjs at krutt.org (JJS) Date: Mon, 10 Jun 2019 20:47:48 +0200 Subject: It's so good . . . In-Reply-To: References: <6c8d8a58-9641-c689-4b89-82510e1b30da@gmail.com> Message-ID: I did not understand your email until i received the livecode email. at least this is now confirmed also for Indy (as first there was confusion and it would only be for business: Android Barcode Scanning (Indy and Business) - use your Android device to scan, save and manipulate barcodes Regards, Jerry Op 10-6-2019 om 19:07 schreef Richmond via use-livecode: > It's so good, we bumped it up a version so we hope you don't notice > all the things which you donated for in the Kickstarter that have been > quietly passed over. > > https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode/posts/415346 > > > I am just waiting for the slew of messages from "Yes men" justifying the > fact that . . . > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Jun 10 18:08:33 2019 From: monte at appisle.net (Monte Goulding) Date: Tue, 11 Jun 2019 08:08:33 +1000 Subject: Visual Studio 2017 to the rescue In-Reply-To: References: <073190A8-D2E9-4053-9F04-DBDC0DFBB163@canelasoftware.com> Message-ID: Yes this does indeed sound like a bug so if you could report it that would be great. > On 11 Jun 2019, at 2:11 am, Trevor DeVore via use-livecode wrote: > > On Mon, Jun 10, 2019 at 10:19 AM Mark Talluto via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hello Friends, >> >> LiveCode 9.5 dp1 is my favorite LiveCode yet. If you are dipping into >> testing it out, I found something that may save you some time. >> >> If you use mergJSONencode and decode on Windows, you need to make sure you >> have installed the Microsoft Visual C++ Redistributable for Visual Studio >> 2017. Keep in mind there are both x86 and x64 variants. > > > Thanks for pointing this out Mark. Have you filed a bug report? This is > incorrect behavior. I believe they just need to change some compiler flags > to fix it. > > > -- > Trevor DeVore > ScreenSteps > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Jun 10 20:44:56 2019 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 11 Jun 2019 01:44:56 +0100 Subject: Why does this not work ? Message-ID: OK, this code produces an error - but I can't see why (and I worry about that :-) I have a field inside a group inside a group ...., and the following code : > on mouseup > ?? local tName, t1, t2 > ?? put the long name of fld "F" into tName > ?? put tName & ",12,13" into t1 > ?? put "t1" && t1 &CR after msg > > ?? put item 1 of t1 into t2 > ?? set the vis of t2 to TRUE > ?? put "t2 was OK" &CR after msg > > ?? set the vis of (item 1 of t1) to TRUE > ?? put "using parens OK" &CR after msg > > ?? set the vis of item 1 of t1 to TRUE?????? -- this line fails !! > ?? put "here" &CR after msg > > end mouseup that line fails, with the error message > button "Button": execution error at line 14 (Chunk: error in object > expression) near "field "F" of group id 1005 of group id 1007 of card > id 1002 of stack "/Users/alextweedly/Dropbox > (Personal)/Apps/objectchunk.livecode" > I just cant see why that doesn't work :-) If I use parentheses, or if copy the first item over to a different variable), then it is all OK. But doing it directly (AFAICT) should work, and doesn't. What am I misunderstanding ? Thanks Alex. From bogdanoff at me.com Mon Jun 10 22:24:23 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 10 Jun 2019 22:24:23 -0400 Subject: Why does this not work ? In-Reply-To: References: Message-ID: I think that 'item 1 of t1? has to be resolved to an object reference before it can be used with the vis property. The earlier lines are doing that, but not the last. It seems that LiveCode has gotten stricter with this in recent versions, requiring ?of me? or such when referring directly to a control. Some later version of 8.1 was breaking my existing scripts for this very reason. Peter > On Jun 10, 2019, at 8:44 PM, Alex Tweedly via use-livecode wrote: > > OK, this code produces an error - but I can't see why (and I worry about that :-) > > I have a field inside a group inside a group ...., > > and the following code : > >> on mouseup >> local tName, t1, t2 >> put the long name of fld "F" into tName >> put tName & ",12,13" into t1 >> put "t1" && t1 &CR after msg >> >> put item 1 of t1 into t2 >> set the vis of t2 to TRUE >> put "t2 was OK" &CR after msg >> >> set the vis of (item 1 of t1) to TRUE >> put "using parens OK" &CR after msg >> >> set the vis of item 1 of t1 to TRUE -- this line fails !! >> put "here" &CR after msg >> >> end mouseup > that line fails, with the error message > >> button "Button": execution error at line 14 (Chunk: error in object expression) near "field "F" of group id 1005 of group id 1007 of card id 1002 of stack "/Users/alextweedly/Dropbox (Personal)/Apps/objectchunk.livecode" >> > > I just cant see why that doesn't work :-) > > If I use parentheses, or if copy the first item over to a different variable), then it is all OK. But doing it directly (AFAICT) should work, and doesn't. What am I misunderstanding ? > > Thanks > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Tue Jun 11 02:32:21 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 11 Jun 2019 08:32:21 +0200 Subject: Why does this not work =?UTF-8?Q?=3F?= In-Reply-To: References: Message-ID: On 2019-06-11 02:44, Alex Tweedly via use-livecode wrote: >> on mouseup >> ?? local tName, t1, t2 >> ?? put the long name of fld "F" into tName >> ?? put tName & ",12,13" into t1 >> ?? put "t1" && t1 &CR after msg >> >> ?? put item 1 of t1 into t2 >> ?? set the vis of t2 to TRUE >> ?? put "t2 was OK" &CR after msg >> >> ?? set the vis of (item 1 of t1) to TRUE >> ?? put "using parens OK" &CR after msg >> >> ?? set the vis of item 1 of t1 to TRUE?????? -- this line fails !! >> ?? put "here" &CR after msg >> >> end mouseup > that line fails, with the error message > >> button "Button": execution error at line 14 (Chunk: error in object >> expression) near "field "F" of group id 1005 of group id 1007 of card >> id 1002 of stack "/Users/alextweedly/Dropbox >> (Personal)/Apps/objectchunk.livecode" >> > > I just cant see why that doesn't work :-) > > If I use parentheses, or if copy the first item over to a different > variable), then it is all OK. But doing it directly (AFAICT) should > work, and doesn't. What am I misunderstanding ? The engine assumes that if you are manipulating a property of a string chunk, then you want to manipulate the part of the target object the string chunk describes, and not dereference the chunk as an object to set the property on. i.e. in the case above the failing line is attempting to set the visible property of the first item of the content of control referenced with chunk ",12,13" -- and the latter is not a valid control chunk. Warmest Regards, Mark -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From alex at tweedly.net Tue Jun 11 04:18:13 2019 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 11 Jun 2019 09:18:13 +0100 Subject: Why does this not work ? In-Reply-To: References: Message-ID: <152b4ae9-db54-3fb3-0ce8-2891a11da0bf@tweedly.net> Thank you Peter and Mark. I guess I see it now - though it's still against *my* intuition :-) Thanks Alex. On 11/06/2019 03:24, Peter Bogdanoff via use-livecode wrote: > I think that 'item 1 of t1? has to be resolved to an object reference before it can be used with the vis property. The earlier lines are doing that, but not the last. > > It seems that LiveCode has gotten stricter with this in recent versions, requiring ?of me? or such when referring directly to a control. Some later version of 8.1 was breaking my existing scripts for this very reason. > > Peter > >> On Jun 10, 2019, at 8:44 PM, Alex Tweedly via use-livecode wrote: >> >> OK, this code produces an error - but I can't see why (and I worry about that :-) >> >> I have a field inside a group inside a group ...., >> >> and the following code : >> >>> on mouseup >>> local tName, t1, t2 >>> put the long name of fld "F" into tName >>> put tName & ",12,13" into t1 >>> put "t1" && t1 &CR after msg >>> >>> put item 1 of t1 into t2 >>> set the vis of t2 to TRUE >>> put "t2 was OK" &CR after msg >>> >>> set the vis of (item 1 of t1) to TRUE >>> put "using parens OK" &CR after msg >>> >>> set the vis of item 1 of t1 to TRUE -- this line fails !! >>> put "here" &CR after msg >>> >>> end mouseup >> that line fails, with the error message >> >>> button "Button": execution error at line 14 (Chunk: error in object expression) near "field "F" of group id 1005 of group id 1007 of card id 1002 of stack "/Users/alextweedly/Dropbox (Personal)/Apps/objectchunk.livecode" >>> >> I just cant see why that doesn't work :-) >> >> If I use parentheses, or if copy the first item over to a different variable), then it is all OK. But doing it directly (AFAICT) should work, and doesn't. What am I misunderstanding ? >> >> Thanks >> >> Alex. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjearp99 at gmail.com Tue Jun 11 06:37:10 2019 From: rjearp99 at gmail.com (Earp Robert J.) Date: Tue, 11 Jun 2019 11:37:10 +0100 Subject: GhostScript and LC Message-ID: <88348255-9F4C-4B56-9FB2-BFE3DEC6C6DE@gmail.com> We have an .eps file that we create within a LC project and would like to save it in .pdf format rather than having to do a manual conversion using Acrobat or whatever. It has been suggested that GhostScript should be looked at. Has anybody moused around with calling GhostScript from within LC ? Thanks, Bob?. Bob Earp - White Rock, British Columbia From matthias_livecode_150811 at m-r-d.de Tue Jun 11 06:45:22 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 11 Jun 2019 12:45:22 +0200 Subject: GhostScript and LC In-Reply-To: <88348255-9F4C-4B56-9FB2-BFE3DEC6C6DE@gmail.com> References: <88348255-9F4C-4B56-9FB2-BFE3DEC6C6DE@gmail.com> Message-ID: <72F16787-E4AE-4FB2-B9CC-D16A23D6F373@m-r-d.de> We are using Ghostscript and PDFtk Server (https://www.pdflabs.com ) on Windows 7/10 to create and combine 2 PDFs and password protect them using LC?s shell() function. Works w/o a problem for years now. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 11.06.2019 um 12:37 schrieb Earp Robert J. via use-livecode >: > > We have an .eps file that we create within a LC project and would like to save it in .pdf format rather than having to do a manual conversion using Acrobat or whatever. It has been suggested that GhostScript should be looked at. Has anybody moused around with calling GhostScript from within LC ? > > Thanks, Bob?. > > Bob Earp - White Rock, British Columbia > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Jun 11 14:50:51 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Tue, 11 Jun 2019 12:50:51 -0600 Subject: Why does this not work ? In-Reply-To: <152b4ae9-db54-3fb3-0ce8-2891a11da0bf@tweedly.net> References: <152b4ae9-db54-3fb3-0ce8-2891a11da0bf@tweedly.net> Message-ID: <88159441-590B-4D26-845B-0B795565992B@swcp.com> I think this is important. Perhaps related is why this is an execution error. > On Jun 11, 2019, at 2:18 AM, Alex Tweedly via use-livecode wrote: > > Thank you Peter and Mark. > > I guess I see it now - though it's still against *my* intuition :-) > > Thanks > > Alex. > > On 11/06/2019 03:24, Peter Bogdanoff via use-livecode wrote: >> I think that 'item 1 of t1? has to be resolved to an object reference before it can be used with the vis property. The earlier lines are doing that, but not the last. >> >> It seems that LiveCode has gotten stricter with this in recent versions, requiring ?of me? or such when referring directly to a control. Some later version of 8.1 was breaking my existing scripts for this very reason. >> >> Peter >> >>> On Jun 10, 2019, at 8:44 PM, Alex Tweedly via use-livecode wrote: >>> >>> OK, this code produces an error - but I can't see why (and I worry about that :-) >>> >>> I have a field inside a group inside a group ...., >>> >>> and the following code : >>> >>>> on mouseup >>>> local tName, t1, t2 >>>> put the long name of fld "F" into tName >>>> put tName & ",12,13" into t1 >>>> put "t1" && t1 &CR after msg >>>> >>>> put item 1 of t1 into t2 >>>> set the vis of t2 to TRUE >>>> put "t2 was OK" &CR after msg >>>> >>>> set the vis of (item 1 of t1) to TRUE >>>> put "using parens OK" &CR after msg >>>> >>>> set the vis of item 1 of t1 to TRUE -- this line fails !! >>>> put "here" &CR after msg >>>> >>>> end mouseup >>> that line fails, with the error message >>> >>>> button "Button": execution error at line 14 (Chunk: error in object expression) near "field "F" of group id 1005 of group id 1007 of card id 1002 of stack "/Users/alextweedly/Dropbox (Personal)/Apps/objectchunk.livecode" >>>> >>> I just cant see why that doesn't work :-) >>> >>> If I use parentheses, or if copy the first item over to a different variable), then it is all OK. But doing it directly (AFAICT) should work, and doesn't. What am I misunderstanding ? >>> >>> Thanks >>> >>> Alex. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From dochawk at gmail.com Tue Jun 11 16:08:04 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Jun 2019 13:08:04 -0700 Subject: one computer, but not other, cannot use breakpoints of any type under 9.5.0_dp1 Message-ID: Can anyone else confirm this, or see a pattern? On a mid 2011 iMac, with the latest High Sierra, no breakpoint of any type is working?not the evil red PCD, not ?breakpoint?, nor anything else I can think of. On may late 2018 MacBook Pro, latest mohave, they work. The iMac has also told me a couple of times that it cannot open a file as ?not a stack file?, yet the same stack opens without issue on the MacBook. I?m also seeing *horrendous* misidentification of objects selected in the application browser?it just plain gives a different object the clicked on (perhaps it ignores widgets while counting?). It?s so bad that I actually tried project manager again before screaming in horror and remembering why I hate it . . . ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From jjs at krutt.org Tue Jun 11 16:13:03 2019 From: jjs at krutt.org (JJS) Date: Tue, 11 Jun 2019 22:13:03 +0200 Subject: one computer, but not other, cannot use breakpoints of any type under 9.5.0_dp1 In-Reply-To: References: Message-ID: try delete your preferences file and restart LC. sometimes with strange issues this might help. LC creates then a new one at start-up But i don't know exactly where it is located on mac..someone else might jump in Op 11-6-2019 om 22:08 schreef Dr. Hawkins via use-livecode: > Can anyone else confirm this, or see a pattern? > > On a mid 2011 iMac, with the latest High Sierra, no breakpoint of any type is working?not the evil red PCD, not ?breakpoint?, nor anything else I can think of. > > On may late 2018 MacBook Pro, latest mohave, they work. > > The iMac has also told me a couple of times that it cannot open a file as ?not a stack file?, yet the same stack opens without issue on the MacBook. > > I?m also seeing *horrendous* misidentification of objects selected in the application browser?it just plain gives a different object the clicked on (perhaps it ignores widgets while counting?). It?s so bad that I actually tried project manager again before screaming in horror and remembering why I hate it . . . > ? > Richard E. Hawkins, Esq. > The Hawkins Law Firm > 3430 E. Flamingo Rd. > Suite 232 > Las Vegas, NV 89121 > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Jun 11 16:25:21 2019 From: klaus at major-k.de (Klaus major-k) Date: Tue, 11 Jun 2019 22:25:21 +0200 Subject: one computer, but not other, cannot use breakpoints of any type under 9.5.0_dp1 In-Reply-To: References: Message-ID: Hi JJS, > Am 11.06.2019 um 22:13 schrieb JJS via use-livecode : > > try delete your preferences file and restart LC. > sometimes with strange issues this might help. > LC creates then a new one at start-up > But i don't know exactly where it is located on mac..someone else might jump in simply ask LC -> put the filename of stack "revpreferences" :-) > Op 11-6-2019 om 22:08 schreef Dr. Hawkins via use-livecode: >> Can anyone else confirm this, or see a pattern? >> >> On a mid 2011 iMac, with the latest High Sierra, no breakpoint of any type is working?not the evil red PCD, not ?breakpoint?, nor anything else I can think of. >> >> On may late 2018 MacBook Pro, latest mohave, they work. >> >> The iMac has also told me a couple of times that it cannot open a file as ?not a stack file?, yet the same stack opens without issue on the MacBook. >> >> I?m also seeing *horrendous* misidentification of objects selected in the application browser?it just plain gives a different object the clicked on (perhaps it ignores widgets while counting?). It?s so bad that I actually tried project manager again before screaming in horror and remembering why I hate it . . . >> ? >> Richard E. Hawkins, Esq. >> The Hawkins Law Firm >> 3430 E. Flamingo Rd. >> Suite 232 >> Las Vegas, NV 89121 >> (702) 508-8462 Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jjs at krutt.org Tue Jun 11 16:48:33 2019 From: jjs at krutt.org (JJS) Date: Tue, 11 Jun 2019 22:48:33 +0200 Subject: one computer, but not other, cannot use breakpoints of any type under 9.5.0_dp1 In-Reply-To: References: Message-ID: eerhm, yes of course, how simple can it be ;) thanks Klaus Op 11-6-2019 om 22:25 schreef Klaus major-k via use-livecode: >> Am 11.06.2019 um 22:13 schrieb JJS via use-livecode: >> >> try delete your preferences file and restart LC. >> sometimes with strange issues this might help. >> LC creates then a new one at start-up >> But i don't know exactly where it is located on mac..someone else might jump in From mark at canelasoftware.com Tue Jun 11 18:06:33 2019 From: mark at canelasoftware.com (Mark Talluto) Date: Tue, 11 Jun 2019 15:06:33 -0700 Subject: Visual Studio 2017 to the rescue In-Reply-To: References: <073190A8-D2E9-4053-9F04-DBDC0DFBB163@canelasoftware.com> Message-ID: I reported the bug: https://quality.livecode.com/show_bug.cgi?id=22169 -Mark > On Jun 10, 2019, at 3:08 PM, Monte Goulding via use-livecode wrote: > > Yes this does indeed sound like a bug so if you could report it that would be great. > >> On 11 Jun 2019, at 2:11 am, Trevor DeVore via use-livecode wrote: >> >> On Mon, Jun 10, 2019 at 10:19 AM Mark Talluto via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hello Friends, >>> >>> LiveCode 9.5 dp1 is my favorite LiveCode yet. If you are dipping into >>> testing it out, I found something that may save you some time. >>> >>> If you use mergJSONencode and decode on Windows, you need to make sure you >>> have installed the Microsoft Visual C++ Redistributable for Visual Studio >>> 2017. Keep in mind there are both x86 and x64 variants. >> >> >> Thanks for pointing this out Mark. Have you filed a bug report? This is >> incorrect behavior. I believe they just need to change some compiler flags >> to fix it. >> >> >> -- >> Trevor DeVore >> ScreenSteps >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Tue Jun 11 18:39:46 2019 From: monte at appisle.net (Monte Goulding) Date: Wed, 12 Jun 2019 08:39:46 +1000 Subject: Visual Studio 2017 to the rescue In-Reply-To: References: <073190A8-D2E9-4053-9F04-DBDC0DFBB163@canelasoftware.com> Message-ID: <122036C6-C487-431E-9367-9EFF6CF39AE0@appisle.net> Thanks Mark! Will sort it out ASAP > On 12 Jun 2019, at 8:06 am, Mark Talluto via use-livecode wrote: > > I reported the bug: https://quality.livecode.com/show_bug.cgi?id=22169 > > -Mark > >> On Jun 10, 2019, at 3:08 PM, Monte Goulding via use-livecode wrote: >> >> Yes this does indeed sound like a bug so if you could report it that would be great. >> >>> On 11 Jun 2019, at 2:11 am, Trevor DeVore via use-livecode wrote: >>> >>> On Mon, Jun 10, 2019 at 10:19 AM Mark Talluto via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hello Friends, >>>> >>>> LiveCode 9.5 dp1 is my favorite LiveCode yet. If you are dipping into >>>> testing it out, I found something that may save you some time. >>>> >>>> If you use mergJSONencode and decode on Windows, you need to make sure you >>>> have installed the Microsoft Visual C++ Redistributable for Visual Studio >>>> 2017. Keep in mind there are both x86 and x64 variants. >>> >>> >>> Thanks for pointing this out Mark. Have you filed a bug report? This is >>> incorrect behavior. I believe they just need to change some compiler flags >>> to fix it. >>> >>> >>> -- >>> Trevor DeVore >>> ScreenSteps >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Wed Jun 12 06:41:20 2019 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Wed, 12 Jun 2019 11:41:20 +0100 Subject: My sticky fingers Message-ID: <000001d5210b$603153e0$2093fba0$@FlexibleLearning.com> Straw grasping here... on keyDown do something send "flush" to me in 0 pass keyDown end keyDown on flush get flushEvents("all") end flush Hugh Senior On Mon, Jun 10, 2019 at 01:43 Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > Everyyyyyyytttttime I try tooooooooo typppppe sooooommmmmethhhhing > myyyy fffffinnnngerrrrrrs ggggget stuuuuuuuck on the keeeeeys tooooo > long . . . > > Especially in LiveCode (!) > > So? > > on keyDown > do something > get me the hell out of this so it doesn't happen more than once end > keyDown > > ? > > Richmond. From dsc at swcp.com Wed Jun 12 11:27:02 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Wed, 12 Jun 2019 09:27:02 -0600 Subject: My sticky fingers In-Reply-To: <1ad5cb79-2b53-24c4-7072-c5a19de70e7c@gmail.com> References: <16b41ebf840.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1ad5cb79-2b53-24c4-7072-c5a19de70e7c@gmail.com> Message-ID: <2C6F3A6D-712A-4189-AA7D-6933AC93990A@swcp.com> Maybe something like this? (I used raw, so adjust as you need.) local wasUp = true on rawKeyDown if wasUp then doSomething end if put false into wasUp end rawKeyDown on rawKeyUp put true into wasUp end rawKeyUp command doSomething put "x" after me end doSomething > On Jun 10, 2019, at 11:02 AM, Richmond via use-livecode wrote: > > Many things may be worn out . . . certainly > my patience is wearing a bit thin when I cannot > stop a command repeating itself because an end-user has got his/her finger > stuck on an arrowkey. > > Richmond. > > On 10.06.19 19:40, JB via use-livecode wrote: >> The keyboard might be worn out. >> >> JB >> >> >>> On Jun 10, 2019, at 8:05 AM, J. Landman Gay via use-livecode wrote: >>> >>> This sounds like the system's key repeat rate is set too fast. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On June 10, 2019 3:44:57 AM Richmond via use-livecode wrote: >>> >>>> Everyyyyyyytttttime I try tooooooooo typppppe >>>> sooooommmmmethhhhing myyyy fffffinnnngerrrrrrs >>>> ggggget stuuuuuuuck on the keeeeeys tooooo >>>> long . . . >>>> >>>> Especially in LiveCode (!) >>>> >>>> So? >>>> >>>> on keyDown >>>> do something >>>> get me the hell out of this so it doesn't happen more than once >>>> end keyDown >>>> >>>> ? >>>> >>>> Richmond. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Jun 12 14:01:14 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 12 Jun 2019 18:01:14 +0000 Subject: Apple Deprecated "UIApplicationExitsOnSuspend" Message-ID: About to publish an upgrade to our app. I get this from the metadata analysis in "Applications Loader" WARNING ITMS-90339: "Deprecated Info.plist Key. The Info.plist contains a key 'UIApplicationExitsOnSuspend' in bundle SivaSiva [SivaSiva.app] that will soon be unsupported. Remove the key, rebuild your app and resubmit." Do we have a setting in the SA props to uncheck? Or do we manually edit the .plist? BR From rdimola at evergreeninfo.net Wed Jun 12 14:21:28 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 12 Jun 2019 14:21:28 -0400 Subject: Apple Deprecated "UIApplicationExitsOnSuspend" In-Reply-To: References: Message-ID: <003001d5214b$a9c82e30$fd588a90$@net> I had this problem last week. I have a ticket out but am unable to work on it because our office is moving and we are in shambles. This is just a warning and your .app will be processed and approved for submission for app review. Apparently ALL apps will NOT "exit on suspend" in iOS 12+. The real question is if we eliminate this key too soon then what will happened to pre iOS 12 installs? I think for now we should keep this key and live with the warnings. 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 Sannyasin Brahmanathaswami via use-livecode Sent: Wednesday, June 12, 2019 2:01 PM To: How LiveCode Cc: Sannyasin Brahmanathaswami Subject: Apple Deprecated "UIApplicationExitsOnSuspend" About to publish an upgrade to our app. I get this from the metadata analysis in "Applications Loader" WARNING ITMS-90339: "Deprecated Info.plist Key. The Info.plist contains a key 'UIApplicationExitsOnSuspend' in bundle SivaSiva [SivaSiva.app] that will soon be unsupported. Remove the key, rebuild your app and resubmit." Do we have a setting in the SA props to uncheck? Or do we manually edit the .plist? BR _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Jun 12 16:01:12 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jun 2019 23:01:12 +0300 Subject: My sticky fingers In-Reply-To: <000001d5210b$603153e0$2093fba0$@FlexibleLearning.com> References: <000001d5210b$603153e0$2093fba0$@FlexibleLearning.com> Message-ID: Possibly; but in the event of no hay showing up . . . On 12.06.19 13:41, FlexibleLearning.com via use-livecode wrote: > Straw grasping here... > > on keyDown > do something > send "flush" to me in 0 > pass keyDown > end keyDown > > on flush > get flushEvents("all") > end flush > > Hugh Senior > > On Mon, Jun 10, 2019 at 01:43 Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Everyyyyyyytttttime I try tooooooooo typppppe sooooommmmmethhhhing >> myyyy fffffinnnngerrrrrrs ggggget stuuuuuuuck on the keeeeeys tooooo >> long . . . >> >> Especially in LiveCode (!) >> >> So? >> >> on keyDown >> do something >> get me the hell out of this so it doesn't happen more than once end >> keyDown >> >> ? >> >> Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Wed Jun 12 16:22:30 2019 From: stephen at barncard.com (Stephen Barncard) Date: Wed, 12 Jun 2019 13:22:30 -0700 Subject: My sticky fingers In-Reply-To: References: <000001d5210b$603153e0$2093fba0$@FlexibleLearning.com> Message-ID: maybe you could tell us if it works... perhaps flush AND exit to top -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Wed, Jun 12, 2019 at 1:01 PM Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > Possibly; but in the event of no hay showing up . . . > > On 12.06.19 13:41, FlexibleLearning.com via use-livecode wrote: > > Straw grasping here... > > > > on keyDown > > do something > > send "flush" to me in 0 > > pass keyDown > > end keyDown > > > > on flush > > get flushEvents("all") > > end flush > > > > Hugh Senior > > > > On Mon, Jun 10, 2019 at 01:43 Richmond via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Everyyyyyyytttttime I try tooooooooo typppppe sooooommmmmethhhhing > >> myyyy fffffinnnngerrrrrrs ggggget stuuuuuuuck on the keeeeeys tooooo > >> long . . . > >> > >> Especially in LiveCode (!) > >> > >> So? > >> > >> on keyDown > >> do something > >> get me the hell out of this so it doesn't happen more than once end > >> keyDown > >> > >> ? > >> > >> Richmond. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Wed Jun 12 16:38:48 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 12 Jun 2019 16:38:48 -0400 Subject: [ANN]CRON - a library for Levure Message-ID: Calling all Levurithans and anyone who wants to break some code: Mikey's CRON library is now up on Github. This version is intended for use with Levure projects. CRON allows you to schedule tasks for LC to execute. We use it to regularly update mobile devices, inventory spreadsheets, and ERP software. Please be gentle, but make it better, either through suggestions or pull requests. https://github.com/macMikey/mikeys-cron-library -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From brahma at hindu.org Wed Jun 12 17:31:23 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 12 Jun 2019 21:31:23 +0000 Subject: Apple Deprecated "UIApplicationExitsOnSuspend" In-Reply-To: <003001d5214b$a9c82e30$fd588a90$@net> References: <003001d5214b$a9c82e30$fd588a90$@net> Message-ID: Yes, I tried to re-upload after deleted in the key (without checking iTunes first) and it turns out the first app was accepted..., "redundant build'' on the 2nd attempt. I went into iTunesConnect and and the app is now in for review by the Lords of Apple. Agreed. We need to find out what "gives" with this key being deleted. Maybe we well get a "resume" message from iOS to the LC in the engine... that would be interesting. BR On 6/12/19, 8:20 AM, "Ralph DiMola" wrote: Apparently ALL apps will NOT "exit on suspend" in iOS 12+. The real question is if we eliminate this key too soon then what will happened to pre iOS 12 installs? I think for now we should keep this key and live with the warnings. ?On 6/12/19, 8:20 AM, "Ralph DiMola" wrote: I had this problem last week. I have a ticket out but am unable to work on it because our office is moving and we are in shambles. This is just a warning and your .app will be processed and approved for submission for app review. Apparently ALL apps will NOT "exit on suspend" in iOS 12+. The real question is if we eliminate this key too soon then what will happened to pre iOS 12 installs? I think for now we should keep this key and live with the warnings. From brahma at hindu.org Wed Jun 12 17:44:22 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 12 Jun 2019 21:44:22 +0000 Subject: Android - Different Builds Message-ID: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> Can anyone give a short lesson on how to submit the multiple android builds on Google Release Management dashboard? All brand new to me?. BR From brahma at hindu.org Wed Jun 12 18:01:13 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 12 Jun 2019 22:01:13 +0000 Subject: Android - Different Builds In-Reply-To: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> Message-ID: <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> Never mind, I check all four, got one .APK and uploaded... and not I see Native Platform 4 Wow, congrats to LC to doing that so easily.. BR ?On 6/12/19, 11:45 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: Can anyone give a short lesson on how to submit the multiple android builds on Google Release Management dashboard? All brand new to me?. BR From brahma at hindu.org Wed Jun 12 18:13:12 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 12 Jun 2019 22:13:12 +0000 Subject: Android - Different Builds In-Reply-To: <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> Message-ID: Hmmm Google says Unoptimized APK Warning: This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices. Resolution: Use the Android App Bundle to automatically optimize for device configurations, or manage it yourself with multiple APKs. App download size: 101 MB Verses the previous one at 63.6 MB ============ 38MB increase! No new app content....it all the different architectures. How can we use the "Android App Bundle" ?? Never mind, I check all four, got one .APK and uploaded... and not I see Native Platform 4 Wow, congrats to LC to doing that so easily.. BR From rdimola at evergreeninfo.net Wed Jun 12 18:17:43 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 12 Jun 2019 18:17:43 -0400 Subject: Android - Different Builds In-Reply-To: <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> Message-ID: <003e01d5216c$ab836fc0$028a4f40$@net> You would be better off making 4 builds 1 for each architecture. This way instead of 1 huge apk you will have 4 smaller ones. Increment the "version code" for each of the 3 additional builds. Upload all 4 apks to the PlayStore. Making one large build has 2 bad side effects. 1) you might not target as many devices because of smaller apk size limits on some devices 2) the download/install will be slower. You can have multiple APKs in production(internal/alpha/beta for the matter) if 1) the version code is different 2) they target different architectures. 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 Sannyasin Brahmanathaswami via use-livecode Sent: Wednesday, June 12, 2019 6:01 PM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: Android - Different Builds Never mind, I check all four, got one .APK and uploaded... and not I see Native Platform 4 Wow, congrats to LC to doing that so easily.. BR ?On 6/12/19, 11:45 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: Can anyone give a short lesson on how to submit the multiple android builds on Google Release Management dashboard? All brand new to me?. BR _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jun 12 18:20:08 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 12 Jun 2019 18:20:08 -0400 Subject: Android - Different Builds In-Reply-To: References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> Message-ID: <003f01d5216d$014e7ad0$03eb7070$@net> This is a warning. I have not yet tested if using 4 apks will eliminate this warning. It might. This is a new warning message in the last month. 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 Sannyasin Brahmanathaswami via use-livecode Sent: Wednesday, June 12, 2019 6:13 PM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: Android - Different Builds Hmmm Google says Unoptimized APK Warning: This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices. Resolution: Use the Android App Bundle to automatically optimize for device configurations, or manage it yourself with multiple APKs. App download size: 101 MB Verses the previous one at 63.6 MB ============ 38MB increase! No new app content....it all the different architectures. How can we use the "Android App Bundle" ?? Never mind, I check all four, got one .APK and uploaded... and not I see Native Platform 4 Wow, congrats to LC to doing that so easily.. BR _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Jun 12 18:21:35 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 12 Jun 2019 22:21:35 +0000 Subject: Android - Different Builds In-Reply-To: <003e01d5216c$ab836fc0$028a4f40$@net> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> Message-ID: OK! That's what we need hear. Thanks Ralph! ?On 6/12/19, 12:17 PM, "Ralph DiMola" wrote: You would be better off making 4 builds 1 for each architecture. This way instead of 1 huge apk you will have 4 smaller ones. Increment the "version code" for each of the 3 additional builds. Upload all 4 apks to the PlayStore. Making one large build has 2 bad side effects. 1) you might not target as many devices because of smaller apk size limits on some devices 2) the download/install will be slower. You can have multiple APKs in production(internal/alpha/beta for the matter) if 1) the version code is different 2) they target different architectures. From mark at canelasoftware.com Wed Jun 12 18:46:44 2019 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 12 Jun 2019 15:46:44 -0700 Subject: Visual Studio 2017 to the rescue In-Reply-To: <122036C6-C487-431E-9367-9EFF6CF39AE0@appisle.net> References: <073190A8-D2E9-4053-9F04-DBDC0DFBB163@canelasoftware.com> <122036C6-C487-431E-9367-9EFF6CF39AE0@appisle.net> Message-ID: <66981EB6-7372-4D05-9F6E-9EDEB1D16368@canelasoftware.com> Sometimes I think you do not get enough sleep. You are always available. That is really nice for us. Now go get some sleep. Thanks for working this out. :) -Mark > On Jun 11, 2019, at 3:39 PM, Monte Goulding via use-livecode wrote: > > Thanks Mark! Will sort it out ASAP > >> On 12 Jun 2019, at 8:06 am, Mark Talluto via use-livecode wrote: >> >> I reported the bug: https://quality.livecode.com/show_bug.cgi?id=22169 >> >> -Mark >> >>> On Jun 10, 2019, at 3:08 PM, Monte Goulding via use-livecode wrote: >>> >>> Yes this does indeed sound like a bug so if you could report it that would be great. >>> >>>> On 11 Jun 2019, at 2:11 am, Trevor DeVore via use-livecode wrote: >>>> >>>> On Mon, Jun 10, 2019 at 10:19 AM Mark Talluto via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Hello Friends, >>>>> >>>>> LiveCode 9.5 dp1 is my favorite LiveCode yet. If you are dipping into >>>>> testing it out, I found something that may save you some time. >>>>> >>>>> If you use mergJSONencode and decode on Windows, you need to make sure you >>>>> have installed the Microsoft Visual C++ Redistributable for Visual Studio >>>>> 2017. Keep in mind there are both x86 and x64 variants. >>>> >>>> >>>> Thanks for pointing this out Mark. Have you filed a bug report? This is >>>> incorrect behavior. I believe they just need to change some compiler flags >>>> to fix it. >>>> >>>> >>>> -- >>>> Trevor DeVore >>>> ScreenSteps >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Jun 12 22:57:10 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 13 Jun 2019 02:57:10 +0000 Subject: Android - Different Builds In-Reply-To: References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> Message-ID: <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> Hmm, I'm getting warnings First I built all 4, All four have different version codes. But for the arm64-v8a ERROR 1 message for APK 7 Fully shadowed APK Problem: This APK will not be served to any users because it is completely shadowed by one or more APKs with higher version codes. Resolution: Remove this APK from your release or review the targeting and version codes of the APKs that you are including in this release. ---- And for all four architecture, with different version codes we get the same warning Unoptimized APK Warning: This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices. Resolution: Use the Android App Bundle to automatically optimize for device configurations, or manage it yourself with multiple APKs. Unoptimized APK # And one final warning on the armeabi-v7a This release is not compliant with the Google Play 64-bit requirement The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 14. From July 31, 2019 all releases must be compliant with the Google Play 64-bit requirement. Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app. Learn More # I don't know what to do? Ralph wrote: You can have multiple APKs in production(internal/alpha/beta for the matter) if 1) the version code is different 2) they target different architectures. ?On 6/12/19, 12:21 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: OK! That's what we need hear. Thanks Ralph! On 6/12/19, 12:17 PM, "Ralph DiMola" wrote: You would be better off making 4 builds 1 for each architecture. This way instead of 1 huge apk you will have 4 smaller ones. Increment the "version code" for each of the 3 additional builds. Upload all 4 apks to the PlayStore. Making one large build has 2 bad side effects. 1) you might not target as many devices because of smaller apk size limits on some devices 2) the download/install will be slower. You can have multiple APKs in production(internal/alpha/beta for the matter) if 1) the version code is different 2) they target different architectures. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Thu Jun 13 06:20:51 2019 From: jjs at krutt.org (JJS) Date: Thu, 13 Jun 2019 12:20:51 +0200 Subject: Android - Different Builds In-Reply-To: <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> Message-ID: 4 separate builds give the same optimize warning which you can ignore. There is a feature request done to have a swith in the standalone settings, so one can choose to have one big build or 4 separate builds (or to the nr of set architectures) The playstore will push the correct build to the phone. So upload 4 builds, each having a different increasing version code. regards, Jerry Op 13-6-2019 om 04:57 schreef Sannyasin Brahmanathaswami via use-livecode: > Hmm, I'm getting warnings > > First I built all 4, > > All four have different version codes. > > But for the arm64-v8a > > ERROR > 1 message for APK 7 > Fully shadowed APK > > Problem: > This APK will not be served to any users because it is completely shadowed by one or more APKs with higher version codes. > > Resolution: > Remove this APK from your release or review the targeting and version codes of the APKs that you are including in this release. > ---- > And for all four architecture, with different version codes we get the same warning > > Unoptimized APK > Warning: > This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices. > > Resolution: > Use the Android App Bundle to automatically optimize for device configurations, or manage it yourself with multiple APKs. > Unoptimized APK > > # And one final warning on the armeabi-v7a > > This release is not compliant with the Google Play 64-bit requirement > > The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 14. > > From July 31, 2019 all releases must be compliant with the Google Play 64-bit requirement. > > Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app. Learn More > > > > # I don't know what to do? > > Ralph wrote: > You can have multiple APKs in production(internal/alpha/beta for the matter) if 1) the version code is different 2) they target different architectures. > > > ?On 6/12/19, 12:21 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: > > OK! > > That's what we need hear. Thanks Ralph! > > > > On 6/12/19, 12:17 PM, "Ralph DiMola" wrote: > > You would be better off making 4 builds 1 for each architecture. This way instead of 1 huge apk you will have 4 smaller ones. Increment the "version code" for each of the 3 additional builds. Upload all 4 apks to the PlayStore. Making one large build has 2 bad side effects. 1) you might not target as many devices because of smaller apk size limits on some devices 2) the download/install will be slower. > > You can have multiple APKs in production(internal/alpha/beta for the matter) if 1) the version code is different 2) they target different architectures. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 13 08:47:06 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 13 Jun 2019 08:47:06 -0400 Subject: Context menus (popup command) bugs... Message-ID: <9effce02-ed3d-6b30-2383-b8ff91fac80e@researchware.com> I've run into a bug on Windows (and Linux) with regard to popup menus over a field using mouseMove or mouseWithin. https://quality.livecode.com/show_bug.cgi?id=22178 There are related bugs: https://quality.livecode.com/show_bug.cgi?id=7766 https://quality.livecode.com/show_bug.cgi?id=20695 These potentially impact anyone doing context menus on the desktop on any platform other than OSX. I wanted to give the community a heads up in case you current or future applications may be impacted and to see if anyone cares to add themselves to these bugs to build some momentum for a fix in 9.0.5 or 9.0.6 vs 9.5.0 or later. From brahma at hindu.org Thu Jun 13 09:08:29 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 13 Jun 2019 13:08:29 +0000 Subject: Android - Different Builds In-Reply-To: References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> Message-ID: <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> But what about this one, it is an "error," not a "warning For arm64-v8a ------------ ERROR 1 message for APK 7 Fully shadowed APK Problem: This APK will not be served to any users because it is completely shadowed by one or more APKs with higher version codes. ------------ But the other three are all different X86 X86_64 Armv7 So what about the error? It saying "will not be served to any users" that's cause to be concerned. Do I need to set up a separate release for this one arm64-v8a? BR ?On 6/13/19, 12:21 AM, "use-livecode on behalf of JJS via use-livecode" wrote: 4 separate builds give the same optimize warning which you can ignore. There is a feature request done to have a swith in the standalone settings, so one can choose to have one big build or 4 separate builds (or to the nr of set architectures) The playstore will push the correct build to the phone. So upload 4 builds, each having a different increasing version code. regards, Jerry From jjs at krutt.org Thu Jun 13 14:10:20 2019 From: jjs at krutt.org (JJS) Date: Thu, 13 Jun 2019 20:10:20 +0200 Subject: Android - Different Builds In-Reply-To: <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> Message-ID: <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> your version code needs to be higher than the previous one, each time you upload an update you could do: arm-v7a vc1????? arm64 vc2???????? x86? vc3?????????? x86-64 vc4 then next update of your app: arm-v7a vc5 ???? arm64 vc6 ??????? x86? vc7 ????????? x86-64 vc8 etcetera when you manage a release, then you can upload 4 apk's to the console for that release But whatever version code you now have, the next ones need to be higher every time. As far as i understand you need to upload all apk's per release and not a release per apk architecture Op 13-6-2019 om 15:08 schreef Sannyasin Brahmanathaswami via use-livecode: > But what about this one, it is an "error," not a "warning > > For arm64-v8a > ------------ > ERROR > 1 message for APK 7 > Fully shadowed APK > > Problem: > This APK will not be served to any users because it is completely shadowed by one or more APKs with higher version codes. > ------------ > > But the other three are all different > X86 > X86_64 > Armv7 > > So what about the error? It saying "will not be served to any users" that's cause to be concerned. > > Do I need to set up a separate release for this one arm64-v8a? > > BR > > > ?On 6/13/19, 12:21 AM, "use-livecode on behalf of JJS via use-livecode" wrote: > > 4 separate builds give the same optimize warning which you can ignore. > > There is a feature request done to have a swith in the standalone > settings, so one can choose to have one big build or 4 separate builds > (or to the nr of set architectures) > > The playstore will push the correct build to the phone. So upload 4 > builds, each having a different increasing version code. > > > regards, > > Jerry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Jun 13 14:28:13 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Jun 2019 14:28:13 -0400 Subject: Android - Different Builds In-Reply-To: <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> Message-ID: <003f01d52215$c57dc7f0$507957d0$@net> This thing that confuses me is that the error was for "shadowing". My question is why does armv7 shadow(ie; target the same device natively) as arm64? I wonder if there should be only 2 builds 1)armv7 AND arm64 2) Intel AND Intel 64? Theoretically the armv7 and arm64 will both work on a arm64 device. Also Intel and Intel 64 build would work on an Intel 64 bit processor. But this logic breaks as an armv7 build will work on an Intel device(via built-in emulator)??? 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 JJS via use-livecode Sent: Thursday, June 13, 2019 2:10 PM To: Sannyasin Brahmanathaswami via use-livecode Cc: JJS Subject: Re: Android - Different Builds your version code needs to be higher than the previous one, each time you upload an update you could do: arm-v7a vc1 arm64 vc2 x86 vc3 x86-64 vc4 then next update of your app: arm-v7a vc5 arm64 vc6 x86 vc7 x86-64 vc8 etcetera when you manage a release, then you can upload 4 apk's to the console for that release But whatever version code you now have, the next ones need to be higher every time. As far as i understand you need to upload all apk's per release and not a release per apk architecture Op 13-6-2019 om 15:08 schreef Sannyasin Brahmanathaswami via use-livecode: > But what about this one, it is an "error," not a "warning > > For arm64-v8a > ------------ > ERROR > 1 message for APK 7 > Fully shadowed APK > > Problem: > This APK will not be served to any users because it is completely shadowed by one or more APKs with higher version codes. > ------------ > > But the other three are all different > X86 > X86_64 > Armv7 > > So what about the error? It saying "will not be served to any users" that's cause to be concerned. > > Do I need to set up a separate release for this one arm64-v8a? > > BR > > > ?On 6/13/19, 12:21 AM, "use-livecode on behalf of JJS via use-livecode" wrote: > > 4 separate builds give the same optimize warning which you can ignore. > > There is a feature request done to have a swith in the standalone > settings, so one can choose to have one big build or 4 separate builds > (or to the nr of set architectures) > > The playstore will push the correct build to the phone. So upload 4 > builds, each having a different increasing version code. > > > regards, > > Jerry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu Jun 13 15:41:00 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 13 Jun 2019 13:41:00 -0600 Subject: My sticky fingers In-Reply-To: <000001d5210b$603153e0$2093fba0$@FlexibleLearning.com> References: <000001d5210b$603153e0$2093fba0$@FlexibleLearning.com> Message-ID: <9CD01922-731D-484A-AD54-E17329217352@swcp.com> Perhaps this would need a delay after the pass. For example, wait until the key is up and then maybe wait a bit more. This would allow all of the events to come in before they are flushed. Maybe. (I think my state-variable method is simpler, but simple is in the eye of the beholder.) > On Jun 12, 2019, at 4:41 AM, FlexibleLearning.com via use-livecode wrote: > > Straw grasping here... > > on keyDown > do something > send "flush" to me in 0 > pass keyDown > end keyDown > > on flush > get flushEvents("all") > end flush > > Hugh Senior > > On Mon, Jun 10, 2019 at 01:43 Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Everyyyyyyytttttime I try tooooooooo typppppe sooooommmmmethhhhing >> myyyy fffffinnnngerrrrrrs ggggget stuuuuuuuck on the keeeeeys tooooo >> long . . . >> >> Especially in LiveCode (!) >> >> So? >> >> on keyDown >> do something >> get me the hell out of this so it doesn't happen more than once end >> keyDown >> >> ? >> >> Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Thu Jun 13 16:09:36 2019 From: jjs at krutt.org (JJS) Date: Thu, 13 Jun 2019 22:09:36 +0200 Subject: Android - Different Builds In-Reply-To: <003f01d52215$c57dc7f0$507957d0$@net> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <003f01d52215$c57dc7f0$507957d0$@net> Message-ID: as far as i've read, Google Play will look for the architecture of the device where the app will be installed and then pushes the best fit to it. Just like LC950dp1 now is checking the device before pushing a stack to test on your phone. Monte confirmed LC does it and you can also quickly see a popup telling his. I guess the build-in emulator makes the app work slower then using a build for the architecture Regards, Jerry(Sphere) Op 13-6-2019 om 20:28 schreef Ralph DiMola via use-livecode: > This thing that confuses me is that the error was for "shadowing". My question is why does armv7 shadow(ie; target the same device natively) as arm64? > I wonder if there should be only 2 builds 1)armv7 AND arm64 2) Intel AND Intel 64? Theoretically the armv7 and arm64 will both work on a arm64 device. Also Intel and Intel 64 build would work on an Intel 64 bit processor. But this logic breaks as an armv7 build will work on an Intel device(via built-in emulator)??? > > 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 JJS via use-livecode > Sent: Thursday, June 13, 2019 2:10 PM > To: Sannyasin Brahmanathaswami via use-livecode > Cc: JJS > Subject: Re: Android - Different Builds > > your version code needs to be higher than the previous one, each time you upload an update > > you could do: > > arm-v7a vc1 arm64 vc2 x86 vc3 x86-64 vc4 > > then next update of your app: > > arm-v7a vc5 arm64 vc6 x86 vc7 x86-64 vc8 > > etcetera > > when you manage a release, then you can upload 4 apk's to the console for that release > > But whatever version code you now have, the next ones need to be higher every time. > > As far as i understand you need to upload all apk's per release and not a release per apk architecture > > > Op 13-6-2019 om 15:08 schreef Sannyasin Brahmanathaswami via use-livecode: >> But what about this one, it is an "error," not a "warning >> >> For arm64-v8a >> ------------ >> ERROR >> 1 message for APK 7 >> Fully shadowed APK >> >> Problem: >> This APK will not be served to any users because it is completely shadowed by one or more APKs with higher version codes. >> ------------ >> >> But the other three are all different >> X86 >> X86_64 >> Armv7 >> >> So what about the error? It saying "will not be served to any users" that's cause to be concerned. >> >> Do I need to set up a separate release for this one arm64-v8a? >> >> BR >> >> >> ?On 6/13/19, 12:21 AM, "use-livecode on behalf of JJS via use-livecode" wrote: >> >> 4 separate builds give the same optimize warning which you can ignore. >> >> There is a feature request done to have a swith in the standalone >> settings, so one can choose to have one big build or 4 separate builds >> (or to the nr of set architectures) >> >> The playstore will push the correct build to the phone. So upload 4 >> builds, each having a different increasing version code. >> >> >> regards, >> >> Jerry >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 13 16:21:43 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 13 Jun 2019 22:21:43 +0200 Subject: OT - Could someone with an Android phone do me a favour and test my website? Message-ID: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> Hi, yesterday i?ve received an email from a user who informed me that my website was not completely visible on his Samsung S7 Edge phone. Better said, some text at the bottom of some pages (e.g. pages impressum, disclaimer) was not visible. I could replicate this even on my iPhone and modified my website. After this modification i am able to see all text on all pages with an iPhone and a Samsung S9. Unfortunately my customer still experience the problem. I would be very grateful if someone with an Android phone could test my site at https://instamaker.dermattes.de and would tell me, if all text was displayed or not. The last words of page impressum should be '32312 L?bbecke' and the last words of page disclaimer should be 'means of spam mail'. Regards Matthias . Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From dsc at swcp.com Thu Jun 13 16:30:25 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 13 Jun 2019 14:30:25 -0600 Subject: OT - Could someone with an Android phone do me a favour and test my website? In-Reply-To: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> References: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> Message-ID: <73904C9A-DC88-4994-BD20-0CEA37D2E908@swcp.com> I see those on my old android phone. A popup blocked things for a bit in the android web browser and in the Chrome browser, it took a bit to clear it. > On Jun 13, 2019, at 2:21 PM, Matthias Rebbe via use-livecode wrote: > > Hi, > > yesterday i?ve received an email from a user who informed me that my website was not completely visible on his Samsung S7 Edge phone. > Better said, some text at the bottom of some pages (e.g. pages impressum, disclaimer) was not visible. > I could replicate this even on my iPhone and modified my website. After this modification i am able to see all text on all pages with an iPhone and a Samsung S9. > > Unfortunately my customer still experience the problem. > > I would be very grateful if someone with an Android phone could test my site at https://instamaker.dermattes.de and would tell me, if all text was displayed or not. > > The last words of page impressum should be '32312 L?bbecke' and the last words of page disclaimer should be 'means of spam mail'. > > Regards > > Matthias > > . > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Thu Jun 13 16:34:47 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Jun 2019 16:34:47 -0400 Subject: OT - Could someone with an Android phone do me a favour and test my website? In-Reply-To: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> References: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> Message-ID: <007001d52227$74be5fc0$5e3b1f40$@net> Looks OK on an LG v20 7.0. One thing I noticed is that the menu icon does not appear until you scroll down 3/4 of the way of the first section then is hidden again if you scroll back up to the top. Sounds like a cache issue. If a page refresh does not work then have the user clear their browser cache. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Matthias Rebbe via use-livecode Sent: Thursday, June 13, 2019 4:22 PM To: How to use LiveCode Cc: Matthias Rebbe Subject: OT - Could someone with an Android phone do me a favour and test my website? Hi, yesterday i?ve received an email from a user who informed me that my website was not completely visible on his Samsung S7 Edge phone. Better said, some text at the bottom of some pages (e.g. pages impressum, disclaimer) was not visible. I could replicate this even on my iPhone and modified my website. After this modification i am able to see all text on all pages with an iPhone and a Samsung S9. Unfortunately my customer still experience the problem. I would be very grateful if someone with an Android phone could test my site at https://instamaker.dermattes.de and would tell me, if all text was displayed or not. The last words of page impressum should be '32312 L?bbecke' and the last words of page disclaimer should be 'means of spam mail'. Regards Matthias . Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.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 Thu Jun 13 16:41:41 2019 From: brian at milby7.com (Brian Milby) Date: Thu, 13 Jun 2019 16:41:41 -0400 Subject: OT - Could someone with an Android phone do me a favour and test my website? In-Reply-To: <73904C9A-DC88-4994-BD20-0CEA37D2E908@swcp.com> References: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> <73904C9A-DC88-4994-BD20-0CEA37D2E908@swcp.com> Message-ID: On my iPad there is something going on to reposition the page. ?I can scroll down to see the bottom text but when I let go, it snaps to the top of the section in a short while. Thanks, Brian On Jun 13, 2019, 4:30 PM -0400, Dar Scott Consulting via use-livecode , wrote: > I see those on my old android phone. A popup blocked things for a bit in the android web browser and in the Chrome browser, it took a bit to clear it. > > > On Jun 13, 2019, at 2:21 PM, Matthias Rebbe via use-livecode wrote: > > > > Hi, > > > > yesterday i?ve received an email from a user who informed me that my website was not completely visible on his Samsung S7 Edge phone. > > Better said, some text at the bottom of some pages (e.g. pages impressum, disclaimer) was not visible. > > I could replicate this even on my iPhone and modified my website. After this modification i am able to see all text on all pages with an iPhone and a Samsung S9. > > > > Unfortunately my customer still experience the problem. > > > > I would be very grateful if someone with an Android phone could test my site at https://instamaker.dermattes.de and would tell me, if all text was displayed or not. > > > > The last words of page impressum should be '32312 L?bbecke' and the last words of page disclaimer should be 'means of spam mail'. > > > > Regards > > > > Matthias > > > > . > > > > > > Matthias Rebbe > > > > free tools for Livecoders: > > https://instamaker.dermattes.de > > https://winsignhelper.dermattes.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 hh at hyperhh.de Thu Jun 13 16:59:33 2019 From: hh at hyperhh.de (hh) Date: Thu, 13 Jun 2019 22:59:33 +0200 Subject: OT - Could someone with an Android phone do me a favour and test my website? Message-ID: Sony Xperia Z1 (Android 4.4.2): All is readable as wanted, Impressum starts at top, Disclaimer starts at bottom. From dsc at swcp.com Thu Jun 13 17:24:51 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 13 Jun 2019 15:24:51 -0600 Subject: My sticky fingers In-Reply-To: <1ad5cb79-2b53-24c4-7072-c5a19de70e7c@gmail.com> References: <16b41ebf840.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1ad5cb79-2b53-24c4-7072-c5a19de70e7c@gmail.com> Message-ID: This works for me on macOS Mojave 10.14.15 using LiveCode 9.0.4. By "works", I mean it does some things that I think might be close to what you want. I have a field named "test field" on a card and button to clear that. I hold down keys while the field does not have the focus. I would guess you can extend this to backspace. local keyIsUp = true on arrowKey k if keyIsUp then doSomething k end if put false into keyIsUp log "arrowKey" && k end arrowKey on keyDown k if keyIsUp then doSomething k end if put false into keyIsUp log "keyDown" && k end keyDown on rawKeyUp put true into keyIsUp log "rawKeyUp" end rawKeyUp command doSomething k log "did" && k end doSomething command log s put s & tab & the long seconds & lf after field "test field" of me end log > On Jun 10, 2019, at 11:02 AM, Richmond via use-livecode wrote: > > Many things may be worn out . . . certainly > my patience is wearing a bit thin when I cannot > stop a command repeating itself because an end-user has got his/her finger > stuck on an arrowkey. > > Richmond. > > On 10.06.19 19:40, JB via use-livecode wrote: >> The keyboard might be worn out. >> >> JB >> >> >>> On Jun 10, 2019, at 8:05 AM, J. Landman Gay via use-livecode wrote: >>> >>> This sounds like the system's key repeat rate is set too fast. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On June 10, 2019 3:44:57 AM Richmond via use-livecode wrote: >>> >>>> Everyyyyyyytttttime I try tooooooooo typppppe >>>> sooooommmmmethhhhing myyyy fffffinnnngerrrrrrs >>>> ggggget stuuuuuuuck on the keeeeeys tooooo >>>> long . . . >>>> >>>> Especially in LiveCode (!) >>>> >>>> So? >>>> >>>> on keyDown >>>> do something >>>> get me the hell out of this so it doesn't happen more than once >>>> end keyDown >>>> >>>> ? >>>> >>>> Richmond. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Jun 13 18:41:58 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 13 Jun 2019 22:41:58 +0000 Subject: Android - Different Builds In-Reply-To: <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> Message-ID: <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> Aloha Jerry, I think I have done it correctly 1) I have the four builds in one release 2) Native platforms -- armeabi-v7a - version code 14 Native platforms -- x86_64 - version code 9 Native platforms -- x86 - version code 8 Native platforms -- arm64-v8a - version code 7 I still get ERROR ============= 1 message for APK 7 Fully shadowed APK Problem: This APK will not be served to any users because it is completely shadowed by one or more APKs with higher version codes. Resolution: Remove this APK from your release or review the targeting and version codes of the APKs that you are including in this release. =============== I have no choice but to remove arm64-v8a, but it supports devices a lot of devices (3105) I could run it anyway and not remove it... maybe it is a "bogus" message from their AI analysis. OR arm64-v8a is now covered by one of the other three, ie. will be installed on the 3105 devices listed under arm64-v8a? BR ?JJB wrote your version code needs to be higher than the previous one, each time you upload an update you could do: arm-v7a vc1 arm64 vc2 x86 vc3 x86-64 vc4 then next update of your app: arm-v7a vc5 arm64 vc6 x86 vc7 x86-64 vc8 etcetera when you manage a release, then you can upload 4 apk's to the console for that release But whatever version code you now have, the next ones need to be higher every time. As far as i understand you need to upload all apk's per release and not a release per apk architecture From rdimola at evergreeninfo.net Thu Jun 13 18:51:44 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Jun 2019 18:51:44 -0400 Subject: Android - Different Builds In-Reply-To: <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> Message-ID: <009001d5223a$95cbb2e0$c16318a0$@net> Try making 1 build for armv7 AND arm64 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 Sannyasin Brahmanathaswami via use-livecode Sent: Thursday, June 13, 2019 6:42 PM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: Android - Different Builds Aloha Jerry, I think I have done it correctly 1) I have the four builds in one release 2) Native platforms -- armeabi-v7a - version code 14 Native platforms -- x86_64 - version code 9 Native platforms -- x86 - version code 8 Native platforms -- arm64-v8a - version code 7 I still get ERROR ============= 1 message for APK 7 Fully shadowed APK Problem: This APK will not be served to any users because it is completely shadowed by one or more APKs with higher version codes. Resolution: Remove this APK from your release or review the targeting and version codes of the APKs that you are including in this release. =============== I have no choice but to remove arm64-v8a, but it supports devices a lot of devices (3105) I could run it anyway and not remove it... maybe it is a "bogus" message from their AI analysis. OR arm64-v8a is now covered by one of the other three, ie. will be installed on the 3105 devices listed under arm64-v8a? BR ?JJB wrote your version code needs to be higher than the previous one, each time you upload an update you could do: arm-v7a vc1 arm64 vc2 x86 vc3 x86-64 vc4 then next update of your app: arm-v7a vc5 arm64 vc6 x86 vc7 x86-64 vc8 etcetera when you manage a release, then you can upload 4 apk's to the console for that release But whatever version code you now have, the next ones need to be higher every time. As far as i understand you need to upload all apk's per release and not a release per apk architecture _______________________________________________ use-livecode mailing list use-livecode at 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 Jun 13 22:13:48 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jun 2019 21:13:48 -0500 Subject: OT - Could someone with an Android phone do me a favour and test my website? In-Reply-To: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> References: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> Message-ID: <16b53c32b60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> All is fine on both my Pixel and Huawei MediaPad m5. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 13, 2019 3:23:31 PM Matthias Rebbe via use-livecode wrote: > Hi, > > yesterday i?ve received an email from a user who informed me that my > website was not completely visible on his Samsung S7 Edge phone. > Better said, some text at the bottom of some pages (e.g. pages impressum, > disclaimer) was not visible. > I could replicate this even on my iPhone and modified my website. After > this modification i am able to see all text on all pages with an iPhone and > a Samsung S9. > > Unfortunately my customer still experience the problem. > > I would be very grateful if someone with an Android phone could test my > site at https://instamaker.dermattes.de > and would tell me, if all text was displayed or not. > > The last words of page impressum should be '32312 L?bbecke' and the last > words of page disclaimer should be 'means of spam mail'. > > Regards > > Matthias > > . > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.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 brahma at hindu.org Thu Jun 13 22:17:07 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 14 Jun 2019 02:17:07 +0000 Subject: Android - Different Builds In-Reply-To: <009001d5223a$95cbb2e0$c16318a0$@net> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> <009001d5223a$95cbb2e0$c16318a0$@net> Message-ID: <652BB735-1A5A-4A15-8CEB-5C9C6C35C4D4@hindu.org> Hurray! That worked: Version code 15 Native platforms arm64-v8a, armeabi-v7a. 74.9 MB Version code 9 Native platforms x86_64 64.0 MB Version code 8 Native platforms x86 63.7 MB -- No "overshowed" ERROR -- One warning about extra code in the build of Version 15. -- One warning (standard) about the last version APK deactivated Full rollout underway... Thanks Ralph! Brahmanathaswami Ralph DiMola wrote: Try making 1 build for armv7 AND arm64 From mark at livecode.com Fri Jun 14 04:33:50 2019 From: mark at livecode.com (Mark Waddingham) Date: Fri, 14 Jun 2019 10:33:50 +0200 Subject: Android - Different Builds In-Reply-To: <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> Message-ID: <8df36f1555882340c2979be0577fd415@livecode.com> On 2019-06-14 00:41, Sannyasin Brahmanathaswami via use-livecode wrote: > Aloha Jerry, I think I have done it correctly > > 1) > I have the four builds in one release > 2) > Native platforms -- armeabi-v7a - version code 14 > Native platforms -- x86_64 - version code 9 > Native platforms -- x86 - version code 8 > Native platforms -- arm64-v8a - version code 7 > > I still get ERROR > ============= > 1 message for APK 7 > Fully shadowed APK > > Problem: > This APK will not be served to any users because it is completely I wonder if the reason this didn't work is because you have the version code for armv7 > that for arm64... I suspect the play store will choose the highest version coded APK that will run on the target device. As ARMv7 APKs will run on devices which can run ARM64, it will choose the ARMv7 in preference (as it is version code 14, which is greater than 7) and thus 'completely shadow' the ARM64 APK. Upshot: probably best to make sure ARM64 APKs have higher version code than ARM7 ones (the same is true of x86-64 and x86 - but in that case you've already got version-code-of(x86-64) > version-code-of(x86) which is why you aren't getting a shadowed error for those) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Fri Jun 14 04:54:34 2019 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jun 2019 11:54:34 +0300 Subject: OT - Could someone with an Android phone do me a favour and test my website? In-Reply-To: <16b53c32b60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> <16b53c32b60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Looks fine on ASUS. Richmond. On Fri, Jun 14, 2019, 5:14 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > All is fine on both my Pixel and Huawei MediaPad m5. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 13, 2019 3:23:31 PM Matthias Rebbe via use-livecode > wrote: > > > Hi, > > > > yesterday i?ve received an email from a user who informed me that my > > website was not completely visible on his Samsung S7 Edge phone. > > Better said, some text at the bottom of some pages (e.g. pages > impressum, > > disclaimer) was not visible. > > I could replicate this even on my iPhone and modified my website. After > > this modification i am able to see all text on all pages with an iPhone > and > > a Samsung S9. > > > > Unfortunately my customer still experience the problem. > > > > I would be very grateful if someone with an Android phone could test my > > site at https://instamaker.dermattes.de < > https://instamaker.dermattes.de/> > > and would tell me, if all text was displayed or not. > > > > The last words of page impressum should be '32312 L?bbecke' and the last > > words of page disclaimer should be 'means of spam mail'. > > > > Regards > > > > Matthias > > > > . > > > > > > Matthias Rebbe > > > > free tools for Livecoders: > > https://instamaker.dermattes.de > > https://winsignhelper.dermattes.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 matthias_livecode_150811 at m-r-d.de Fri Jun 14 05:05:22 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 14 Jun 2019 11:05:22 +0200 Subject: OT - Could someone with an Android phone do me a favour and test my website? In-Reply-To: References: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> <16b53c32b60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <6E1AA628-E269-47CD-81AC-B75427C215AB@m-r-d.de> Thanks to all for their reports. So it seems my website is okay and the problem is on the customer?s side. Regards, Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 14.06.2019 um 10:54 schrieb Richmond Mathewson via use-livecode >: > > Looks fine on ASUS. > > Richmond. > > > On Fri, Jun 14, 2019, 5:14 AM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com > wrote: > >> All is fine on both my Pixel and Huawei MediaPad m5. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On June 13, 2019 3:23:31 PM Matthias Rebbe via use-livecode >> > wrote: >> >>> Hi, >>> >>> yesterday i?ve received an email from a user who informed me that my >>> website was not completely visible on his Samsung S7 Edge phone. >>> Better said, some text at the bottom of some pages (e.g. pages >> impressum, >>> disclaimer) was not visible. >>> I could replicate this even on my iPhone and modified my website. After >>> this modification i am able to see all text on all pages with an iPhone >> and >>> a Samsung S9. >>> >>> Unfortunately my customer still experience the problem. >>> >>> I would be very grateful if someone with an Android phone could test my >>> site at https://instamaker.dermattes.de < >> https://instamaker.dermattes.de/ > >>> and would tell me, if all text was displayed or not. >>> >>> The last words of page impressum should be '32312 L?bbecke' and the last >>> words of page disclaimer should be 'means of spam mail'. >>> >>> Regards >>> >>> Matthias >>> >>> . >>> >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >>> https://instamaker.dermattes.de > >>> https://winsignhelper.dermattes.de > >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From rdimola at evergreeninfo.net Fri Jun 14 12:29:09 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 14 Jun 2019 12:29:09 -0400 Subject: PlayStore and Tablets In-Reply-To: <6E1AA628-E269-47CD-81AC-B75427C215AB@m-r-d.de> References: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> <16b53c32b60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6E1AA628-E269-47CD-81AC-B75427C215AB@m-r-d.de> Message-ID: <003201d522ce$4e0e3920$ea2aab60$@net> When I access the page of my app in Google Play using a tablet I get the following message: "This app may not be optimized for your device" in red. My app resizes to use all of a tablet's real-estate. I uploaded tablet screenshots and use an icon of "xxxhdpi" size. Does anyone know how to solve this? Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From jacque at hyperactivesw.com Fri Jun 14 13:08:47 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jun 2019 12:08:47 -0500 Subject: PlayStore and Tablets In-Reply-To: <003201d522ce$4e0e3920$ea2aab60$@net> References: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> <16b53c32b60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6E1AA628-E269-47CD-81AC-B75427C215AB@m-r-d.de> <003201d522ce$4e0e3920$ea2aab60$@net> Message-ID: <16b56f68d18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I see that on almost every app I download on my tablet. It started right around the time Google started requiring the target version to be 26 so I assumed it had to do with that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 14, 2019 11:30:06 AM Ralph DiMola via use-livecode wrote: > When I access the page of my app in Google Play using a tablet I get the > following message: "This app may not be optimized for your device" in red. > My app resizes to use all of a tablet's real-estate. I uploaded tablet > screenshots and use an icon of "xxxhdpi" size. > > Does anyone know how to solve this? > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Fri Jun 14 13:16:29 2019 From: jjs at krutt.org (JJS) Date: Fri, 14 Jun 2019 19:16:29 +0200 Subject: Android - Different Builds In-Reply-To: <8df36f1555882340c2979be0577fd415@livecode.com> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> <8df36f1555882340c2979be0577fd415@livecode.com> Message-ID: <8eb42d32-fd04-8bf6-2003-f067213438cf@krutt.org> Yes i believe it works so too as Mark says. @BR make sure that for your next release, that when now your highest versioncode is 15 for x86-64 the armv7a starts with 16 that's why i showed you the sequence as example. you need to increase the versioncodes but with the lowest versioncode for the lowest architecture, i did it too and had no problem so like this for your sequence if your highest used VC is 15 then: Build??? ??? ??? ??? ??? VC arm v7a??? ??? ??? ??? 16 ---->next time --->20---->next time--->24 arm64??? ??? ??? ??? ??? 17---->next time--->21--->next time--->25 X86??? ??? ??? ??? ??? ??? 18--->next time--->22--->next time--->26 x86-64??? ??? ??? ??? ? 19--->next time--->23--->next time--->27 and so on, you see the 64 builds need to be higher vc then the 32bits Op 14-6-2019 om 10:33 schreef Mark Waddingham via use-livecode: > On 2019-06-14 00:41, Sannyasin Brahmanathaswami via use-livecode wrote: >> Aloha Jerry, I think I have done it correctly >> >> 1) >> ????I have the four builds in one release >> 2) >> Native platforms --????? armeabi-v7a???? - version code 14 >> Native platforms --???? x86_64???????? - version code 9 >> Native platforms --? x86?????????????? - version code 8 >> Native platforms --???? arm64-v8a???? - version code 7 >> >> I still get ERROR >> ============= >> 1 message for APK 7 >> Fully shadowed APK >> >> Problem: >> This APK will not be served to any users because it is completely > > I wonder if the reason this didn't work is because you have the > version code > for armv7 > that for arm64... > > I suspect the play store will choose the highest version coded APK > that will > run on the target device. As ARMv7 APKs will run on devices which can > run ARM64, > it will choose the ARMv7 in preference (as it is version code 14, > which is greater > than 7) and thus 'completely shadow' the ARM64 APK. > > Upshot: probably best to make sure ARM64 APKs have higher version code > than > ARM7 ones (the same is true of x86-64 and x86 - but in that case > you've already > got version-code-of(x86-64) > version-code-of(x86) which is why you > aren't getting > a shadowed error for those) > > Warmest Regards, > > Mark. > From rdimola at evergreeninfo.net Fri Jun 14 14:13:03 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 14 Jun 2019 14:13:03 -0400 Subject: PlayStore and Tablets In-Reply-To: <16b56f68d18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> <16b53c32b60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6E1AA628-E269-47CD-81AC-B75427C215AB@m-r-d.de> <003201d522ce$4e0e3920$ea2aab60$@net> <16b56f68d18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <003601d522dc$d18547e0$748fd7a0$@net> J, Thanks. I'm going to start digging on this... My Customer can't have this. 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: Friday, June 14, 2019 1:09 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: PlayStore and Tablets I see that on almost every app I download on my tablet. It started right around the time Google started requiring the target version to be 26 so I assumed it had to do with that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 14, 2019 11:30:06 AM Ralph DiMola via use-livecode wrote: > When I access the page of my app in Google Play using a tablet I get > the following message: "This app may not be optimized for your device" in red. > My app resizes to use all of a tablet's real-estate. I uploaded tablet > screenshots and use an icon of "xxxhdpi" size. > > Does anyone know how to solve this? > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Jun 14 15:17:33 2019 From: dochawk at gmail.com (doc hawk) Date: Fri, 14 Jun 2019 12:17:33 -0700 Subject: one computer, but not other, cannot use breakpoints of any type under 9.5.0_dp1 In-Reply-To: References: Message-ID: On Tue, Jun 11, 2019 at 1:13 PM JJS via use-livecode < use-livecode at lists.runrev.com> wrote: > try delete your preferences file and restart LC. > > Thanks. I ultimately did this this morning, but it always seems to take weeks to get things back like aI had them I tried copying the file from the other computer, but it ignored it . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Jun 14 15:22:15 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 14 Jun 2019 12:22:15 -0700 Subject: math on widths doesn't add up Message-ID: <2499E766-A05D-4E58-8357-FED3DC82F2CC@gmail.com> Playing around with a couple of things needing alignment, I?ve noticed that the math on widths and edges isn?t quite right. For example, I have a boundary rect of width 12, with a left of 0 and a right of 12. One of these is wrong . . . a width of 12 would go from 0 to 11; 0 to 12 is 13 pixels wide . . . It seems that ?right? actually means, ?the pixel to the right of? . . . ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From hh at hyperhh.de Fri Jun 14 15:55:55 2019 From: hh at hyperhh.de (hh) Date: Fri, 14 Jun 2019 21:55:55 +0200 Subject: math on widths doesn't add up Message-ID: <46155474-7147-4D3C-B36D-EE9EAE10DAE2@hyperhh.de> Nothing is wrong: If you have a row then left is the integer left of first pixel and right is the integer right of last pixel. So left and right are the integers that limit the object, NOT pixel numbers. As to your example: pixel 1 ranges from 0 to 1, ... pixel 12 ranges from 11 to 12. The left is 0, the right is 12, the width is 12=right-left. > Richard H. wrote: > Playing around with a couple of things needing alignment, I?ve noticed that the math on widths and edges isn?t quite right. > For example, I have a boundary rect of width 12, with a left of 0 and a right of 12. > One of these is wrong . . . a width of 12 would go from 0 to 11; 0 to 12 is 13 pixels wide . . . > It seems that ?right? actually means, ?the pixel to the right of? . . . From dsc at swcp.com Fri Jun 14 16:21:26 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 14 Jun 2019 14:21:26 -0600 Subject: math on widths doesn't add up In-Reply-To: <46155474-7147-4D3C-B36D-EE9EAE10DAE2@hyperhh.de> References: <46155474-7147-4D3C-B36D-EE9EAE10DAE2@hyperhh.de> Message-ID: <92F28463-C2D7-488C-B564-5FDD75AFBE84@swcp.com> I like this interpretation. I don't think it is a popular view, but it makes sense to me. I would change the range wording, though, to something like this: Pixel 0 ranges from 0 to 1. For example, the rect of a card has zeros. Maybe it depends on whether one wants to draw pixels on the intersections of the lines on the graph paper, or in between. > On Jun 14, 2019, at 1:55 PM, hh via use-livecode wrote: > > Nothing is wrong: > If you have a row then left is the integer left of first pixel > and right is the integer right of last pixel. > > So left and right are the integers that limit the object, NOT pixel numbers. > > As to your example: > pixel 1 ranges from 0 to 1, ... pixel 12 ranges from 11 to 12. > The left is 0, the right is 12, the width is 12=right-left. > >> Richard H. wrote: >> Playing around with a couple of things needing alignment, I?ve noticed that the math on widths and edges isn?t quite right. >> For example, I have a boundary rect of width 12, with a left of 0 and a right of 12. >> One of these is wrong . . . a width of 12 would go from 0 to 11; 0 to 12 is 13 pixels wide . . . >> It seems that ?right? actually means, ?the pixel to the right of? . . . > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hyperhh.de Fri Jun 14 17:04:28 2019 From: hh at hyperhh.de (hh) Date: Fri, 14 Jun 2019 23:04:28 +0200 Subject: math on widths doesn't add up Message-ID: This is interestingly the same problem that made a lot of people believe two thousand years were full at the end of 1999/ beginning of 2000. Two thousand years were full at the END of 2000/ beginning of 2001: Full year 1 has the left 0, the right 1 and the width = right-left = 1 year, ..., full years 1 to 2000 have the left 0, the right 2000 and the width = right-left = 2000 years. > Dar S. wrote: > I like this interpretation. I don't think it is a popular view, but it makes sense to me. > I would change the range wording, though, to something like this: > Pixel 0 ranges from 0 to 1. > For example, the rect of a card has zeros. > Maybe it depends on whether one wants to draw pixels on the intersections of the lines > on the graph paper, or in between. No, this is math, not an interpretation. If you agree that counting pixels is one-based then there is no pixel 0. Rect (0,0,0,0) has left 0, right 0, top 0, bottom 0, width 0 and height 0, contains 0 pixels. In fact it is degenerated to the point (0,0). Rect (0,0,1,1) is one pixel, the first pixel on your coordinate system. It has left 0, right 1, top 0, bottom 1 and width 1, height 1. The width of a rect is the number of its pixel columns, the height of a rect is the number of its pixel rows, width*height of a rect is the number of its enclosed pixels. If you wisth to count zero-based the you have to redefine width and height. From hh at hyperhh.de Fri Jun 14 17:54:41 2019 From: hh at hyperhh.de (hh) Date: Fri, 14 Jun 2019 23:54:41 +0200 Subject: math on widths doesn't add up Message-ID: @Dar. Probably you wish with your post avoid the confusion between = a math-point (x,y) which has no dimension, so cannot be drawn and = a LC-point (x,y) which is (with a linewidth of 1) in fact a shorthand for the rect (x,y,x+1,y+1)= 1 pixel, which can be drawn. So the LC-point (x,y) is (with a linewidth of 1) the pixel in column x+1 and row y+1 of your screen/ coordinate system which has the rect (x,y,x+1,y+1). Rows and Columns count here one-based, so for example (with a linewidth of 1) LC-Point (0,0) = rect (0,0,1,1) = pixel 1 of your coordinate system. From dsc at swcp.com Fri Jun 14 18:03:21 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 14 Jun 2019 16:03:21 -0600 Subject: math on widths doesn't add up In-Reply-To: References: Message-ID: When we apply math, we must map what we see to our mathematical models. What we see is LiveCode. The application of math is thus an interpretation. (The interpretation of calendar year or how-old-are-you might not apply.) I do agree with you, except for the part that one has to redefine width and height. A delta does not depend on the offset. If I create a line from 0,0 to 100,0; I get a line visible on the card, not a line just off the card. The LiveCode line is between the coordinates we are talking about, that is, a half pixel moved in from those, creating pixel coordinates off from what we are saying. I can get the same thing with a rectangle of rect 0, 0, 101, 1. Well, if the border width is zero and the fill color is set. This uses the coordinates we are talking about. The rectangle is filled. The one-pixel width of the line causes it to fill that space. If there is a 1-pixel square as a brush and it went from 0.5 to 100.5, it would sweep out the same space as the rectangle However, others might have a view, an interpretation, that also works. > On Jun 14, 2019, at 3:04 PM, hh via use-livecode wrote: > > This is interestingly the same problem that made a lot of people believe > two thousand years were full at the end of 1999/ beginning of 2000. > Two thousand years were full at the END of 2000/ beginning of 2001: > > Full year 1 has the left 0, the right 1 and the width = right-left = 1 year, ..., > full years 1 to 2000 have the left 0, the right 2000 and the width = right-left = 2000 years. > >> Dar S. wrote: >> I like this interpretation. I don't think it is a popular view, but it makes sense to me. >> I would change the range wording, though, to something like this: >> Pixel 0 ranges from 0 to 1. >> For example, the rect of a card has zeros. >> Maybe it depends on whether one wants to draw pixels on the intersections of the lines >> on the graph paper, or in between. > > No, this is math, not an interpretation. If you agree that counting pixels is one-based > then there is no pixel 0. > > Rect (0,0,0,0) has left 0, right 0, top 0, bottom 0, width 0 and height 0, contains 0 pixels. > In fact it is degenerated to the point (0,0). > > Rect (0,0,1,1) is one pixel, the first pixel on your coordinate system. > It has left 0, right 1, top 0, bottom 1 and width 1, height 1. > > The width of a rect is the number of its pixel columns, > the height of a rect is the number of its pixel rows, > width*height of a rect is the number of its enclosed pixels. > > If you wisth to count zero-based the you have to redefine width and height. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Fri Jun 14 18:09:47 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 14 Jun 2019 16:09:47 -0600 Subject: math on widths doesn't add up In-Reply-To: References: Message-ID: I tried to avoid the confusion by using the word pixel. I goofed somewhere. I don't understand why you say "pixel 1". Other that that, I think we are saying the same thing. > On Jun 14, 2019, at 3:54 PM, hh via use-livecode wrote: > > @Dar. > > Probably you wish with your post avoid the confusion between > > = a math-point (x,y) which has no dimension, so cannot be drawn and > > = a LC-point (x,y) which is (with a linewidth of 1) in fact a > shorthand for the rect (x,y,x+1,y+1)= 1 pixel, which can be drawn. > > So the LC-point (x,y) is (with a linewidth of 1) the pixel in column x+1 > and row y+1 of your screen/ coordinate system which has the rect (x,y,x+1,y+1). > > Rows and Columns count here one-based, so for example (with a linewidth of 1) > LC-Point (0,0) = rect (0,0,1,1) = pixel 1 of your coordinate system. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Fri Jun 14 18:13:20 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 14 Jun 2019 16:13:20 -0600 Subject: math on widths doesn't add up In-Reply-To: References: Message-ID: <30A04779-EF5C-4D0D-AD31-F38A56027CE9@swcp.com> When we apply math, we must map what we see to our mathematical models. What we see is LiveCode. The application of math is thus an interpretation. (The interpretation of calendar year or how-old-are-you might not apply.) I do agree with you, except for the part that one has to redefine width and height. A delta does not depend on the offset. If I create a line from 0,0 to 100,0; I get a line visible on the card, not a line just off the card. The LiveCode line is between the coordinates we are talking about, that is, a half pixel moved in from those, creating pixel coordinates off from what we are saying. I can get the same thing with a rectangle of rect 0, 0, 101, 1. Well, if the border width is zero and the fill color is set. This uses the coordinates we are talking about. The rectangle is filled. The one-pixel width of the line causes it to fill that space. If there is a 1-pixel square as a brush and it went from 0.5 to 100.5, it would sweep out the same space as the rectangle However, others might have a view, an interpretation, that also works. > On Jun 14, 2019, at 3:04 PM, hh via use-livecode wrote: > > This is interestingly the same problem that made a lot of people believe > two thousand years were full at the end of 1999/ beginning of 2000. > Two thousand years were full at the END of 2000/ beginning of 2001: > > Full year 1 has the left 0, the right 1 and the width = right-left = 1 year, ..., > full years 1 to 2000 have the left 0, the right 2000 and the width = right-left = 2000 years. > >> Dar S. wrote: >> I like this interpretation. I don't think it is a popular view, but it makes sense to me. >> I would change the range wording, though, to something like this: >> Pixel 0 ranges from 0 to 1. >> For example, the rect of a card has zeros. >> Maybe it depends on whether one wants to draw pixels on the intersections of the lines >> on the graph paper, or in between. > > No, this is math, not an interpretation. If you agree that counting pixels is one-based > then there is no pixel 0. > > Rect (0,0,0,0) has left 0, right 0, top 0, bottom 0, width 0 and height 0, contains 0 pixels. > In fact it is degenerated to the point (0,0). > > Rect (0,0,1,1) is one pixel, the first pixel on your coordinate system. > It has left 0, right 1, top 0, bottom 1 and width 1, height 1. > > The width of a rect is the number of its pixel columns, > the height of a rect is the number of its pixel rows, > width*height of a rect is the number of its enclosed pixels. > > If you wisth to count zero-based the you have to redefine width and height. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Fri Jun 14 18:26:51 2019 From: dsc at swcp.com (dsc at swcp.com) Date: Fri, 14 Jun 2019 16:26:51 -0600 Subject: math on widths doesn't add up In-Reply-To: <30A04779-EF5C-4D0D-AD31-F38A56027CE9@swcp.com> References: <30A04779-EF5C-4D0D-AD31-F38A56027CE9@swcp.com> Message-ID: <5F1325AA-4FC8-4DA3-BD2C-01F0A6FF1BCB@swcp.com> For some reason the message below was delayed a while and thus is out of order. Looking back, I see hh has been mentioning things like first pixel and counting pixels. This might be where there is confusion. I was referring to pixels by the LiveCode reference. > On Jun 14, 2019, at 4:13 PM, Dar Scott Consulting via use-livecode wrote: > > When we apply math, we must map what we see to our mathematical models. What we see is LiveCode. The application of math is thus an interpretation. (The interpretation of calendar year or how-old-are-you might not apply.) > > I do agree with you, except for the part that one has to redefine width and height. A delta does not depend on the offset. > > If I create a line from 0,0 to 100,0; I get a line visible on the card, not a line just off the card. The LiveCode line is between the coordinates we are talking about, that is, a half pixel moved in from those, creating pixel coordinates off from what we are saying. > > I can get the same thing with a rectangle of rect 0, 0, 101, 1. Well, if the border width is zero and the fill color is set. This uses the coordinates we are talking about. The rectangle is filled. > > The one-pixel width of the line causes it to fill that space. If there is a 1-pixel square as a brush and it went from 0.5 to 100.5, it would sweep out the same space as the rectangle > > However, others might have a view, an interpretation, that also works. > > > >> On Jun 14, 2019, at 3:04 PM, hh via use-livecode wrote: >> >> This is interestingly the same problem that made a lot of people believe >> two thousand years were full at the end of 1999/ beginning of 2000. >> Two thousand years were full at the END of 2000/ beginning of 2001: >> >> Full year 1 has the left 0, the right 1 and the width = right-left = 1 year, ..., >> full years 1 to 2000 have the left 0, the right 2000 and the width = right-left = 2000 years. >> >>> Dar S. wrote: >>> I like this interpretation. I don't think it is a popular view, but it makes sense to me. >>> I would change the range wording, though, to something like this: >>> Pixel 0 ranges from 0 to 1. >>> For example, the rect of a card has zeros. >>> Maybe it depends on whether one wants to draw pixels on the intersections of the lines >>> on the graph paper, or in between. >> >> No, this is math, not an interpretation. If you agree that counting pixels is one-based >> then there is no pixel 0. >> >> Rect (0,0,0,0) has left 0, right 0, top 0, bottom 0, width 0 and height 0, contains 0 pixels. >> In fact it is degenerated to the point (0,0). >> >> Rect (0,0,1,1) is one pixel, the first pixel on your coordinate system. >> It has left 0, right 1, top 0, bottom 1 and width 1, height 1. >> >> The width of a rect is the number of its pixel columns, >> the height of a rect is the number of its pixel rows, >> width*height of a rect is the number of its enclosed pixels. >> >> If you wisth to count zero-based the you have to redefine width and height. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Fri Jun 14 19:01:20 2019 From: hh at hyperhh.de (hh) Date: Sat, 15 Jun 2019 01:01:20 +0200 Subject: math on widths doesn't add up Message-ID: @Dar. Could we agree that in LC Script we cannot draw subpixels? (I would like to...) And yes, you are right with the invariance of width and height. The number of pixels isn't dependent of how I enumerate them. Sorry. > I don't understand why you say "pixel 1". OK. I should say pixel 1 (one-based counting). Zero-based counting certainly has also some advantages. From dsc at swcp.com Fri Jun 14 19:11:56 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 14 Jun 2019 17:11:56 -0600 Subject: math on widths doesn't add up In-Reply-To: References: Message-ID: <11134359-A50E-4F75-9B10-3AC5C5794DE6@swcp.com> Sure, I'll agree (SVG notwithstanding). > On Jun 14, 2019, at 5:01 PM, hh via use-livecode wrote: > > @Dar. > Could we agree that in LC Script we cannot draw subpixels? (I would like to...) > > And yes, you are right with the invariance of width and height. The number of pixels > isn't dependent of how I enumerate them. Sorry. > >> I don't understand why you say "pixel 1". > > OK. I should say pixel 1 (one-based counting). > Zero-based counting certainly has also some advantages. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Jun 14 20:30:36 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 14 Jun 2019 20:30:36 -0400 Subject: math on widths doesn't add up In-Reply-To: References: Message-ID: <004801d52311$8feb5b00$afc21100$@net> You don't need sub-pixels per say but you need to know they exist. I found that out real quick when writing the color gradient math for CGI. If I did not use center pixel coordinates the gradients were "jaggy" so to speak. 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 hh via use-livecode Sent: Friday, June 14, 2019 7:01 PM To: use-livecode at lists.runrev.com Cc: hh Subject: Re: math on widths doesn't add up @Dar. Could we agree that in LC Script we cannot draw subpixels? (I would like to...) And yes, you are right with the invariance of width and height. The number of pixels isn't dependent of how I enumerate them. Sorry. > I don't understand why you say "pixel 1". OK. I should say pixel 1 (one-based counting). Zero-based counting certainly has also some advantages. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Jun 14 22:22:30 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 15 Jun 2019 02:22:30 +0000 Subject: Android - Different Builds In-Reply-To: <8eb42d32-fd04-8bf6-2003-f067213438cf@krutt.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> <8df36f1555882340c2979be0577fd415@livecode.com> <8eb42d32-fd04-8bf6-2003-f067213438cf@krutt.org> Message-ID: <13D02E21-EFC7-40AE-AC21-0E8C914BDDF6@hindu.org> Got it, it works... Jerry __ thanks for the chart! "Boy!" this needs to be documented somewhere... BR ?Jerry wrote So like this for your sequence if your highest used VC is 15 then: Build VC arm v7a 16 ---->next time --->20---->next time--->24 arm64 17---->next time--->21--->next time--->25 X86 18--->next time--->22--->next time--->26 x86-64 19--->next time--->23--->next time--->27 and so on, you see the 64 builds need to be higher vc then the 32bits Mark (W) wrote: > I wonder if the reason this didn't work is because you have the > version code > for armv7 > that for arm64... > > I suspect the play store will choose the highest version coded APK > that will > run on the target device. As ARMv7 APKs will run on devices which can > run ARM64, > it will choose the ARMv7 in preference (as it is version code 14, > which is greater > than 7) and thus 'completely shadow' the ARM64 APK. > > Upshot: probably best to make sure ARM64 APKs have higher version code > than > ARM7 ones (the same is true of x86-64 and x86 - but in that case > you've already > got version-code-of(x86-64) > version-code-of(x86) which is why you > aren't getting > a shadowed error for those) > > Warmest Regards, > > Mark. > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jun 14 22:54:29 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jun 2019 21:54:29 -0500 Subject: Android - Different Builds In-Reply-To: <13D02E21-EFC7-40AE-AC21-0E8C914BDDF6@hindu.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> <8df36f1555882340c2979be0577fd415@livecode.com> <8eb42d32-fd04-8bf6-2003-f067213438cf@krutt.org> <13D02E21-EFC7-40AE-AC21-0E8C914BDDF6@hindu.org> Message-ID: <16b590ec688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> This is good to know. But what I'd really like to see is the app bundle that the Play Store expects. I wonder if that's possible. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 14, 2019 9:24:24 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Got it, it works... > > Jerry __ thanks for the chart! > > "Boy!" this needs to be documented somewhere... > > BR > > ?Jerry wrote > So like this for your sequence if your highest used VC is 15 then: > > Build VC > arm v7a 16 ---->next time --->20---->next time--->24 > arm64 17---->next time--->21--->next time--->25 > X86 18--->next time--->22--->next time--->26 > x86-64 19--->next time--->23--->next time--->27 > > > and so on, you see the 64 builds need to be higher vc then the 32bits > > > Mark (W) wrote: > > > I wonder if the reason this didn't work is because you have the > > version code > > for armv7 > that for arm64... > > > > I suspect the play store will choose the highest version coded APK > > that will > > run on the target device. As ARMv7 APKs will run on devices which can > > run ARM64, > > it will choose the ARMv7 in preference (as it is version code 14, > > which is greater > > than 7) and thus 'completely shadow' the ARM64 APK. > > > > Upshot: probably best to make sure ARM64 APKs have higher version code > > than > > ARM7 ones (the same is true of x86-64 and x86 - but in that case > > you've already > > got version-code-of(x86-64) > version-code-of(x86) which is why you > > aren't getting > > a shadowed error for those) > > > > Warmest Regards, > > > > Mark. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 14 22:56:46 2019 From: brian at milby7.com (Brian Milby) Date: Fri, 14 Jun 2019 22:56:46 -0400 Subject: Android - Different Builds In-Reply-To: <16b590ec688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> <8df36f1555882340c2979be0577fd415@livecode.com> <8eb42d32-fd04-8bf6-2003-f067213438cf@krutt.org> <13D02E21-EFC7-40AE-AC21-0E8C914BDDF6@hindu.org> <16b590ec688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: From reading a little about it, I?m not sure why not. ?Everything besides the engine/splash stack would go in the common bundle (not the right name) and then each engine would have its own slice. ?The store would combine the two pieces into the apk for delivery. ?We would still need to produce the apk for testing though (it looks like there is a way to pull an apk out of the bundle too). How to do this is beyond me though.... Thanks, Brian On Jun 14, 2019, 10:55 PM -0400, J. Landman Gay via use-livecode , wrote: > This is good to know. But what I'd really like to see is the app bundle > that the Play Store expects. I wonder if that's possible. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 14, 2019 9:24:24 PM Sannyasin Brahmanathaswami via use-livecode > wrote: > > > Got it, it works... > > > > Jerry __ thanks for the chart! > > > > "Boy!" this needs to be documented somewhere... > > > > BR > > > > ?Jerry wrote > > So like this for your sequence if your highest used VC is 15 then: > > > > Build VC > > arm v7a 16 ---->next time --->20---->next time--->24 > > arm64 17---->next time--->21--->next time--->25 > > X86 18--->next time--->22--->next time--->26 > > x86-64 19--->next time--->23--->next time--->27 > > > > > > and so on, you see the 64 builds need to be higher vc then the 32bits > > > > > > Mark (W) wrote: > > > > > I wonder if the reason this didn't work is because you have the > > > version code > > > for armv7 > that for arm64... > > > > > > I suspect the play store will choose the highest version coded APK > > > that will > > > run on the target device. As ARMv7 APKs will run on devices which can > > > run ARM64, > > > it will choose the ARMv7 in preference (as it is version code 14, > > > which is greater > > > than 7) and thus 'completely shadow' the ARM64 APK. > > > > > > Upshot: probably best to make sure ARM64 APKs have higher version code > > > than > > > ARM7 ones (the same is true of x86-64 and x86 - but in that case > > > you've already > > > got version-code-of(x86-64) > version-code-of(x86) which is why you > > > aren't getting > > > a shadowed error for those) > > > > > > Warmest Regards, > > > > > > Mark. > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jun 14 23:51:37 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jun 2019 22:51:37 -0500 Subject: Android - Different Builds In-Reply-To: References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> <8df36f1555882340c2979be0577fd415@livecode.com> <8eb42d32-fd04-8bf6-2003-f067213438cf@krutt.org> <13D02E21-EFC7-40AE-AC21-0E8C914BDDF6@hindu.org> <16b590ec688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <16b59431140.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> For testing we could just do what we do now, since you can distribute to testers privately. I think we'd only need the bundle when submitting to the Play Store. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 14, 2019 10:01:40 PM Brian Milby via use-livecode wrote: > From reading a little about it, I?m not sure why not. Everything besides > the engine/splash stack would go in the common bundle (not the right name) > and then each engine would have its own slice. The store would combine the > two pieces into the apk for delivery. We would still need to produce the > apk for testing though (it looks like there is a way to pull an apk out of > the bundle too). > > How to do this is beyond me though.... > > Thanks, > Brian > On Jun 14, 2019, 10:55 PM -0400, J. Landman Gay via use-livecode > , wrote: >> This is good to know. But what I'd really like to see is the app bundle >> that the Play Store expects. I wonder if that's possible. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On June 14, 2019 9:24:24 PM Sannyasin Brahmanathaswami via use-livecode >> wrote: >> >> > Got it, it works... >> > >> > Jerry __ thanks for the chart! >> > >> > "Boy!" this needs to be documented somewhere... >> > >> > BR >> > >> > ?Jerry wrote >> > So like this for your sequence if your highest used VC is 15 then: >> > >> > Build VC >> > arm v7a 16 ---->next time --->20---->next time--->24 >> > arm64 17---->next time--->21--->next time--->25 >> > X86 18--->next time--->22--->next time--->26 >> > x86-64 19--->next time--->23--->next time--->27 >> > >> > >> > and so on, you see the 64 builds need to be higher vc then the 32bits >> > >> > >> > Mark (W) wrote: >> > >> > > I wonder if the reason this didn't work is because you have the >> > > version code >> > > for armv7 > that for arm64... >> > > >> > > I suspect the play store will choose the highest version coded APK >> > > that will >> > > run on the target device. As ARMv7 APKs will run on devices which can >> > > run ARM64, >> > > it will choose the ARMv7 in preference (as it is version code 14, >> > > which is greater >> > > than 7) and thus 'completely shadow' the ARM64 APK. >> > > >> > > Upshot: probably best to make sure ARM64 APKs have higher version code >> > > than >> > > ARM7 ones (the same is true of x86-64 and x86 - but in that case >> > > you've already >> > > got version-code-of(x86-64) > version-code-of(x86) which is why you >> > > aren't getting >> > > a shadowed error for those) >> > > >> > > Warmest Regards, >> > > >> > > Mark. >> > > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sat Jun 15 01:35:45 2019 From: jjs at krutt.org (JJS) Date: Sat, 15 Jun 2019 07:35:45 +0200 Subject: Android - Different Builds In-Reply-To: <16b59431140.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> <8df36f1555882340c2979be0577fd415@livecode.com> <8eb42d32-fd04-8bf6-2003-f067213438cf@krutt.org> <13D02E21-EFC7-40AE-AC21-0E8C914BDDF6@hindu.org> <16b590ec688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16b59431140.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: you can choose yourself. You can submit a bundle (1 big apk) with different builds, or you can upload different builds per release i have opted out on Google's signing, because i don't what happens if you use their app shrinking method Op 15-6-2019 om 05:51 schreef J. Landman Gay via use-livecode: > For testing we could just do what we do now, since you can distribute > to testers privately. I think we'd only need the bundle when > submitting to the Play Store. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 14, 2019 10:01:40 PM Brian Milby via use-livecode > wrote: > >> From reading a little about it, I?m not sure why not.? Everything >> besides the engine/splash stack would go in the common bundle (not >> the right name) and then each engine would have its own slice.? The >> store would combine the two pieces into the apk for delivery.? We >> would still need to produce the apk for testing though (it looks like >> there is a way to pull an apk out of the bundle too). >> >> How to do this is beyond me though.... >> >> Thanks, >> Brian >> On Jun 14, 2019, 10:55 PM -0400, J. Landman Gay via use-livecode >> , wrote: >>> This is good to know. But what I'd really like to see is the app bundle >>> that the Play Store expects. I wonder if that's possible. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On June 14, 2019 9:24:24 PM Sannyasin Brahmanathaswami via use-livecode >>> wrote: >>> >>> > Got it, it works... >>> > >>> > Jerry __ thanks for the chart! >>> > >>> > "Boy!" this needs to be documented somewhere... >>> > >>> > BR >>> > >>> > ?Jerry wrote >>> > So like this for your sequence if your highest used VC is 15 then: >>> > >>> > Build VC >>> > arm v7a 16 ---->next time --->20---->next time--->24 >>> > arm64 17---->next time--->21--->next time--->25 >>> > X86 18--->next time--->22--->next time--->26 >>> > x86-64 19--->next time--->23--->next time--->27 >>> > >>> > >>> > and so on, you see the 64 builds need to be higher vc then the 32bits >>> > >>> > >>> > Mark (W) wrote: >>> > >>> > > I wonder if the reason this didn't work is because you have the >>> > > version code >>> > > for armv7 > that for arm64... >>> > > >>> > > I suspect the play store will choose the highest version coded APK >>> > > that will >>> > > run on the target device. As ARMv7 APKs will run on devices >>> which can >>> > > run ARM64, >>> > > it will choose the ARMv7 in preference (as it is version code 14, >>> > > which is greater >>> > > than 7) and thus 'completely shadow' the ARM64 APK. >>> > > >>> > > Upshot: probably best to make sure ARM64 APKs have higher >>> version code >>> > > than >>> > > ARM7 ones (the same is true of x86-64 and x86 - but in that case >>> > > you've already >>> > > got version-code-of(x86-64) > version-code-of(x86) which is why you >>> > > aren't getting >>> > > a shadowed error for those) >>> > > >>> > > Warmest Regards, >>> > > >>> > > Mark. >>> > > >>> > >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode at lists.runrev.com >>> > Please visit this url to subscribe, unsubscribe and manage your >>> > subscription preferences: >>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode at lists.runrev.com >>> > Please visit this url to subscribe, unsubscribe and manage your >>> > subscription preferences: >>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Jun 15 03:39:38 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 15 Jun 2019 09:39:38 +0200 Subject: Is there a way to use custom icons in the navbar widget? Message-ID: <3CE35FE2-B335-41AE-9DBC-D059473A1E1A@m-r-d.de> Hi, i am currently working on a mobile app which makes use of the navbar widget. I like the ease of that widget. The only thing i am missing is that i would like to use my own icons with it, because i need other symbols than the ones provided by the widget. So is there a way to use custom icons with that widget? Regards Matthias From hh at hyperhh.de Sat Jun 15 03:53:20 2019 From: hh at hyperhh.de (hh) Date: Sat, 15 Jun 2019 09:53:20 +0200 Subject: math on widths doesn't add up Message-ID: <9A75070B-B1DF-4CD7-B970-AE69C3D64010@hyperhh.de> > Ralph D. wrote: > You don't need sub-pixels per say but you need to know they exist. > I found that out real quick when writing the color gradient math for > CGI. If I did not use center pixel coordinates the gradients were > "jaggy" so to speak. "Use center pixel coordinates" does probably mean you use the math-loc of a pixel as model? For example (always assume a linewidth of 1): LC point (0,0) = rect (0,0,1,1) = first pixel has a math-loc of (0.5,0.5). One imagines the pixel pinned up at its math-loc/center. [I use the notation "math-loc" to avoid confusion with the rounded LC-loc.] This is certainly in general a clear method for counting/ identifying pixels. For example: The rect (x1,y1,x2,y2) with x1 [Sorry, confused notation. The last part of my previous post should read:] This is certainly in general a clear method for counting/ identifying pixels. For example: The rect (x1,y1,x2,y2) with x1 I wrote: > "Use center pixel coordinates" does probably mean you use the math-loc > of a pixel as model? For example (always assume a linewidth of 1): > > LC point (0,0) = rect (0,0,1,1) = first pixel has a math-loc of (0.5,0.5). > One imagines the pixel pinned up at its math-loc/center. > [I use the notation "math-loc" to avoid confusion with the rounded LC-loc.] > > This is certainly in general a clear method for counting/ identifying > pixels. For example: > > The rect (x1,y1,x2,y2) with x1 > The topleft pixel (x1,x2,x1+1,x2+1) = LC-point (x1,x2) is > math-located at (x1+0.5,x2+0.5) and > the bottomright pixel (x1-1,y2-1,x2,y2) = LC-point (x1-1,x2-1) is > math-located at (x2-0.5,y2-0.5). > > The topleft of the first pixel is the math-point (x1,y1), > the bottomright of the last pixel is the math-point (x2,y2). From hakan at exformedia.se Sat Jun 15 06:10:03 2019 From: hakan at exformedia.se (hakan at exformedia.se) Date: Sat, 15 Jun 2019 12:10:03 +0200 Subject: Is there a way to use custom icons in the navbar widget? In-Reply-To: <3CE35FE2-B335-41AE-9DBC-D059473A1E1A@m-r-d.de> References: <3CE35FE2-B335-41AE-9DBC-D059473A1E1A@m-r-d.de> Message-ID: The is a command setCurrentIconFamliy that you can use. You first need to create an icon family by adding all your wanted icons into an array, there array needs to have a structure of Array ? ?Iconname ? ? ? ?Codepoint ? ? ? ?SVG ?iconname ? ? ? ?? I?ve always used 0 for code point and the svg should be the SVG path I do believe I have seen a stack sometime where someone had put together severalt of the common families. I can?t remember who did that though? H?kan On 15 Jun 2019, 09:39 +0200, Matthias Rebbe via use-livecode , wrote: > Hi, > > i am currently working on a mobile app which makes use of the navbar widget. I like the ease of that widget. The only thing i am missing is that i would like to use my own icons with it, because i need other symbols than the ones provided by the widget. > > So is there a way to use custom icons with that widget? > > 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 jjs at krutt.org Sat Jun 15 04:29:56 2019 From: jjs at krutt.org (JJS) Date: Sat, 15 Jun 2019 10:29:56 +0200 Subject: tsneterr:(23) Message-ID: Hi, anybode knows what this means? It's an popup message: tsneterr:(23) Failed writing body (0 !=16384) It happened on a stack which works ok on desktop, but i'm adjusting it for mobile(Android). Mainly layout. It is happening while opening a card with a browser widget where a pdf is opened. The pdf is downloaded when the card is opened. Previously it worked, and nothing changed about the code. (LC950dp1 Indy) Thanks for any insight. Jerry. From matthias_livecode_150811 at m-r-d.de Sat Jun 15 09:22:25 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 15 Jun 2019 15:22:25 +0200 Subject: tsneterr:(23) In-Reply-To: References: Message-ID: Hi, i am not sure if this helps, but tsNet returns the curl errors. So curl error 23 means "An error occurred when writing received data to a local file, or an error was returned to libcurl from a write callback." Might be that the downloaded pdf cannot stored temporarily due to missing permissions. Did you try to download an other file type, an image for example, or maybe you try to open a website instead? Just for testing. Does that error come up then also? Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 15.06.2019 um 10:29 schrieb JJS via use-livecode >: > > Hi, > > > anybode knows what this means? It's an popup message: > > tsneterr:(23) Failed writing body (0 !=16384) > > > It happened on a stack which works ok on desktop, but i'm adjusting it for mobile(Android). Mainly layout. > > It is happening while opening a card with a browser widget where a pdf is opened. The pdf is downloaded when the card is opened. > > Previously it worked, and nothing changed about the code. > > (LC950dp1 Indy) > > Thanks for any insight. > > > Jerry. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Jun 15 09:34:35 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 15 Jun 2019 15:34:35 +0200 Subject: tsneterr:(23) In-Reply-To: References: Message-ID: Is it possible, that the app uses external storage and the permission to "write to external storage" is not set in the Android settings under Standalone Application Settings in LC? Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 15.06.2019 um 15:22 schrieb Matthias Rebbe via use-livecode >: > > Hi, > i am not sure if this helps, but tsNet returns the curl errors. > So curl error 23 means > "An error occurred when writing received data to a local file, or an error was returned to libcurl from a write callback." > Might be that the downloaded pdf cannot stored temporarily due to missing permissions. > > Did you try to download an other file type, an image for example, or maybe you try to open a website instead? Just for testing. > Does that error come up then also? > > Matthias > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > > https://winsignhelper.dermattes.de > >> Am 15.06.2019 um 10:29 schrieb JJS via use-livecode >>: >> >> Hi, >> >> >> anybode knows what this means? It's an popup message: >> >> tsneterr:(23) Failed writing body (0 !=16384) >> >> >> It happened on a stack which works ok on desktop, but i'm adjusting it for mobile(Android). Mainly layout. >> >> It is happening while opening a card with a browser widget where a pdf is opened. The pdf is downloaded when the card is opened. >> >> Previously it worked, and nothing changed about the code. >> >> (LC950dp1 Indy) >> >> Thanks for any insight. >> >> >> Jerry. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Sat Jun 15 11:02:39 2019 From: brian at milby7.com (Brian Milby) Date: Sat, 15 Jun 2019 11:02:39 -0400 Subject: Is there a way to use custom icons in the navbar widget? In-Reply-To: <3CE35FE2-B335-41AE-9DBC-D059473A1E1A@m-r-d.de> References: <3CE35FE2-B335-41AE-9DBC-D059473A1E1A@m-r-d.de> Message-ID: <076662da-360d-4d70-ba07-413155237754@Spark> See the Icon SVG Library. ?You can create your own icon families for use in your apps. ?The current icon family is the one shown in the PI but you can use any available icon in the widget. Thanks, Brian On Jun 15, 2019, 3:40 AM -0400, Matthias Rebbe via use-livecode , wrote: > Hi, > > i am currently working on a mobile app which makes use of the navbar widget. I like the ease of that widget. The only thing i am missing is that i would like to use my own icons with it, because i need other symbols than the ones provided by the widget. > > So is there a way to use custom icons with that widget? > > 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 tom at makeshyft.com Sat Jun 15 11:39:06 2019 From: tom at makeshyft.com (Tom Glod) Date: Sat, 15 Jun 2019 11:39:06 -0400 Subject: Is there a way to use custom icons in the navbar widget? In-Reply-To: <076662da-360d-4d70-ba07-413155237754@Spark> References: <3CE35FE2-B335-41AE-9DBC-D059473A1E1A@m-r-d.de> <076662da-360d-4d70-ba07-413155237754@Spark> Message-ID: I ended up making my own svg nav bar because i wanted the ability to have shadows or glows on the icons, its really easy to code the distribution of icons. There was also another limitation that I can't remember. If you want more visual control, that is what i would recommend. On Sat, Jun 15, 2019 at 11:05 AM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > See the Icon SVG Library. You can create your own icon families for use > in your apps. The current icon family is the one shown in the PI but you > can use any available icon in the widget. > > Thanks, > Brian > On Jun 15, 2019, 3:40 AM -0400, Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Hi, > > > > i am currently working on a mobile app which makes use of the navbar > widget. I like the ease of that widget. The only thing i am missing is that > i would like to use my own icons with it, because i need other symbols than > the ones provided by the widget. > > > > So is there a way to use custom icons with that widget? > > > > Regards > > Matthias > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Jun 15 11:45:56 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jun 2019 10:45:56 -0500 Subject: Android - Different Builds In-Reply-To: References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> <8df36f1555882340c2979be0577fd415@livecode.com> <8eb42d32-fd04-8bf6-2003-f067213438cf@krutt.org> <13D02E21-EFC7-40AE-AC21-0E8C914BDDF6@hindu.org> <16b590ec688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16b59431140.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <16b5bd10f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Is a combined LC app the same as the bumdle the Play Store expects? I think the Play Store extracts and sends only the parts the user needs. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 15, 2019 2:37:40 AM JJS via use-livecode wrote: > you can choose yourself. > > You can submit a bundle (1 big apk) with different builds, or you can > upload different builds per release > > > i have opted out on Google's signing, because i don't what happens if > you use their app shrinking method > > > Op 15-6-2019 om 05:51 schreef J. Landman Gay via use-livecode: >> For testing we could just do what we do now, since you can distribute >> to testers privately. I think we'd only need the bundle when >> submitting to the Play Store. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On June 14, 2019 10:01:40 PM Brian Milby via use-livecode >> wrote: >> >>> From reading a little about it, I?m not sure why not. Everything >>> besides the engine/splash stack would go in the common bundle (not >>> the right name) and then each engine would have its own slice. The >>> store would combine the two pieces into the apk for delivery. We >>> would still need to produce the apk for testing though (it looks like >>> there is a way to pull an apk out of the bundle too). >>> >>> How to do this is beyond me though.... >>> >>> Thanks, >>> Brian >>> On Jun 14, 2019, 10:55 PM -0400, J. Landman Gay via use-livecode >>> , wrote: >>>> This is good to know. But what I'd really like to see is the app bundle >>>> that the Play Store expects. I wonder if that's possible. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On June 14, 2019 9:24:24 PM Sannyasin Brahmanathaswami via use-livecode >>>> wrote: >>>> >>>> > Got it, it works... >>>> > >>>> > Jerry __ thanks for the chart! >>>> > >>>> > "Boy!" this needs to be documented somewhere... >>>> > >>>> > BR >>>> > >>>> > ?Jerry wrote >>>> > So like this for your sequence if your highest used VC is 15 then: >>>> > >>>> > Build VC >>>> > arm v7a 16 ---->next time --->20---->next time--->24 >>>> > arm64 17---->next time--->21--->next time--->25 >>>> > X86 18--->next time--->22--->next time--->26 >>>> > x86-64 19--->next time--->23--->next time--->27 >>>> > >>>> > >>>> > and so on, you see the 64 builds need to be higher vc then the 32bits >>>> > >>>> > >>>> > Mark (W) wrote: >>>> > >>>> > > I wonder if the reason this didn't work is because you have the >>>> > > version code >>>> > > for armv7 > that for arm64... >>>> > > >>>> > > I suspect the play store will choose the highest version coded APK >>>> > > that will >>>> > > run on the target device. As ARMv7 APKs will run on devices >>>> which can >>>> > > run ARM64, >>>> > > it will choose the ARMv7 in preference (as it is version code 14, >>>> > > which is greater >>>> > > than 7) and thus 'completely shadow' the ARM64 APK. >>>> > > >>>> > > Upshot: probably best to make sure ARM64 APKs have higher >>>> version code >>>> > > than >>>> > > ARM7 ones (the same is true of x86-64 and x86 - but in that case >>>> > > you've already >>>> > > got version-code-of(x86-64) > version-code-of(x86) which is why you >>>> > > aren't getting >>>> > > a shadowed error for those) >>>> > > >>>> > > Warmest Regards, >>>> > > >>>> > > Mark. >>>> > > >>>> > >>>> > _______________________________________________ >>>> > use-livecode mailing list >>>> > use-livecode at lists.runrev.com >>>> > Please visit this url to subscribe, unsubscribe and manage your >>>> > subscription preferences: >>>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>>> > >>>> > _______________________________________________ >>>> > use-livecode mailing list >>>> > use-livecode at lists.runrev.com >>>> > Please visit this url to subscribe, unsubscribe and manage your >>>> > subscription preferences: >>>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sat Jun 15 09:55:02 2019 From: jjs at krutt.org (JJS) Date: Sat, 15 Jun 2019 15:55:02 +0200 Subject: Android - Different Builds In-Reply-To: <16b5bd10f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> <8df36f1555882340c2979be0577fd415@livecode.com> <8eb42d32-fd04-8bf6-2003-f067213438cf@krutt.org> <13D02E21-EFC7-40AE-AC21-0E8C914BDDF6@hindu.org> <16b590ec688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16b59431140.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16b5bd10f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <566c6cf7-3c57-02ec-646d-1674efdf2a24@krutt.org> That's a good question and to which i have no answer. Op 15-6-2019 om 17:45 schreef J. Landman Gay via use-livecode: > Is a combined LC app the same as the bumdle the Play Store expects? I > think the Play Store extracts and sends only the parts the user needs. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 15, 2019 2:37:40 AM JJS via use-livecode > wrote: > >> you can choose yourself. >> >> You can submit a bundle (1 big apk) with different builds, or you can >> upload different builds per release >> >> >> i have opted out on Google's signing, because i don't what happens if >> you use their app shrinking method >> >> >> Op 15-6-2019 om 05:51 schreef J. Landman Gay via use-livecode: >>> For testing we could just do what we do now, since you can distribute >>> to testers privately. I think we'd only need the bundle when >>> submitting to the Play Store. >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On June 14, 2019 10:01:40 PM Brian Milby via use-livecode >>> wrote: >>> >>>> From reading a little about it, I?m not sure why not.? Everything >>>> besides the engine/splash stack would go in the common bundle (not >>>> the right name) and then each engine would have its own slice.? The >>>> store would combine the two pieces into the apk for delivery.? We >>>> would still need to produce the apk for testing though (it looks like >>>> there is a way to pull an apk out of the bundle too). >>>> >>>> How to do this is beyond me though.... >>>> >>>> Thanks, >>>> Brian >>>> On Jun 14, 2019, 10:55 PM -0400, J. Landman Gay via use-livecode >>>> , wrote: >>>>> This is good to know. But what I'd really like to see is the app >>>>> bundle >>>>> that the Play Store expects. I wonder if that's possible. >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On June 14, 2019 9:24:24 PM Sannyasin Brahmanathaswami via >>>>> use-livecode >>>>> wrote: >>>>> >>>>> > Got it, it works... >>>>> > >>>>> > Jerry __ thanks for the chart! >>>>> > >>>>> > "Boy!" this needs to be documented somewhere... >>>>> > >>>>> > BR >>>>> > >>>>> > ?Jerry wrote >>>>> > So like this for your sequence if your highest used VC is 15 then: >>>>> > >>>>> > Build VC >>>>> > arm v7a 16 ---->next time --->20---->next time--->24 >>>>> > arm64 17---->next time--->21--->next time--->25 >>>>> > X86 18--->next time--->22--->next time--->26 >>>>> > x86-64 19--->next time--->23--->next time--->27 >>>>> > >>>>> > >>>>> > and so on, you see the 64 builds need to be higher vc then the >>>>> 32bits >>>>> > >>>>> > >>>>> > Mark (W) wrote: >>>>> > >>>>> > > I wonder if the reason this didn't work is because you have the >>>>> > > version code >>>>> > > for armv7 > that for arm64... >>>>> > > >>>>> > > I suspect the play store will choose the highest version coded >>>>> APK >>>>> > > that will >>>>> > > run on the target device. As ARMv7 APKs will run on devices >>>>> which can >>>>> > > run ARM64, >>>>> > > it will choose the ARMv7 in preference (as it is version code 14, >>>>> > > which is greater >>>>> > > than 7) and thus 'completely shadow' the ARM64 APK. >>>>> > > >>>>> > > Upshot: probably best to make sure ARM64 APKs have higher >>>>> version code >>>>> > > than >>>>> > > ARM7 ones (the same is true of x86-64 and x86 - but in that case >>>>> > > you've already >>>>> > > got version-code-of(x86-64) > version-code-of(x86) which is >>>>> why you >>>>> > > aren't getting >>>>> > > a shadowed error for those) >>>>> > > >>>>> > > Warmest Regards, >>>>> > > >>>>> > > Mark. >>>>> > > >>>>> > >>>>> > _______________________________________________ >>>>> > use-livecode mailing list >>>>> > use-livecode at lists.runrev.com >>>>> > Please visit this url to subscribe, unsubscribe and manage your >>>>> > subscription preferences: >>>>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> > >>>>> > _______________________________________________ >>>>> > use-livecode mailing list >>>>> > use-livecode at lists.runrev.com >>>>> > Please visit this url to subscribe, unsubscribe and manage your >>>>> > subscription preferences: >>>>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sat Jun 15 13:03:46 2019 From: hh at hyperhh.de (hh) Date: Sat, 15 Jun 2019 19:03:46 +0200 Subject: Is there a way to use custom icons in the navbar widget? Message-ID: <75E318C1-38E1-41A9-A988-58D1FD0F2152@hyperhh.de> > Tom G. wrote: > I ended up making my own svg nav bar because i wanted the ability to have > shadows or glows on the icons, its really easy to code the distribution of > icons. There was also another limitation that I can't remember. If you > want more visual control, that is what i would recommend. Why don't you share it? There aren't much "community widgets" available ... From tom at makeshyft.com Sat Jun 15 13:41:59 2019 From: tom at makeshyft.com (Tom Glod) Date: Sat, 15 Jun 2019 13:41:59 -0400 Subject: Is there a way to use custom icons in the navbar widget? In-Reply-To: <75E318C1-38E1-41A9-A988-58D1FD0F2152@hyperhh.de> References: <75E318C1-38E1-41A9-A988-58D1FD0F2152@hyperhh.de> Message-ID: its not a widget, just a group with some code that runs on "resizestack".... I am intending on putting the whole project in github when I get to a certain point. Should be soon. But maybe I can get around to publishing this part separately first. If you or anyone really needs it urgently, pm me and i will make time. On Sat, Jun 15, 2019 at 1:04 PM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > > Tom G. wrote: > > I ended up making my own svg nav bar because i wanted the ability to have > > shadows or glows on the icons, its really easy to code the distribution > of > > icons. There was also another limitation that I can't remember. If you > > want more visual control, that is what i would recommend. > > Why don't you share it? There aren't much "community widgets" available ... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jjs at krutt.org Sat Jun 15 11:53:58 2019 From: jjs at krutt.org (JJS) Date: Sat, 15 Jun 2019 17:53:58 +0200 Subject: tsneterr:(23) In-Reply-To: References: Message-ID: <7f90b3a6-284a-fbbc-2baf-97cba213929d@krutt.org> Hi Matthias, your reply made me think and i forgot to change the folder where it should be put after download, of course this is not the same as on desktop. Ich dank ihnen! Regards, Jerry(Sphere) Op 15-6-2019 om 15:34 schreef Matthias Rebbe via use-livecode: > Is it possible, that the app uses external storage and the permission to "write to external storage" is not set in the Android settings under Standalone Application Settings in LC? > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 15.06.2019 um 15:22 schrieb Matthias Rebbe via use-livecode >: >> >> Hi, >> i am not sure if this helps, but tsNet returns the curl errors. >> So curl error 23 means >> "An error occurred when writing received data to a local file, or an error was returned to libcurl from a write callback." >> Might be that the downloaded pdf cannot stored temporarily due to missing permissions. >> >> Did you try to download an other file type, an image for example, or maybe you try to open a website instead? Just for testing. >> Does that error come up then also? >> >> Matthias >> >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de > >> https://winsignhelper.dermattes.de > >>> Am 15.06.2019 um 10:29 schrieb JJS via use-livecode >>: >>> >>> Hi, >>> >>> >>> anybode knows what this means? It's an popup message: >>> >>> tsneterr:(23) Failed writing body (0 !=16384) >>> >>> >>> It happened on a stack which works ok on desktop, but i'm adjusting it for mobile(Android). Mainly layout. >>> >>> It is happening while opening a card with a browser widget where a pdf is opened. The pdf is downloaded when the card is opened. >>> >>> Previously it worked, and nothing changed about the code. >>> >>> (LC950dp1 Indy) >>> >>> Thanks for any insight. >>> >>> >>> Jerry. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jun 15 14:20:27 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 15 Jun 2019 14:20:27 -0400 Subject: Android - Different Builds In-Reply-To: <566c6cf7-3c57-02ec-646d-1674efdf2a24@krutt.org> References: <1EB7E163-A042-4B15-86D1-49E79D990E2F@hindu.org> <289DCAEF-7DFC-4DAE-AD6C-76354661733B@hindu.org> <003e01d5216c$ab836fc0$028a4f40$@net> <6C67EC7F-0F6A-483F-BD01-72D7E9A4C884@hindu.org> <7FA61B0A-8C1C-4F45-A072-3AA687BF11A3@hindu.org> <2867fc77-7c5c-e278-adc1-f84fcb492f1b@krutt.org> <85303403-5F63-44B2-A223-080CB4CC6487@hindu.org> <8df36f1555882340c2979be0577fd415@livecode.com> <8eb42d32-fd04-8bf6-2003-f067213438cf@krutt.org> <13D02E21-EFC7-40AE-AC21-0E8C914BDDF6@hindu.org> <16b590ec688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16b59431140.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16b5bd10f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <566c6cf7-3c57-02ec-646d-1674efdf2a24@krutt.org> Message-ID: <001301d523a7$04cd4650$0e67d2f0$@net> My understanding is if there is 1 large apk then the PlayStore will download the entire apk and the device makes the choice. If you have 4 separate apks then the PlayStore will download the best apk for the device. 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 JJS via use-livecode Sent: Saturday, June 15, 2019 9:55 AM To: J. Landman Gay via use-livecode Cc: JJS Subject: Re: Android - Different Builds That's a good question and to which i have no answer. Op 15-6-2019 om 17:45 schreef J. Landman Gay via use-livecode: > Is a combined LC app the same as the bumdle the Play Store expects? I > think the Play Store extracts and sends only the parts the user needs. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > | http://www.hyperactivesw.com On June 15, 2019 2:37:40 AM JJS via > use-livecode wrote: > >> you can choose yourself. >> >> You can submit a bundle (1 big apk) with different builds, or you can >> upload different builds per release >> >> >> i have opted out on Google's signing, because i don't what happens if >> you use their app shrinking method >> >> >> Op 15-6-2019 om 05:51 schreef J. Landman Gay via use-livecode: >>> For testing we could just do what we do now, since you can >>> distribute to testers privately. I think we'd only need the bundle >>> when submitting to the Play Store. >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive >>> Software | http://www.hyperactivesw.com On June 14, 2019 10:01:40 PM >>> Brian Milby via use-livecode wrote: >>> >>>> From reading a little about it, I?m not sure why not. Everything >>>> besides the engine/splash stack would go in the common bundle (not >>>> the right name) and then each engine would have its own slice. The >>>> store would combine the two pieces into the apk for delivery. We >>>> would still need to produce the apk for testing though (it looks >>>> like there is a way to pull an apk out of the bundle too). >>>> >>>> How to do this is beyond me though.... >>>> >>>> Thanks, >>>> Brian >>>> On Jun 14, 2019, 10:55 PM -0400, J. Landman Gay via use-livecode >>>> , wrote: >>>>> This is good to know. But what I'd really like to see is the app >>>>> bundle that the Play Store expects. I wonder if that's possible. >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive >>>>> Software | http://www.hyperactivesw.com On June 14, 2019 9:24:24 >>>>> PM Sannyasin Brahmanathaswami via use-livecode >>>>> wrote: >>>>> >>>>> > Got it, it works... >>>>> > >>>>> > Jerry __ thanks for the chart! >>>>> > >>>>> > "Boy!" this needs to be documented somewhere... >>>>> > >>>>> > BR >>>>> > >>>>> > ?Jerry wrote >>>>> > So like this for your sequence if your highest used VC is 15 then: >>>>> > >>>>> > Build VC >>>>> > arm v7a 16 ---->next time --->20---->next time--->24 >>>>> > arm64 17---->next time--->21--->next time--->25 >>>>> > X86 18--->next time--->22--->next time--->26 >>>>> > x86-64 19--->next time--->23--->next time--->27 >>>>> > >>>>> > >>>>> > and so on, you see the 64 builds need to be higher vc then the >>>>> 32bits >>>>> > >>>>> > >>>>> > Mark (W) wrote: >>>>> > >>>>> > > I wonder if the reason this didn't work is because you have >>>>> > > the version code for armv7 > that for arm64... >>>>> > > >>>>> > > I suspect the play store will choose the highest version coded >>>>> APK >>>>> > > that will >>>>> > > run on the target device. As ARMv7 APKs will run on devices >>>>> which can >>>>> > > run ARM64, >>>>> > > it will choose the ARMv7 in preference (as it is version code >>>>> > > 14, which is greater than 7) and thus 'completely shadow' the >>>>> > > ARM64 APK. >>>>> > > >>>>> > > Upshot: probably best to make sure ARM64 APKs have higher >>>>> version code >>>>> > > than >>>>> > > ARM7 ones (the same is true of x86-64 and x86 - but in that >>>>> > > case you've already got version-code-of(x86-64) > >>>>> > > version-code-of(x86) which is >>>>> why you >>>>> > > aren't getting >>>>> > > a shadowed error for those) >>>>> > > >>>>> > > Warmest Regards, >>>>> > > >>>>> > > Mark. >>>>> > > >>>>> > >>>>> > _______________________________________________ >>>>> > use-livecode mailing list >>>>> > use-livecode at lists.runrev.com >>>>> > Please visit this url to subscribe, unsubscribe and manage your >>>>> > subscription preferences: >>>>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> > >>>>> > _______________________________________________ >>>>> > use-livecode mailing list >>>>> > use-livecode at lists.runrev.com >>>>> > Please visit this url to subscribe, unsubscribe and manage your >>>>> > subscription preferences: >>>>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sat Jun 15 12:26:12 2019 From: jjs at krutt.org (JJS) Date: Sat, 15 Jun 2019 18:26:12 +0200 Subject: tsneterr:(23) In-Reply-To: <7f90b3a6-284a-fbbc-2baf-97cba213929d@krutt.org> References: <7f90b3a6-284a-fbbc-2baf-97cba213929d@krutt.org> Message-ID: <48d9cb25-a435-8287-68fa-ba3cb090e2e8@krutt.org> ok the file gets downloaded, i checked. i set the url of the browser widget to the location of the pdf and i only see a white fog in the browser and then it crashes (tested on a Android 4.1.2 tablet) Op 15-6-2019 om 17:53 schreef JJS via use-livecode: > Hi Matthias, > > > your reply made me think and i forgot to change the folder where it > should be put after download, of course this is not the same as on > desktop. > > > Ich dank ihnen! > > > Regards, > > Jerry(Sphere) > > > > Op 15-6-2019 om 15:34 schreef Matthias Rebbe via use-livecode: >> Is it possible, that the app uses external storage and the permission >> to "write to external storage" is not set in the Android settings >> under? Standalone Application Settings in LC? >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de >> https://winsignhelper.dermattes.de >> >>> Am 15.06.2019 um 15:22 schrieb Matthias Rebbe via use-livecode >>> >: >>> >>> Hi, >>> i am not sure if this helps, but tsNet returns the curl errors. >>> So curl error 23 means >>> "An error occurred when writing received data to a local file, or an >>> error was returned to libcurl from a write callback." >>> Might be that the downloaded pdf cannot stored temporarily due to >>> missing permissions. >>> >>> Did you try to download an other file type, an image for example, or >>> maybe you try to open a website instead?? Just for testing. >>> Does that error come up then also? >>> >>> Matthias >>> >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >>> https://instamaker.dermattes.de >>> > >>> https://winsignhelper.dermattes.de >>> >>> >> > >>>> Am 15.06.2019 um 10:29 schrieb JJS via use-livecode >>>> >>> >>>> >>> >>: >>>> >>>> Hi, >>>> >>>> >>>> anybode knows what this means? It's an popup message: >>>> >>>> tsneterr:(23) Failed writing body (0 !=16384) >>>> >>>> >>>> It happened on a stack which works ok on desktop, but i'm adjusting >>>> it for mobile(Android). Mainly layout. >>>> >>>> It is happening while opening a card with a browser widget where a >>>> pdf is opened. The pdf is downloaded when the card is opened. >>>> >>>> Previously it worked, and nothing changed about the code. >>>> >>>> (LC950dp1 Indy) >>>> >>>> Thanks for any insight. >>>> >>>> >>>> Jerry. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> >>>> >>> > >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sat Jun 15 14:47:07 2019 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 15 Jun 2019 19:47:07 +0100 Subject: Is there a way to use custom icons in the navbar widget? In-Reply-To: <75E318C1-38E1-41A9-A988-58D1FD0F2152@hyperhh.de> References: <75E318C1-38E1-41A9-A988-58D1FD0F2152@hyperhh.de> Message-ID: <056de2b3-9aed-7f95-a6ad-7ecd097c30e8@tweedly.net> I suspect it's a group / script rather than a widget. And the facilities for sharing such things are primitive to say the least. IMHO, if Livecode made it as easy and "complete" to share scripts/groups as it is for widgets, there would be far more of them available Alex. P.S. by "complete" I mean things like ?- add them to toolbars ?- add documentation to the dictionary ?- be easily findable on a reliable distribution scheme ?- support inclusions / dependencies ?- etc. On 15/06/2019 18:03, hh via use-livecode wrote: >> Tom G. wrote: >> I ended up making my own svg nav bar because i wanted the ability to have >> shadows or glows on the icons, its really easy to code the distribution of >> icons. There was also another limitation that I can't remember. If you >> want more visual control, that is what i would recommend. > Why don't you share it? There aren't much "community widgets" available ... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Jun 15 20:44:17 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 16 Jun 2019 02:44:17 +0200 Subject: Move several fields by a mobile scroller to allow to enter text into the lower fields Message-ID: Hi, i am working on an app which also contains several cards with forms. The problem is that the lower fields are covered by the keyboard. There?s a lesson from 2012 which describes how to create a scrolling group using a native scroller. Is it still the way to go or are there other possibilities? Matthias From tom at makeshyft.com Sat Jun 15 21:29:33 2019 From: tom at makeshyft.com (Tom Glod) Date: Sat, 15 Jun 2019 21:29:33 -0400 Subject: Is your HTMLtext no looking right? ( & Debugging Question) Message-ID: I just spent a solid few hours trying to identify a bug why certain htmltext thats copied from the clipboard renders horribly wrong. Lines overlapping eachother, etc. Only to realize the textheight property would fix it right up if I set the height to be closer to the largest font in the html code. Makes total sense. How can I avoid going in the wrong direction like that? Usually I'm able to narrow things down well enough to avoid a wild goose chase. a rule of thumb ? try the simplest things first? Anyways...hope this helps someone some day Tom From jacque at hyperactivesw.com Sat Jun 15 22:01:33 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jun 2019 21:01:33 -0500 Subject: Is your HTMLtext no looking right? ( & Debugging Question) In-Reply-To: References: Message-ID: <16b5e04ac48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You could also try turning off fixedLineHeight, then things should adjust themselves automatically. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 15, 2019 8:31:26 PM Tom Glod via use-livecode wrote: > I just spent a solid few hours trying to identify a bug why certain > htmltext thats copied from the clipboard renders horribly wrong. Lines > overlapping eachother, etc. Only to realize the textheight property would > fix it right up if I set the height to be closer to the largest font in the > html code. Makes total sense. > > How can I avoid going in the wrong direction like that? Usually I'm able to > narrow things down well enough to avoid a wild goose chase. > > a rule of thumb ? try the simplest things first? > > Anyways...hope this helps someone some day > > Tom > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sat Jun 15 22:05:44 2019 From: tom at makeshyft.com (Tom Glod) Date: Sat, 15 Jun 2019 22:05:44 -0400 Subject: Is your HTMLtext no looking right? ( & Debugging Question) In-Reply-To: <16b5e04ac48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16b5e04ac48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: yes that too. thanks :) On Sat, Jun 15, 2019 at 10:02 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > You could also try turning off fixedLineHeight, then things should adjust > themselves automatically. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 15, 2019 8:31:26 PM Tom Glod via use-livecode > wrote: > > > I just spent a solid few hours trying to identify a bug why certain > > htmltext thats copied from the clipboard renders horribly wrong. Lines > > overlapping eachother, etc. Only to realize the textheight property would > > fix it right up if I set the height to be closer to the largest font in > the > > html code. Makes total sense. > > > > How can I avoid going in the wrong direction like that? Usually I'm able > to > > narrow things down well enough to avoid a wild goose chase. > > > > a rule of thumb ? try the simplest things first? > > > > Anyways...hope this helps someone some day > > > > Tom > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Jun 15 22:06:53 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jun 2019 21:06:53 -0500 Subject: Move several fields by a mobile scroller to allow to enter text into the lower fields In-Reply-To: References: Message-ID: <16b5e098e48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I usually move the group up to the top of the card on keyboardActivated and back down on keyboardDeactivated, but if you have a lot of fields or groups that can be a pain. There's a bug report /feature request to add card scrolling which would be the ideal way to fix the problem but it hasn't happened yet. It used to be that acceleratedRendering would auto-scroll the field into view but that was an unintentional bug that was fixed. Sometimes it was handy though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 15, 2019 7:46:05 PM Matthias Rebbe via use-livecode wrote: > Hi, > > i am working on an app which also contains several cards with forms. The > problem is that the lower fields are covered by the keyboard. > There?s a lesson from 2012 which describes how to create a scrolling group > using a native scroller. Is it still the way to go or are there other > possibilities? > > 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 smudge.andy at googlemail.com Sun Jun 16 03:19:49 2019 From: smudge.andy at googlemail.com (AndyP) Date: Sun, 16 Jun 2019 02:19:49 -0500 (CDT) Subject: Is there a way to use custom icons in the navbar widget? In-Reply-To: <056de2b3-9aed-7f95-a6ad-7ecd097c30e8@tweedly.net> References: <3CE35FE2-B335-41AE-9DBC-D059473A1E1A@m-r-d.de> <75E318C1-38E1-41A9-A988-58D1FD0F2152@hyperhh.de> <056de2b3-9aed-7f95-a6ad-7ecd097c30e8@tweedly.net> Message-ID: <1560669589143-0.post@n4.nabble.com> There was talk at one point of being able to link to github repositories directly from within LiveCode share. I think this was from last years online conference? This would be a great way to share code snippets ect but I have not seen any reference to this since. ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From tom at makeshyft.com Sun Jun 16 12:00:07 2019 From: tom at makeshyft.com (Tom Glod) Date: Sun, 16 Jun 2019 12:00:07 -0400 Subject: Is there a way to use custom icons in the navbar widget? In-Reply-To: <1560669589143-0.post@n4.nabble.com> References: <3CE35FE2-B335-41AE-9DBC-D059473A1E1A@m-r-d.de> <75E318C1-38E1-41A9-A988-58D1FD0F2152@hyperhh.de> <056de2b3-9aed-7f95-a6ad-7ecd097c30e8@tweedly.net> <1560669589143-0.post@n4.nabble.com> Message-ID: There was something that was in the works..an improved sharing center....but that seems to have died. no one has mentioned it in a while. On Sun, Jun 16, 2019 at 3:20 AM AndyP via use-livecode < use-livecode at lists.runrev.com> wrote: > There was talk at one point of being able to link to github repositories > directly from within LiveCode share. I think this was from last years > online > conference? This would be a great way to share code snippets ect but I have > not seen any reference to this since. > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > > TinyIDE a Free alternative minimalist IDE Plugin for LiveCode > > > Script editor Themer for LC http://2108.co.uk > > PointandSee is a FREE simple but full featured under cursor colour picker > / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jun 17 07:59:44 2019 From: roland.huettmann at gmail.com (R.H.) Date: Mon, 17 Jun 2019 13:59:44 +0200 Subject: Is there a way to use custom icons in the navbar widget? Message-ID: To me the nav-bar is pretty much useless the way it is. It is a problem with widgets in general that they often do not allow fine grained customization as long as they do not give access to all properties and other settings and di what all other controls can do. And writing myself a nav-bar with LCB? It limits rather than is expanding. Or will we all go for LCB doing everything "there"? A standard "group" with some nice SVG icons does the trick of a nav-bar easily and under full control. (By the way, what is this HTML button widget meant to do? I searched 40 minutes and still have no clue... Is this my fault to scratch my head?) I would rather like to see standard controls with the enhancement of fully matching CSS-3 specs. That would be controlling UIX on the level of today's expectations. Why do I have to mimick padding, full control of each side of rects, box models etc.? That should be available "out of the box". CSS is the guide. And the IDE mostly looks ugly. Tons of beautifully designed interfaces are competing. As a newbie, I would be distracted looking at today's LiveCode IDE. A cramped toolbar, black-white. Ugly looking controls... ... I stop here. It needs a designer. There is flat design, Windows new UIX guides, Apples UIX guides, Googles material UIX... But we still use default buttons that remind me of 10-20 years ago. I do change them. But why are there no really cool default themes packed with the product? Several modern styles of buttons? Predefinde fields with labels, It is not sooooo much work to do. "You can all do this yourself..." -- is not the answer. I do that already. But an intelligent thoughtful default design of all our controls would sell. And the stack window needs a customizable scroller, vertical and horizontal, not a group doing that. It is expected standard. For beginners, the choice is about what looks "coooool" first of all, not understanding anything behind the curtain yet. Color and form lead to a choice. They signal the level of promise, and if the promise is fulfilled, the product shines and will be promoted by users. There are millions of webdesigners, not really programmers. A huge market. Would they not like to involve LiveCode and even pay for it? They all learn HTML, CSS and ... JavaScript, or they are quickly out of business. Where is the bridge? Designing for the web in LC? Translating to JavaScript source code? (Our web HTML solution does not seem to take off and takes too much time to download and is too much limited. I could not recommend to serious customers.) So, what does LC offer to those millions? Hard-core developers will continue looking down on LC thinking of it to be a kind of toy. (It is not.) Sorry for going beyond the nav-bar. Who needs LC? I have answers, but fear that they are no longer convincing enough. With appreciation and love for LiveCode. But I am concerned. Roland From sean at pidigital.co.uk Mon Jun 17 08:06:31 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 17 Jun 2019 13:06:31 +0100 Subject: identifying macOS folders that are considered to be files? In-Reply-To: References: <83ABFD46-A880-41A3-B375-5400AE9E2843@elloco.com> <2D9BF9A3-5B6F-48F5-81A9-B57F97D75DCA@livecode.com> <00C1C103-53B0-4965-8538-803E14B3823B@elloco.com> Message-ID: https://stackoverflow.com/questions/121147/determine-if-a-directory-is-a-bundle-or-package-in-the-mac-os-x-terminal Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' eMail Ts & Cs Pi Digital Productions Ltd is a UK registered limited company, no. 5255609 On Tue, 28 May 2019 at 23:18, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Tue, May 28, 2019 at 4:31 PM kee nethery via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Wow, way more complicated than I imagined. > > > > From: > > > https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/AboutBundles/AboutBundles.html > > > The macOS API I wrapped in the extension should take all of the into > account. > > -- > Trevor DeVore > ScreenSteps > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hyperhh.de Mon Jun 17 08:46:08 2019 From: hh at hyperhh.de (hh) Date: Mon, 17 Jun 2019 14:46:08 +0200 Subject: Is there a way to use custom icons in the navbar widget? Message-ID: > Roland H. wrote: > (By the way, what is this HTML button widget meant to do? I searched 40 > minutes and still have no clue... Is this my fault to scratch my head?) It is a "HTML5 Native Button", similar to the platform related "androidbutton" or "iosbutton" widgets. Here is the source code https://github.com/livecode/livecode/tree/develop/extensions/widgets This is good to know for people who give advices relating LC to Webdesign, HTML, CSS, JavaScript ... From panos.merakos at livecode.com Mon Jun 17 09:18:07 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 17 Jun 2019 16:18:07 +0300 Subject: [ANN] This Week in LiveCode 182 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #182 here: http://bit.ly/2WTRU2s This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From bobsneidar at iotecdigital.com Mon Jun 17 11:39:21 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Jun 2019 15:39:21 +0000 Subject: stack can write to prefs-folder, and cannot!? In-Reply-To: <246164E1-3AC6-4BA2-8384-7C100D6096E6@major-k.de> References: <5313D2D2-5066-4854-92D4-7504BAC46233@hyperhh.de> <246164E1-3AC6-4BA2-8384-7C100D6096E6@major-k.de> Message-ID: <71810189-2E23-41A4-9FDA-5DAC16675B1F@iotecdigital.com> I assume you checked to make sure you have write permissions. I found this article from 2017. Not sure if it is relevant: https://eclecticlight.co/2017/07/09/last-week-on-my-mac-making-a-mess-of-preferences/ Bob S > On Jun 10, 2019, at 07:12 , Klaus major-k via use-livecode wrote: > > Hallo Hermann, > >> Am 10.06.2019 um 15:44 schrieb hh via use-livecode : >> >>> Klaus M. wrote: >>> What the hell is going on here? What am I overlooking? >> >> I have here these problems also from a new stack or the message box on >> MacOS 10.14.5 using LC 9.5.0/ 9.0.5/ 8.1.10. >> But with "preferences" only, have no problems with "documents" or "desktop". > > strange enough, I can create a folder in specialfolderpath("preferences") > Via msg and via a button in namly stack. Too funky!? > > I'm completely clueless... > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Jun 17 11:46:18 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Jun 2019 15:46:18 +0000 Subject: Why does this not work ? In-Reply-To: References: Message-ID: <3DC35F09-E2A0-4EF3-BFDF-BF5568CC531D@iotecdigital.com> Why aren't you setting the vis of tName? Bob S > On Jun 10, 2019, at 17:44 , Alex Tweedly via use-livecode wrote: > > OK, this code produces an error - but I can't see why (and I worry about that :-) > > I have a field inside a group inside a group ...., > > and the following code : > >> on mouseup >> local tName, t1, t2 >> put the long name of fld "F" into tName >> put tName & ",12,13" into t1 >> put "t1" && t1 &CR after msg >> >> put item 1 of t1 into t2 >> set the vis of t2 to TRUE >> put "t2 was OK" &CR after msg >> >> set the vis of (item 1 of t1) to TRUE >> put "using parens OK" &CR after msg >> >> set the vis of item 1 of t1 to TRUE -- this line fails !! >> put "here" &CR after msg >> >> end mouseup > that line fails, with the error message From bobsneidar at iotecdigital.com Mon Jun 17 11:54:37 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Jun 2019 15:54:37 +0000 Subject: [ANN]CRON - a library for Levure In-Reply-To: References: Message-ID: Levurithans! I like it! Bob S > On Jun 12, 2019, at 13:38 , Mike Kerner via use-livecode wrote: > > Calling all Levurithans and anyone who wants to break some code: From klaus at major-k.de Mon Jun 17 12:01:46 2019 From: klaus at major-k.de (Klaus major-k) Date: Mon, 17 Jun 2019 18:01:46 +0200 Subject: stack can write to prefs-folder, and cannot!? In-Reply-To: <71810189-2E23-41A4-9FDA-5DAC16675B1F@iotecdigital.com> References: <5313D2D2-5066-4854-92D4-7504BAC46233@hyperhh.de> <246164E1-3AC6-4BA2-8384-7C100D6096E6@major-k.de> <71810189-2E23-41A4-9FDA-5DAC16675B1F@iotecdigital.com> Message-ID: Hi Bob, > Am 17.06.2019 um 17:39 schrieb Bob Sneidar via use-livecode : > > I assume you checked to make sure you have write permissions. I found this article from 2017. Not sure if it is relevant: > https://eclecticlight.co/2017/07/09/last-week-on-my-mac-making-a-mess-of-preferences/ so being able to create a folder there does not count as proof of having write permission in your opinion? 8-) > Bob S > >> On Jun 10, 2019, at 07:12 , Klaus major-k via use-livecode wrote: >> >> Hallo Hermann, >>> Am 10.06.2019 um 15:44 schrieb hh via use-livecode : >>> >>>> Klaus M. wrote: >>>> What the hell is going on here? What am I overlooking? >>> I have here these problems also from a new stack or the message box on >>> MacOS 10.14.5 using LC 9.5.0/ 9.0.5/ 8.1.10. >>> But with "preferences" only, have no problems with "documents" or "desktop". >> >> strange enough, I can create a folder in specialfolderpath("preferences") >> Via msg and via a button in namly stack. Too funky!? >> >> I'm completely clueless... >> >> Best >> >> Klaus Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From hh at hyperhh.de Mon Jun 17 12:03:25 2019 From: hh at hyperhh.de (hh) Date: Mon, 17 Jun 2019 18:03:25 +0200 Subject: Is there a way to use custom icons in the navbar widget? Message-ID: > I wrote: > It is a "HTML5 Native Button", similar to the platform related "androidbutton" > or "iosbutton" widgets. Here is the source code > https://github.com/livecode/livecode/tree/develop/extensions/widgets > > This is good to know for people who give advices relating LC to Webdesign, > HTML, CSS, JavaScript ... Let me explain my last statement a bit. It is mainly meant to note = how much work the creation of a single native HTML5 control requires, = how far away doing webdesign with LC is away from the current state. TMHO, there is simply no way for LC to concur with the big companies with that. This is not doable with a few people only. Concurring within the always changing main stream will, presumably, never make LC grow. Specializing instead on elsewhere unavailable features, as is currently done with LCFM for Android, sounds more promising. The other developing "branches" of LC can profit from that. Though some features that Roland requests in his last post may become available with the already announced CSS widget. And if more people who can afford it share their fancy controls, no matter how these are derived, then we will get a big base for starters. LivecodeShare ("Sample stacks" from the toolbar or http://livecodeshare.runrev.com) is good for that. "Sample stacks" is very easy to use and downloads are fast. Yes, you can only upload stacks ... But as we all know, stacks can contain a lot of things for sharing. Especially zips, sample groups or simply sample scripts. From bobsneidar at iotecdigital.com Mon Jun 17 12:18:53 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Jun 2019 16:18:53 +0000 Subject: stack can write to prefs-folder, and cannot!? In-Reply-To: References: <5313D2D2-5066-4854-92D4-7504BAC46233@hyperhh.de> <246164E1-3AC6-4BA2-8384-7C100D6096E6@major-k.de> <71810189-2E23-41A4-9FDA-5DAC16675B1F@iotecdigital.com> Message-ID: <7AA9F7BE-9264-4E55-80C1-78193E0AF94A@iotecdigital.com> Sorry I've been out of town for a week and am tearing throught my emails. I didn't catch the part about creating a folder. Bob S > On Jun 17, 2019, at 09:01 , Klaus major-k via use-livecode wrote: > > Hi Bob, > >> Am 17.06.2019 um 17:39 schrieb Bob Sneidar via use-livecode : >> >> I assume you checked to make sure you have write permissions. I found this article from 2017. Not sure if it is relevant: >> https://eclecticlight.co/2017/07/09/last-week-on-my-mac-making-a-mess-of-preferences/ > > so being able to create a folder there does not count as proof of having write permission in your opinion? 8-) > >> Bob S >> >>> On Jun 10, 2019, at 07:12 , Klaus major-k via use-livecode wrote: >>> >>> Hallo Hermann, >>>> Am 10.06.2019 um 15:44 schrieb hh via use-livecode : >>>> >>>>> Klaus M. wrote: >>>>> What the hell is going on here? What am I overlooking? >>>> I have here these problems also from a new stack or the message box on >>>> MacOS 10.14.5 using LC 9.5.0/ 9.0.5/ 8.1.10. >>>> But with "preferences" only, have no problems with "documents" or "desktop". >>> >>> strange enough, I can create a folder in specialfolderpath("preferences") >>> Via msg and via a button in namly stack. Too funky!? >>> >>> I'm completely clueless... >>> >>> Best >>> >>> Klaus > > Best > > Klaus > > -- > Klaus Major From bobsneidar at iotecdigital.com Mon Jun 17 12:22:04 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Jun 2019 16:22:04 +0000 Subject: Is there a way to use custom icons in the navbar widget? In-Reply-To: References: <3CE35FE2-B335-41AE-9DBC-D059473A1E1A@m-r-d.de> <076662da-360d-4d70-ba07-413155237754@Spark> Message-ID: Do you use the images as controls? If so should be no problem. If however you use buttons that reference the images, you will need to make sure that when pasting/cloning the group, you have code that re-associates the images with the buttons. Actually, now that I am thinking about it, this is a great arguement for using images as opposed to buttons when using custom icons. Bob S > On Jun 15, 2019, at 08:39 , Tom Glod via use-livecode wrote: > > I ended up making my own svg nav bar because i wanted the ability to have > shadows or glows on the icons, its really easy to code the distribution of > icons. There was also another limitation that I can't remember. If you > want more visual control, that is what i would recommend. > > On Sat, Jun 15, 2019 at 11:05 AM Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> See the Icon SVG Library. You can create your own icon families for use >> in your apps. The current icon family is the one shown in the PI but you >> can use any available icon in the widget. >> >> Thanks, >> Brian >> On Jun 15, 2019, 3:40 AM -0400, Matthias Rebbe via use-livecode < >> use-livecode at lists.runrev.com>, wrote: >>> Hi, >>> >>> i am currently working on a mobile app which makes use of the navbar >> widget. I like the ease of that widget. The only thing i am missing is that >> i would like to use my own icons with it, because i need other symbols than >> the ones provided by the widget. >>> >>> So is there a way to use custom icons with that widget? >>> >>> Regards >>> Matthias >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Jun 17 12:31:57 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Jun 2019 16:31:57 +0000 Subject: math on widths doesn't add up In-Reply-To: References: Message-ID: Hmmm... I wonder if theoretically a one dimensional being could draw x,y. Bob S > On Jun 14, 2019, at 14:54 , hh via use-livecode wrote: > > @Dar. > > Probably you wish with your post avoid the confusion between > > = a math-point (x,y) which has no dimension, so cannot be drawn and From bobsneidar at iotecdigital.com Mon Jun 17 12:34:27 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Jun 2019 16:34:27 +0000 Subject: Box2D In-Reply-To: References: <6c8d8a58-9641-c689-4b89-82510e1b30da@gmail.com> Message-ID: <1D4B4918-7AA2-4789-B1BF-3428C3451C1C@iotecdigital.com> Now Software, a stellar company in it's day, made promises it couldn't keep, and when they tried to keep them anyway, they went belly up because of lack of funds. That was a dark day for me because I had the whole organization running on the public calendar and contacts. Bob S > On Jun 9, 2019, at 07:54 , Tom Glod via use-livecode wrote: > > Maybe LC wanted to become a platform for games, thats why they planned > this...... but then the market just didn't agree and they had to scrap it. > > Every company should strive to hit 100% of their promises, but sometimes > for the sake of the company striving, some have to be abandoned. > > Creating a platform is challenging because you have to respond to the > market of users, or you become useless. > > I don't see a lot of people asking for 2d physics. From iphonelagi at gmail.com Mon Jun 17 13:05:13 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Mon, 17 Jun 2019 18:05:13 +0100 Subject: Box2D In-Reply-To: <1D4B4918-7AA2-4789-B1BF-3428C3451C1C@iotecdigital.com> References: <6c8d8a58-9641-c689-4b89-82510e1b30da@gmail.com> <1D4B4918-7AA2-4789-B1BF-3428C3451C1C@iotecdigital.com> Message-ID: HI Bob, The problem here is that they keep adding stuff that they think we want now - yes the 64bit is needed they have to keep up-to-date with the compile time options etc. The problem is they put all resources into LCFM and forgot everything else. Now yes we are promised Jam tomorrow and I hope it turns out a fruity conserve but there is NO excuse for the new Sqlite framework not getting done at all. I won't even mention the HTML which is charged as the same as Indy and is still not ready for prime time (if I read between the lines of Hermann's posts). Box2D was in testing over a year ago with Squirrel (nothing heard since). They still have it wrong on the licensing. There should be seperate Android and IOS only versions that DO NOT run out because as sure as eggs is eggs every 18 Months a new version of the Api/Compile time options/Plist/Libraries will change and then the user will need updates. Now if like Xojo if they keep renewing active then they get a discount automatically this is the way Xojo does it and B4X and Jetbrains to name a few. I don't expect anyone to even acknowledge what I am saying because people necer want to admit that they are wrong until the shit hits the fan - but I'm saying it anyway. I want LC to thrive like the next man (or Woman or Binary or "Custom" - yes Google allows Custom in their gmail signups now) but they seem to be trying all things to get more money in except the bloody simplest way. It would be of no use to me because I use the Windows and mac compilation ontop of Android and IOS so it isn't me trying to save money ...... oh what's the ~=/?@$? point!!!! I have wasted my time arguing for the same thing for 5 years - 5 weeks to see if the LCFM will really make LC better. I would like to be proved wrong in a major way. Lagi On Mon, 17 Jun 2019 at 17:34, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Now Software, a stellar company in it's day, made promises it couldn't > keep, and when they tried to keep them anyway, they went belly up because > of lack of funds. That was a dark day for me because I had the whole > organization running on the public calendar and contacts. > > Bob S > > > > On Jun 9, 2019, at 07:54 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Maybe LC wanted to become a platform for games, thats why they planned > > this...... but then the market just didn't agree and they had to scrap > it. > > > > Every company should strive to hit 100% of their promises, but sometimes > > for the sake of the company striving, some have to be abandoned. > > > > Creating a platform is challenging because you have to respond to the > > market of users, or you become useless. > > > > I don't see a lot of people asking for 2d physics. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 17 13:19:09 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 17 Jun 2019 13:19:09 -0400 Subject: Is there a way to use custom icons in the navbar widget? In-Reply-To: References: Message-ID: <11346b7b-4a3d-4b2a-a24b-10c762a1f8e1@Spark> For sharing, I would suggest (possibly in addition to sample stacks) that people set up a GitHub repo. ?Even though you can?t easily see changes in binary stacks, commit notes can explain the changes. ?Be sure to use the livecode tag to make projects easily found there. If you want to expose the scripts, use ScriptTracker to export them before each commit. ?Then those following the project can see how the scripts evolved. ?This does not require conversion of the project to use script only stacks even though the exported scripts are formatted with that possible use in mind. ?If we can get enough repos out there we may even be able to get LiveCode script added as a language. Brian On Jun 17, 2019, 12:03 PM -0400, hh via use-livecode , wrote: > > I wrote: > > It is a "HTML5 Native Button", similar to the platform related "androidbutton" > > or "iosbutton" widgets. Here is the source code > > https://github.com/livecode/livecode/tree/develop/extensions/widgets > > > > This is good to know for people who give advices relating LC to Webdesign, > > HTML, CSS, JavaScript ... > > Let me explain my last statement a bit. It is mainly meant to note > = how much work the creation of a single native HTML5 control requires, > = how far away doing webdesign with LC is away from the current state. > > TMHO, there is simply no way for LC to concur with the big companies with that. > This is not doable with a few people only. > > Concurring within the always changing main stream will, presumably, never make LC > grow. Specializing instead on elsewhere unavailable features, as is currently > done with LCFM for Android, sounds more promising. > The other developing "branches" of LC can profit from that. > > Though some features that Roland requests in his last post may become available > with the already announced CSS widget. > > And if more people who can afford it share their fancy controls, no matter how > these are derived, then we will get a big base for starters. > > LivecodeShare ("Sample stacks" from the toolbar or http://livecodeshare.runrev.com) > is good for that. "Sample stacks" is very easy to use and downloads are fast. > > Yes, you can only upload stacks ... But as we all know, stacks can contain a lot of > things for sharing. Especially zips, sample groups or simply sample scripts. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 17 16:09:21 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 17 Jun 2019 16:09:21 -0400 Subject: dragData["private"] is not Unicode aware Message-ID: Folks (those who may have an interest at least): I just filed a bug: https://quality.livecode.com/show_bug.cgi?id=22192 Essentially, I discovered in LC905rc1 that: For years you could do: set the dragData["private"] to "Some English Text" and then put the dragData{"private"] and get "Some English Text" In trying to may our apps more internationally aware (i.e. supporting Unicode), we just tried: set the dragData["private"] to "??????" and then put the dragData["private"] and we got "??????" And, before someone says "Use "text" vs "private", we use "private" since, in our app, other data beside some text is added and that data is private to our application (i.e. it should not be draggable outside our app). My understanding is the using "text" would allow the data to be draggable to other apps that allow dropped text. Does this ("Private" NOT Unicode aware) seem like a Feature or a Bug? From dsc at swcp.com Mon Jun 17 16:24:24 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Mon, 17 Jun 2019 14:24:24 -0600 Subject: math on widths doesn't add up In-Reply-To: References: Message-ID: <5118BC6F-4210-457E-8637-A92B0A5F53F9@swcp.com> Sure. I do it all the time and everybody knows how 1D I am. Some random thoughts: A Turing machine might be considered 1D. It can draw x,y. This past month, I was working in very high dimensions. I was not able to visualize that very well and used dimension reduction techniques such as PCA, UMAP and t-SNE to help. I would guess the 1D being might have to do something similar for "visualization". Maybe. Lewis and Clark went on a path or route, 1D, and took measurements that allowed them to create a 2D map. That is, the space of the 1D path was assumed to bend in a 2D space. The floor of my lab looks 2D to me, but I have latitude and longitude marked for the center. That labelling assumes a curving into 3D. > On Jun 17, 2019, at 10:31 AM, Bob Sneidar via use-livecode wrote: > > Hmmm... I wonder if theoretically a one dimensional being could draw x,y. > > Bob S > > >> On Jun 14, 2019, at 14:54 , hh via use-livecode wrote: >> >> @Dar. >> >> Probably you wish with your post avoid the confusion between >> >> = a math-point (x,y) which has no dimension, so cannot be drawn and > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Mon Jun 17 16:29:10 2019 From: jjs at krutt.org (JJS) Date: Mon, 17 Jun 2019 22:29:10 +0200 Subject: Samsung app store -->categories samsung api Message-ID: <4fb273e4-0f78-e2ae-3e70-e1ab5051cc85@krutt.org> Hi, anyone ever putted an Android App on the Samsung app store? If yes, how did you get past the Categories that you have to choose on the binary page/tab? Choosing an category involves using a Samsung api, which we don't have. And without it you can't choose the correct category. And thus you can't submit an app. I'm curious. Thanks. Jerry From matthias_livecode_150811 at m-r-d.de Mon Jun 17 16:38:05 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 17 Jun 2019 22:38:05 +0200 Subject: Samsung app store -->categories samsung api In-Reply-To: <4fb273e4-0f78-e2ae-3e70-e1ab5051cc85@krutt.org> References: <4fb273e4-0f78-e2ae-3e70-e1ab5051cc85@krutt.org> Message-ID: I am not sure if this is still the case, but without a according to a forum entry at https://developer.samsung.com/forum/thread/possible-to-upload-apps-that-are-not-galaxy-specials/201/285413?boardName=SDK&startId=zzzzz~ without a separate contract or partnership you are not able to upload your App if your App is not using Samsung SDK. "Any APK which does not use Samsung SDK cannot be uploaded for App registration. Sellers who have a separate contract or partnership with Samsung can submit applications without using Samsung SDK. If you have any question on the contract or partnership, please contact our Customer Support team (https://help.content.samsung.com/csseller/)." Regards, Matthias > Am 17.06.2019 um 22:29 schrieb JJS via use-livecode : > > Hi, > > > anyone ever putted an Android App on the Samsung app store? > > If yes, how did you get past the Categories that you have to choose on the binary page/tab? > > Choosing an category involves using a Samsung api, which we don't have. > > And without it you can't choose the correct category. And thus you can't submit an app. > > > I'm curious. > > > Thanks. > > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Jun 17 16:39:31 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 17 Jun 2019 22:39:31 +0200 Subject: Samsung app store -->categories samsung api In-Reply-To: References: <4fb273e4-0f78-e2ae-3e70-e1ab5051cc85@krutt.org> Message-ID: I meant to say I am not sure if this is still the case, but according to a forum entry..... > Am 17.06.2019 um 22:38 schrieb Matthias Rebbe : > > I am not sure if this is still the case, but without a > > according to a forum entry at > https://developer.samsung.com/forum/thread/possible-to-upload-apps-that-are-not-galaxy-specials/201/285413?boardName=SDK&startId=zzzzz~ > > without a separate contract or partnership you are not able to upload your App if your App is not using Samsung SDK. > > "Any APK which does not use Samsung SDK cannot be uploaded for App registration. > Sellers who have a separate contract or partnership with Samsung can submit applications without using Samsung SDK. If you have any question on the contract or partnership, please contact our Customer Support team (https://help.content.samsung.com/csseller/)." > > Regards, > > Matthias > > >> Am 17.06.2019 um 22:29 schrieb JJS via use-livecode : >> >> Hi, >> >> >> anyone ever putted an Android App on the Samsung app store? >> >> If yes, how did you get past the Categories that you have to choose on the binary page/tab? >> >> Choosing an category involves using a Samsung api, which we don't have. >> >> And without it you can't choose the correct category. And thus you can't submit an app. >> >> >> I'm curious. >> >> >> Thanks. >> >> Jerry >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Mon Jun 17 16:55:46 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Jun 2019 20:55:46 +0000 Subject: math on widths doesn't add up In-Reply-To: <5118BC6F-4210-457E-8637-A92B0A5F53F9@swcp.com> References: <5118BC6F-4210-457E-8637-A92B0A5F53F9@swcp.com> Message-ID: <236DF5B9-1222-40F0-A832-035BC99DFC4E@iotecdigital.com> Heh! That reminds me, I knew a British professor once who used the illustration that a two dimensional being, confronted with a line would perceive it as impassible. He then went on to explain how it might be that a 3 dimensional being, when needing to see into the future might perceive it as impossible, whereas to a 4th dimensional being, that is not bound by time, would not. Bob S > On Jun 17, 2019, at 13:24 , Dar Scott Consulting via use-livecode wrote: > > Sure. I do it all the time and everybody knows how 1D I am. > > Some random thoughts: > > A Turing machine might be considered 1D. It can draw x,y. > > This past month, I was working in very high dimensions. I was not able to visualize that very well and used dimension reduction techniques such as PCA, UMAP and t-SNE to help. I would guess the 1D being might have to do something similar for "visualization". Maybe. > > Lewis and Clark went on a path or route, 1D, and took measurements that allowed them to create a 2D map. That is, the space of the 1D path was assumed to bend in a 2D space. > > The floor of my lab looks 2D to me, but I have latitude and longitude marked for the center. That labelling assumes a curving into 3D. From jacque at hyperactivesw.com Mon Jun 17 16:56:48 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jun 2019 15:56:48 -0500 Subject: dragData["private"] is not Unicode aware In-Reply-To: References: Message-ID: <5f265633-6633-e658-2ec4-bf85f125fb02@hyperactivesw.com> I had a similar problem with the merge command. Try using urlEncode to store the text and urlDecode to retrieve it. Both our issues should probably be reported as bugs, but I haven't had time. Feel free. :) On 6/17/19 3:09 PM, Paul Dupuis via use-livecode wrote: > Folks (those who may have an interest at least): > > I just filed a bug: https://quality.livecode.com/show_bug.cgi?id=22192 > > Essentially, I discovered in LC905rc1 that: > > For years you could do: > > set the dragData["private"] to "Some English Text" > > and then put the dragData{"private"] and get "Some English Text" > > In trying to may our apps more internationally aware (i.e. supporting > Unicode), we just tried: > > set the dragData["private"] to "??????" > > and then put the dragData["private"] and we got "??????" > > And, before someone says "Use "text" vs "private", we use "private" > since, in our app, other data beside some text is added and that data is > private to our application (i.e. it should not be draggable outside our > app). My understanding is the using "text" would allow the data to be > draggable to other apps that allow dropped text. > > Does this ("Private" NOT Unicode aware) seem like a Feature or a Bug? > _______________________________________________ > use-livecode mailing list > use-livecode 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 jjs at krutt.org Mon Jun 17 17:00:28 2019 From: jjs at krutt.org (JJS) Date: Mon, 17 Jun 2019 23:00:28 +0200 Subject: Samsung app store -->categories samsung api In-Reply-To: References: <4fb273e4-0f78-e2ae-3e70-e1ab5051cc85@krutt.org> Message-ID: <267de4ed-3a84-c790-0409-90420e903690@krutt.org> Thank you Matthias. I guess i did not read it/ or not carefully enough. mmmm, because there is the option to use InApp purchasing in the Android settings in LC, i thought it would be kinda easy to get a simple app up there. So i need to contact Samsung or we need to know how and which Samsung Api to use(probably via LCB of which i only did some basic lessons and then it stopped for me) Thanks! Jerry Op 17-6-2019 om 22:39 schreef Matthias Rebbe via use-livecode: > I meant to say > > I am not sure if this is still the case, but according to a forum entry..... > > >> Am 17.06.2019 um 22:38 schrieb Matthias Rebbe : >> >> I am not sure if this is still the case, but without a >> >> according to a forum entry at >> https://developer.samsung.com/forum/thread/possible-to-upload-apps-that-are-not-galaxy-specials/201/285413?boardName=SDK&startId=zzzzz~ >> >> without a separate contract or partnership you are not able to upload your App if your App is not using Samsung SDK. >> >> "Any APK which does not use Samsung SDK cannot be uploaded for App registration. >> Sellers who have a separate contract or partnership with Samsung can submit applications without using Samsung SDK. If you have any question on the contract or partnership, please contact our Customer Support team (https://help.content.samsung.com/csseller/)." >> >> Regards, >> >> Matthias >> >> >>> Am 17.06.2019 um 22:29 schrieb JJS via use-livecode : >>> >>> Hi, >>> >>> >>> anyone ever putted an Android App on the Samsung app store? >>> >>> If yes, how did you get past the Categories that you have to choose on the binary page/tab? >>> >>> Choosing an category involves using a Samsung api, which we don't have. >>> >>> And without it you can't choose the correct category. And thus you can't submit an app. >>> >>> >>> I'm curious. >>> >>> >>> Thanks. >>> >>> Jerry >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curt at sonasoftware.com Mon Jun 17 19:01:10 2019 From: curt at sonasoftware.com (Curt Ford) Date: Mon, 17 Jun 2019 16:01:10 -0700 Subject: Using community to update text of a project distributed with Indy license? Message-ID: <5D081BB6.4080308@sonasoftware.com> A client needs to make minor updates to the text in a number of modules I've created over several years. To eliminate the back-and-forth of corrections and proofs, he's asked about making the changes himself in LiveCode. (He's never used LiveCode and doesn't have a copy.) The question has arisen whether this would be possible if he downloads the free community version of LiveCode, opens the files I've created with my licensed copy of LiveCode, updates the texts, then sends me the files to package them up. Another option was for the client to use the community version to create the text in text fields in a 'dummy' stack, from which I'd copy the updated text into the existing modules of my copy with the Indy license. I've looked at the FAQ at https://livecode.com/docs/9-0-4/faq/faq/#what-are-the-system-requirements-for-livecode but I'm not quite clear on whether this would be allowed under the terms of the license or not. Even if it's not, I'm not sure they'll want to get into this once they see what's involved, but I told them I'd look into it. -- Sent from Postbox From alex at tweedly.net Mon Jun 17 19:13:29 2019 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 18 Jun 2019 00:13:29 +0100 Subject: Why does this not work ? In-Reply-To: <3DC35F09-E2A0-4EF3-BFDF-BF5568CC531D@iotecdigital.com> References: <3DC35F09-E2A0-4EF3-BFDF-BF5568CC531D@iotecdigital.com> Message-ID: <86732115-9bca-2724-e07b-cd58f53e1fec@tweedly.net> Because the point was to demonstrate different script lines, some of which work and one of which doesn't - but which to my simple mind should have all worked. (and a couple of kind people explained why that one was different :-) It was not a "real" fragment of code - in that case I would indeed have simply set the vis of tName. Thanks Alex. On 17/06/2019 16:46, Bob Sneidar via use-livecode wrote: > Why aren't you setting the vis of tName? > > Bob S > > >> On Jun 10, 2019, at 17:44 , Alex Tweedly via use-livecode wrote: >> >> OK, this code produces an error - but I can't see why (and I worry about that :-) >> >> I have a field inside a group inside a group ...., >> >> and the following code : >> >>> on mouseup >>> local tName, t1, t2 >>> put the long name of fld "F" into tName >>> put tName & ",12,13" into t1 >>> put "t1" && t1 &CR after msg >>> >>> put item 1 of t1 into t2 >>> set the vis of t2 to TRUE >>> put "t2 was OK" &CR after msg >>> >>> set the vis of (item 1 of t1) to TRUE >>> put "using parens OK" &CR after msg >>> >>> set the vis of item 1 of t1 to TRUE -- this line fails !! >>> put "here" &CR after msg >>> >>> end mouseup >> that line fails, with the error message > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Jun 18 03:29:11 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 18 Jun 2019 09:29:11 +0200 Subject: dragData["private"] is not Unicode aware In-Reply-To: References: Message-ID: <913c9315d1ea40a980f87564cb95bb8d@livecode.com> On 2019-06-17 22:09, Paul Dupuis via use-livecode wrote: > Folks (those who may have an interest at least): > > I just filed a bug: https://quality.livecode.com/show_bug.cgi?id=22192 > > Does this ("Private" NOT Unicode aware) seem like a Feature or a Bug? This is a documentation bug really - you can only store binary data in the private key of the clipboard/dragboard (these things only store binary data internally for all things). So you need to textEncode/textDecode strings, and arrayEncode/Decode arrays if you want to store either of those things there. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From heather at livecode.com Tue Jun 18 06:56:04 2019 From: heather at livecode.com (Heather Laine) Date: Tue, 18 Jun 2019 11:56:04 +0100 Subject: Using community to update text of a project distributed with Indy license? In-Reply-To: <5D081BB6.4080308@sonasoftware.com> References: <5D081BB6.4080308@sonasoftware.com> Message-ID: <591A3D88-E693-4A3C-9235-8C977C2608C5@livecode.com> Dear Curt, Thanks for asking. This would be prohibited by this clause in your EULA: "f) Any Created Software built with this Licensed Edition is fully functional and allows users full access to the entire LiveCode feature set. Where the Created Software is a standalone executable, the end user of the Created Software cannot edit scripts or build their own standalones without purchasing or owning a Licensed Edition. You may not attempt to get around any of these limitations or encourage users of your Created Software to attempt to do so." Essentially, our licensing does not allow you to act as a standalone building service for a Community user, for fairly obvious reasons. Also, if your end user opens your stacks in Community, edits them, and shares them with you, he is then obliged to also share your source code with the world. Which I'm guessing you would not want. So, if he wants to edit your closed source stacks, he's going to need a license of his own. I'll be happy to discuss this further with you if you email support at livecode.com , but I thought it might be helpful to clarify this licensing point on the list :) Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 18 Jun 2019, at 00:01, Curt Ford via use-livecode wrote: > > A client needs to make minor updates to the text in a number of modules I've created over several years. To eliminate the back-and-forth of corrections and proofs, he's asked about making the changes himself in LiveCode. (He's never used LiveCode and doesn't have a copy.) > > The question has arisen whether this would be possible if he downloads the free community version of LiveCode, opens the files I've created with my licensed copy of LiveCode, updates the texts, then sends me the files to package them up. > > Another option was for the client to use the community version to create the text in text fields in a 'dummy' stack, from which I'd copy the updated text into the existing modules of my copy with the Indy license. > > I've looked at the FAQ at > > https://livecode.com/docs/9-0-4/faq/faq/#what-are-the-system-requirements-for-livecode > > but I'm not quite clear on whether this would be allowed under the terms of the license or not. > > Even if it's not, I'm not sure they'll want to get into this once they see what's involved, but I told them I'd look into it. > > -- > Sent from Postbox > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Tue Jun 18 07:28:12 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 18 Jun 2019 07:28:12 -0400 Subject: dragData["private"] is not Unicode aware In-Reply-To: <913c9315d1ea40a980f87564cb95bb8d@livecode.com> References: <913c9315d1ea40a980f87564cb95bb8d@livecode.com> Message-ID: <19cc0ff1-6ff1-14cc-a389-8f5cb4749f79@researchware.com> On 6/18/2019 3:29 AM, Mark Waddingham via use-livecode wrote: > On 2019-06-17 22:09, Paul Dupuis via use-livecode wrote: >> Folks (those who may have an interest at least): >> >> I just filed a bug: https://quality.livecode.com/show_bug.cgi?id=22192 >> >> Does this ("Private" NOT Unicode aware) seem like a Feature or a Bug? > > This is a documentation bug really - you can only store binary data in > the > private key of the clipboard/dragboard (these things only store binary > data internally for all things). > > So you need to textEncode/textDecode strings, and arrayEncode/Decode > arrays > if you want to store either of those things there. > > Warmest Regards, > > Mark. > Thanks for the clarification Mark. I'm fine with treating it as binary and encoding/decoding my data as needed to keep it private and usable in our app. I would be nice to have that in the dragData dictionary entry whenever the docs can be updated. I should learn how to contribute to updating documentation myself, but I have tried setting up GIT on Windows twice without success (obviously I am doing something basic wrong). From lists at mangomultimedia.com Tue Jun 18 09:01:24 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 18 Jun 2019 08:01:24 -0500 Subject: dragData["private"] is not Unicode aware In-Reply-To: <19cc0ff1-6ff1-14cc-a389-8f5cb4749f79@researchware.com> References: <913c9315d1ea40a980f87564cb95bb8d@livecode.com> <19cc0ff1-6ff1-14cc-a389-8f5cb4749f79@researchware.com> Message-ID: On Tue, Jun 18, 2019 at 6:28 AM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > > I should learn how to contribute to updating documentation myself, but I > have tried setting up GIT on Windows twice without success (obviously I > am doing something basic wrong). The good news is that you don?t have to set up Git to contribute. The ?This Week In LiveCode? newsletter has links to video instructions on how to contribute to the docs using your web browser. Scroll down to the bottom of the following page and you will see links to them along with doc entries that need updating: https://livecode.github.io/this-week-in-livecode/issue/2019/06/17/this-week-in-livecode-182.html -- Trevor DeVore From paul at researchware.com Tue Jun 18 11:14:56 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 18 Jun 2019 11:14:56 -0400 Subject: dragData["private"] is not Unicode aware In-Reply-To: References: <913c9315d1ea40a980f87564cb95bb8d@livecode.com> <19cc0ff1-6ff1-14cc-a389-8f5cb4749f79@researchware.com> Message-ID: On 6/18/2019 9:01 AM, Trevor DeVore via use-livecode wrote: > On Tue, Jun 18, 2019 at 6:28 AM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I should learn how to contribute to updating documentation myself, but I >> have tried setting up GIT on Windows twice without success (obviously I >> am doing something basic wrong). > > The good news is that you don?t have to set up Git to contribute. The ?This > Week In LiveCode? newsletter has links to video instructions on how to > contribute to the docs using your web browser. Scroll down to the bottom of > the following page and you will see links to them along with doc entries > that need updating: > > https://livecode.github.io/this-week-in-livecode/issue/2019/06/17/this-week-in-livecode-182.html > Thank you Trevor! https://github.com/livecode/livecode/pull/7109 From dsc at swcp.com Tue Jun 18 11:41:31 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Tue, 18 Jun 2019 09:41:31 -0600 Subject: $1,000 Bounty For LiveCode Bug 20240 In-Reply-To: <1502753929.5992348939b3d@www.server101.com> References: <1502753929.5992348939b3d@www.server101.com> Message-ID: A hint for bounty hunters: It seems to me I have seen this outside of LiveCode. Perhaps the bug is a common one. I'm on a Mac. I don't trust my memory; YMMD. > On Aug 14, 2017, at 5:38 PM, RunRevPlanet via use-livecode wrote: > > Hi, > > Over at LiveCode Quality Control Centre (QCC) there is a Bug 20240 has been a > problem for me lately. > > I understand that a significant effort has been put into finding a fix over the > past years, but without success. The problem behaviour has been reported before, > my report is simply the latest one. And since it cannot be reproduced on demand > it is a tough one to solve. > > There is a video of it at QCC at that shows what happens, if you have not come > across it yourself. > > To encourage more eyes to look at the code, I have put up a bounty of $1,000AUD > to the individual who resolves the problem with a fix. > > More details are in the bug report here: > > http://quality.livecode.com/show_bug.cgi?id=20240 > > If you have any questions about the bug, or the bounty, I can answer them here. > > Note it is only Australian dollars, but depending on the exchange rate, or where > you live that might be a bonus? > > Good luck! And I really hope to be able to reward someone with this money! > -- > Scott McDonald > http://thelivecodelab.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 dsc at swcp.com Tue Jun 18 11:47:32 2019 From: dsc at swcp.com (dsc at swcp.com) Date: Tue, 18 Jun 2019 09:47:32 -0600 Subject: $1,000 Bounty For LiveCode Bug 20240 In-Reply-To: References: <1502753929.5992348939b3d@www.server101.com> Message-ID: <735BF227-2AF3-49B1-9710-AE2098A3876A@swcp.com> Whoops. That is a couple years old. I need to get my coffee. > On Jun 18, 2019, at 9:41 AM, Dar Scott Consulting via use-livecode wrote: > > A hint for bounty hunters: > It seems to me I have seen this outside of LiveCode. Perhaps the bug is a common one. > I'm on a Mac. > > I don't trust my memory; YMMD. > > > >> On Aug 14, 2017, at 5:38 PM, RunRevPlanet via use-livecode wrote: >> >> Hi, >> >> Over at LiveCode Quality Control Centre (QCC) there is a Bug 20240 has been a >> problem for me lately. >> >> I understand that a significant effort has been put into finding a fix over the >> past years, but without success. The problem behaviour has been reported before, >> my report is simply the latest one. And since it cannot be reproduced on demand >> it is a tough one to solve. >> >> There is a video of it at QCC at that shows what happens, if you have not come >> across it yourself. >> >> To encourage more eyes to look at the code, I have put up a bounty of $1,000AUD >> to the individual who resolves the problem with a fix. >> >> More details are in the bug report here: >> >> http://quality.livecode.com/show_bug.cgi?id=20240 >> >> If you have any questions about the bug, or the bounty, I can answer them here. >> >> Note it is only Australian dollars, but depending on the exchange rate, or where >> you live that might be a bonus? >> >> Good luck! And I really hope to be able to reward someone with this money! >> -- >> Scott McDonald >> http://thelivecodelab.com/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curt at sonasoftware.com Tue Jun 18 12:15:17 2019 From: curt at sonasoftware.com (Curt Ford) Date: Tue, 18 Jun 2019 09:15:17 -0700 Subject: Using community to update text of a project distributed with Indy license? Message-ID: <5D090E15.1080405@sonasoftware.com> Dear Heather, Thanks for the clarification. This is the answer I'd basically expected, but it'll be easier for me to steer the client in a different direction with the official word from you at LiveCode, so this is helpful. (They had originally suggested using Splashtop to try and make the updates on my machine remotely, but I *really* don't want to go there...!) all best Curt -- Sent from Postbox From iphonelagi at gmail.com Tue Jun 18 13:52:19 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Tue, 18 Jun 2019 18:52:19 +0100 Subject: Using community to update text of a project distributed with Indy license? In-Reply-To: <5D090E15.1080405@sonasoftware.com> References: <5D090E15.1080405@sonasoftware.com> Message-ID: What about community plus - or is that not a perpetual licence either? Lagi On Tue, 18 Jun 2019 at 17:15, Curt Ford via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear Heather, > > Thanks for the clarification. This is the answer I'd basically expected, > but it'll be easier for me to steer the client in a different direction > with the official word from you at LiveCode, so this is helpful. > > (They had originally suggested using Splashtop to try and make the > updates on my machine remotely, but I *really* don't want to go there...!) > > all best > > Curt > > > -- > Sent from Postbox > < > https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Jun 18 13:59:33 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Jun 2019 10:59:33 -0700 Subject: Using community to update text of a project distributed with Indy license? In-Reply-To: <5D081BB6.4080308@sonasoftware.com> References: <5D081BB6.4080308@sonasoftware.com> Message-ID: <855ea1ea-ec00-4315-ee49-dd3a04f8de42@fourthworld.com> Curt Ford wrote: > A client needs to make minor updates to the text in a number of modules > I've created over several years. To eliminate the back-and-forth of > corrections and proofs, he's asked about making the changes himself in > LiveCode. (He's never used LiveCode and doesn't have a copy.) Simple to do technically, but beyond the GPL implications it's also perhaps a bit cumbersome in terms of usability. LC is a good software development environment, but perhaps a bit much for simple text editing. I wonder if another option might be to make an Editor app which opens the stack and unlocks the fields for editing, and then locks them again before saving. With many of my clients we build custom authoring environments in addition to the delivery environment for the end-user, and the modest up-front investment almost always pays off very well over the life cycle of what we're building together. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Tue Jun 18 14:01:51 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jun 2019 13:01:51 -0500 Subject: Empty error dialogs Message-ID: <0372c726-83b2-2d2b-5b9f-abb5951a87a6@hyperactivesw.com> Some users are getting empty script error dialogs in a standalone. The errors are infrequent, sporadic, always in different places in the app, not repeatable. When they happen, the user can repeat their last action and it works without error. We get these reports because the standalone has error reporting turned on. An example: Object: field 'XXX' of card 'YYY' of stack 'ZZZ' Line: Line Num: Hint: The identified object and card is always different. I should mention that the current desktop app was built in a much older version of LC. I assume the lack of reference info is because the script couldn't compile, but then why only sometimes and never on a second try? I also assumed the error(s) were in a LC library, mostly because if it were my own scripts I'd think there would be more information. This is mostly a curiosity question since no real harm is done to the user data. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Tue Jun 18 14:24:24 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 18 Jun 2019 14:24:24 -0400 Subject: Empty error dialogs In-Reply-To: <0372c726-83b2-2d2b-5b9f-abb5951a87a6@hyperactivesw.com> References: <0372c726-83b2-2d2b-5b9f-abb5951a87a6@hyperactivesw.com> Message-ID: <004e01d52603$11f25830$35d70890$@net> I've seen the "empty error dialog" on password protected stacks. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Tuesday, June 18, 2019 2:02 PM To: LiveCode Mailing List Cc: J. Landman Gay Subject: Empty error dialogs Some users are getting empty script error dialogs in a standalone. The errors are infrequent, sporadic, always in different places in the app, not repeatable. When they happen, the user can repeat their last action and it works without error. We get these reports because the standalone has error reporting turned on. An example: Object: field 'XXX' of card 'YYY' of stack 'ZZZ' Line: Line Num: Hint: The identified object and card is always different. I should mention that the current desktop app was built in a much older version of LC. I assume the lack of reference info is because the script couldn't compile, but then why only sometimes and never on a second try? I also assumed the error(s) were in a LC library, mostly because if it were my own scripts I'd think there would be more information. This is mostly a curiosity question since no real harm is done to the user data. -- 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 rdimola at evergreeninfo.net Tue Jun 18 14:29:21 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 18 Jun 2019 14:29:21 -0400 Subject: PlayStore and Tablets In-Reply-To: <16b56f68d18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> <16b53c32b60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6E1AA628-E269-47CD-81AC-B75427C215AB@m-r-d.de> <003201d522ce$4e0e3920$ea2aab60$@net> <16b56f68d18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <004f01d52603$c24aff70$46e0fe50$@net> Just got this today... API 28 will be required for new apps on 8/1/2019 and updated app by 8/1/2019. Message from Google Play below. QCC 22194 submitted. ------------ Warnings Your app currently targets API level 26 and must target at least API level 28 to ensure it is built on the latest APIs optimized for security and performance. >From August 2019, new apps must target at least Android 9.0 (API level 28). >From November 2019, app updates must target Android 9.0 (API level 28). Tip: Change your app's target API level. Learn how. ------------- 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: Friday, June 14, 2019 1:09 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: PlayStore and Tablets I see that on almost every app I download on my tablet. It started right around the time Google started requiring the target version to be 26 so I assumed it had to do with that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 14, 2019 11:30:06 AM Ralph DiMola via use-livecode wrote: > When I access the page of my app in Google Play using a tablet I get > the following message: "This app may not be optimized for your device" in red. > My app resizes to use all of a tablet's real-estate. I uploaded tablet > screenshots and use an icon of "xxxhdpi" size. > > Does anyone know how to solve this? > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Jun 18 17:35:35 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 18 Jun 2019 21:35:35 +0000 Subject: $1,000 Bounty For LiveCode Bug 20240 In-Reply-To: References: <1502753929.5992348939b3d@www.server101.com> Message-ID: <6AEDE6E5-CA4E-48E0-9183-4974C1887B4C@iotecdigital.com> I see this regularly and have for a long time. Not sure what causes it. Seems to go away if I close and re-open the script editor. Bob S > On Jun 18, 2019, at 08:41 , Dar Scott Consulting via use-livecode wrote: > > A hint for bounty hunters: > It seems to me I have seen this outside of LiveCode. Perhaps the bug is a common one. > I'm on a Mac. > > I don't trust my memory; YMMD. > > > >> On Aug 14, 2017, at 5:38 PM, RunRevPlanet via use-livecode wrote: >> >> Hi, >> >> Over at LiveCode Quality Control Centre (QCC) there is a Bug 20240 has been a >> problem for me lately. >> >> I understand that a significant effort has been put into finding a fix over the >> past years, but without success. The problem behaviour has been reported before, >> my report is simply the latest one. And since it cannot be reproduced on demand >> it is a tough one to solve. >> >> There is a video of it at QCC at that shows what happens, if you have not come >> across it yourself. >> >> To encourage more eyes to look at the code, I have put up a bounty of $1,000AUD >> to the individual who resolves the problem with a fix. >> >> More details are in the bug report here: >> >> http://quality.livecode.com/show_bug.cgi?id=20240 >> >> If you have any questions about the bug, or the bounty, I can answer them here. >> >> Note it is only Australian dollars, but depending on the exchange rate, or where >> you live that might be a bonus? >> >> Good luck! And I really hope to be able to reward someone with this money! >> -- >> Scott McDonald >> http://thelivecodelab.com/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Jun 18 18:55:28 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jun 2019 17:55:28 -0500 Subject: Empty error dialogs In-Reply-To: <004e01d52603$11f25830$35d70890$@net> References: <0372c726-83b2-2d2b-5b9f-abb5951a87a6@hyperactivesw.com> <004e01d52603$11f25830$35d70890$@net> Message-ID: The stack is, in fact, password protected. But we get other error reports where the info is filled in, which is more usual. Weird. On 6/18/19 1:24 PM, Ralph DiMola via use-livecode wrote: > I've seen the "empty error dialog" on password protected stacks. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of J. Landman Gay via use-livecode > Sent: Tuesday, June 18, 2019 2:02 PM > To: LiveCode Mailing List > Cc: J. Landman Gay > Subject: Empty error dialogs > > Some users are getting empty script error dialogs in a standalone. The > errors are infrequent, sporadic, always in different places in the app, not > repeatable. When they happen, the user can repeat their last action and it > works without error. We get these reports because the standalone has error > reporting turned on. > > An example: > > Object: field 'XXX' of card 'YYY' of stack 'ZZZ' > > Line: > > Line Num: > > Hint: > > The identified object and card is always different. I should mention that > the current desktop app was built in a much older version of LC. > > I assume the lack of reference info is because the script couldn't compile, > but then why only sometimes and never on a second try? I also assumed the > error(s) were in a LC library, mostly because if it were my own scripts I'd > think there would be more information. > > This is mostly a curiosity question since no real harm is done to the user > data. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ali.lloyd at livecode.com Wed Jun 19 04:15:18 2019 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 19 Jun 2019 09:15:18 +0100 Subject: PlayStore and Tablets In-Reply-To: <004f01d52603$c24aff70$46e0fe50$@net> References: <97B7E660-F4E4-4663-A53B-3A7F2A1D6727@m-r-d.de> <16b53c32b60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6E1AA628-E269-47CD-81AC-B75427C215AB@m-r-d.de> <003201d522ce$4e0e3920$ea2aab60$@net> <16b56f68d18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <004f01d52603$c24aff70$46e0fe50$@net> Message-ID: Thanks Ralph - I checked last night and it seems we can build against API level 28 without any code changes, so it's just a case of reconfiguring the builders. On Tue, 18 Jun 2019 at 19:29, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Just got this today... API 28 will be required for new apps on 8/1/2019 and > updated app by 8/1/2019. Message from Google Play below. QCC 22194 > submitted. > > ------------ > Warnings > Your app currently targets API level 26 and must target at least API level > 28 to ensure it is built on the latest APIs optimized for security and > performance. > > From August 2019, new apps must target at least Android 9.0 (API level 28). > From November 2019, app updates must target Android 9.0 (API level 28). > > Tip: Change your app's target API level. Learn how. > ------------- > > 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: Friday, June 14, 2019 1:09 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: PlayStore and Tablets > > I see that on almost every app I download on my tablet. It started right > around the time Google started requiring the target version to be 26 so I > assumed it had to do with that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | > http://www.hyperactivesw.com On June 14, 2019 11:30:06 AM Ralph DiMola via > use-livecode wrote: > > > When I access the page of my app in Google Play using a tablet I get > > the following message: "This app may not be optimized for your device" in > red. > > My app resizes to use all of a tablet's real-estate. I uploaded tablet > > screenshots and use an icon of "xxxhdpi" size. > > > > Does anyone know how to solve this? > > Thanks! > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From smk at anvic.net Wed Jun 19 04:26:51 2019 From: smk at anvic.net (Simon Knight) Date: Wed, 19 Jun 2019 09:26:51 +0100 Subject: $1,000 Bounty For LiveCode Bug 20240 In-Reply-To: <735BF227-2AF3-49B1-9710-AE2098A3876A@swcp.com> References: <1502753929.5992348939b3d@www.server101.com> <735BF227-2AF3-49B1-9710-AE2098A3876A@swcp.com> Message-ID: <89D20F88-6261-42F3-B056-B1759B2D2DC9@anvic.net> I had a look to see if I could reproduce this bug, I could not but I found another : May be related to "Bug 20240 - Selecting Text With A Click and Drag of the Mouse in the Script Editor Does Not Always Select a Contiguous Block of Text" I have just tried to reproduce the bug reported in report 20240 and failed. However, I found a problem that is repeatable and may be related: https://quality.livecode.com/show_bug.cgi?id=22195 1. Select a block of text in the IDE. 2. Drag down to new location and drop : the text is moved. 3. Go to edit menu and click 'undo' : the dragged text is deleted - ouch! I would expect the undo command to restore the text to its original location. I am unclear as to the status of 20240 as it is marked as resolved yet there is discussion about it on the groups along with a bounty. It may help the investigation into 20240, Simon Simon Knight smk at anvic.net Telephone : 01427 325911 Mobile : 07963 077071 Skype : jtidsskids > On 18 Jun 2019, at 16:47, dsc--- via use-livecode wrote: > > Whoops. That is a couple years old. I need to get my coffee. > > >> On Jun 18, 2019, at 9:41 AM, Dar Scott Consulting via use-livecode wrote: >> >> A hint for bounty hunters: >> It seems to me I have seen this outside of LiveCode. Perhaps the bug is a common one. >> I'm on a Mac. >> >> I don't trust my memory; YMMD. >> >> >> >>> On Aug 14, 2017, at 5:38 PM, RunRevPlanet via use-livecode wrote: >>> >>> Hi, >>> >>> Over at LiveCode Quality Control Centre (QCC) there is a Bug 20240 has been a >>> problem for me lately. >>> >>> I understand that a significant effort has been put into finding a fix over the >>> past years, but without success. The problem behaviour has been reported before, >>> my report is simply the latest one. And since it cannot be reproduced on demand >>> it is a tough one to solve. >>> >>> There is a video of it at QCC at that shows what happens, if you have not come >>> across it yourself. >>> >>> To encourage more eyes to look at the code, I have put up a bounty of $1,000AUD >>> to the individual who resolves the problem with a fix. >>> >>> More details are in the bug report here: >>> >>> http://quality.livecode.com/show_bug.cgi?id=20240 >>> >>> If you have any questions about the bug, or the bounty, I can answer them here. >>> >>> Note it is only Australian dollars, but depending on the exchange rate, or where >>> you live that might be a bonus? >>> >>> Good luck! And I really hope to be able to reward someone with this money! >>> -- >>> Scott McDonald >>> http://thelivecodelab.com/ >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iphonelagi at gmail.com Wed Jun 19 09:51:45 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 19 Jun 2019 14:51:45 +0100 Subject: $1,000 Bounty For LiveCode Bug 20240 In-Reply-To: <89D20F88-6261-42F3-B056-B1759B2D2DC9@anvic.net> References: <1502753929.5992348939b3d@www.server101.com> <735BF227-2AF3-49B1-9710-AE2098A3876A@swcp.com> <89D20F88-6261-42F3-B056-B1759B2D2DC9@anvic.net> Message-ID: I Could make it happen every time if i went up and down QUICKLY - but it was easier to reproduce if the mouse went out of the script editor bounds and into the "chrome/bars" etc with or without the clockwise circular mouse movement that Panos suggested. Now the fact that we can reproduce it as a "recipe" only if we pretend to have the equivalent of somebody with 50,000V through their bodies as they are clicking around means to me that it's not exactly the same - but it suggests some sort of timing error - missing an instruction or event that updates the cursor position and is more pronounced if the mouse goes out of the script editor boundaries Lagi On Wed, 19 Jun 2019 at 09:27, Simon Knight via use-livecode < use-livecode at lists.runrev.com> wrote: > I had a look to see if I could reproduce this bug, I could not but I found > another : > > May be related to "Bug 20240 - Selecting Text With A Click and Drag of the > Mouse in the Script Editor Does Not Always Select a Contiguous Block of > Text" > > I have just tried to reproduce the bug reported in report 20240 and > failed. However, I found a problem that is repeatable and may be related: > > https://quality.livecode.com/show_bug.cgi?id=22195 < > https://quality.livecode.com/show_bug.cgi?id=22195> > > 1. Select a block of text in the IDE. > 2. Drag down to new location and drop : the text is moved. > 3. Go to edit menu and click 'undo' : the dragged text is deleted - ouch! > > I would expect the undo command to restore the text to its original > location. > > I am unclear as to the status of 20240 as it is marked as resolved yet > there is discussion about it on the groups along with a bounty. > > > It may help the investigation into 20240, > > Simon > > Simon Knight > smk at anvic.net > Telephone : 01427 325911 > Mobile : 07963 077071 > Skype : jtidsskids > > > > > > > On 18 Jun 2019, at 16:47, dsc--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Whoops. That is a couple years old. I need to get my coffee. > > > > > >> On Jun 18, 2019, at 9:41 AM, Dar Scott Consulting via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> A hint for bounty hunters: > >> It seems to me I have seen this outside of LiveCode. Perhaps the bug is > a common one. > >> I'm on a Mac. > >> > >> I don't trust my memory; YMMD. > >> > >> > >> > >>> On Aug 14, 2017, at 5:38 PM, RunRevPlanet via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Hi, > >>> > >>> Over at LiveCode Quality Control Centre (QCC) there is a Bug 20240 has > been a > >>> problem for me lately. > >>> > >>> I understand that a significant effort has been put into finding a fix > over the > >>> past years, but without success. The problem behaviour has been > reported before, > >>> my report is simply the latest one. And since it cannot be reproduced > on demand > >>> it is a tough one to solve. > >>> > >>> There is a video of it at QCC at that shows what happens, if you have > not come > >>> across it yourself. > >>> > >>> To encourage more eyes to look at the code, I have put up a bounty of > $1,000AUD > >>> to the individual who resolves the problem with a fix. > >>> > >>> More details are in the bug report here: > >>> > >>> http://quality.livecode.com/show_bug.cgi?id=20240 > >>> > >>> If you have any questions about the bug, or the bounty, I can answer > them here. > >>> > >>> Note it is only Australian dollars, but depending on the exchange > rate, or where > >>> you live that might be a bonus? > >>> > >>> Good luck! And I really hope to be able to reward someone with this > money! > >>> -- > >>> Scott McDonald > >>> http://thelivecodelab.com/ > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dvglasgow at gmail.com Wed Jun 19 11:02:46 2019 From: dvglasgow at gmail.com (David V Glasgow) Date: Wed, 19 Jun 2019 16:02:46 +0100 Subject: teeny tiny answer dialog text on Windows Message-ID: <211066CB-5B2D-4E99-B716-AC9179769EA1@gmail.com> Hello, folks. Having returned to work on an old stack I have found that whereas standalone answer dialogs look fine on Mac, on Windows (10) the text (eg. ?Do you really want to quit??) is so small it is barely legible. (Building on Mac 10.12 and 10.13) I set the font to Arial, so although I would expect some font difference, there won?t be problem with missing font. I also built standalones with LC 7.x and 8.x, because I seem to remember that fonts changed in some way in LC8. No obvious difference between them, and no improvement. Before I resort to setting font size via HTML in script for each dialog in turn, any suggestions for a global fix? Thanks Best Wishes, David Glasgow Consultant Forensic & Clinical Psychologist From bobsneidar at iotecdigital.com Wed Jun 19 11:09:16 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Jun 2019 15:09:16 +0000 Subject: teeny tiny answer dialog text on Windows In-Reply-To: <211066CB-5B2D-4E99-B716-AC9179769EA1@gmail.com> References: <211066CB-5B2D-4E99-B716-AC9179769EA1@gmail.com> Message-ID: I wonder what the default font for the stack is? I know new fields will "inherit" the font of the stack. Perhaps dialogs do too. When I look at one of my stacks, the stack font is, "System Font Regular". If the font for the stack was set to a font that only exists on the MacOS, Windows will attempt to substitute for a near match, which usually does not end well. Bob S > On Jun 19, 2019, at 08:02 , David V Glasgow via use-livecode wrote: > > Hello, folks. > > Having returned to work on an old stack I have found that whereas standalone answer dialogs look fine on Mac, on Windows (10) the text (eg. ?Do you really want to quit??) is so small it is barely legible. (Building on Mac 10.12 and 10.13) > > I set the font to Arial, so although I would expect some font difference, there won?t be problem with missing font. I also built standalones with LC 7.x and 8.x, because I seem to remember that fonts changed in some way in LC8. No obvious difference between them, and no improvement. > > Before I resort to setting font size via HTML in script for each dialog in turn, any suggestions for a global fix? > > Thanks > > Best Wishes, > David Glasgow > Consultant Forensic & Clinical Psychologist From dvglasgow at gmail.com Wed Jun 19 12:02:10 2019 From: dvglasgow at gmail.com (David V Glasgow) Date: Wed, 19 Jun 2019 17:02:10 +0100 Subject: teeny tiny answer dialog text on Windows In-Reply-To: References: <211066CB-5B2D-4E99-B716-AC9179769EA1@gmail.com> Message-ID: <133ECBBE-93BF-4B64-B533-09190AB8A60A@gmail.com> Yeah, I did wonder that, too. On openstack (mainstack ) I set the font to Arial. I will double check just in case I have contradicted that somewhere else, but I don?t think that is it. Cheers, David G > On 19 Jun 2019, at 4:09 pm, Bob Sneidar via use-livecode wrote: > > I wonder what the default font for the stack is? I know new fields will "inherit" the font of the stack. Perhaps dialogs do too. When I look at one of my stacks, the stack font is, "System Font Regular". If the font for the stack was set to a font that only exists on the MacOS, Windows will attempt to substitute for a near match, which usually does not end well. > > Bob S > > >> On Jun 19, 2019, at 08:02 , David V Glasgow via use-livecode wrote: >> >> Hello, folks. >> >> Having returned to work on an old stack I have found that whereas standalone answer dialogs look fine on Mac, on Windows (10) the text (eg. ?Do you really want to quit??) is so small it is barely legible. (Building on Mac 10.12 and 10.13) >> >> I set the font to Arial, so although I would expect some font difference, there won?t be problem with missing font. I also built standalones with LC 7.x and 8.x, because I seem to remember that fonts changed in some way in LC8. No obvious difference between them, and no improvement. >> >> Before I resort to setting font size via HTML in script for each dialog in turn, any suggestions for a global fix? >> >> Thanks >> >> Best Wishes, >> David Glasgow >> Consultant Forensic & Clinical Psychologist > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 19 17:15:29 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 19 Jun 2019 14:15:29 -0700 Subject: teeny tiny answer dialog text on Windows In-Reply-To: References: Message-ID: <6322dff0-4285-300f-87b2-5021063ef2aa@fourthworld.com> Bob Sneidar wrote: > When I look at one of my stacks, the stack font is, "System Font > Regular". That font should match dialog specs for the host system. If you find it doesn't look like other dialogs on Win10, please file a bug report. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at livecode.org Wed Jun 19 22:59:52 2019 From: paul at livecode.org (Paul Hibbert) Date: Wed, 19 Jun 2019 19:59:52 -0700 Subject: $1,000 Bounty For LiveCode Bug 20240 In-Reply-To: <89D20F88-6261-42F3-B056-B1759B2D2DC9@anvic.net> References: <1502753929.5992348939b3d@www.server101.com> <735BF227-2AF3-49B1-9710-AE2098A3876A@swcp.com> <89D20F88-6261-42F3-B056-B1759B2D2DC9@anvic.net> Message-ID: <565AD68F-C972-4E41-8E2D-48E55F8A9413@livecode.org> > On 19 Jun 2019, at 01:26, Simon Knight via use-livecode wrote: > > 3. Go to edit menu and click 'undo' : the dragged text is deleted - ouch! I?ve seen this too, but then soon realised that clicking ?undo? a second time did restore the text in its original position. Seems the ?Drag? and ?Drop? are treated as two separate actions. Paul From hh at hyperhh.de Thu Jun 20 07:43:57 2019 From: hh at hyperhh.de (hh) Date: Thu, 20 Jun 2019 13:43:57 +0200 Subject: ImageStatistics_v160 Message-ID: [Version 100 computes the marginal color value distribution for each channel R/G/B of an image and some statistical parameters for each channel.] Version 160 now adds the distribution of the (R,G,B)-triplets: The frequencies of the used (R,G,B)-triplets are listed for that. By using Javascript (via a browser widget) for the conversion of the color bytes to their numerical R/G/B-values this is fast even for images of screen size. You can also put the (R,G,B)-triplets into the x?3 bins (ranges combinations) that are given by dividing for each channel the 0-255 range into x=2,4,8,16,32,64,128 bins. By using bins you can define color-categories such as "close to white", for example with 64 bins this could be the ranges combination given by the last bin of each of (R,G,B) = (252-255,252-255,252-255). From hh at hyperhh.de Thu Jun 20 07:45:55 2019 From: hh at hyperhh.de (hh) Date: Thu, 20 Jun 2019 13:45:55 +0200 Subject: ImageStatistics_v160 Message-ID: <03A96AF8-7030-4FA1-AB47-B8C150DA6F3A@hyperhh.de> Forgot the link, sorry: Download ImageStatistics_v160 from "Sample Stacks" or using http://livecodeshare.runrev.com/stack/882/ From dsc at swcp.com Thu Jun 20 11:15:31 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 20 Jun 2019 09:15:31 -0600 Subject: ImageStatistics_v160 In-Reply-To: References: Message-ID: <6E8AC39F-2236-485A-8006-CE9CBFAAA69E@swcp.com> I took a gander. I think I'm doing something wrong. When I check the Table checkbox, I get x*3 values not x^3 values. > On Jun 20, 2019, at 5:43 AM, hh via use-livecode wrote: > > [Version 100 computes the marginal color value distribution for each channel R/G/B > of an image and some statistical parameters for each channel.] > > Version 160 now adds the distribution of the (R,G,B)-triplets: > The frequencies of the used (R,G,B)-triplets are listed for that. > > By using Javascript (via a browser widget) for the conversion of the color bytes to > their numerical R/G/B-values this is fast even for images of screen size. > > You can also put the (R,G,B)-triplets into the x?3 bins (ranges combinations) that > are given by dividing for each channel the 0-255 range into x=2,4,8,16,32,64,128 bins. > > > By using bins you can define color-categories such as "close to white", for example > with 64 bins this could be the ranges combination given by the last bin of each of > (R,G,B) = (252-255,252-255,252-255). > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From brahma at hindu.org Thu Jun 20 11:25:46 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 20 Jun 2019 15:25:46 +0000 Subject: OT: Coloring Book Contract Message-ID: <8A0C2C66-6E98-4800-BDAD-7904197FBCF0@hindu.org> I have a big Hindu organization that wants to produce a coloring book. We are looking to put them in touch with someone who is willing in take art work and create an application, will also involve a printed version as well. (easy part) Years ago I tried with big enterprise system developer to produce something - it was a disaster. They were involved with back tools for enterprise and could not design their way out of box With some design sense of "what look great on mobile" .. LC seems a perfect fit. Be forewarned that "the client does not really have any idea about what he wants" Therefore, you should build into the contract what designers/developers call a "discovery process" = you get paid for the time it takes to nail down what the client "really" wants , usually per hour an initial consultation, Pay as you go?. plus UI/UX designs-prototypes iteration *before* you code anything. Contact me off list if you have experience, plus samples of the work done in this genre Svasti Astu, Be Well! Brahmanathaswami Get the SivaSiva app, it's free: https://www.himalayanacademy.com/apps/sivasiva From hh at hyperhh.de Thu Jun 20 11:40:27 2019 From: hh at hyperhh.de (hh) Date: Thu, 20 Jun 2019 17:40:27 +0200 Subject: ImageStatistics_v160 Message-ID: > I wrote: > You can also put the (R,G,B)-triplets into the x^3 bins (ranges combinations) that > are given by dividing for each channel the 0-255 range into x=2,4,8,16,32,64,128 bins. > Dar S. wrote: > I think I'm doing something wrong. When I check the Table checkbox, I get x*3 values > not x^3 values. The "Table" is for the marginal distributions only (each of the three channels *separately* evaluated). So dividing the 0-255 range into x=2,4,8,16,32,64,128 bins gives x ranges for each channel. Now looking at the (R,G,B)-triplets you get x*x*x = x^3 possible combinations of the bins. The frequencies for these combinations are listed, leaving out the combinations that have a frequency of zero. There is no "Table"-display for this 3D distribution in the stack. From dsc at swcp.com Thu Jun 20 14:06:13 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 20 Jun 2019 12:06:13 -0600 Subject: ImageStatistics_v160 In-Reply-To: References: Message-ID: I get it. I thought the "paper tape" table was a distribution of individual colors and didn't recognize the values as bin indicators. I changed the number of bins to 4 and can see the x^3. I get a little dense at times. Ah, and if I hold the pointer over the "paper tape", I see a nice summary. > On Jun 20, 2019, at 9:40 AM, hh via use-livecode wrote: > >> I wrote: >> You can also put the (R,G,B)-triplets into the x^3 bins (ranges combinations) that >> are given by dividing for each channel the 0-255 range into x=2,4,8,16,32,64,128 bins. > >> Dar S. wrote: >> I think I'm doing something wrong. When I check the Table checkbox, I get x*3 values >> not x^3 values. > > The "Table" is for the marginal distributions only (each of the three channels *separately* > evaluated). > > So dividing the 0-255 range into x=2,4,8,16,32,64,128 bins gives x ranges for each channel. > > Now looking at the (R,G,B)-triplets you get x*x*x = x^3 possible combinations of the bins. > The frequencies for these combinations are listed, leaving out the combinations that have > a frequency of zero. There is no "Table"-display for this 3D distribution in the stack. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 20 14:41:07 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 20 Jun 2019 14:41:07 -0400 Subject: Help with drawing in LiveCode... Message-ID: <031b0083-e38d-1f6c-51ec-cb25da6807e9@researchware.com> I have an old stack (built under LC 4.6.4) that has a component that does some simple drawing. There is a tool bar (some buttons and menus) and below that a drawing area (scrolling group) A mouseMove handler set the tool to the *pointer tool* when over the drawing area and back to the *browse tool* when over the toolbar (so the user could click buttons/menus to perform functions in the toolbar) In LC4.6.4 when a object was selected in the drawing area (showing selected object handles) and the cursor moved to the toolbar and switched back to the browse tool, the selection handles remained and any selected object was still among the selectedObjects Now having converted the stack to LC9.0.5, when the cursor it set back to the browse tool, the selection handles on any selected objects disappear and no objects are selected!? So, how in LC9, does one do the basic task of using LC's built in tools to select objects in a "drawing area" (a group) and keep them selected while mousing outside the drawing area to actually perform some function by clicking and sending a mouseUp event (or menupick or whatever)? I feel I am missing something obvious in changes around this topic between LC4.6.4 and LC9.0.5rc1 From dunbarx at aol.com Thu Jun 20 15:02:29 2019 From: dunbarx at aol.com (dunbarxx) Date: Thu, 20 Jun 2019 14:02:29 -0500 (CDT) Subject: Help with drawing in LiveCode... In-Reply-To: <031b0083-e38d-1f6c-51ec-cb25da6807e9@researchware.com> References: <031b0083-e38d-1f6c-51ec-cb25da6807e9@researchware.com> Message-ID: <1561057349434-0.post@n4.nabble.com> Hi. Untested, but this is kluge time. Something like this in the card script, though I bet it can be made cleaner and more robust: on mouseLeave set the liveHandles of this cd to the name of the target select empty end mouseLeave on mouseEnter do "select" && the liveHandles of this cd end mouseEnter Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From jacque at hyperactivesw.com Thu Jun 20 16:56:26 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Jun 2019 15:56:26 -0500 Subject: Filter an array by content Message-ID: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> I need to filter a numeric array by the content of the keys, not by the keys themselves. Is there a way to do that without looping through the entire array and looking at each element? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Thu Jun 20 17:08:53 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 20 Jun 2019 15:08:53 -0600 Subject: Filter an array by content In-Reply-To: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> Message-ID: In 9.5, perhaps, filter ... where will do it. > On Jun 20, 2019, at 2:56 PM, J. Landman Gay via use-livecode wrote: > > I need to filter a numeric array by the content of the keys, not by the keys themselves. Is there a way to do that without looping through the entire array and looking at each element? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Jun 20 17:28:37 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Jun 2019 21:28:37 +0000 Subject: Filter an array by content In-Reply-To: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> Message-ID: This is the perfect scenario for my arrayToDB library. Convert array to sqLite DB, query the DB using SELECT * from WHERE ORDER BY CAST( AS decimal(10.2)) then convert the resulting cursor back to an array. Contact me offlist if interested. Bob S > On Jun 20, 2019, at 13:56 , J. Landman Gay via use-livecode wrote: > > I need to filter a numeric array by the content of the keys, not by the keys themselves. Is there a way to do that without looping through the entire array and looking at each element? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com From bobsneidar at iotecdigital.com Thu Jun 20 17:35:44 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Jun 2019 21:35:44 +0000 Subject: Hidden Windows keep re-showing Message-ID: <582B763E-8D88-4006-9DEC-B9BD5522927D@iotecdigital.com> Hi all. I'm having fits here. Just before I open a stack modally, I hide another stack. But the hidden stack keeps re-showing itself! Is there an event I can trap for when a window is shown? I need to find what is doing it and I have already scoured and traced the code and attempted to step through it with breakpoints set everywhere. I can't find it. Bob S From hh at hyperhh.de Thu Jun 20 17:37:54 2019 From: hh at hyperhh.de (hh) Date: Thu, 20 Jun 2019 23:37:54 +0200 Subject: Filter an array by content Message-ID: Why not "combine array V > filter V > split V"? > JLG wrote: > I need to filter a numeric array by the content of the keys, not by the > keys themselves. Is there a way to do that without looping through the > entire array and looking at each element? From bobsneidar at iotecdigital.com Thu Jun 20 17:41:46 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Jun 2019 21:41:46 +0000 Subject: Filter an array by content In-Reply-To: References: Message-ID: You would have to also sort. Also, the array might not be sorted after the split. Bob S > On Jun 20, 2019, at 14:37 , hh via use-livecode wrote: > > Why not "combine array V > filter V > split V"? > >> JLG wrote: >> I need to filter a numeric array by the content of the keys, not by the >> keys themselves. Is there a way to do that without looping through the >> entire array and looking at each element? From dsc at swcp.com Thu Jun 20 17:55:41 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 20 Jun 2019 15:55:41 -0600 Subject: Filter an array by content In-Reply-To: References: Message-ID: <771B520D-0316-455C-BEA6-89036B9BAB61@swcp.com> I think the filtering of array items was introduced in 8.1, so combine and split might not be needed. However, unless pattern matching will do, one has to wait until 9.5 to use the "where" clause in "filter". > On Jun 20, 2019, at 3:37 PM, hh via use-livecode wrote: > > Why not "combine array V > filter V > split V"? > >> JLG wrote: >> I need to filter a numeric array by the content of the keys, not by the >> keys themselves. Is there a way to do that without looping through the >> entire array and looking at each element? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu Jun 20 18:12:15 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 20 Jun 2019 16:12:15 -0600 Subject: Filter an array by content In-Reply-To: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> Message-ID: <3F253111-76E1-4125-A30B-B2320EC343F1@swcp.com> If LiveCode 9.5 is not applicable (since it is not released), then... If those numbers are codes taken from some small universe of codes, then maybe intersect will work: intersect affectedZipCodes with TreatedZipCodes into inspectionZipCodes But if you can go with 9.5, then maybe "where" will work: filter elements of testDistance where each > 20.5 into failedDistance > On Jun 20, 2019, at 2:56 PM, J. Landman Gay via use-livecode wrote: > > I need to filter a numeric array by the content of the keys, not by the keys themselves. Is there a way to do that without looping through the entire array and looking at each element? > > -- > 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 monte at appisle.net Thu Jun 20 18:18:47 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 21 Jun 2019 08:18:47 +1000 Subject: Filter an array by content In-Reply-To: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> Message-ID: <891365BB-E80F-4E3D-9FBC-B3DE4B1426E5@appisle.net> Hi Jacque, does the output also need to be a sequential numeric array? If so then no variant of the filter command will help. If not then can?t you `filter elements of theArray with ?*foobar*?``? It would be a nice addition to filter elements to have `as sequence` or something so the result had keys 1..N. > On 21 Jun 2019, at 6:56 am, J. Landman Gay via use-livecode wrote: > > I need to filter a numeric array by the content of the keys, not by the keys themselves. Is there a way to do that without looping through the entire array and looking at each element? > > -- > 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 martyknappster at gmail.com Thu Jun 20 18:37:57 2019 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 20 Jun 2019 15:37:57 -0700 Subject: iOS First App Message-ID: I'm thinking of diving into my first iOS app. I'd like to adapt my existing desktop LC-based customer database so I can take care of customers when I'm out and about. The iOS app would just be for me and NOT be distributed. The actual data is in a text file and resides in Dropbox. I do have an Apple Developer account. Can anyone tell me: 1) Can I build an app just for myself and have it *perpetually* on my iPhone? Any caveats? 2) Is there a good tutorial somewhere to help me get started on this? Looks like the lessons on the Livecode site are kind of old - still relevant? As far as capabilities, it just needs: 1) to be able to read the text file in Dropbox 2) to be able to copy text (to paste into an email) It will most likely just be used in the portrait orientation, so all-in-all a very simple app. Marty From paul at researchware.com Thu Jun 20 19:26:09 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 20 Jun 2019 19:26:09 -0400 Subject: Help with drawing in LiveCode... In-Reply-To: <1561057349434-0.post@n4.nabble.com> References: <031b0083-e38d-1f6c-51ec-cb25da6807e9@researchware.com> <1561057349434-0.post@n4.nabble.com> Message-ID: <286f5ef6-3655-224c-cb9e-57ad61b6a4bf@researchware.com> On 6/20/2019 3:02 PM, dunbarxx via use-livecode wrote: > Hi. > > Untested, but this is kluge time. > > Something like this in the card script, though I bet it can be made cleaner > and more robust: > > on mouseLeave > set the liveHandles of this cd to the name of the target > select empty > end mouseLeave > > on mouseEnter > do "select" && the liveHandles of this cd > end mouseEnter > > Craig > Thank you, but I have realized what I need a tutorial or - even better - a sample drawing stack. Anyone on this list have one or can point me to one? Not a paint stack, but one that uses graphic objects. From hh at hyperhh.de Thu Jun 20 21:21:00 2019 From: hh at hyperhh.de (hh) Date: Fri, 21 Jun 2019 03:21:00 +0200 Subject: Help with drawing in LiveCode... Message-ID: One of my "early LC works (2014)" may be (partially) what you are looking for: Raspberry Pi stacks collection #30 = SmoothDraw4.livecode http://forums.livecode.com/viewtopic.php?p=104113#p104113 > Paul D. wrote: > Thank you, but I have realized what I need a tutorial or > - even better - a sample drawing stack. Anyone on this > list have one or can point me to one? > > Not a paint stack, but one that uses graphic objects. From rdimola at evergreeninfo.net Thu Jun 20 21:23:23 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 20 Jun 2019 21:23:23 -0400 Subject: iOS First App In-Reply-To: References: Message-ID: <007b01d527cf$ee64bab0$cb2e3010$@net> Hey Marty... 1) You can run up to 100 "test" devices without having to publish to the store. You will have to rebuild it once a year when your development certificate is renewed. 2) I gave to 50,000 foot overview of what you need to do to get an app up and running(iOS and Android) at this year's conference along with handlers to do the icons and splash screens. You can ask support on how to get this. The basic concept still stands. Create/download/install a development iOS certificate to your Mac. Create an app ID. This allows you to create a provisioning profile that Xcode downloads for use by LiveCode. 3) If you have a URL to the file then it's child's play 4) Putting text into an email is easy(mobileComposeMail). 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 Marty Knapp via use-livecode Sent: Thursday, June 20, 2019 6:38 PM To: Use Livecode Cc: Marty Knapp Subject: iOS First App I'm thinking of diving into my first iOS app. I'd like to adapt my existing desktop LC-based customer database so I can take care of customers when I'm out and about. The iOS app would just be for me and NOT be distributed. The actual data is in a text file and resides in Dropbox. I do have an Apple Developer account. Can anyone tell me: 1) Can I build an app just for myself and have it *perpetually* on my iPhone? Any caveats? 2) Is there a good tutorial somewhere to help me get started on this? Looks like the lessons on the Livecode site are kind of old - still relevant? As far as capabilities, it just needs: 1) to be able to read the text file in Dropbox 2) to be able to copy text (to paste into an email) It will most likely just be used in the portrait orientation, so all-in-all a very simple app. 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 dunbarx at aol.com Thu Jun 20 23:34:14 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 21 Jun 2019 03:34:14 +0000 (UTC) Subject: Help with drawing in LiveCode... In-Reply-To: References: Message-ID: <1827939620.56280.1561088054762@mail.yahoo.com> I implemented a fairly complex drawing module to a stack we use all the time. It isn't CAD, but it looks like it, albeit rather less professional looking than, say, AutoCad or SoldWorks would produce. We send these drawings out daily to clients. They are based on data calculated within the stack, and use graphic objects galore. But our drawings are one-way, that is, once drawn, they are complete, and are forwarded as PDF's. You are looking to be able to manipulate objects (in CAD parlance) live on screen. In a CAD environment an object that has been selected remains so, regardless of tool or property changes, until either nothing is selected or one or more (other or additional) objects are explicitly selected. This should not be a problem, once some tools are in place, such as the one you are asking for with auto re-selection of controls based on recent activity. But that is just gadgetry, and once set up, should allow you to do whatever you want to. I would be glad to show you what I make, if that will at least give you an idea of how far you can take drawing in LC. But remember, LC is not a drawing or CAD program. But you can make it act like one. You just have to change some of the built-in rules. Craig -----Original Message----- From: hh via use-livecode To: use-livecode Cc: hh Sent: Thu, Jun 20, 2019 9:21 pm Subject: Re: Help with drawing in LiveCode... One of my "early LC works (2014)" may be (partially) what you are looking for: Raspberry Pi stacks collection #30 = SmoothDraw4.livecode http://forums.livecode.com/viewtopic.php?p=104113#p104113 > Paul D. wrote: > Thank you, but I have realized what I need a tutorial or > - even better -? a sample drawing stack. Anyone on this > list have one or can point me to one? > > Not a paint stack, but one that uses graphic objects. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Fri Jun 21 00:10:42 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 21 Jun 2019 00:10:42 -0400 Subject: Filter an array by content In-Reply-To: <891365BB-E80F-4E3D-9FBC-B3DE4B1426E5@appisle.net> References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> <891365BB-E80F-4E3D-9FBC-B3DE4B1426E5@appisle.net> Message-ID: A great question Jacque ....Helpful thread all around. I have a tendency to think that any operation i perform to convert an entire array into something else will take longer than to loop through the keys. I'm happy to be wrong ,and I imagine it depends on the number of items in the dataset. But for my particular use at the moment, I find LC performance to be excellent. Bob I'm interested in your library......mostly learning the point at which it makes sense to do that conversion and what kind of speedups can occur.....have you done any benchmarks on it? Great reminder & idea Monte On Thu, Jun 20, 2019 at 6:19 PM Monte Goulding via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Jacque, does the output also need to be a sequential numeric array? If > so then no variant of the filter command will help. If not then can?t you > `filter elements of theArray with ?*foobar*?``? It would be a nice addition > to filter elements to have `as sequence` or something so the result had > keys 1..N. > > > On 21 Jun 2019, at 6:56 am, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I need to filter a numeric array by the content of the keys, not by the > keys themselves. Is there a way to do that without looping through the > entire array and looking at each element? > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jun 21 02:38:44 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jun 2019 01:38:44 -0500 Subject: Filter an array by content In-Reply-To: References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> <891365BB-E80F-4E3D-9FBC-B3DE4B1426E5@appisle.net> Message-ID: <06718157-39f2-6285-7ffd-3cec03c2d2bc@hyperactivesw.com> Thanks to all for the replies. Monte, I didn't see your post until Tom quoted it, for some reason it didn't arrive here. At any rate, I'd already tried "filter elements of..." and it failed which is why I posted. But I must have had my filter wrong because I just tried it again and it worked. So that part's solved. And I found something interesting: when I filter a numeric array, the keys remain attached and since they are numeric, they're in order. Fancy that. :) All is well. Thanks guys. On 6/20/19 11:10 PM, Tom Glod via use-livecode wrote: > A great question Jacque ....Helpful thread all around. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jun 21 03:01:19 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jun 2019 02:01:19 -0500 Subject: Filter an array by content In-Reply-To: <06718157-39f2-6285-7ffd-3cec03c2d2bc@hyperactivesw.com> References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> <891365BB-E80F-4E3D-9FBC-B3DE4B1426E5@appisle.net> <06718157-39f2-6285-7ffd-3cec03c2d2bc@hyperactivesw.com> Message-ID: I spoke too soon. When I tested, I hard-coded a value as the filter string. But when I use a variable, it fails as it did before. The elements of the array all start with a 4-character string followed by an underscore, for example: ER01_some text here My variable contains "ER01": put tVar & "_*" into tFilter filter elements of sArray with tFilter into tNewArray No go. I've tried a few different iterations. However, this works: filter elements of sArray with "ER01_*" into tNewArray Even with no matches though, Tom was right. Looping through the keys takes 0.03 milliseconds. Filtering takes 0.22 ms. On 6/21/19 1:38 AM, J. Landman Gay via use-livecode wrote: > Thanks to all for the replies. Monte, I didn't see your post until Tom > quoted it, for some reason it didn't arrive here. > > At any rate, I'd already tried "filter elements of..." and it failed > which is why I posted. But I must have had my filter wrong because I > just tried it again and it worked. So that part's solved. > > And I found something interesting: when I filter a numeric array, the > keys remain attached and since they are numeric, they're in order. Fancy > that. :) > > All is well. Thanks guys. > > On 6/20/19 11:10 PM, Tom Glod via use-livecode wrote: >> A great question Jacque ....Helpful thread all around. > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at hyperhh.de Fri Jun 21 04:54:34 2019 From: hh at hyperhh.de (hh) Date: Fri, 21 Jun 2019 10:54:34 +0200 Subject: Help with drawing in LiveCode... Message-ID: Here is a very simple drawing stack made once for testing the HTML5 standalone builder. http://hyperhh.de/html5/krikelKrakel2a-8.0.2X.html > Paul D. wrote: > ... need a sample drawing stack ... > Not a paint stack, but one that uses graphic objects. From Bernd.Niggemann at uni-wh.de Fri Jun 21 05:26:27 2019 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Fri, 21 Jun 2019 09:26:27 +0000 Subject: Filter an array by content In-Reply-To: References: Message-ID: Am 21.06.2019 um 09:01 schrieb use-livecode-request at lists.runrev.com: From: "J. Landman Gay" I spoke too soon. When I tested, I hard-coded a value as the filter string. But when I use a variable, it fails as it did before. The elements of the array all start with a 4-character string followed by an underscore, for example: ER01_some text here My variable contains "ER01": put tVar & "_*" into tFilter filter elements of sArray with tFilter into tNewArray No go. I've tried a few different iterations. However, this works: filter elements of sArray with "ER01_*" into tNewArray This works for me in 9.0.4 and 9.5 DP1 ---------------------------------------------------- on mouseUp local tErr = "ER01" local tArray, tVar, tNewArray put (tErr & "_*") into tVar repeat with i = 1 to 17 if i mod 2 is 1 then put tErr & "_" & i into tArray[i] else put i into tArray[i] end if end repeat breakpoint filter elements of tArray with tVar into tNewArray breakpoint filter elements of tArray with tVar breakpoint end mouseUp ---------------------------------------------------- may be O <> zero? Kind regards Bernd From hh at hyperhh.de Fri Jun 21 06:01:53 2019 From: hh at hyperhh.de (hh) Date: Fri, 21 Jun 2019 12:01:53 +0200 Subject: ImageStatistics_v160 Message-ID: <6A303465-F0AE-4AB3-8821-20074E6C5AD9@hyperhh.de> In case you downloaded v160: [Version 160 had an error in the javascript for listing the (R,G,B)-triplets (was counting some green for red)] So please update! Download "ImageStatistics_v165" from "Sample Stacks" or using http://livecodeshare.runrev.com/stack/882/ From paul at researchware.com Fri Jun 21 09:21:41 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 21 Jun 2019 09:21:41 -0400 Subject: Help with drawing in LiveCode... In-Reply-To: References: Message-ID: <85a28772-4174-26d5-c8b1-3b80e141f795@researchware.com> On 6/21/2019 4:54 AM, hh via use-livecode wrote: > Here is a very simple drawing stack made once for testing the > HTML5 standalone builder. > > http://hyperhh.de/html5/krikelKrakel2a-8.0.2X.html > > That could be a helpful example. Thank you, but how do I download the actual stack? From paul at researchware.com Fri Jun 21 09:29:13 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 21 Jun 2019 09:29:13 -0400 Subject: Help with drawing in LiveCode... In-Reply-To: <1827939620.56280.1561088054762@mail.yahoo.com> References: <1827939620.56280.1561088054762@mail.yahoo.com> Message-ID: <1eaef54f-a61d-0fa1-87d7-a5c47a2ae587@researchware.com> On 6/20/2019 11:34 PM, dunbarx--- via use-livecode wrote: > I implemented a fairly complex drawing module to a stack we use all the time. It isn't CAD, but it looks like it, albeit rather less professional looking than, say, AutoCad or SoldWorks would produce. > We send these drawings out daily to clients. They are based on data calculated within the stack, and use graphic objects galore. > But our drawings are one-way, that is, once drawn, they are complete, and are forwarded as PDF's. You are looking to be able to manipulate objects (in CAD parlance) live on screen. In a CAD environment an object that has been selected remains so, regardless of tool or property changes, until either nothing is selected or one or more (other or additional) objects are explicitly selected. > This should not be a problem, once some tools are in place, such as the one you are asking for with auto re-selection of controls based on recent activity. But that is just gadgetry, and once set up, should allow you to do whatever you want to. > I would be glad to show you what I make, if that will at least give you an idea of how far you can take drawing in LC. But remember, LC is not a drawing or CAD program. But you can make it act like one. You just have to change some of the built-in rules. > Craig > Thank you. You example sounds closes to what I am looking for. The old stack I have uses a technique of switching the tool from the browse tool (when a user need to click on tool icons or menus or whatever to the appropriate vector drawing tool when the mouse is over the drawing area, including the pointer tool for selecting, dragging, or resizing existing graphic objects created using other tools. The difference is, in the old stack under LC4.6.4 of an object is selected (say a rectangle) and the tool is set back to browse to click on a color palette (or whatever), the object remains selected. However, under LC9 it does not. Or if it is something in the old code of the stack I can't figure out what. That's why I am looking for an example to learn from. I'd appreciate taking a look at your stack. From dsc at swcp.com Fri Jun 21 10:17:35 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 21 Jun 2019 08:17:35 -0600 Subject: Filter an array by content In-Reply-To: References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> <891365BB-E80F-4E3D-9FBC-B3DE4B1426E5@appisle.net> <06718157-39f2-6285-7ffd-3cec03c2d2bc@hyperactivesw.com> Message-ID: I wonder whether explicitly specifying "wildcard pattern" would fix this. (I misread your query as referring to arrays with numeric elements, not arrays with numeric keys. Thus, my fascination with the new "where" where one can use "each > 22.2". Even with your use, "where" might be interesting.) > On Jun 21, 2019, at 1:01 AM, J. Landman Gay via use-livecode wrote: > > I spoke too soon. When I tested, I hard-coded a value as the filter string. But when I use a variable, it fails as it did before. The elements of the array all start with a 4-character string followed by an underscore, for example: ER01_some text here > > My variable contains "ER01": > > put tVar & "_*" into tFilter > filter elements of sArray with tFilter into tNewArray > > No go. I've tried a few different iterations. However, this works: > > filter elements of sArray with "ER01_*" into tNewArray > > Even with no matches though, Tom was right. Looping through the keys takes 0.03 milliseconds. Filtering takes 0.22 ms. > > On 6/21/19 1:38 AM, J. Landman Gay via use-livecode wrote: >> Thanks to all for the replies. Monte, I didn't see your post until Tom quoted it, for some reason it didn't arrive here. >> At any rate, I'd already tried "filter elements of..." and it failed which is why I posted. But I must have had my filter wrong because I just tried it again and it worked. So that part's solved. >> And I found something interesting: when I filter a numeric array, the keys remain attached and since they are numeric, they're in order. Fancy that. :) >> All is well. Thanks guys. >> On 6/20/19 11:10 PM, Tom Glod via use-livecode wrote: >>> A great question Jacque ....Helpful thread all around. > > > -- > 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 hh at hyperhh.de Fri Jun 21 10:51:09 2019 From: hh at hyperhh.de (hh) Date: Fri, 21 Jun 2019 16:51:09 +0200 Subject: Help with drawing in LiveCode... Message-ID: http://forums.livecode.com/viewtopic.php?p=139080#p139080 > > hh wrote: > > Here is a very simple drawing stack made once for testing the > > HTML5 standalone builder. > > > > http://hyperhh.de/html5/krikelKrakel2a-8.0.2X.html > > > Paul D. wrote: > That could be a helpful example. Thank you, but how do I download the > actual stack? From dunbarx at aol.com Fri Jun 21 11:01:47 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 21 Jun 2019 15:01:47 +0000 (UTC) Subject: Help with drawing in LiveCode... In-Reply-To: <1eaef54f-a61d-0fa1-87d7-a5c47a2ae587@researchware.com> References: <1827939620.56280.1561088054762@mail.yahoo.com> <1eaef54f-a61d-0fa1-87d7-a5c47a2ae587@researchware.com> Message-ID: <61726478.28520.1561129307412@mail.yahoo.com> Again, my drawing gadget creates, sizes, places and dimensions graphics, simulating a CAD drawing. You are still focused on tool switching and control selecting. That is fine, but is that the main and only issue for you? We can work on that, the goal being that you modify the current behavior of LC to the behavior of the old one you are used to.? I do not need that, since the entirety of my drawing is created under script control. So may I request that you post to the forum? I am much more comfortable there, and we can all propose handlers that will restore the old way. Did you try the handler I posted earlier? It is a good start. Craig -----Original Message----- From: Paul Dupuis via use-livecode To: use-livecode Cc: Paul Dupuis Sent: Fri, Jun 21, 2019 9:29 am Subject: Re: Help with drawing in LiveCode... On 6/20/2019 11:34 PM, dunbarx--- via use-livecode wrote: > I implemented a fairly complex drawing module to a stack we use all the time. It isn't CAD, but it looks like it, albeit rather less professional looking than, say, AutoCad or SoldWorks would produce. > We send these drawings out daily to clients. They are based on data calculated within the stack, and use graphic objects galore. > But our drawings are one-way, that is, once drawn, they are complete, and are forwarded as PDF's. You are looking to be able to manipulate objects (in CAD parlance) live on screen. In a CAD environment an object that has been selected remains so, regardless of tool or property changes, until either nothing is selected or one or more (other or additional) objects are explicitly selected. > This should not be a problem, once some tools are in place, such as the one you are asking for with auto re-selection of controls based on recent activity. But that is just gadgetry, and once set up, should allow you to do whatever you want to. > I would be glad to show you what I make, if that will at least give you an idea of how far you can take drawing in LC. But remember, LC is not a drawing or CAD program. But you can make it act like one. You just have to change some of the built-in rules. > Craig > Thank you. You example sounds closes to what I am looking for. The old stack I have uses a technique of switching the tool from the browse tool (when a user need to click on tool icons or menus or whatever to the appropriate vector drawing tool when the mouse is over the drawing area, including the pointer tool for selecting, dragging, or resizing existing graphic objects created using other tools. The difference is, in the old stack under LC4.6.4 of an object is selected (say a rectangle) and the tool is set back to browse to click on a color palette (or whatever), the object remains selected. However, under LC9 it does not. Or if it is something in the old code of the stack I can't figure out what. That's why I am looking for an example to learn from. I'd appreciate taking a look at your stack. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jun 21 11:02:29 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Jun 2019 15:02:29 +0000 Subject: Filter an array by content In-Reply-To: References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> <891365BB-E80F-4E3D-9FBC-B3DE4B1426E5@appisle.net> Message-ID: <733194D8-98BB-446D-9F34-405319B55EBF@iotecdigital.com> Hi Tom. So the little benchmarking I did originally showed that my method was a little longer, as I still have to iterate once through the array to populate the database. Where it really shines is that you can do complex queries, as well as multiple column sorts before converting back to an array. Also, if you need to make multiple passes at the data, the speed of course exceeds iterating through the array again and again. Finally, since it's in a database, it's persistent through idle, whereas an array would have to be stored in a script local or a property if you needed it across runtime sessions. Bob S > On Jun 20, 2019, at 21:10 , Tom Glod via use-livecode wrote: > > A great question Jacque ....Helpful thread all around. > > I have a tendency to think that any operation i perform to convert an > entire array into something else will take longer than to loop through the > keys. I'm happy to be wrong ,and I imagine it depends on the number of > items in the dataset. But for my particular use at the moment, I find LC > performance to be excellent. > > Bob I'm interested in your library......mostly learning the point at which > it makes sense to do that conversion and what kind of speedups can > occur.....have you done any benchmarks on it? > > Great reminder & idea Monte From martyknappster at gmail.com Fri Jun 21 11:05:41 2019 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 21 Jun 2019 08:05:41 -0700 Subject: iOS First App In-Reply-To: <007b01d527cf$ee64bab0$cb2e3010$@net> References: <007b01d527cf$ee64bab0$cb2e3010$@net> Message-ID: Thanks Ralph. Marty > On Jun 20, 2019, at 6:23 PM, Ralph DiMola via use-livecode wrote: > > Hey Marty... > > 1) You can run up to 100 "test" devices without having to publish to the > store. You will have to rebuild it once a year when your development > certificate is renewed. > 2) I gave to 50,000 foot overview of what you need to do to get an app up > and running(iOS and Android) at this year's conference along with handlers > to do the icons and splash screens. You can ask support on how to get this. > The basic concept still stands. > Create/download/install a development iOS certificate to your Mac. Create > an app ID. This allows you to create a provisioning profile that Xcode > downloads for use by LiveCode. > 3) If you have a URL to the file then it's child's play pointing to a file") into myVar> > 4) Putting text into an email is easy(mobileComposeMail). > > 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 Marty Knapp via use-livecode > Sent: Thursday, June 20, 2019 6:38 PM > To: Use Livecode > Cc: Marty Knapp > Subject: iOS First App > > I'm thinking of diving into my first iOS app. I'd like to adapt my existing > desktop LC-based customer database so I can take care of customers when I'm > out and about. The iOS app would just be for me and NOT be distributed. The > actual data is in a text file and resides in Dropbox. I do have an Apple > Developer account. > > Can anyone tell me: > > 1) Can I build an app just for myself and have it *perpetually* on my > iPhone? Any caveats? > > 2) Is there a good tutorial somewhere to help me get started on this? Looks > like the lessons on the Livecode site are kind of old - still relevant? > > As far as capabilities, it just needs: > 1) to be able to read the text file in Dropbox > 2) to be able to copy text (to paste into an email) > > It will most likely just be used in the portrait orientation, so all-in-all > a very simple app. > > Marty > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jun 21 11:12:29 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Jun 2019 15:12:29 +0000 Subject: Hidden Windows keep re-showing In-Reply-To: <582B763E-8D88-4006-9DEC-B9BD5522927D@iotecdigital.com> References: <582B763E-8D88-4006-9DEC-B9BD5522927D@iotecdigital.com> Message-ID: NVM I think I found it. For some reason I was unable to trace because neither soft or hard breakpoints were causing the code execution to pause! Even after a reboot. What fixed it (I think) is turning off debugging and then turning it back on. I think I remember someone else having this issue. Bob S > On Jun 20, 2019, at 14:35 , Bob Sneidar via use-livecode wrote: > > Hi all. I'm having fits here. Just before I open a stack modally, I hide another stack. But the hidden stack keeps re-showing itself! Is there an event I can trap for when a window is shown? I need to find what is doing it and I have already scoured and traced the code and attempted to step through it with breakpoints set everywhere. I can't find it. > > Bob S From rdimola at evergreeninfo.net Fri Jun 21 11:24:23 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 21 Jun 2019 11:24:23 -0400 Subject: Hidden Windows keep re-showing In-Reply-To: References: <582B763E-8D88-4006-9DEC-B9BD5522927D@iotecdigital.com> Message-ID: <001601d52845$6a6c13e0$3f443ba0$@net> I've fixed it by clearing all breakpoints. Maybe there's common thread... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Friday, June 21, 2019 11:12 AM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Hidden Windows keep re-showing NVM I think I found it. For some reason I was unable to trace because neither soft or hard breakpoints were causing the code execution to pause! Even after a reboot. What fixed it (I think) is turning off debugging and then turning it back on. I think I remember someone else having this issue. Bob S > On Jun 20, 2019, at 14:35 , Bob Sneidar via use-livecode wrote: > > Hi all. I'm having fits here. Just before I open a stack modally, I hide another stack. But the hidden stack keeps re-showing itself! Is there an event I can trap for when a window is shown? I need to find what is doing it and I have already scoured and traced the code and attempted to step through it with breakpoints set everywhere. I can't find it. > > Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jun 21 11:31:09 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Jun 2019 15:31:09 +0000 Subject: Hidden Windows keep re-showing In-Reply-To: <001601d52845$6a6c13e0$3f443ba0$@net> References: <582B763E-8D88-4006-9DEC-B9BD5522927D@iotecdigital.com> <001601d52845$6a6c13e0$3f443ba0$@net> Message-ID: <4C8EEA88-CC00-41F9-AC96-F0C85EDED02E@iotecdigital.com> I think I did that too. That is probably what fixed it. Bob S > On Jun 21, 2019, at 08:24 , Ralph DiMola via use-livecode wrote: > > I've fixed it by clearing all breakpoints. Maybe there's common thread... > > Ralph DiMola From alex at tweedly.net Fri Jun 21 12:05:56 2019 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 21 Jun 2019 17:05:56 +0100 Subject: Filter an array by content In-Reply-To: <733194D8-98BB-446D-9F34-405319B55EBF@iotecdigital.com> References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> <891365BB-E80F-4E3D-9FBC-B3DE4B1426E5@appisle.net> <733194D8-98BB-446D-9F34-405319B55EBF@iotecdigital.com> Message-ID: <13446a88-bccc-c891-a209-1e0a58bf1173@tweedly.net> Hi Bob, It sounds like your library is something I could benefit from :-) I know it's been mentioned on the list before, but I've lost track of where to get it from, and? a quick search didn't turn anything up. Could you please send a reminder (either to the list or direct to me if you prefer). Thanks Alex. On 21/06/2019 16:02, Bob Sneidar via use-livecode wrote: > Hi Tom. > > So the little benchmarking I did originally showed that my method was a little longer, as I still have to iterate once through the array to populate the database. Where it really shines is that you can do complex queries, as well as multiple column sorts before converting back to an array. Also, if you need to make multiple passes at the data, the speed of course exceeds iterating through the array again and again. Finally, since it's in a database, it's persistent through idle, whereas an array would have to be stored in a script local or a property if you needed it across runtime sessions. > > Bob S > > >> On Jun 20, 2019, at 21:10 , Tom Glod via use-livecode wrote: >> >> A great question Jacque ....Helpful thread all around. >> >> I have a tendency to think that any operation i perform to convert an >> entire array into something else will take longer than to loop through the >> keys. I'm happy to be wrong ,and I imagine it depends on the number of >> items in the dataset. But for my particular use at the moment, I find LC >> performance to be excellent. >> >> Bob I'm interested in your library......mostly learning the point at which >> it makes sense to do that conversion and what kind of speedups can >> occur.....have you done any benchmarks on it? >> >> Great reminder & idea Monte > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jun 21 14:38:31 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jun 2019 13:38:31 -0500 Subject: Filter an array by content In-Reply-To: References: Message-ID: <80376251-6ae8-ad5e-84d3-293dd4c9037a@hyperactivesw.com> Found the problem. My script local was being emptied for some reason, so there was nothing to filter. After repopulating all data it worked. My only excuse is that I've been avoiding stepping through the debugger because LC has been crashing when I do that. I've sent in many crash logs but it's only recently I've discovered it happens only with Step Over. It's hard to believe no one else has seen this, which I've been seeing since LC 9 first came out, but that's why I didn't know what was in the variable. Now that I've discovered breakpoints don't crash as long as I don't step through, I was able to see what's going on. If you have experienced crashes during debugging, take a look at https://quality.livecode.com/show_bug.cgi?id=22130 and https://quality.livecode.com/show_bug.cgi?id=21876 I have several more in my collection that I haven't uploaded yet. On 6/21/19 4:26 AM, Niggemann, Bernd via use-livecode wrote: > > Am 21.06.2019 um 09:01 schrieb use-livecode-request at lists.runrev.com: > > From: "J. Landman Gay" > > I spoke too soon. When I tested, I hard-coded a value as the filter > string. But when I use a variable, it fails as it did before. The > elements of the array all start with a 4-character string followed by an > underscore, for example: ER01_some text here > > My variable contains "ER01": > > put tVar & "_*" into tFilter > filter elements of sArray with tFilter into tNewArray > > No go. I've tried a few different iterations. However, this works: > > filter elements of sArray with "ER01_*" into tNewArray > > > This works for me in 9.0.4 and 9.5 DP1 > > ---------------------------------------------------- > on mouseUp > local tErr = "ER01" > local tArray, tVar, tNewArray > > put (tErr & "_*") into tVar > > repeat with i = 1 to 17 > if i mod 2 is 1 then > put tErr & "_" & i into tArray[i] > else > put i into tArray[i] > end if > end repeat > breakpoint > filter elements of tArray with tVar into tNewArray > breakpoint > filter elements of tArray with tVar > breakpoint > end mouseUp > ---------------------------------------------------- > > may be O <> zero? > > 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Fri Jun 21 15:10:07 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 21 Jun 2019 15:10:07 -0400 Subject: Help with drawing in LiveCode... In-Reply-To: <61726478.28520.1561129307412@mail.yahoo.com> References: <1827939620.56280.1561088054762@mail.yahoo.com> <1eaef54f-a61d-0fa1-87d7-a5c47a2ae587@researchware.com> <61726478.28520.1561129307412@mail.yahoo.com> Message-ID: <5f28f5a1-ea4c-36ba-0408-7b666a86f1e8@researchware.com> Posted on forums at http://forums.livecode.com/viewtopic.php?f=8&t=32779 On 6/21/2019 11:01 AM, dunbarx--- via use-livecode wrote: > Again, my drawing gadget creates, sizes, places and dimensions graphics, simulating a CAD drawing. > You are still focused on tool switching and control selecting. That is fine, but is that the main and only issue for you? We can work on that, the goal being that you modify the current behavior of LC to the behavior of the old one you are used to. > I do not need that, since the entirety of my drawing is created under script control. So may I request that you post to the forum? I am much more comfortable there, and we can all propose handlers that will restore the old way. > Did you try the handler I posted earlier? It is a good start. > Craig > > > -----Original Message----- > From: Paul Dupuis via use-livecode > To: use-livecode > Cc: Paul Dupuis > Sent: Fri, Jun 21, 2019 9:29 am > Subject: Re: Help with drawing in LiveCode... > > On 6/20/2019 11:34 PM, dunbarx--- via use-livecode wrote: >> I implemented a fairly complex drawing module to a stack we use all the time. It isn't CAD, but it looks like it, albeit rather less professional looking than, say, AutoCad or SoldWorks would produce. >> We send these drawings out daily to clients. They are based on data calculated within the stack, and use graphic objects galore. >> But our drawings are one-way, that is, once drawn, they are complete, and are forwarded as PDF's. You are looking to be able to manipulate objects (in CAD parlance) live on screen. In a CAD environment an object that has been selected remains so, regardless of tool or property changes, until either nothing is selected or one or more (other or additional) objects are explicitly selected. >> This should not be a problem, once some tools are in place, such as the one you are asking for with auto re-selection of controls based on recent activity. But that is just gadgetry, and once set up, should allow you to do whatever you want to. >> I would be glad to show you what I make, if that will at least give you an idea of how far you can take drawing in LC. But remember, LC is not a drawing or CAD program. But you can make it act like one. You just have to change some of the built-in rules. >> Craig >> > Thank you. You example sounds closes to what I am looking for. The old > stack I have uses a technique of switching the tool from the browse tool > (when a user need to click on tool icons or menus or whatever to the > appropriate vector drawing tool when the mouse is over the drawing area, > including the pointer tool for selecting, dragging, or resizing existing > graphic objects created using other tools. > > The difference is, in the old stack under LC4.6.4 of an object is > selected (say a rectangle) and the tool is set back to browse to click > on a color palette (or whatever), the object remains selected. However, > under LC9 it does not. Or if it is something in the old code of the > stack I can't figure out what. That's why I am looking for an example to > learn from. > > I'd appreciate taking a look at your stack. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Fri Jun 21 15:48:39 2019 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 21 Jun 2019 20:48:39 +0100 Subject: Filter an array by content In-Reply-To: <80376251-6ae8-ad5e-84d3-293dd4c9037a@hyperactivesw.com> References: <80376251-6ae8-ad5e-84d3-293dd4c9037a@hyperactivesw.com> Message-ID: <75e01360-d073-af9e-5bf1-bc797b1b97dc@tweedly.net> On 21/06/2019 19:38, J. Landman Gay via use-livecode wrote: > My only excuse is that I've been avoiding stepping through the > debugger because LC has been crashing when I do that. I've sent in > many crash logs but it's only recently I've discovered it happens only > with Step Over. It's hard to believe no one else has seen this, which > I've been seeing since LC 9 first came out, but that's why I didn't > know what was in the variable. I've been seeing this too. But it's time to confess my abysmal ignorance - how do I get a crash log ? (And is it worthwhile me getting some of them to add to the bug reports?) > Now that I've discovered breakpoints don't crash as long as I don't > step through, I was able to see what's going on. Hmmm - I find I have no choice but to step through; the editor/debugger so often "freezes" (i.e. when I scroll the text, the line numbers don't scroll at the same time). So I can't just set another breakpoint further down - I have to step over for a while until the place at which I want to set the breakpoint scrolls itself into view. > > If you have experienced crashes during debugging, take a look at > https://quality.livecode.com/show_bug.cgi?id=22130 and > https://quality.livecode.com/show_bug.cgi?id=21876 > Alex. From tom at makeshyft.com Fri Jun 21 15:57:47 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 21 Jun 2019 15:57:47 -0400 Subject: Filter an array by content In-Reply-To: <13446a88-bccc-c891-a209-1e0a58bf1173@tweedly.net> References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> <891365BB-E80F-4E3D-9FBC-B3DE4B1426E5@appisle.net> <733194D8-98BB-446D-9F34-405319B55EBF@iotecdigital.com> <13446a88-bccc-c891-a209-1e0a58bf1173@tweedly.net> Message-ID: very good thanks for elaborating Bob.......it makes sense that there are use cases where the library really kicks it...... esp since its an in memory database (assuming). Its a good idea, making me rethink a couple of things. On Fri, Jun 21, 2019 at 12:06 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Bob, > > It sounds like your library is something I could benefit from :-) > > I know it's been mentioned on the list before, but I've lost track of > where to get it from, and a quick search didn't turn anything up. Could > you please send a reminder (either to the list or direct to me if you > prefer). > > Thanks > > Alex. > > On 21/06/2019 16:02, Bob Sneidar via use-livecode wrote: > > Hi Tom. > > > > So the little benchmarking I did originally showed that my method was a > little longer, as I still have to iterate once through the array to > populate the database. Where it really shines is that you can do complex > queries, as well as multiple column sorts before converting back to an > array. Also, if you need to make multiple passes at the data, the speed of > course exceeds iterating through the array again and again. Finally, since > it's in a database, it's persistent through idle, whereas an array would > have to be stored in a script local or a property if you needed it across > runtime sessions. > > > > Bob S > > > > > >> On Jun 20, 2019, at 21:10 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> A great question Jacque ....Helpful thread all around. > >> > >> I have a tendency to think that any operation i perform to convert an > >> entire array into something else will take longer than to loop through > the > >> keys. I'm happy to be wrong ,and I imagine it depends on the number of > >> items in the dataset. But for my particular use at the moment, I find LC > >> performance to be excellent. > >> > >> Bob I'm interested in your library......mostly learning the point at > which > >> it makes sense to do that conversion and what kind of speedups can > >> occur.....have you done any benchmarks on it? > >> > >> Great reminder & idea Monte > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jun 21 16:11:56 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Jun 2019 20:11:56 +0000 Subject: Filter an array by content In-Reply-To: References: <66231871-6ace-30d5-afe9-9880410cbe32@hyperactivesw.com> <891365BB-E80F-4E3D-9FBC-B3DE4B1426E5@appisle.net> <733194D8-98BB-446D-9F34-405319B55EBF@iotecdigital.com> <13446a88-bccc-c891-a209-1e0a58bf1173@tweedly.net> Message-ID: Yes it is in memory, but it makes me think there might be a use case for allowing the creation of a file based database. I'll update it and repost on the list. Bob S > On Jun 21, 2019, at 12:57 , Tom Glod via use-livecode wrote: > > very good thanks for elaborating Bob.......it makes sense that there are > use cases where the library really kicks it...... esp since its an in > memory database (assuming). Its a good idea, making me rethink a couple of > things. From jacque at hyperactivesw.com Fri Jun 21 17:33:51 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jun 2019 16:33:51 -0500 Subject: Filter an array by content In-Reply-To: <75e01360-d073-af9e-5bf1-bc797b1b97dc@tweedly.net> References: <80376251-6ae8-ad5e-84d3-293dd4c9037a@hyperactivesw.com> <75e01360-d073-af9e-5bf1-bc797b1b97dc@tweedly.net> Message-ID: On 6/21/19 2:48 PM, Alex Tweedly via use-livecode wrote: > > On 21/06/2019 19:38, J. Landman Gay via use-livecode wrote: >> My only excuse is that I've been avoiding stepping through the >> debugger because LC has been crashing when I do that. I've sent in >> many crash logs but it's only recently I've discovered it happens only >> with Step Over. It's hard to believe no one else has seen this, which >> I've been seeing since LC 9 first came out, but that's why I didn't >> know what was in the variable. > > I've been seeing this too. But it's time to confess my abysmal ignorance > - how do I get a crash log ? On Mac, a huge dialog appears with the crash log in it. I select all, copy, paste into a text document and save it. On Windows I don't know, but if there's a system log (like Console displays on Mac) it's probably in there. > > (And is it worthwhile me getting some of them to add to the bug reports?) Good question. I've uploaded maybe 20-25 of them so far. I don't always bother any more. > >> Now that I've discovered breakpoints don't crash as long as I don't >> step through, I was able to see what's going on. I was wrong. Not more than a few minutes ago I crashed after stopping at multiple breakpoints. It doesn't seem to matter if they're red-dot or typed. However, it seems to take more repetitions before the crash if you don't do any stepping. > Hmmm - I find I have no choice but to step through; the editor/debugger > so often "freezes" (i.e. when I scroll the text, the line numbers don't > scroll at the same time). I see that all the time. If you step over, the dot location fixes itself at least here. Until the crash, anyway. It doesn't crash right away, it seems to be a cumulative thing, so you get a few chances before everything goes down. This has really been crippling my productivity. I'm sure it's a very elusive thing to track down but I hope they can find it. If no one else has a problem, it may be something script-related that both you and I are doing. > So I can't just set another breakpoint further > down - I have to step over for a while until the place at which I want > to set the breakpoint scrolls itself into view. >> >> If you have experienced crashes during debugging, take a look at >> https://quality.livecode.com/show_bug.cgi?id=22130 and >> https://quality.livecode.com/show_bug.cgi?id=21876 >> > Alex. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Jun 21 17:42:30 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Jun 2019 21:42:30 +0000 Subject: Setting conditional breakpoints Message-ID: Hi all. How do I set a conditional breakpoint based upon a property? I tried using the visible of stack "Forms Generator" is true, but I cannot enable the breakpoint and it says there is no condition, even though there it is! Bob S From mark at canelasoftware.com Fri Jun 21 18:27:09 2019 From: mark at canelasoftware.com (Mark Talluto) Date: Fri, 21 Jun 2019 15:27:09 -0700 Subject: Filter an array by content In-Reply-To: References: <80376251-6ae8-ad5e-84d3-293dd4c9037a@hyperactivesw.com> <75e01360-d073-af9e-5bf1-bc797b1b97dc@tweedly.net> Message-ID: On Jun 21, 2019, at 2:33 PM, J. Landman Gay via use-livecode wrote: > > I see that all the time. If you step over, the dot location fixes itself at least here. Until the crash, anyway. It doesn't crash right away, it seems to be a cumulative thing, so you get a few chances before everything goes down. > > This has really been crippling my productivity. I'm sure it's a very elusive thing to track down but I hope they can find it. If no one else has a problem, it may be something script-related that both you and I are doing. I have this problem too. I think it has been around for a very long time. I have a bug report for it as well. https://quality.livecode.com/show_bug.cgi?id=22101 Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From dunbarx at aol.com Fri Jun 21 18:26:19 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 21 Jun 2019 22:26:19 +0000 (UTC) Subject: Setting conditional breakpoints In-Reply-To: References: Message-ID: <1463190540.153313.1561155979941@mail.yahoo.com> Not sure what you could mean. on mouseUp? if the mouseLoc is within the rect of btn 3 then breakPoint?? if the visible ?of btn 3 then breakPoint?? if the... Surely I am missing this. Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Fri, Jun 21, 2019 5:43 pm Subject: Setting conditional breakpoints Hi all. How do I set a conditional breakpoint based upon a property? I tried using the visible of stack "Forms Generator" is true, but I cannot enable the breakpoint and it says there is no condition, even though there it is! Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jun 21 18:30:54 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Jun 2019 22:30:54 +0000 Subject: Filter an array by content In-Reply-To: References: <80376251-6ae8-ad5e-84d3-293dd4c9037a@hyperactivesw.com> <75e01360-d073-af9e-5bf1-bc797b1b97dc@tweedly.net> Message-ID: <5CC25B8C-8D79-480F-99DA-631A7C1A50E0@iotecdigital.com> I am using V9.0.5 rc1 and I am not having any of these kinds of debugging crashes. I rarely step over though. Almost always I step into or out of. (I think I have that right.) Bob S > On Jun 21, 2019, at 14:33 , J. Landman Gay via use-livecode wrote: > > On 6/21/19 2:48 PM, Alex Tweedly via use-livecode wrote: >> On 21/06/2019 19:38, J. Landman Gay via use-livecode wrote: >>> My only excuse is that I've been avoiding stepping through the debugger because LC has been crashing when I do that. I've sent in many crash logs but it's only recently I've discovered it happens only with Step Over. It's hard to believe no one else has seen this, which I've been seeing since LC 9 first came out, but that's why I didn't know what was in the variable. >> I've been seeing this too. But it's time to confess my abysmal ignorance - how do I get a crash log ? > > On Mac, a huge dialog appears with the crash log in it. I select all, copy, paste into a text document and save it. On Windows I don't know, but if there's a system log (like Console displays on Mac) it's probably in there. > >> (And is it worthwhile me getting some of them to add to the bug reports?) > > Good question. I've uploaded maybe 20-25 of them so far. I don't always bother any more. > >>> Now that I've discovered breakpoints don't crash as long as I don't step through, I was able to see what's going on. > > I was wrong. Not more than a few minutes ago I crashed after stopping at multiple breakpoints. It doesn't seem to matter if they're red-dot or typed. However, it seems to take more repetitions before the crash if you don't do any stepping. > >> Hmmm - I find I have no choice but to step through; the editor/debugger so often "freezes" (i.e. when I scroll the text, the line numbers don't scroll at the same time). > > I see that all the time. If you step over, the dot location fixes itself at least here. Until the crash, anyway. It doesn't crash right away, it seems to be a cumulative thing, so you get a few chances before everything goes down. > > This has really been crippling my productivity. I'm sure it's a very elusive thing to track down but I hope they can find it. If no one else has a problem, it may be something script-related that both you and I are doing. > > >> So I can't just set another breakpoint further down - I have to step over for a while until the place at which I want to set the breakpoint scrolls itself into view. >>> >>> If you have experienced crashes during debugging, take a look at https://quality.livecode.com/show_bug.cgi?id=22130 and https://quality.livecode.com/show_bug.cgi?id=21876 >>> >> Alex. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jun 21 18:32:56 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Jun 2019 22:32:56 +0000 Subject: Setting conditional breakpoints In-Reply-To: <1463190540.153313.1561155979941@mail.yahoo.com> References: <1463190540.153313.1561155979941@mail.yahoo.com> Message-ID: In the breakpoints tab of the script editor, if you right click the lower pane, you can create conditional breakpoints. For instance if the value of a variable is something. I have never gotten them to work, and I find I am needing this more and more. Bob S > On Jun 21, 2019, at 15:26 , dunbarx--- via use-livecode wrote: > > Not sure what you could mean. > on mouseUp if the mouseLoc is within the rect of btn 3 then breakPoint if the visible of btn 3 then breakPoint if the... > > > Surely I am missing this. > Craig From bobsneidar at iotecdigital.com Fri Jun 21 18:46:06 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Jun 2019 22:46:06 +0000 Subject: Setting conditional breakpoints In-Reply-To: References: <1463190540.153313.1561155979941@mail.yahoo.com> Message-ID: <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> OK looks like setting a breakpoint on a property change like the visible of a stack can't be done. Might be a nice addition though. Let's say you have a custom property that keeps getting corrupted (by which I mean it contains bad data) and you want to catch it in the act. Wouldn't it be nice to be able to set a breakpoint for a property like you can for a variable? I'll file an enhancement request. Bob S > On Jun 21, 2019, at 15:32 , Bob Sneidar via use-livecode wrote: > > In the breakpoints tab of the script editor, if you right click the lower pane, you can create conditional breakpoints. For instance if the value of a variable is something. I have never gotten them to work, and I find I am needing this more and more. > > Bob S From tom at makeshyft.com Fri Jun 21 18:56:18 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 21 Jun 2019 18:56:18 -0400 Subject: Setting conditional breakpoints In-Reply-To: <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> References: <1463190540.153313.1561155979941@mail.yahoo.com> <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> Message-ID: well it can be done just have a handler that checks the condition every x milliseconds....if true ...breakpoint......if false....resend message. On Fri, Jun 21, 2019 at 6:46 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > OK looks like setting a breakpoint on a property change like the visible > of a stack can't be done. Might be a nice addition though. Let's say you > have a custom property that keeps getting corrupted (by which I mean it > contains bad data) and you want to catch it in the act. Wouldn't it be nice > to be able to set a breakpoint for a property like you can for a variable? > > I'll file an enhancement request. > > Bob S > > > > On Jun 21, 2019, at 15:32 , Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > In the breakpoints tab of the script editor, if you right click the > lower pane, you can create conditional breakpoints. For instance if the > value of a variable is something. I have never gotten them to work, and I > find I am needing this more and more. > > > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Jun 21 18:58:20 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Jun 2019 22:58:20 +0000 Subject: Setting conditional breakpoints In-Reply-To: <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> References: <1463190540.153313.1561155979941@mail.yahoo.com> <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> Message-ID: <1F486A45-5BD3-4A02-9E40-0E388A109866@iotecdigital.com> https://quality.livecode.com/show_bug.cgi?id=22203 > On Jun 21, 2019, at 15:46 , Bob Sneidar via use-livecode wrote: > > OK looks like setting a breakpoint on a property change like the visible of a stack can't be done. Might be a nice addition though. Let's say you have a custom property that keeps getting corrupted (by which I mean it contains bad data) and you want to catch it in the act. Wouldn't it be nice to be able to set a breakpoint for a property like you can for a variable? > > I'll file an enhancement request. > > Bob S From bobsneidar at iotecdigital.com Fri Jun 21 19:08:48 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Jun 2019 23:08:48 +0000 Subject: Setting conditional breakpoints In-Reply-To: References: <1463190540.153313.1561155979941@mail.yahoo.com> <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> Message-ID: <7E326470-C2B3-4894-8948-1F474EF0B4D9@iotecdigital.com> That would be true if the engine was multithreaded. As it is, I am trying to find the line of script that is changing the property, and until the script terminates, no other script can run. Bob S > On Jun 21, 2019, at 15:56 , Tom Glod via use-livecode wrote: > > well it can be done just have a handler that checks the condition every x > milliseconds....if true ...breakpoint......if false....resend message. > > On Fri, Jun 21, 2019 at 6:46 PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > From jacque at hyperactivesw.com Fri Jun 21 19:47:20 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jun 2019 18:47:20 -0500 Subject: Filter an array by content In-Reply-To: <5CC25B8C-8D79-480F-99DA-631A7C1A50E0@iotecdigital.com> References: <80376251-6ae8-ad5e-84d3-293dd4c9037a@hyperactivesw.com> <75e01360-d073-af9e-5bf1-bc797b1b97dc@tweedly.net> <5CC25B8C-8D79-480F-99DA-631A7C1A50E0@iotecdigital.com> Message-ID: <16b7c6ff340.2783.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Mark Talluto's bug is exactly what I see. It may be related to a certain type of scripting, or a particular sequence of commands. I crashed several times in a row within a minute of a restart, so maybe the handler I was debugging was to blame. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 21, 2019 5:32:26 PM Bob Sneidar via use-livecode wrote: > I am using V9.0.5 rc1 and I am not having any of these kinds of debugging > crashes. I rarely step over though. Almost always I step into or out of. (I > think I have that right.) > > Bob S > >> On Jun 21, 2019, at 14:33 , J. Landman Gay via use-livecode >> wrote: >> >> On 6/21/19 2:48 PM, Alex Tweedly via use-livecode wrote: >>> On 21/06/2019 19:38, J. Landman Gay via use-livecode wrote: >>>> My only excuse is that I've been avoiding stepping through the debugger >>>> because LC has been crashing when I do that. I've sent in many crash logs >>>> but it's only recently I've discovered it happens only with Step Over. It's >>>> hard to believe no one else has seen this, which I've been seeing since LC >>>> 9 first came out, but that's why I didn't know what was in the variable. >>> I've been seeing this too. But it's time to confess my abysmal ignorance - >>> how do I get a crash log ? >> >> On Mac, a huge dialog appears with the crash log in it. I select all, copy, >> paste into a text document and save it. On Windows I don't know, but if >> there's a system log (like Console displays on Mac) it's probably in there. >> >>> (And is it worthwhile me getting some of them to add to the bug reports?) >> >> Good question. I've uploaded maybe 20-25 of them so far. I don't always >> bother any more. >> >>>> Now that I've discovered breakpoints don't crash as long as I don't step >>>> through, I was able to see what's going on. >> >> I was wrong. Not more than a few minutes ago I crashed after stopping at >> multiple breakpoints. It doesn't seem to matter if they're red-dot or >> typed. However, it seems to take more repetitions before the crash if you >> don't do any stepping. >> >>> Hmmm - I find I have no choice but to step through; the editor/debugger so >>> often "freezes" (i.e. when I scroll the text, the line numbers don't scroll >>> at the same time). >> >> I see that all the time. If you step over, the dot location fixes itself at >> least here. Until the crash, anyway. It doesn't crash right away, it seems >> to be a cumulative thing, so you get a few chances before everything goes down. >> >> This has really been crippling my productivity. I'm sure it's a very >> elusive thing to track down but I hope they can find it. If no one else has >> a problem, it may be something script-related that both you and I are doing. >> >> >>> So I can't just set another breakpoint further down - I have to step over >>> for a while until the place at which I want to set the breakpoint scrolls >>> itself into view. >>>> >>>> If you have experienced crashes during debugging, take a look at >>>> https://quality.livecode.com/show_bug.cgi?id=22130 and >>>> https://quality.livecode.com/show_bug.cgi?id=21876 >>>> >>> Alex. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jun 21 19:48:41 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jun 2019 18:48:41 -0500 Subject: Setting conditional breakpoints In-Reply-To: References: <1463190540.153313.1561155979941@mail.yahoo.com> Message-ID: <16b7c712fa8.2783.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Set a breakpoint, right click it, choose condition, and fill out the dialog. That's how I usually do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 21, 2019 5:34:30 PM Bob Sneidar via use-livecode wrote: > In the breakpoints tab of the script editor, if you right click the lower > pane, you can create conditional breakpoints. For instance if the value of > a variable is something. I have never gotten them to work, and I find I am > needing this more and more. > > Bob S > > >> On Jun 21, 2019, at 15:26 , dunbarx--- via use-livecode >> wrote: >> >> Not sure what you could mean. >> on mouseUp if the mouseLoc is within the rect of btn 3 then breakPoint >> if the visible of btn 3 then breakPoint if the... >> >> >> Surely I am missing this. >> Craig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Fri Jun 21 19:51:21 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 21 Jun 2019 19:51:21 -0400 Subject: Setting conditional breakpoints In-Reply-To: <7E326470-C2B3-4894-8948-1F474EF0B4D9@iotecdigital.com> References: <1463190540.153313.1561155979941@mail.yahoo.com> <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> <7E326470-C2B3-4894-8948-1F474EF0B4D9@iotecdigital.com> Message-ID: oh you can open up the engine to do other handlers by using "in time" I use it all the time..I have a message checking hotkeys.... clipboard changes.... and it works beautifully. on CheckIfVisible if the visible of defaultstack = true then send "CheckIfVisible" to defaultstack in 100 milliseconds else end if end CheckIfVisible On Fri, Jun 21, 2019 at 7:09 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > That would be true if the engine was multithreaded. As it is, I am trying > to find the line of script that is changing the property, and until the > script terminates, no other script can run. > > Bob S > > > > On Jun 21, 2019, at 15:56 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > well it can be done just have a handler that checks the condition every x > > milliseconds....if true ...breakpoint......if false....resend message. > > > > On Fri, Jun 21, 2019 at 6:46 PM Bob Sneidar via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Sat Jun 22 10:45:51 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 22 Jun 2019 14:45:51 +0000 Subject: Resuscitation of Scott Raney Paint Tools Message-ID: <73CEC294-39D5-4E45-9219-78E6AA7A79E9@hindu.org> I am trying to get a stack that worked in 1999-2000 under Metacard using a stack Scott Raney built. It is still on line Go stack URL "http://www.himalayanacademy.com/studyhall/hapaint.rev" But now, when I click the color palette I get on mouseUp setcolor the selectedColor of me end mouseUp c From brahma at hindu.org Sat Jun 22 10:50:58 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 22 Jun 2019 14:50:58 +0000 Subject: Resuscitation of Scott Raney Paint Tools Message-ID: <9749C758-AE1D-40DF-9F3A-3EFF7E954695@hindu.org> I am trying to get a stack that worked in 1999-2000 under Metacard using a stack Scott Raney built. It is still on line ? Go stack URL "http://www.himalayanacademy.com/studyhall/hapaint.rev" But now, when I click the color palette I get ? on?mouseUp setcolor?the?selectedColor?of?me end?mouseUp colorPalette "Color map": execution error at line n/a (Object: object does not have this property) and, looking in the dictionary we see "selectedColor" is reserved for internal use. Something has changed? BR From richmondmathewson at gmail.com Sat Jun 22 15:13:37 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 22 Jun 2019 22:13:37 +0300 Subject: Resuscitation of Scott Raney Paint Tools In-Reply-To: <9749C758-AE1D-40DF-9F3A-3EFF7E954695@hindu.org> References: <9749C758-AE1D-40DF-9F3A-3EFF7E954695@hindu.org> Message-ID: Possibly, to really get at the 'problem' if, indeed, problem there be, would be to go back to MetaCard and export the Paint Tools as a single stack, rather than a substack of a one-button mainstack? Tomorrow I'll fire up my G5 iMac and export that stack . . . Richmond On 22.06.19 17:50, Sannyasin Brahmanathaswami via use-livecode wrote: > I am trying to get a stack that worked in 1999-2000 under Metacard using a stack Scott Raney built. It is still on line > > Go stack URL "http://www.himalayanacademy.com/studyhall/hapaint.rev" > > But now, when I click the color palette I get > > on?mouseUp > setcolor?the?selectedColor?of?me > end?mouseUp > > colorPalette "Color map": execution error at line n/a (Object: object does not have this property) > > and, looking in the dictionary we see "selectedColor" is reserved for internal use. > > Something has changed? > > BR > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sat Jun 22 15:26:14 2019 From: hh at hyperhh.de (hh) Date: Sat, 22 Jun 2019 21:26:14 +0200 Subject: Resuscitation of Scott Raney Paint Tools Message-ID: <6225FEE5-1092-4608-8EC2-3616F5FF5875@hyperhh.de> This is a custom property name only. So do cmd-F in the PaintTools stack search for selectedColor in "this stack and its stack files" replace with selectedColor2 Save and you are done. From brahma at hindu.org Sat Jun 22 16:40:54 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 22 Jun 2019 20:40:54 +0000 Subject: Resuscitation of Scott Raney Paint Tools In-Reply-To: <6225FEE5-1092-4608-8EC2-3616F5FF5875@hyperhh.de> References: <6225FEE5-1092-4608-8EC2-3616F5FF5875@hyperhh.de> Message-ID: HH wrote: " replace with selectedColor2 Save and you are done." I tried that originally. Does not work. on mouseUp setcolor the selectedColor2 of me end mouseUp # calls setColor which "which" is empty "of me" # calls colorPalette "Color Map" It would seem you need to change the selectedColor to selectedColor2 in the control "Color Map" but "colorPalette" which also is only for internal use. I can see it "Color Map" on screen, select it. But you can't get the inspector on it, opens up "No Object Selected" or set a custom property on it.... He is exposing "deep engine" code and objects we can?t easily leverage in today's IDE BR ?On 6/22/19, 9:26 AM, "use-livecode on behalf of hh via use-livecode" wrote: This is a custom property name only. So do cmd-F in the PaintTools stack search for selectedColor in "this stack and its stack files" replace with selectedColor2 Save and you are done. From hh at hyperhh.de Sat Jun 22 16:59:44 2019 From: hh at hyperhh.de (hh) Date: Sat, 22 Jun 2019 22:59:44 +0200 Subject: Resuscitation of Scott Raney Paint Tools Message-ID: <6362F1F8-036B-4028-A49F-14064D5C76F0@hyperhh.de> It works here in 9.5.0/9.0.5/9.0.2/8.1.10. But if you won't use the simple find dialogue I described then you could directly write (change the two instances of "selectedColor"): 1. script of colorPalette of grp "palette" of cd id 1002 of stack "HAColorChooser": on mouseUp setcolor the selectedColor2 of me end mouseUp 2. script of grp "Palette" of cd id 1001 of stack "HAColorChooser": on resetControls set the selectedColor2 of colorPalette 1 to getcolor(false) end resetControls Of course you have first to toplevel stack "HAColorChooser" (if it's open as palette). From Bernd.Niggemann at uni-wh.de Sat Jun 22 18:37:12 2019 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Sat, 22 Jun 2019 22:37:12 +0000 Subject: Resuscitation of Scott Raney Paint Tools In-Reply-To: References: Message-ID: do what Hermann suggested but add a line to the mouseUp handler script of colorPalette of grp "palette" of cd id 1002 of stack "HAColorChooser": on mouseUp set the selectedColor2 of me to the mouseColor --<--- add this setcolor the selectedColor2 of me end mouseUp Kind regards Bernd From brahma at hindu.org Sat Jun 22 23:07:19 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 23 Jun 2019 03:07:19 +0000 Subject: Resuscitation of Scott Raney Paint Tools In-Reply-To: References: Message-ID: <4D561739-20F5-4D95-BD38-9608B78E254B@hindu.org> HH and Bernd I did the cmd-F on the whole Paint stack, as Hermann originally suggestioned Bernd: set the selectedColor2 of me to the mouseColor --<--- add this This was needed to actually get a color! I guess previously Scott had access to the "selectedColor" somehow in Metacard Thanks to you both. The UI is a bit messy, but I want to give a demo of what is possible for a coloring book with LC versus scripting this whole thing in HTML5 with JS/CSS/HTML. (it would be a nightmare) Cheers from Kauai BR ?On 6/22/19, 12:38 PM, "use-livecode on behalf of Niggemann, Bernd via use-livecode" wrote: do what Hermann suggested but add a line to the mouseUp handler script of colorPalette of grp "palette" of cd id 1002 of stack "HAColorChooser": on mouseUp set the selectedColor2 of me to the mouseColor --<--- add this setcolor the selectedColor2 of me end mouseUp 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 hh at hyperhh.de Sun Jun 23 07:42:40 2019 From: hh at hyperhh.de (hh) Date: Sun, 23 Jun 2019 13:42:40 +0200 Subject: Resuscitation of Scott Raney Paint Tools Message-ID: <29E845DB-6A1A-4992-A39B-E9CB36026FC6@hyperhh.de> > BR wrote: > The UI is a bit messy, but I want to give a demo of what is possible > for a coloring book with LC versus scripting this whole thing in HTML5 > with JS/CSS/HTML. (it would be a nightmare) This is only a demo if your "coloring book" uses simple pixel paint. HTML5 also includes SVG/Canvas which makes it easy to use the same objects for different screen sizes and resolutions (it would be a nightmare with paint). From richmondmathewson at gmail.com Sun Jun 23 09:11:55 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 23 Jun 2019 16:11:55 +0300 Subject: Resuscitation of Scott Raney Paint Tools In-Reply-To: <9749C758-AE1D-40DF-9F3A-3EFF7E954695@hindu.org> References: <9749C758-AE1D-40DF-9F3A-3EFF7E954695@hindu.org> Message-ID: <3168cb9a-b11f-ebee-75f9-5cb68f167040@gmail.com> Saucy work: http://forums.livecode.com/viewtopic.php?f=5&t=32783 Richmond. On 22.06.19 17:50, Sannyasin Brahmanathaswami via use-livecode wrote: > I am trying to get a stack that worked in 1999-2000 under Metacard using a stack Scott Raney built. It is still on line > > Go stack URL "http://www.himalayanacademy.com/studyhall/hapaint.rev" > > But now, when I click the color palette I get > > on?mouseUp > setcolor?the?selectedColor?of?me > end?mouseUp > > colorPalette "Color map": execution error at line n/a (Object: object does not have this property) > > and, looking in the dictionary we see "selectedColor" is reserved for internal use. > > Something has changed? > > BR > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iphonelagi at gmail.com Mon Jun 24 06:49:20 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Mon, 24 Jun 2019 11:49:20 +0100 Subject: Setting conditional breakpoints In-Reply-To: <16b7c712fa8.2783.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1463190540.153313.1561155979941@mail.yahoo.com> <16b7c712fa8.2783.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque, It never worked before and I couldn't get it to work today. I can't be that thick can I? If the "incantation" means I can't get it work (especially the delete - the breakpoints i set would not remove however I clicked) easily then I would presume there are some people as dumb as me who won't be able to do it. I spent over half an hour trying to get a watch/breakpoint working - do you tie the watch to the breakpoint if so how - Tried Can you give me a recipe "for dummies" "Don't make me think" - Steve Krug "Show me the Banana" - "The BIg Red Fez" - Seth Godin "The best way to motivate the monkey, of course, is to use a banana. Whenever the monkey walks into a new situation, all it wants to know is, ?Where?s the banana?? If the banana isn?t easy to see, easy to get and obvious, the monkey is going to lose interest. But, if you can make it clear to the monkey what?s in it for him, odds are he?ll do what you want. " Thanks Lagi On Sat, 22 Jun 2019 at 00:48, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Set a breakpoint, right click it, choose condition, and fill out the > dialog. That's how I usually do it. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 21, 2019 5:34:30 PM Bob Sneidar via use-livecode > wrote: > > > In the breakpoints tab of the script editor, if you right click the > lower > > pane, you can create conditional breakpoints. For instance if the value > of > > a variable is something. I have never gotten them to work, and I find I > am > > needing this more and more. > > > > Bob S > > > > > >> On Jun 21, 2019, at 15:26 , dunbarx--- via use-livecode > >> wrote: > >> > >> Not sure what you could mean. > >> on mouseUp if the mouseLoc is within the rect of btn 3 then > breakPoint > >> if the visible of btn 3 then breakPoint if the... > >> > >> > >> Surely I am missing this. > >> Craig > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hyperhh.de Mon Jun 24 08:42:56 2019 From: hh at hyperhh.de (hh) Date: Mon, 24 Jun 2019 14:42:56 +0200 Subject: ImagePalette_v100 Message-ID: <229A47DA-9A9E-4300-B1A0-D1D1FFB0233C@hyperhh.de> >>> The stack needs LC 9. It also runs in LC 8 but >>> up to 10 times slower. The stack creates a color palette from any image. You set the number of colors (2-256) of the palette. Such palettes are often used to create "harmonic" designs of drawings/posters or for creating web pages. You can see the "quantized" image with that palette, see https://en.wikipedia.org/wiki/Color_quantization The quantized image is computed built-in or by using LC's "export image with palette" with the computed palette. The stack uses the excellent javaScript library rgbQuant https://github.com/leeoniya/RgbQuant.js/ via a browser widget. The library is included in the stack. Download "ImagePalette" from "Sample Stacks" or from http://livecodeshare.runrev.com/stack/938/ If you have a decent GPU then around 1-2 seconds are needed for images of medium screen size (1920x1080). License MIT ( see https://en.wikipedia.org/wiki/MIT_License ) From panos.merakos at livecode.com Mon Jun 24 10:08:39 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 24 Jun 2019 17:08:39 +0300 Subject: [ANN] This Week in LiveCode 183 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #183 here: http://bit.ly/2Lb7bVn This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From bobsneidar at iotecdigital.com Mon Jun 24 11:11:18 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Jun 2019 15:11:18 +0000 Subject: Setting conditional breakpoints In-Reply-To: References: <1463190540.153313.1561155979941@mail.yahoo.com> <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> <7E326470-C2B3-4894-8948-1F474EF0B4D9@iotecdigital.com> Message-ID: <049E9D79-5750-4956-B0A2-AF9EBC5AFB73@iotecdigital.com> True, but I need itto break AT the line of code that changes a property of a stack. If there is a script running while when the send in time command is due, the existing script will continue to run, THEN at the first idle, the send in time will run. Bob S > On Jun 21, 2019, at 16:51 , Tom Glod via use-livecode wrote: > > oh you can open up the engine to do other handlers by using "in time" > > I use it all the time..I have a message checking hotkeys.... clipboard > changes.... and it works beautifully. > > > on CheckIfVisible > if the visible of defaultstack = true then > send "CheckIfVisible" to defaultstack in 100 milliseconds > else > end if > end CheckIfVisible From dochawk at gmail.com Mon Jun 24 12:00:17 2019 From: dochawk at gmail.com (doc hawk) Date: Mon, 24 Jun 2019 09:00:17 -0700 Subject: Setting conditional breakpoints In-Reply-To: <049E9D79-5750-4956-B0A2-AF9EBC5AFB73@iotecdigital.com> References: <1463190540.153313.1561155979941@mail.yahoo.com> <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> <7E326470-C2B3-4894-8948-1F474EF0B4D9@iotecdigital.com> <049E9D79-5750-4956-B0A2-AF9EBC5AFB73@iotecdigital.com> Message-ID: On Jun 24, 2019, at 8:11 AM, Bob Sneidar via use-livecode wrote: > > True, but I need itto break AT the line of code that changes a property of a stack. If there is a script running while when the send in time command is due, the existing script will continue to run, THEN at the first idle, the send in time will run. It hasn?t occurred to me to try *any* conditional breakpoints in years?they caused crashes at least since 5.x, and I hadn?t heard that they?d been fixed. Anyway, if you use setProp handlers instead of directly setting properties, you could stick a little red PCD in *that* handler. Do a global search for set the someProperty of this stack to and replace with setProp someProperty, or something similar; check your own code. From ahsoftware at sonic.net Mon Jun 24 13:32:41 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 24 Jun 2019 10:32:41 -0700 Subject: Setting conditional breakpoints In-Reply-To: References: <1463190540.153313.1561155979941@mail.yahoo.com> <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> <7E326470-C2B3-4894-8948-1F474EF0B4D9@iotecdigital.com> <049E9D79-5750-4956-B0A2-AF9EBC5AFB73@iotecdigital.com> Message-ID: On 6/24/19 9:00 AM, doc hawk via use-livecode wrote: > Anyway, if you use setProp handlers instead of directly setting properties, you could stick a little red PCD in *that* handler. Unfortunately, it's still not possible to use setProp and getProp handlers with built-in properties, so catching a change to the visible of an object won't work. It's been in bugzilla for 14 years now. https://quality.livecode.com/show_bug.cgi?id=3126 -- Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Mon Jun 24 13:38:13 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Jun 2019 10:38:13 -0700 Subject: Setting conditional breakpoints In-Reply-To: References: <1463190540.153313.1561155979941@mail.yahoo.com> <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> <7E326470-C2B3-4894-8948-1F474EF0B4D9@iotecdigital.com> <049E9D79-5750-4956-B0A2-AF9EBC5AFB73@iotecdigital.com> Message-ID: On Jun 24, 2019, at 10:32 AM, Mark Wieder via use-livecode wrote: > > Unfortunately, it's still not possible to use setProp and getProp handlers with built-in properties, so catching a change to the visible of an object won't work. It's been in bugzilla for 14 years now. > > https://quality.livecode.com/show_bug.cgi?id=3126 wow. And so my code changes wouldn?t even be needed . . . But how about defining ?zetProp? as a stack (or whatever) property, and making the code changes I mentioned? ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From ahsoftware at sonic.net Mon Jun 24 13:58:47 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 24 Jun 2019 10:58:47 -0700 Subject: Setting conditional breakpoints In-Reply-To: References: <1463190540.153313.1561155979941@mail.yahoo.com> <053685DB-1A05-4F97-B327-FB90450D9810@iotecdigital.com> <7E326470-C2B3-4894-8948-1F474EF0B4D9@iotecdigital.com> <049E9D79-5750-4956-B0A2-AF9EBC5AFB73@iotecdigital.com> Message-ID: <5daf90fb-1421-ecb9-b51e-d70a738c6cb6@sonic.net> On 6/24/19 10:38 AM, Dr. Hawkins via use-livecode wrote: > But how about defining ?zetProp? as a stack (or whatever) property, and making the code changes I mentioned? Yep - that's the way I work around it as well: setprop _visible pValue set the visible of me to pValue end _visible on mouseUp pMouseButton set the _visible of field 1 to not the visible of field 1 end mouseUp -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Jun 24 15:22:32 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jun 2019 14:22:32 -0500 Subject: Changing array key text Message-ID: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> I have a multi-dimensional array and sometimes I need to change the text of one of the array keys without destroying the rest of the array. Putting a different value into a key removes all the subkeys under it, so I wonder if there's a way to update the text of a key without re-creating the entire array again. The property inspector lets you do this when you change the name of an array key. Is there a quick trick for that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Jun 24 15:22:34 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 24 Jun 2019 22:22:34 +0300 Subject: Quotient Message-ID: Err . . . So; I have several numbers that have to be divided by other numbers: 28 / 3 301 / 10 44 / 6 now these will all yield "awkward numbers" consisting of a quotient and a remainder: 9.33 30.1 7.33 Now I know one could be "ever so slightly potty" in LiveCode to get the quotient by doing something like this: put 28/3 into XX put (28 mod 3) into YY put (XX - YY) into ZZ but that seems a long way round . . . but I cannot work out what the equivalent term to 'mod' is to get the quotient in LiveCode. Richmond. From mark at livecode.com Mon Jun 24 15:26:08 2019 From: mark at livecode.com (Mark Waddingham) Date: Mon, 24 Jun 2019 20:26:08 +0100 Subject: Quotient In-Reply-To: References: Message-ID: <1BF8A916-8022-4640-BFFE-8D3BB639BB5A@livecode.com> Try ?div? :) Mark. Sent from my iPhone > On 24 Jun 2019, at 20:22, Richmond via use-livecode wrote: > > Err . . . > > So; I have several numbers that have to be divided by other numbers: > > 28 / 3 > > 301 / 10 > > 44 / 6 > > now these will all yield "awkward numbers" consisting of a quotient and a remainder: > > 9.33 > > 30.1 > > 7.33 > > Now I know one could be "ever so slightly potty" in LiveCode to get the quotient by doing something > like this: > > put 28/3 into XX > put (28 mod 3) into YY > put (XX - YY) into ZZ > > but that seems a long way round . . . but I cannot work out what the equivalent term to 'mod' > is to get the quotient in LiveCode. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Jun 24 15:26:46 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 24 Jun 2019 22:26:46 +0300 Subject: Quotient In-Reply-To: References: Message-ID: Well . . . Um . . . div But that is alright as far as sums such as 28 div 3 go . . . But it is not much cop when it comes to finding the quotient of some long and complicated bit of Mathematics. On 24.06.19 22:22, Richmond wrote: > Err . . . > > So; I have several numbers that have to be divided by other numbers: > > 28 / 3 > > 301 / 10 > > 44 / 6 > > now these will all yield "awkward numbers" consisting of a quotient > and a remainder: > > 9.33 > > 30.1 > > 7.33 > > Now I know one could be "ever so slightly potty" in LiveCode to get > the quotient by doing something > like this: > > put 28/3 into XX > put (28 mod 3) into YY > put (XX - YY) into ZZ > > but that seems a long way round . . . but I cannot work out what the > equivalent term to 'mod' > is to get the quotient in LiveCode. > > Richmond. From richmondmathewson at gmail.com Mon Jun 24 15:34:48 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 24 Jun 2019 22:34:48 +0300 Subject: Quotient In-Reply-To: <1BF8A916-8022-4640-BFFE-8D3BB639BB5A@livecode.com> References: <1BF8A916-8022-4640-BFFE-8D3BB639BB5A@livecode.com> Message-ID: Thanks: I have. BUT, imagine, if you will, a situation where I want to animate a blob as in: put 1 into LYNE ? repeat until line LYNE of fld "PointsList" is empty ??? move grc "blob" to line LYNE of fld "PointsList" ??? wait 2 ticks ??? add 1 to LYNE ?end repeat Let's suppose those points should make the blob go round an invisible circle (this is fairly old-hat as Benjamin Beaumont demonstrated this sort of thing at the Edinburgh conference about 10 years ago) but, while I might generate the points of a circle using the ancient SINE-COSINE algorhthim (b*gger, how do you spell that word?), I want the points in the listField to end up as whole numbers with no decimal component. I'm not sure 'div' is going to be much help there. I suppose I could be totally whacko and set up the decimal point as the item delimiter and start splitting off bits . . . . Richmond. On 24.06.19 22:26, Mark Waddingham via use-livecode wrote: > Try ?div? :) > > Mark. > > Sent from my iPhone > >> On 24 Jun 2019, at 20:22, Richmond via use-livecode wrote: >> >> Err . . . >> >> So; I have several numbers that have to be divided by other numbers: >> >> 28 / 3 >> >> 301 / 10 >> >> 44 / 6 >> >> now these will all yield "awkward numbers" consisting of a quotient and a remainder: >> >> 9.33 >> >> 30.1 >> >> 7.33 >> >> Now I know one could be "ever so slightly potty" in LiveCode to get the quotient by doing something >> like this: >> >> put 28/3 into XX >> put (28 mod 3) into YY >> put (XX - YY) into ZZ >> >> but that seems a long way round . . . but I cannot work out what the equivalent term to 'mod' >> is to get the quotient in LiveCode. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 24 15:37:57 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 24 Jun 2019 15:37:57 -0400 Subject: Changing array key text In-Reply-To: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> Message-ID: <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> I?m pretty sure the PI deletes the old key and creates a new key with the existing value. Thanks, Brian On Jun 24, 2019, 3:23 PM -0400, J. Landman Gay via use-livecode , wrote: > I have a multi-dimensional array and sometimes I need to change the text > of one of the array keys without destroying the rest of the array. > Putting a different value into a key removes all the subkeys under it, > so I wonder if there's a way to update the text of a key without > re-creating the entire array again. > > The property inspector lets you do this when you change the name of an > array key. Is there a quick trick for that? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Jun 24 15:42:42 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jun 2019 14:42:42 -0500 Subject: Setting conditional breakpoints In-Reply-To: References: <1463190540.153313.1561155979941@mail.yahoo.com> <16b7c712fa8.2783.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <41a5dd15-2a7f-9f4a-b678-6465e9b357f0@hyperactivesw.com> I doubt you're thick, Lagi. :) As I mentioned before, I'm having a lot of trouble with breakpoints lately. Also, there's a difference between a breakpoint and a watch, and I rarely use watches because they aren't universally applicable. I do use conditional breakpoints though. A watch is supposed to catch any instance where a specified variable changes its value. My experiments were several years ago, but back then I found that only global variables honored watches. I guess that makes sense, since you can't trap a variable that isn't in memory already. I don't use watch variables any more because I don't use globals much. And even back then, watches weren't always reliable. For normal breakpoints, I don't use the breakpoints pane in the editor, I usually set them directly in the script. Set a red dot at the place where you want to break, right-click the dot, and choose Edit. In the dialog that appears, type the condition that needs to be met. The condition needs to include a variable that occurs in the handler you're debugging. An example: on foo pVar put the number of items in pVar into tNum switch tNum case 1 doThing 1 break case 2 doThing 2 break case 3 doThing 3 break end switch end foo I can now set a breakpoint at the "switch tNum" line with a condition: tNum = 2 and the breakpoint will only fire if that condition is met. There used to be a problem deleting breakpoints from the pane in the editor window, but that was fixed a while ago. Maybe it has recurred. I don't use that, I just click on the dot in the script to remove it and that has always worked. If you're using an older version of LC, you may have hit that bug though. On 6/24/19 5:49 AM, Lagi Pittas via use-livecode wrote: > Hi Jacque, > > It never worked before and I couldn't get it to work today. I can't be that > thick can I? > If the "incantation" means I can't get it work (especially the delete - the > breakpoints i set would not remove however I clicked) easily > then I would presume there are some people as dumb as me who won't be able > to do it. > > I spent over half an hour trying to get a watch/breakpoint working - do you > tie the watch to the breakpoint if so how - Tried > > Can you give me a recipe "for dummies" > > "Don't make me think" - Steve Krug > > "Show me the Banana" - "The BIg Red Fez" - Seth Godin > > "The best way to motivate the monkey, of course, is to use a banana. > Whenever the monkey walks into a new situation, all it wants to know is, > ?Where?s the banana?? > If the banana isn?t easy to see, easy to get and obvious, the monkey is > going to lose interest. > But, if you can make it clear to the monkey what?s in it for him, odds are > he?ll do what you want. " > > Thanks > > Lagi > > On Sat, 22 Jun 2019 at 00:48, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Set a breakpoint, right click it, choose condition, and fill out the >> dialog. That's how I usually do it. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On June 21, 2019 5:34:30 PM Bob Sneidar via use-livecode >> wrote: >> >>> In the breakpoints tab of the script editor, if you right click the >> lower >>> pane, you can create conditional breakpoints. For instance if the value >> of >>> a variable is something. I have never gotten them to work, and I find I >> am >>> needing this more and more. >>> >>> Bob S >>> >>> >>>> On Jun 21, 2019, at 15:26 , dunbarx--- via use-livecode >>>> wrote: >>>> >>>> Not sure what you could mean. >>>> on mouseUp if the mouseLoc is within the rect of btn 3 then >> breakPoint >>>> if the visible of btn 3 then breakPoint if the... >>>> >>>> >>>> Surely I am missing this. >>>> Craig >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 richmondmathewson at gmail.com Mon Jun 24 15:45:21 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 24 Jun 2019 22:45:21 +0300 Subject: Quotient In-Reply-To: References: <1BF8A916-8022-4640-BFFE-8D3BB639BB5A@livecode.com> Message-ID: <5fb30ce3-3c09-6d6d-d3a8-d4fbd3433dba@gmail.com> Ha, ha, ha; they are coming to take me away as I am replying to my own post yet again. And this does seem a bit bonkers; onmouseUp ??? put0 intoKKK ??? put1 intoJJJ repeatuntil KKK > 6.3 ??? ??? ??? put((150 + (100 * (COS(KKK)))) div 1) intoCKKK ??? ??? ??? put((150 + (100 * (SIN(KKK)))) div 1)intoSKKK ??? ??? ??? putCKKK & ", " & SKKK intoline JJJ offld "POINTZ" ??? ??? ??? add0.01 toKKK ??? ??? ??? add1 toJJJ ??? ??? endrepeat endmouseUp The idea of doing 'div 1' is . . . . Richmond. On 24.06.19 22:34, Richmond wrote: > Thanks: I have. > > BUT, imagine, if you will, a situation where I want to animate a blob > as in: > > put 1 into LYNE > ? repeat until line LYNE of fld "PointsList" is empty > ??? move grc "blob" to line LYNE of fld "PointsList" > ??? wait 2 ticks > ??? add 1 to LYNE > ?end repeat > > Let's suppose those points should make the blob go round an invisible > circle > (this is fairly old-hat as Benjamin Beaumont demonstrated this sort of > thing > at the Edinburgh conference about 10 years ago) but, while I might > generate > the points of a circle using the ancient SINE-COSINE algorhthim (b*gger, > how do you spell that word?), I want the points in the listField to > end up as > whole numbers with no decimal component. > > I'm not sure 'div' is going to be much help there. > > I suppose I could be totally whacko and set up the decimal point as > the item delimiter > and start splitting off bits . . . . > > Richmond. > > On 24.06.19 22:26, Mark Waddingham via use-livecode wrote: >> Try ?div? :) >> >> Mark. >> >> Sent from my iPhone >> >>> On 24 Jun 2019, at 20:22, Richmond via use-livecode >>> wrote: >>> >>> Err . . . >>> >>> So; I have several numbers that have to be divided by other numbers: >>> >>> 28 / 3 >>> >>> 301 / 10 >>> >>> 44 / 6 >>> >>> now these will all yield "awkward numbers" consisting of a quotient >>> and a remainder: >>> >>> 9.33 >>> >>> 30.1 >>> >>> 7.33 >>> >>> Now I know one could be "ever so slightly potty" in LiveCode to get >>> the quotient by doing something >>> like this: >>> >>> put 28/3 into XX >>> put (28 mod 3) into YY >>> put (XX - YY) into ZZ >>> >>> but that seems a long way round . . . but I cannot work out what the >>> equivalent term to 'mod' >>> is to get the quotient in LiveCode. >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Jun 24 15:51:23 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jun 2019 14:51:23 -0500 Subject: Quotient In-Reply-To: References: <1BF8A916-8022-4640-BFFE-8D3BB639BB5A@livecode.com> Message-ID: <806bdbb8-d90f-deb9-7d1f-8d10e708f644@hyperactivesw.com> I generally use "round" when working with pixels. But you don't have to, the LC engine seems to manage decimal pixels for you. Clever, that engine. On 6/24/19 2:34 PM, Richmond via use-livecode wrote: > Thanks: I have. > > BUT, imagine, if you will, a situation where I want to animate a blob as > in: > > put 1 into LYNE > ? repeat until line LYNE of fld "PointsList" is empty > ??? move grc "blob" to line LYNE of fld "PointsList" > ??? wait 2 ticks > ??? add 1 to LYNE > ?end repeat > > Let's suppose those points should make the blob go round an invisible > circle > (this is fairly old-hat as Benjamin Beaumont demonstrated this sort of > thing > at the Edinburgh conference about 10 years ago) but, while I might generate > the points of a circle using the ancient SINE-COSINE algorhthim (b*gger, > how do you spell that word?), I want the points in the listField to end > up as > whole numbers with no decimal component. > > I'm not sure 'div' is going to be much help there. > > I suppose I could be totally whacko and set up the decimal point as the > item delimiter > and start splitting off bits . . . . > > Richmond. > > On 24.06.19 22:26, Mark Waddingham via use-livecode wrote: >> Try ?div? :) >> >> Mark. >> >> Sent from my iPhone >> >>> On 24 Jun 2019, at 20:22, Richmond via use-livecode >>> wrote: >>> >>> Err . . . >>> >>> So; I have several numbers that have to be divided by other numbers: >>> >>> 28 / 3 >>> >>> 301 / 10 >>> >>> 44 / 6 >>> >>> now these will all yield "awkward numbers" consisting of a quotient >>> and a remainder: >>> >>> 9.33 >>> >>> 30.1 >>> >>> 7.33 >>> >>> Now I know one could be "ever so slightly potty" in LiveCode to get >>> the quotient by doing something >>> like this: >>> >>> put 28/3 into XX >>> put (28 mod 3) into YY >>> put (XX - YY) into ZZ >>> >>> but that seems a long way round . . . but I cannot work out what the >>> equivalent term to 'mod' >>> is to get the quotient in LiveCode. >>> >>> Richmond. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jun 24 15:53:05 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jun 2019 14:53:05 -0500 Subject: Changing array key text In-Reply-To: <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> Message-ID: <2b768b36-4273-f2a7-cd8d-6e6850c870cc@hyperactivesw.com> Thanks, I hadn't thought of just extracting a chunk of the array. I should have. On 6/24/19 2:37 PM, Brian Milby via use-livecode wrote: > I?m pretty sure the PI deletes the old key and creates a new key with the existing value. > > Thanks, > Brian > On Jun 24, 2019, 3:23 PM -0400, J. Landman Gay via use-livecode , wrote: >> I have a multi-dimensional array and sometimes I need to change the text >> of one of the array keys without destroying the rest of the array. >> Putting a different value into a key removes all the subkeys under it, >> so I wonder if there's a way to update the text of a key without >> re-creating the entire array again. >> >> The property inspector lets you do this when you change the name of an >> array key. Is there a quick trick for that? >> >> -- >> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Jun 24 16:01:23 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 24 Jun 2019 23:01:23 +0300 Subject: Quotient In-Reply-To: <806bdbb8-d90f-deb9-7d1f-8d10e708f644@hyperactivesw.com> References: <1BF8A916-8022-4640-BFFE-8D3BB639BB5A@livecode.com> <806bdbb8-d90f-deb9-7d1f-8d10e708f644@hyperactivesw.com> Message-ID: <131f6d43-96f3-e0b5-0540-230ee8a99339@gmail.com> I have had no trouble with LiveCode in this respect: that is NOT the problem: the problem is that, in Bulgaria, kids have not been taught about numbers with decimal points when they are 11 years old (strikes me as a bit late in the day), so am trying to avoid those just now. Richmond. On 24.06.19 22:51, J. Landman Gay via use-livecode wrote: > I generally use "round" when working with pixels. But you don't have > to, the LC engine seems to manage decimal pixels for you. > > Clever, that engine. > > On 6/24/19 2:34 PM, Richmond via use-livecode wrote: >> Thanks: I have. >> >> BUT, imagine, if you will, a situation where I want to animate a blob >> as in: >> >> put 1 into LYNE >> ?? repeat until line LYNE of fld "PointsList" is empty >> ???? move grc "blob" to line LYNE of fld "PointsList" >> ???? wait 2 ticks >> ???? add 1 to LYNE >> ??end repeat >> >> Let's suppose those points should make the blob go round an invisible >> circle >> (this is fairly old-hat as Benjamin Beaumont demonstrated this sort >> of thing >> at the Edinburgh conference about 10 years ago) but, while I might >> generate >> the points of a circle using the ancient SINE-COSINE algorhthim (b*gger, >> how do you spell that word?), I want the points in the listField to >> end up as >> whole numbers with no decimal component. >> >> I'm not sure 'div' is going to be much help there. >> >> I suppose I could be totally whacko and set up the decimal point as >> the item delimiter >> and start splitting off bits . . . . >> >> Richmond. >> >> On 24.06.19 22:26, Mark Waddingham via use-livecode wrote: >>> Try ?div? :) >>> >>> Mark. >>> >>> Sent from my iPhone >>> >>>> On 24 Jun 2019, at 20:22, Richmond via use-livecode >>>> wrote: >>>> >>>> Err . . . >>>> >>>> So; I have several numbers that have to be divided by other numbers: >>>> >>>> 28 / 3 >>>> >>>> 301 / 10 >>>> >>>> 44 / 6 >>>> >>>> now these will all yield "awkward numbers" consisting of a quotient >>>> and a remainder: >>>> >>>> 9.33 >>>> >>>> 30.1 >>>> >>>> 7.33 >>>> >>>> Now I know one could be "ever so slightly potty" in LiveCode to get >>>> the quotient by doing something >>>> like this: >>>> >>>> put 28/3 into XX >>>> put (28 mod 3) into YY >>>> put (XX - YY) into ZZ >>>> >>>> but that seems a long way round . . . but I cannot work out what >>>> the equivalent term to 'mod' >>>> is to get the quotient in LiveCode. >>>> >>>> Richmond. > > From martyknappster at gmail.com Mon Jun 24 16:05:58 2019 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 24 Jun 2019 13:05:58 -0700 Subject: PDF Widget Message-ID: <2B37C808-F770-41E8-A7C9-90EEE90982D7@gmail.com> I was just playing with the new PDF widget in LC 9.5. You can insert a PDF and overlay other LC objects (very cool) and then print the card but the PDF portion prints at low resolution - or did I miss something? Marty From paul at researchware.com Mon Jun 24 16:26:35 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 24 Jun 2019 16:26:35 -0400 Subject: PDF Widget In-Reply-To: <2B37C808-F770-41E8-A7C9-90EEE90982D7@gmail.com> References: <2B37C808-F770-41E8-A7C9-90EEE90982D7@gmail.com> Message-ID: On 6/24/2019 4:05 PM, Marty Knapp via use-livecode wrote: > I was just playing with the new PDF widget in LC 9.5. You can insert a PDF and overlay other LC objects (very cool) and then print the card but the PDF portion prints at low resolution - or did I miss something? > > The same issue exists in the external OR in any printing based on printing cards in LiveCode. If you want someone at higher than screen resolution (like 2x or 4x, you sort of need to size the image or pDF at 2x or 4x off screen (or locked screen) and take a export of the image and the size the image down to 1x size. Unless some one knows of a better approach. From tom at makeshyft.com Mon Jun 24 16:33:00 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 24 Jun 2019 16:33:00 -0400 Subject: PDF Widget In-Reply-To: References: <2B37C808-F770-41E8-A7C9-90EEE90982D7@gmail.com> Message-ID: nope thats the way. makes sense that it works that way. On Mon, Jun 24, 2019 at 4:26 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 6/24/2019 4:05 PM, Marty Knapp via use-livecode wrote: > > I was just playing with the new PDF widget in LC 9.5. You can insert a > PDF and overlay other LC objects (very cool) and then print the card but > the PDF portion prints at low resolution - or did I miss something? > > > > > > > The same issue exists in the external OR in any printing based on > printing cards in LiveCode. If you want someone at higher than screen > resolution (like 2x or 4x, you sort of need to size the image or pDF at > 2x or 4x off screen (or locked screen) and take a export of the image > and the size the image down to 1x size. > > Unless some one knows of a better approach. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Mon Jun 24 16:37:00 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Mon, 24 Jun 2019 14:37:00 -0600 Subject: Quotient In-Reply-To: <131f6d43-96f3-e0b5-0540-230ee8a99339@gmail.com> References: <1BF8A916-8022-4640-BFFE-8D3BB639BB5A@livecode.com> <806bdbb8-d90f-deb9-7d1f-8d10e708f644@hyperactivesw.com> <131f6d43-96f3-e0b5-0540-230ee8a99339@gmail.com> Message-ID: <061424A3-BD03-409D-91E7-1F1A7F23CE26@swcp.com> Some thoughts: A. Define round as a way to get rid of the fractional part. B. Use a simple (almost regular) polygon that can be multiplied to be bigger. C. Create your own functions that hide decimal fractions and let students use them. 1. Use turtle graphics D. Draw a circle of diameter 100 on a grid and create a list of points to be used for corresponding to degrees. > On Jun 24, 2019, at 2:01 PM, Richmond via use-livecode wrote: > > I have had no trouble with LiveCode in this respect: that is NOT the problem: the problem > is that, in Bulgaria, kids have not been taught about numbers with decimal points when they > are 11 years old (strikes me as a bit late in the day), so am trying to avoid those just now. > > Richmond. > > On 24.06.19 22:51, J. Landman Gay via use-livecode wrote: >> I generally use "round" when working with pixels. But you don't have to, the LC engine seems to manage decimal pixels for you. >> >> Clever, that engine. >> >> On 6/24/19 2:34 PM, Richmond via use-livecode wrote: >>> Thanks: I have. >>> >>> BUT, imagine, if you will, a situation where I want to animate a blob as in: >>> >>> put 1 into LYNE >>> repeat until line LYNE of fld "PointsList" is empty >>> move grc "blob" to line LYNE of fld "PointsList" >>> wait 2 ticks >>> add 1 to LYNE >>> end repeat >>> >>> Let's suppose those points should make the blob go round an invisible circle >>> (this is fairly old-hat as Benjamin Beaumont demonstrated this sort of thing >>> at the Edinburgh conference about 10 years ago) but, while I might generate >>> the points of a circle using the ancient SINE-COSINE algorhthim (b*gger, >>> how do you spell that word?), I want the points in the listField to end up as >>> whole numbers with no decimal component. >>> >>> I'm not sure 'div' is going to be much help there. >>> >>> I suppose I could be totally whacko and set up the decimal point as the item delimiter >>> and start splitting off bits . . . . >>> >>> Richmond. >>> >>> On 24.06.19 22:26, Mark Waddingham via use-livecode wrote: >>>> Try ?div? :) >>>> >>>> Mark. >>>> >>>> Sent from my iPhone >>>> >>>>> On 24 Jun 2019, at 20:22, Richmond via use-livecode wrote: >>>>> >>>>> Err . . . >>>>> >>>>> So; I have several numbers that have to be divided by other numbers: >>>>> >>>>> 28 / 3 >>>>> >>>>> 301 / 10 >>>>> >>>>> 44 / 6 >>>>> >>>>> now these will all yield "awkward numbers" consisting of a quotient and a remainder: >>>>> >>>>> 9.33 >>>>> >>>>> 30.1 >>>>> >>>>> 7.33 >>>>> >>>>> Now I know one could be "ever so slightly potty" in LiveCode to get the quotient by doing something >>>>> like this: >>>>> >>>>> put 28/3 into XX >>>>> put (28 mod 3) into YY >>>>> put (XX - YY) into ZZ >>>>> >>>>> but that seems a long way round . . . but I cannot work out what the equivalent term to 'mod' >>>>> is to get the quotient in LiveCode. >>>>> >>>>> Richmond. >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Mon Jun 24 16:54:15 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 24 Jun 2019 16:54:15 -0400 Subject: "Drawing" is a reserved stack name?!? Message-ID: <02128bb9-77ae-935f-cde7-28f928f2f3e7@researchware.com> So before I report this as a "bug", I would appreciate if someone could confirm. Using LC9.0.4 and LC 9.0.5rc under Windows Open LC Make a new stack Make the stack name "Drawing" Save the stack as "Drawing.livecode" Make sure that your have View > Show IDE Stacks in Lists set to Off Exit LiveCode Open Drawing.livecode back up in LiveCode. Look in the Project Browser -> no "Drawing" stack Turn View > Show IDE Stacks in Lists to On Observe you can see the "Drawing" stack in the Project Browser LC thinks "Drawing" is part of the IDE. If you open LiveCode with NO stacks and view the IDE stacks in the Project Browser, there is no "Drawing" stack, so it is not a conflict. I though the "reserved" stack names were rev*, Home, Message Box, and com.livecode.* (oh and recently tsNetLubURL) I do not recall seeing the name "Drawing" as a reserved stack name for the IDE, so this is either a documentation bug or a IDE bug. Can someone confirm? From hh at hyperhh.de Mon Jun 24 17:12:57 2019 From: hh at hyperhh.de (hh) Date: Mon, 24 Jun 2019 23:12:57 +0200 Subject: Quotient Message-ID: A (theoretical) circle is effectively a regular polygon with "many" vertices. LC Script draws only integer valued points (although you can give decimals). That approximation of a circle by regular polygons is shown in the sample stack http://forums.livecode.com/viewtopic.php?p=98716#p98716 The stack does what you want (outputs integer valued points by rounding). Clicking the points shows their location indicated red in the polygon. p.s. x div 1 is the same as trunc(x) for x>=0. From monte at appisle.net Mon Jun 24 18:33:19 2019 From: monte at appisle.net (Monte Goulding) Date: Tue, 25 Jun 2019 08:33:19 +1000 Subject: PDF Widget In-Reply-To: References: <2B37C808-F770-41E8-A7C9-90EEE90982D7@gmail.com> Message-ID: <4767D7F4-6BE8-4FDA-80F6-2B7DFAA862E1@appisle.net> There?s a report open for this here to which I suggested the same workaround Paul has https://quality.livecode.com/show_bug.cgi?id=22134 In order to resolve the report we need to add a way for a widget to draw something different into a printing context than it does normally. Cheers Monte > On 25 Jun 2019, at 6:33 am, Tom Glod via use-livecode wrote: > > nope thats the way. makes sense that it works that way. > > On Mon, Jun 24, 2019 at 4:26 PM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 6/24/2019 4:05 PM, Marty Knapp via use-livecode wrote: >>> I was just playing with the new PDF widget in LC 9.5. You can insert a >> PDF and overlay other LC objects (very cool) and then print the card but >> the PDF portion prints at low resolution - or did I miss something? >>> >>> >> >> >> The same issue exists in the external OR in any printing based on >> printing cards in LiveCode. If you want someone at higher than screen >> resolution (like 2x or 4x, you sort of need to size the image or pDF at >> 2x or 4x off screen (or locked screen) and take a export of the image >> and the size the image down to 1x size. >> >> Unless some one knows of a better approach. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jun 24 18:57:14 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Jun 2019 15:57:14 -0700 Subject: PDF Widget In-Reply-To: References: <2B37C808-F770-41E8-A7C9-90EEE90982D7@gmail.com> Message-ID: <8F4AF72D-741C-4969-8389-A7CF0567A53C@gmail.com> > Paul provided, > The same issue exists in the external OR in any printing based on printing cards in LiveCode. If you want someone at higher than screen resolution (like 2x or 4x, you sort of need to size the image or pDF at 2x or 4x off screen (or locked screen) and take a export of the image and the size the image down to 1x size. I?m to even having success doing it that way. I gave up on printing itself back with 5, when even fonts only rendered at screen resolution . . . I think that?s changed since then, but I?ve been exporting to pdf since then. (besides, it?s pdfs that we use to file in bankruptcy, anyway). Monte mentioned, > There?s a report open for this here to which I suggested the same workaround Paul has https://quality.livecode.com/show_bug.cgi?id=22134 > > > In order to resolve the report we need to add a way for a widget to draw something different into a printing context than it does normally. It was I that filed that bug . . . but I haven?t succeeded in exporting around it yet. I have three uploaded files for comparison ? iMac, retina MacBook, and scaleFactor 4 on the iMac. It?s been a couple of decades since I played with postscript (and, much as they deny it, it *IS TOO* Forth!), so I don?t remember details. My thinking, though, would be to use the postscript base of pdf and skip rendering entirely during export. Instead, include the source pdf file in the output, and specify a region to contain "250,220 to 400,550 of page 4 of mydoc.pdf? In my case, just resizing the pdf for resolution won?t get me very far?I will have several regions of pdfs included in an output page, possibly but not always from the same page of the source, *and* a bunch of livecode fields. I?ve considered cloning the card and resizing every item, but livecode?s (and the fonts?) handling of margins and the like seems quite non-linear, so I wouldn?t get my carefully arranged output where I?ve meticulously placed and adjusted fields. Other approaches I?ve contemplated: 1) turning the pdfs to quad density png or pg, and letting my developer maintenance machine scan my output cards pieces, stick make a graphic corresponding to each pdf, put that in the layer immediately above the pdf, and turn it invisible except when exporting. (but relayerGroupedControls is kind of touchy . . .) 2) export to a pdf without any of the source pdfs (just my own fields), and write a build file with source pdf name, page, and region for each element, and run a shell script to build a postscript file using postscript versions of my source, and then turn that back to pdf. ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From paul at researchware.com Mon Jun 24 19:25:11 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 24 Jun 2019 19:25:11 -0400 Subject: Groups do not receive mouseEnter messages? Message-ID: In LC9.0.5rc1 under Windows, I have a test stack with 2 opaque groups with show borders? - one covering the top half of the card and one covering the bottom half of the card. In side the top group are a couple buttons with plenty of white space around them and inside the bottom group are a couple of graphic objects with plenty of white space around them. The buttons and graphics have no scripts (currently). Each group has an "on mouseEnter" handler that "choose browse tool" for the top group and "choose pointer tool" for the bottom group.? The simple idea being when the user moves the mouse into the bottom group, the pointer tool is chosen so they could click on and resize the graphics. And when the mouse enter the top group, the browse tool is chosen so the user can click on the buttons without selecting them. Neither group seems to receive the mouseEnter messages. Instead, the groups mouseEnter handler is executed for the top group only when the mouse is moved over one of the buttons (which has no mouseEnter handler and so the message is passed to the group) and likewise, the bottom groups mouseEnter handler is executed only when the mouse is moved over one of the graphics. Do GROUPs not receive mouseEnter directly? This seems like a bug?Or is there some trick (property settings) for a group to receive mouseEnter messages? From terry.judd at unimelb.edu.au Mon Jun 24 20:13:38 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 25 Jun 2019 00:13:38 +0000 Subject: Groups do not receive mouseEnter messages? In-Reply-To: References: Message-ID: <0DA74A34-1606-4E2D-B200-711EA5C92FAB@unimelb.edu.au> Hi Paul - so, you could create a grc object the same size as the group, send it to the back and set its cantSelect property to true. That should give you the behaviour you want as well as preventing your user from selecting the 'background' object in the group that switches to the pointer tool. Terry... ?On 25/6/19, 9:28 am, "use-livecode on behalf of Paul Dupuis via use-livecode" wrote: In LC9.0.5rc1 under Windows, I have a test stack with 2 opaque groups with show borders - one covering the top half of the card and one covering the bottom half of the card. In side the top group are a couple buttons with plenty of white space around them and inside the bottom group are a couple of graphic objects with plenty of white space around them. The buttons and graphics have no scripts (currently). Each group has an "on mouseEnter" handler that "choose browse tool" for the top group and "choose pointer tool" for the bottom group. The simple idea being when the user moves the mouse into the bottom group, the pointer tool is chosen so they could click on and resize the graphics. And when the mouse enter the top group, the browse tool is chosen so the user can click on the buttons without selecting them. Neither group seems to receive the mouseEnter messages. Instead, the groups mouseEnter handler is executed for the top group only when the mouse is moved over one of the buttons (which has no mouseEnter handler and so the message is passed to the group) and likewise, the bottom groups mouseEnter handler is executed only when the mouse is moved over one of the graphics. Do GROUPs not receive mouseEnter directly? This seems like a bug?Or is there some trick (property settings) for a group to receive mouseEnter messages? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Mon Jun 24 20:24:29 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 25 Jun 2019 00:24:29 +0000 (UTC) Subject: Groups do not receive mouseEnter messages? In-Reply-To: References: Message-ID: <1105222444.901965.1561422269888@mail.yahoo.com> Confirmed here. I have never really tried any of the things you mentioned, but no messages at all are sent to the group I just made. ?Interestingly, and consistent so far, double clicking within the group boundary, but not in any child control, opens the inspector for the card. So although the dictionary talks about many properties of groups, and states that it is a control in its own right, it does not seem to have much body outside of its children. This even though one can make the group red as a beet. The "object" certainly exists, and has a multitude of properties. It just doesn't seem to be quite there. Craig -----Original Message----- From: Paul Dupuis via use-livecode To: How LiveCode Cc: Paul Dupuis Sent: Mon, Jun 24, 2019 7:28 pm Subject: Groups do not receive mouseEnter messages? In LC9.0.5rc1 under Windows, I have a test stack with 2 opaque groups with show borders? - one covering the top half of the card and one covering the bottom half of the card. In side the top group are a couple buttons with plenty of white space around them and inside the bottom group are a couple of graphic objects with plenty of white space around them. The buttons and graphics have no scripts (currently). Each group has an "on mouseEnter" handler that "choose browse tool" for the top group and "choose pointer tool" for the bottom group.? The simple idea being when the user moves the mouse into the bottom group, the pointer tool is chosen so they could click on and resize the graphics. And when the mouse enter the top group, the browse tool is chosen so the user can click on the buttons without selecting them. Neither group seems to receive the mouseEnter messages. Instead, the groups mouseEnter handler is executed for the top group only when the mouse is moved over one of the buttons (which has no mouseEnter handler and so the message is passed to the group) and likewise, the bottom groups mouseEnter handler is executed only when the mouse is moved over one of the graphics. Do GROUPs not receive mouseEnter directly? This seems like a bug?Or is there some trick (property settings) for a group to receive mouseEnter messages? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Jun 24 20:35:55 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 24 Jun 2019 17:35:55 -0700 Subject: Changing array key text In-Reply-To: <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> Message-ID: On 6/24/19 12:37 PM, Brian Milby via use-livecode wrote: > I?m pretty sure the PI deletes the old key and creates a new key with the existing value. I'm pretty sure (in this post-facts world I haven't actually looked) it's the other way around: copy the existing contents into the new key, *then* delete the old key. -- Mark Wieder ahsoftware at gmail.com From paul at researchware.com Mon Jun 24 21:07:38 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 24 Jun 2019 21:07:38 -0400 Subject: Groups do not receive mouseEnter messages? In-Reply-To: <1105222444.901965.1561422269888@mail.yahoo.com> References: <1105222444.901965.1561422269888@mail.yahoo.com> Message-ID: On 6/24/2019 8:24 PM, dunbarx--- via use-livecode wrote: > Confirmed here. > I have never really tried any of the things you mentioned, but no messages at all are sent to the group I just made. ?Interestingly, and consistent so far, double clicking within the group boundary, but not in any child control, opens the inspector for the card. > So although the dictionary talks about many properties of groups, and states that it is a control in its own right, it does not seem to have much body outside of its children. This even though one can make the group red as a beet. The "object" certainly exists, and has a multitude of properties. It just doesn't seem to be quite there. > Craig > Thanks for the confirmation. However, what I'd really like is someone from the mothership to chime in? I am aware that the Dictionary Entry for the group object does not list any of the mouse events (mouseEnter, mouseLeave, mouseWithin, mouseDown, mouseUp, etc. etc.), but I assumed this was for saving space in the dictionary entry? From brian at milby7.com Mon Jun 24 22:00:43 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 24 Jun 2019 22:00:43 -0400 Subject: Changing array key text In-Reply-To: References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> Message-ID: Close, here's the actual code (part of setArrayKeyOnPath): put xArray[item 1 of pPath] into tSubArray delete variable xArray[item 1 of pPath] put tSubArray into xArray[pKey] I didn't specify the first step in my original answer. I only knew about this because I had been looking at that code a while back trying to change some things about how the PI worked for custom properties. I think a couple of improvements made it in. On Mon, Jun 24, 2019 at 8:36 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 6/24/19 12:37 PM, Brian Milby via use-livecode wrote: > > I?m pretty sure the PI deletes the old key and creates a new key with > the existing value. > > I'm pretty sure (in this post-facts world I haven't actually looked) > it's the other way around: copy the existing contents into the new key, > *then* delete the old key. > > -- > 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 ahsoftware at sonic.net Mon Jun 24 22:10:34 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 24 Jun 2019 19:10:34 -0700 Subject: Changing array key text In-Reply-To: References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> Message-ID: <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> On 6/24/19 7:00 PM, Brian Milby via use-livecode wrote: > Close, here's the actual code (part of setArrayKeyOnPath): > > put xArray[item 1 of pPath] into tSubArray > delete variable xArray[item 1 of pPath] > put tSubArray into xArray[pKey] Interesting. Wouldn't it be faster to do put xArray[item 1 of pPath] into xArray[pKey] delete variable xArray[item 1 of pPath] i.e., why the extra copy? -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Mon Jun 24 22:18:20 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 24 Jun 2019 22:18:20 -0400 Subject: Changing array key text In-Reply-To: <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> Message-ID: My guess is that it has to do with the copy on write property of arrays. ?If you used your method it may force an actual duplication. ?The existing method just passes a pointer effectively. ?I could be totally wrong though. Thanks, Brian On Jun 24, 2019, 10:11 PM -0400, Mark Wieder via use-livecode , wrote: > On 6/24/19 7:00 PM, Brian Milby via use-livecode wrote: > > Close, here's the actual code (part of setArrayKeyOnPath): > > > > put xArray[item 1 of pPath] into tSubArray > > delete variable xArray[item 1 of pPath] > > put tSubArray into xArray[pKey] > > Interesting. Wouldn't it be faster to do > > put xArray[item 1 of pPath] into xArray[pKey] > delete variable xArray[item 1 of pPath] > > i.e., why the extra copy? > > -- > 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 ahsoftware at sonic.net Mon Jun 24 22:43:17 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 24 Jun 2019 19:43:17 -0700 Subject: Changing array key text In-Reply-To: References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> Message-ID: On 6/24/19 7:18 PM, Brian Milby via use-livecode wrote: > My guess is that it has to do with the copy on write property of arrays. ?If you used your method it may force an actual duplication. ?The existing method just passes a pointer effectively. ?I could be totally wrong though. Dunno. Possibly. But passing a pointer and deleting the referenced object seems dangerous without a lot of overhead of reference counting and deferred deletion. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Jun 24 23:55:43 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jun 2019 22:55:43 -0500 Subject: Changing array key text In-Reply-To: References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> Message-ID: <16b8cc66e18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I love when you guys talk geek to me. "Tell me more about my arrays." https://youtu.be/dEaFFZpfxLU -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 24, 2019 9:44:55 PM Mark Wieder via use-livecode wrote: > On 6/24/19 7:18 PM, Brian Milby via use-livecode wrote: >> My guess is that it has to do with the copy on write property of arrays. >> If you used your method it may force an actual duplication. The existing >> method just passes a pointer effectively. I could be totally wrong though. > > Dunno. Possibly. But passing a pointer and deleting the referenced > object seems dangerous without a lot of overhead of reference counting > and deferred deletion. > > -- > 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 curry at pair.com Tue Jun 25 00:41:23 2019 From: curry at pair.com (Curry Kenworthy) Date: Tue, 25 Jun 2019 00:41:23 -0400 Subject: Groups do not receive mouseEnter messages? In-Reply-To: References: Message-ID: <1f9baaa6-0120-7187-5fb3-c1e9e8a7ca46@pair.com> Paul: > 2 opaque groups with show borders [...] > Neither group seems to receive the mouseEnter messages. I believe this is consistent with LC 6. Makes good sense for transparent groups. A good case could be made either way for opaque ones. (Card mousemove is another way to handle the tool change reliably without adding more controls.) Best wishes, Curry K. From mark at livecode.com Tue Jun 25 04:09:39 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 25 Jun 2019 10:09:39 +0200 Subject: Quotient In-Reply-To: References: Message-ID: <13b8ccf5158115624bd3d95a5d0f1b8f@livecode.com> On 2019-06-24 21:26, Richmond via use-livecode wrote: > But it is not much cop when it comes to finding > the quotient of some long and complicated bit of Mathematics. Perhaps not, but it is what you asked for... 28 div 3 = 9 28 mod 1 = 1 28 / 3 = 9 + 1/3 301 div 10 = 30 301 mod 10 = 1 301/10 = 30 + 1/10 44 div 6 = 7 44 mod 6 = 2 44/6 = 7 + 2/6 = 7 + 1/3 More generally given X and Y you can rewrite X/Y as a 'quotient and a remainder' by defining: Q := X div Y R := X mod Y Then you have that: X/Y = Q + R/Y Just as when a human does such a computation R/Y can be often be reduced (if R and Y have any common factors) - i.e. by eliminating their greatest common divisor. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Tue Jun 25 04:11:13 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 25 Jun 2019 10:11:13 +0200 Subject: Groups do not receive mouseEnter =?UTF-8?Q?messages=3F?= In-Reply-To: References: <1105222444.901965.1561422269888@mail.yahoo.com> Message-ID: On 2019-06-25 03:07, Paul Dupuis via use-livecode wrote: > On 6/24/2019 8:24 PM, dunbarx--- via use-livecode wrote: >> Confirmed here. >> I have never really tried any of the things you mentioned, but no >> messages at all are sent to the group I just made. ?Interestingly, and >> consistent so far, double clicking within the group boundary, but not >> in any child control, opens the inspector for the card. >> So although the dictionary talks about many properties of groups, and >> states that it is a control in its own right, it does not seem to have >> much body outside of its children. This even though one can make the >> group red as a beet. The "object" certainly exists, and has a >> multitude of properties. It just doesn't seem to be quite there. >> Craig >> > > Thanks for the confirmation. > > However, what I'd really like is someone from the mothership to chime > in? The behavior of groups re mouse messages (and the lack there of) has been the same as long as I can remember (which is back to around version 2.0). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Tue Jun 25 04:25:15 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 25 Jun 2019 10:25:15 +0200 Subject: Changing array key text In-Reply-To: References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> Message-ID: On 2019-06-25 04:18, Brian Milby via use-livecode wrote: > My guess is that it has to do with the copy on write property of > arrays. ?If you used your method it may force an actual duplication. > ?The existing method just passes a pointer effectively. ?I could be > totally wrong though. > > On Jun 24, 2019, 10:11 PM -0400, Mark Wieder via use-livecode > , wrote: >> > put xArray[item 1 of pPath] into tSubArray >> > delete variable xArray[item 1 of pPath] >> > put tSubArray into xArray[pKey] >> >> Interesting. Wouldn't it be faster to do >> >> put xArray[item 1 of pPath] into xArray[pKey] >> delete variable xArray[item 1 of pPath] >> >> i.e., why the extra copy? In terms of copies there are none happening in either case - only xArray is being mutated - and referencing counting means that the 'puts' are all free. The first will be 'on average' marginally more efficient but that's because of the number of keys... In method (1) the number of keys goes from N -> N - 1 -> N In method (2) the number of keys goes from N -> N + 1 -> N Its much more likely that adding a key will cause the engine to have to extend the internal vector of key-value pairs it uses to store the array mapping then removing a key will cause it to shrink it - also expansion is 'on average' slower than shrinking. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From sean at pidigital.co.uk Tue Jun 25 06:08:58 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 25 Jun 2019 11:08:58 +0100 Subject: Quotient In-Reply-To: <13b8ccf5158115624bd3d95a5d0f1b8f@livecode.com> References: <13b8ccf5158115624bd3d95a5d0f1b8f@livecode.com> Message-ID: <853CB9CE-EE87-4E95-AF2E-2B63720876CF@pidigital.co.uk> In short form then: Put 23 into tX; Put 8 into tY; Put tX & ?/? & tY && ?=? && (tX div tY) && (tX mod tY) & ?/? & tY into tCalcString Sean Cole Pi Digital Prod Ltd > On 25 Jun 2019, at 09:09, Mark Waddingham via use-livecode wrote: > > Q := X div Y > R := X mod Y > > Then you have that: > > X/Y = Q + R/Y From merakosp at gmail.com Tue Jun 25 07:03:30 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 25 Jun 2019 14:03:30 +0300 Subject: "Drawing" is a reserved stack name?!? In-Reply-To: <02128bb9-77ae-935f-cde7-28f928f2f3e7@researchware.com> References: <02128bb9-77ae-935f-cde7-28f928f2f3e7@researchware.com> Message-ID: Hello Paul, There is the drawing library, which is an IDE stack. However its name is "com.livecode.library.drawing", not just "drawing". So this sounds like a bug in the IDE :) Kind regards, Panos -- On Mon, 24 Jun 2019 at 23:54, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > So before I report this as a "bug", I would appreciate if someone could > confirm. Using LC9.0.4 and LC 9.0.5rc under Windows > > Open LC > Make a new stack > Make the stack name "Drawing" > Save the stack as "Drawing.livecode" > Make sure that your have View > Show IDE Stacks in Lists set to Off > Exit LiveCode > > Open Drawing.livecode back up in LiveCode. > Look in the Project Browser -> no "Drawing" stack > > Turn View > Show IDE Stacks in Lists to On > Observe you can see the "Drawing" stack in the Project Browser > > LC thinks "Drawing" is part of the IDE. If you open LiveCode with NO > stacks and view the IDE stacks in the Project Browser, there is no > "Drawing" stack, so it is not a conflict. > > I though the "reserved" stack names were rev*, Home, Message Box, and > com.livecode.* (oh and recently tsNetLubURL) > > I do not recall seeing the name "Drawing" as a reserved stack name for > the IDE, so this is either a documentation bug or a IDE bug. Can someone > confirm? > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Tue Jun 25 10:17:46 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 25 Jun 2019 10:17:46 -0400 Subject: "Drawing" is a reserved stack name?!? In-Reply-To: References: <02128bb9-77ae-935f-cde7-28f928f2f3e7@researchware.com> Message-ID: <617bf369-91c8-93b6-8416-9163cbe65749@researchware.com> On 6/25/2019 7:03 AM, panagiotis merakos wrote: > There is the drawing library, which is an IDE stack. However its name > is "com.livecode.library.drawing", not just "drawing". So this sounds > like a bug in the IDE :) https://quality.livecode.com/show_bug.cgi?id=22205 From paul at researchware.com Tue Jun 25 10:19:12 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 25 Jun 2019 10:19:12 -0400 Subject: Groups do not receive mouseEnter messages? In-Reply-To: References: <1105222444.901965.1561422269888@mail.yahoo.com> Message-ID: <5d89aebb-a06a-7b7d-6910-4e3e5faea26d@researchware.com> On 6/25/2019 4:11 AM, Mark Waddingham via use-livecode wrote: > The behavior of groups re mouse messages (and the lack there of) has > been the same as long as I can remember (which is back to around > version 2.0). > > Warmest Regards, > > Mark. As always Mark, thank you. I have becomes so use to most mouse messages working for every object, I guess this was just the first time I have tried them with a group and it took me by surprise! From bobsneidar at iotecdigital.com Tue Jun 25 11:03:34 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Jun 2019 15:03:34 +0000 Subject: Changing array key text In-Reply-To: <16b8cc66e18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> <16b8cc66e18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: :-) > On Jun 24, 2019, at 20:55 , J. Landman Gay via use-livecode wrote: > > I love when you guys talk geek to me. "Tell me more about my arrays." > > https://youtu.be/dEaFFZpfxLU > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com From bobsneidar at iotecdigital.com Tue Jun 25 11:07:48 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Jun 2019 15:07:48 +0000 Subject: Groups do not receive mouseEnter messages? In-Reply-To: <1105222444.901965.1561422269888@mail.yahoo.com> References: <1105222444.901965.1561422269888@mail.yahoo.com> Message-ID: <5175F4D7-73A7-4A8A-BEE9-BEE3F954A573@iotecdigital.com> What would happen if you had a background image set for the group? Bob S > On Jun 24, 2019, at 17:24 , dunbarx--- via use-livecode wrote: > > Confirmed here. > I have never really tried any of the things you mentioned, but no messages at all are sent to the group I just made. Interestingly, and consistent so far, double clicking within the group boundary, but not in any child control, opens the inspector for the card. > So although the dictionary talks about many properties of groups, and states that it is a control in its own right, it does not seem to have much body outside of its children. This even though one can make the group red as a beet. The "object" certainly exists, and has a multitude of properties. It just doesn't seem to be quite there. > Craig From dunbarx at aol.com Tue Jun 25 11:24:26 2019 From: dunbarx at aol.com (dunbarxx) Date: Tue, 25 Jun 2019 10:24:26 -0500 (CDT) Subject: Groups do not receive mouseEnter messages? In-Reply-To: <5d89aebb-a06a-7b7d-6910-4e3e5faea26d@researchware.com> References: <1105222444.901965.1561422269888@mail.yahoo.com> <5d89aebb-a06a-7b7d-6910-4e3e5faea26d@researchware.com> Message-ID: <1561476266107-0.post@n4.nabble.com> I suppose as long as one knows how it works, it can be dealt with. But there is an issue here, in that a group is not really a control, despite what the dictionary says. A group has a rect, and one can tell if the mouseLoc, say, is within that rect (and not necessarily within the rect of a child control), but one cannot rely on any "ordinary" LC thinking to hold at all. I understand that a group is merely a group of controls. If it was a ghostLike object that only did that, then well and good. But since it interacts with those controls intrinsically (as, for example, the way radio buttons behave "natively") and owns most "ordinary" control properties, well then, dammit, if one makes it opaque and green, it ought to respond to mouse events. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From bobsneidar at iotecdigital.com Tue Jun 25 11:30:46 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Jun 2019 15:30:46 +0000 Subject: Groups do not receive mouseEnter messages? In-Reply-To: <1561476266107-0.post@n4.nabble.com> References: <1105222444.901965.1561422269888@mail.yahoo.com> <5d89aebb-a06a-7b7d-6910-4e3e5faea26d@researchware.com> <1561476266107-0.post@n4.nabble.com> Message-ID: <1278E507-AB21-4779-B673-04ABEFFA37A9@iotecdigital.com> You are probably right. But the workaround is so simple, putting an opaque green graphic in the group behind all the other objects, that it would be a lot of work to implement just so we didn't have to put a graphic in a group. Bob S > On Jun 25, 2019, at 08:24 , dunbarxx via use-livecode wrote: > > I suppose as long as one knows how it works, it can be dealt with. > > But there is an issue here, in that a group is not really a control, despite > what the dictionary says. A group has a rect, and one can tell if the > mouseLoc, say, is within that rect (and not necessarily within the rect of a > child control), but one cannot rely on any "ordinary" LC thinking to hold at > all. > > I understand that a group is merely a group of controls. If it was a > ghostLike object that only did that, then well and good. > > But since it interacts with those controls intrinsically (as, for example, > the way radio buttons behave "natively") and owns most "ordinary" control > properties, well then, dammit, if one makes it opaque and green, it ought to > respond to mouse events. > > Craig From dochawk at gmail.com Tue Jun 25 11:42:16 2019 From: dochawk at gmail.com (doc hawk) Date: Tue, 25 Jun 2019 08:42:16 -0700 Subject: Groups do not receive mouseEnter messages? In-Reply-To: <1278E507-AB21-4779-B673-04ABEFFA37A9@iotecdigital.com> References: <1105222444.901965.1561422269888@mail.yahoo.com> <5d89aebb-a06a-7b7d-6910-4e3e5faea26d@researchware.com> <1561476266107-0.post@n4.nabble.com> <1278E507-AB21-4779-B673-04ABEFFA37A9@iotecdigital.com> Message-ID: bob belabored, > > You are probably right. But the workaround is so simple, putting an opaque green graphic in the group behind all the other objects, that it would be a lot of work to implement just so we didn't have to put a graphic in a group. I actually use that background rectangle to change colo as the mouse enters and leaves, to hi light the active row (a group). However, I *do* have issues with not always catching mouseLeave, especially when the cursor is moving quickly. From devin_asay at byu.edu Tue Jun 25 12:47:41 2019 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 25 Jun 2019 16:47:41 +0000 Subject: Groups do not receive mouseEnter messages? In-Reply-To: <1561476266107-0.post@n4.nabble.com> References: <1105222444.901965.1561422269888@mail.yahoo.com> <5d89aebb-a06a-7b7d-6910-4e3e5faea26d@researchware.com> <1561476266107-0.post@n4.nabble.com> Message-ID: <120B2E95-476D-4837-AA53-C23532E4DCF0@byu.edu> I have always thought of a group as a container object, like a card, but without a ?canvas? that constitutes a part of the object. It?s always made sense to me that a group doesn?t get mouse messages, except as they are passed from child objects. If the group did get mouse click messages, it would complicate things in situations where you want to know which child object was clicked on. A group of audio playback buttons, as it stands now: on mouseUp play audioClip (the short name of the target) end mouseUp A group of audio playback buttons, as it would be if the group received mouse click messages: on mouseUp if the owner of me is not me then play audioClip (the short name of the target) end if end mouseUp So at least for most of my use cases, the current situation makes the most sense to me. My $.02. Devin On Jun 25, 2019, at 9:24 AM, dunbarxx via use-livecode > wrote: I suppose as long as one knows how it works, it can be dealt with. But there is an issue here, in that a group is not really a control, despite what the dictionary says. A group has a rect, and one can tell if the mouseLoc, say, is within that rect (and not necessarily within the rect of a child control), but one cannot rely on any "ordinary" LC thinking to hold at all. I understand that a group is merely a group of controls. If it was a ghostLike object that only did that, then well and good. But since it interacts with those controls intrinsically (as, for example, the way radio buttons behave "natively") and owns most "ordinary" control properties, well then, dammit, if one makes it opaque and green, it ought to respond to mouse events. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From rdimola at evergreeninfo.net Tue Jun 25 13:23:55 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 25 Jun 2019 13:23:55 -0400 Subject: Groups do not receive mouseEnter messages? In-Reply-To: <120B2E95-476D-4837-AA53-C23532E4DCF0@byu.edu> References: <1105222444.901965.1561422269888@mail.yahoo.com> <5d89aebb-a06a-7b7d-6910-4e3e5faea26d@researchware.com> <1561476266107-0.post@n4.nabble.com> <120B2E95-476D-4837-AA53-C23532E4DCF0@byu.edu> Message-ID: <004c01d52b7a$c705aca0$551105e0$@net> This bit me a few times. I would have a group with some controls but was not able to get the mouseUp when you clicked in the group but not on any of the child controls. I now know I have to put some transparent object that fills the group and is also behind all the other controls. It never made any sense to me why this is. I thought as others that the group is a control and would get mouse messages. If this was so then the group would only get the message if 1) you clicked in the group but not on a child 2) You clicked in the group and on a child control and the control passed the message. 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 Devin Asay via use-livecode Sent: Tuesday, June 25, 2019 12:48 PM To: How to use LiveCode Cc: Devin Asay Subject: Re: Groups do not receive mouseEnter messages? I have always thought of a group as a container object, like a card, but without a ?canvas? that constitutes a part of the object. It?s always made sense to me that a group doesn?t get mouse messages, except as they are passed from child objects. If the group did get mouse click messages, it would complicate things in situations where you want to know which child object was clicked on. A group of audio playback buttons, as it stands now: on mouseUp play audioClip (the short name of the target) end mouseUp A group of audio playback buttons, as it would be if the group received mouse click messages: on mouseUp if the owner of me is not me then play audioClip (the short name of the target) end if end mouseUp So at least for most of my use cases, the current situation makes the most sense to me. My $.02. Devin On Jun 25, 2019, at 9:24 AM, dunbarxx via use-livecode > wrote: I suppose as long as one knows how it works, it can be dealt with. But there is an issue here, in that a group is not really a control, despite what the dictionary says. A group has a rect, and one can tell if the mouseLoc, say, is within that rect (and not necessarily within the rect of a child control), but one cannot rely on any "ordinary" LC thinking to hold at all. I understand that a group is merely a group of controls. If it was a ghostLike object that only did that, then well and good. But since it interacts with those controls intrinsically (as, for example, the way radio buttons behave "natively") and owns most "ordinary" control properties, well then, dammit, if one makes it opaque and green, it ought to respond to mouse events. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Tue Jun 25 13:30:16 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 25 Jun 2019 13:30:16 -0400 Subject: Groups do not receive mouseEnter messages? In-Reply-To: References: Message-ID: <0555725e-7eb2-5fa7-ea2a-5f84d0b37f63@researchware.com> There are clearly use cases where it makes sense for a group (such as it it just being used to contain or enclose a set of other controls) NOT to received mouse event messages. There are also use cases where it DOES make sense of a group to received mouse event messages, such as if you are using a group as a drawing canvas. Yes, wonderfully in Livecode, most things that can't be done one way, can be coded around to work another way. I would suggest an enhancement to LiveCode to add a property to Groups that toggle between: behave as a container: current group behavior regarding mouse event messages [default] OR behave as an object: cause the group to received mouse event message (and other routine object messages) following the usual rules (i.e. if there is a button in the group that has a mouseEnter handler it gets the message when the button is entered, but the group gets a message when it is entered, just as if you have a small button on top of a large button) I don't know what to call the proposed property, and I certainly would not, at this time, prioritize it. I've submitted nearly 20 bugs in the last 60 days and I'd much rather see more of those fixed that a new feature added. That said, a property like this could be s solution for both use cases of groups. From jacque at hyperactivesw.com Tue Jun 25 13:48:53 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Jun 2019 12:48:53 -0500 Subject: Groups do not receive mouseEnter messages? In-Reply-To: <0555725e-7eb2-5fa7-ea2a-5f84d0b37f63@researchware.com> References: <0555725e-7eb2-5fa7-ea2a-5f84d0b37f63@researchware.com> Message-ID: <16b8fc13788.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Another easy workaround if you want a group with a transparent background is to put a group-sized graphic behind other objects as mentioned, but set the blendlevel of the graphic to 99. Visually it won't be seen but it will still trap messages. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 25, 2019 12:31:55 PM Paul Dupuis via use-livecode wrote: > There are clearly use cases where it makes sense for a group (such as it > it just being used to contain or enclose a set of other controls) NOT to > received mouse event messages. > > There are also use cases where it DOES make sense of a group to received > mouse event messages, such as if you are using a group as a drawing canvas. > > Yes, wonderfully in Livecode, most things that can't be done one way, > can be coded around to work another way. > > I would suggest an enhancement to LiveCode to add a property to Groups > that toggle between: > > behave as a container: current group behavior regarding mouse event > messages [default] > OR > behave as an object: cause the group to received mouse event message > (and other routine object messages) following the usual rules (i.e. if > there is a button in the group that has a mouseEnter handler it gets the > message when the button is entered, but the group gets a message when it > is entered, just as if you have a small button on top of a large button) > > I don't know what to call the proposed property, and I certainly would > not, at this time, prioritize it. I've submitted nearly 20 bugs in the > last 60 days and I'd much rather see more of those fixed that a new > feature added. That said, a property like this could be s solution for > both use cases of groups. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Tue Jun 25 13:50:14 2019 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 25 Jun 2019 17:50:14 +0000 Subject: Groups do not receive mouseEnter messages? In-Reply-To: <0555725e-7eb2-5fa7-ea2a-5f84d0b37f63@researchware.com> References: <0555725e-7eb2-5fa7-ea2a-5f84d0b37f63@researchware.com> Message-ID: <8BB3D44D-B947-4A8C-B15D-C1F4F91423E5@byu.edu> This is a great idea, Paul. I was just thinking that might be a good solution, especially with the addition of the (relatively) new clipsToRect property of fields. When that property is true, a group?s boundaries do not automatically snap to the area defined by its child objects. Instead the group?s boundaries remain where the developer set them. Given that groups can now have an arbitrarily larger area than their child objects, it makes sense that we might want the option of treating them more like full-fledged objects than simply a container for other objects. Devin On Jun 25, 2019, at 11:30 AM, Paul Dupuis via use-livecode > wrote: There are clearly use cases where it makes sense for a group (such as it it just being used to contain or enclose a set of other controls) NOT to received mouse event messages. There are also use cases where it DOES make sense of a group to received mouse event messages, such as if you are using a group as a drawing canvas. Yes, wonderfully in Livecode, most things that can't be done one way, can be coded around to work another way. I would suggest an enhancement to LiveCode to add a property to Groups that toggle between: behave as a container: current group behavior regarding mouse event messages [default] OR behave as an object: cause the group to received mouse event message (and other routine object messages) following the usual rules (i.e. if there is a button in the group that has a mouseEnter handler it gets the message when the button is entered, but the group gets a message when it is entered, just as if you have a small button on top of a large button) I don't know what to call the proposed property, and I certainly would not, at this time, prioritize it. I've submitted nearly 20 bugs in the last 60 days and I'd much rather see more of those fixed that a new feature added. That said, a property like this could be s solution for both use cases of groups. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From dunbarx at aol.com Tue Jun 25 13:53:23 2019 From: dunbarx at aol.com (dunbarxx) Date: Tue, 25 Jun 2019 12:53:23 -0500 (CDT) Subject: Groups do not receive mouseEnter messages? In-Reply-To: <0555725e-7eb2-5fa7-ea2a-5f84d0b37f63@researchware.com> References: <0555725e-7eb2-5fa7-ea2a-5f84d0b37f63@researchware.com> Message-ID: <1561485203108-0.post@n4.nabble.com> "I would suggest an enhancement to LiveCode to add a property to Groups that toggle between: " Setting the "opaque" of the group ought to be the property that permits mouse messages. "If the group did get mouse click messages, it would complicate things in situations where you want to know which child object was clicked on." That is what the "target" is for. This all may be an edge case. After all, it only recently came up. It just seems to me an anomaly. -------------- On another note, I find it difficult to use the use-list. One cannot tell who is writing, there is no easy way to isolate handlers, there is no easy way to isolate quotes. All this just happened. The forum is SO much more accessible and useful. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From devin_asay at byu.edu Tue Jun 25 14:04:45 2019 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 25 Jun 2019 18:04:45 +0000 Subject: Groups do not receive mouseEnter messages? In-Reply-To: <1561485203108-0.post@n4.nabble.com> References: <0555725e-7eb2-5fa7-ea2a-5f84d0b37f63@researchware.com> <1561485203108-0.post@n4.nabble.com> Message-ID: > On Jun 25, 2019, at 11:53 AM, dunbarxx via use-livecode wrote: > > "I would suggest an enhancement to LiveCode to add a property to Groups > that toggle between: " > > Setting the "opaque" of the group ought to be the property that permits > mouse messages. *** End of quote. Here is my comment.*** But changing that would break many existing stacks. *** End of my comment. Resuming quote.*** > > "If the group did get mouse click messages, it would complicate things in > situations where you want to know which child object was clicked on." > > That is what the "target" is for. *** End of quote. Here is my comment.*** Right, but when you click on an empty space in a group, it is the target, and if you only want to script the child objects you would have to specifically exclude the parent group. *** End of my comment. Resuming quote.*** > > This all may be an edge case. After all, it only recently came up. It just > seems to me an anomaly. *** End of quote. Here is my comment.*** I think folks have always just coded around it. I am so accustomed to it that I don?t even think about it. My preference is the current behavior, but I wouldn?t be opposed to a property that toggled it on and off, as long as the current behavior was the default. *** End of my comment. Resuming quote.*** > > -------------- > On another note, I find it difficult to use the use-list. One cannot tell > who is writing, there is no easy way to isolate handlers, there is no easy > way to isolate quotes. All this just happened. The forum is SO much more > accessible and useful. *** End of quote. Here is my comment.*** Right!? What gives? Quoted text used to come through without any problem. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From tom at makeshyft.com Tue Jun 25 15:34:16 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 25 Jun 2019 15:34:16 -0400 Subject: Question about 64 bit builds Message-ID: Hey folks, On a 64 bit build, can groups be bigger than -32768 to 32767? pixels? Don't ask why one would want it bigger. :D Thanks, Tom From richmondmathewson at gmail.com Tue Jun 25 16:01:22 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 25 Jun 2019 23:01:22 +0300 Subject: Catalina Message-ID: <7f8131ef-4059-45ed-a0dd-cfd3df18963a@gmail.com> I got macOS Catalina (10.15) beta "shoved up my nose" by my Mac's Software update thingy this afternoon. While I, normally, go for Beta versions of software I am not going to touch this one: and may, indeed never upgrade to 10.15. One of a whole slew of reasons is that I keep getting warning notices about LiveCode 9 + on my Macintosh running macOS 10.14.6 beta about LC not being a 64-bit app. Now, as far as I understand things (?) LiveCode 9 + is a "fat" thing, having both 32-bit and 64-bit code rolled into one package. However, whether that is true or not I have a feeling that macOS 10,15 won't accept Fat apps. I, also, wonder if LiveCode running on macOS 10.15 will be able to hive off 32-bit standalones? Richmond. From dunbarx at aol.com Tue Jun 25 16:42:05 2019 From: dunbarx at aol.com (dunbarxx) Date: Tue, 25 Jun 2019 15:42:05 -0500 (CDT) Subject: Groups do not receive mouseEnter messages? In-Reply-To: References: <0555725e-7eb2-5fa7-ea2a-5f84d0b37f63@researchware.com> <1561485203108-0.post@n4.nabble.com> Message-ID: <1561495325381-0.post@n4.nabble.com> Devin. "That is what the "target" is for." "Right, but when you click on an empty space in a group, it is the target, and if you only want to script the child objects you would have to specifically exclude the parent group." The target in this case is the card. Assuming, of course, that no "real" control underlies the group. You can always filter out any targets that have the word "card" in them. I can appreciate that we do not want to introduce anything that would break existing stacks. So it is a point that we not simply change the way a group works by merely modifying an existing property. A new one would be called for. We can agree to disagree on the structure of the use-list. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From bobsneidar at iotecdigital.com Tue Jun 25 17:49:21 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Jun 2019 21:49:21 +0000 Subject: Groups do not receive mouseEnter messages? In-Reply-To: <004c01d52b7a$c705aca0$551105e0$@net> References: <1105222444.901965.1561422269888@mail.yahoo.com> <5d89aebb-a06a-7b7d-6910-4e3e5faea26d@researchware.com> <1561476266107-0.post@n4.nabble.com> <120B2E95-476D-4837-AA53-C23532E4DCF0@byu.edu> <004c01d52b7a$c705aca0$551105e0$@net> Message-ID: <41410623-F3F2-40B4-A963-0CE554DBCB2B@iotecdigital.com> As I understand it, a group will be the FIRST object to get a mouse message, IF you click on an actual object in the group. So you can have a mouseUp handler in the group script that handles clicks in other objects, simpy by using the target to determine what was clicked. Bob S > On Jun 25, 2019, at 10:23 , Ralph DiMola via use-livecode wrote: > > This bit me a few times. I would have a group with some controls but was not able to get the mouseUp when you clicked in the group but not on any of the child controls. I now know I have to put some transparent object that fills the group and is also behind all the other controls. It never made any sense to me why this is. I thought as others that the group is a control and would get mouse messages. If this was so then the group would only get the message if 1) you clicked in the group but not on a child 2) You clicked in the group and on a child control and the control passed the message. > > Ralph DiMola From tore.nilsen at me.com Tue Jun 25 17:54:26 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 25 Jun 2019 23:54:26 +0200 Subject: Catalina In-Reply-To: <7f8131ef-4059-45ed-a0dd-cfd3df18963a@gmail.com> References: <7f8131ef-4059-45ed-a0dd-cfd3df18963a@gmail.com> Message-ID: <3BD4BA6D-53C4-4445-9CE2-EA81380DC117@me.com> This is easily remedied. Just choose LC 9 in the Finder, choose Show Info and make sure you run it in 64 bit mode. I don?t have an English OS setup right know, but you should opt out of running the application in what in Norwegian is called "low resolution mode". Once you do, you will not get these warnings anymore. Best regards Tore Nilsen > 25. jun. 2019 kl. 22:01 skrev Richmond via use-livecode : > > I got macOS Catalina (10.15) beta "shoved up my nose" by my > Mac's Software update thingy this afternoon. > > While I, normally, go for Beta versions of software I am not going > to touch this one: and may, indeed never upgrade to 10.15. > > One of a whole slew of reasons is that I keep getting warning notices about > LiveCode 9 + on my Macintosh running macOS 10.14.6 beta about LC not > being a 64-bit app. > > Now, as far as I understand things (?) LiveCode 9 + is a "fat" thing, having both > 32-bit and 64-bit code rolled into one package. However, whether that is true or not > I have a feeling that macOS 10,15 won't accept Fat apps. > > I, also, wonder if LiveCode running on macOS 10.15 will be able to hive off > 32-bit standalones? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Jun 25 18:34:32 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 25 Jun 2019 15:34:32 -0700 Subject: Changing array key text In-Reply-To: References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> Message-ID: On 6/25/19 1:25 AM, Mark Waddingham via use-livecode wrote: > On 2019-06-25 04:18, Brian Milby via use-livecode wrote: >> My guess is that it has to do with the copy on write property of >> arrays. ?If you used your method it may force an actual duplication. >> ?The existing method just passes a pointer effectively. ?I could be >> totally wrong though. >> >> On Jun 24, 2019, 10:11 PM -0400, Mark Wieder via use-livecode >> , wrote: >>> > put xArray[item 1 of pPath] into tSubArray >>> > delete variable xArray[item 1 of pPath] >>> > put tSubArray into xArray[pKey] >>> >>> Interesting. Wouldn't it be faster to do >>> >>> put xArray[item 1 of pPath] into xArray[pKey] >>> delete variable xArray[item 1 of pPath] >>> >>> i.e., why the extra copy? > > In terms of copies there are none happening in either case - only xArray > is being mutated - and referencing counting means that the 'puts' are > all free. > > The first will be 'on average' marginally more efficient but that's > because of the number of keys... > > In method (1) the number of keys goes from N -> N - 1 -> N > > In method (2) the number of keys goes from N -> N + 1 -> N > > Its much more likely that adding a key will cause the engine to have to > extend the internal vector of key-value pairs it uses to store the array > mapping then removing a key will cause it to shrink it - also expansion > is 'on average' slower than shrinking. Thanks. That helps. Mostly. If no copies are made then I'm still a bit weirded out by put xArray[item 1 of pPath] into tSubArray delete variable xArray[item 1 of pPath] put xArray[item 1 of pPath] into limbo put tSubArray into xArray[pKey] where limbo is empty and tSubArray still retains the contents. The quantum effect jokes write themselves. Is it the case the tSubArray retains a pointer to the contents but the entry in the hash is otherwise invalidated but not garbage collected until the reference count goes to zero? -- Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Tue Jun 25 18:34:45 2019 From: dunbarx at aol.com (dunbarxx) Date: Tue, 25 Jun 2019 17:34:45 -0500 (CDT) Subject: Groups do not receive mouseEnter messages? In-Reply-To: <41410623-F3F2-40B4-A963-0CE554DBCB2B@iotecdigital.com> References: <1105222444.901965.1561422269888@mail.yahoo.com> <5d89aebb-a06a-7b7d-6910-4e3e5faea26d@researchware.com> <1561476266107-0.post@n4.nabble.com> <120B2E95-476D-4837-AA53-C23532E4DCF0@byu.edu> <004c01d52b7a$c705aca0$551105e0$@net> <41410623-F3F2-40B4-A963-0CE554DBCB2B@iotecdigital.com> Message-ID: <1561502085514-0.post@n4.nabble.com> i thought we are talking about ignoring the controls owned by the group. They have real zest appeal. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From brian at milby7.com Tue Jun 25 19:31:33 2019 From: brian at milby7.com (Brian Milby) Date: Tue, 25 Jun 2019 19:31:33 -0400 Subject: Changing array key text In-Reply-To: References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> Message-ID: Value object starts with a ref count of 1 in the array The first put increases the ref count to 2 The delete takes it back to 1 The second put takes it back to 2 At the end of the handler it goes back to 1 since the local var goes away Thanks, Brian On Jun 25, 2019, 6:35 PM -0400, Mark Wieder via use-livecode , wrote: > On 6/25/19 1:25 AM, Mark Waddingham via use-livecode wrote: > > On 2019-06-25 04:18, Brian Milby via use-livecode wrote: > > > My guess is that it has to do with the copy on write property of > > > arrays. ?If you used your method it may force an actual duplication. > > > ?The existing method just passes a pointer effectively. ?I could be > > > totally wrong though. > > > > > > On Jun 24, 2019, 10:11 PM -0400, Mark Wieder via use-livecode > > > , wrote: > > > > > put xArray[item 1 of pPath] into tSubArray > > > > > delete variable xArray[item 1 of pPath] > > > > > put tSubArray into xArray[pKey] > > > > > > > > Interesting. Wouldn't it be faster to do > > > > > > > > put xArray[item 1 of pPath] into xArray[pKey] > > > > delete variable xArray[item 1 of pPath] > > > > > > > > i.e., why the extra copy? > > > > In terms of copies there are none happening in either case - only xArray > > is being mutated - and referencing counting means that the 'puts' are > > all free. > > > > The first will be 'on average' marginally more efficient but that's > > because of the number of keys... > > > > In method (1) the number of keys goes from N -> N - 1 -> N > > > > In method (2) the number of keys goes from N -> N + 1 -> N > > > > Its much more likely that adding a key will cause the engine to have to > > extend the internal vector of key-value pairs it uses to store the array > > mapping then removing a key will cause it to shrink it - also expansion > > is 'on average' slower than shrinking. > > Thanks. That helps. Mostly. > If no copies are made then I'm still a bit weirded out by > > put xArray[item 1 of pPath] into tSubArray > delete variable xArray[item 1 of pPath] > put xArray[item 1 of pPath] into limbo > put tSubArray into xArray[pKey] > > where limbo is empty and tSubArray still retains the contents. > The quantum effect jokes write themselves. > > Is it the case the tSubArray retains a pointer to the contents but the > entry in the hash is otherwise invalidated but not garbage collected > until the reference count goes to zero? > > -- > 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 dsc at swcp.com Tue Jun 25 20:56:34 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Tue, 25 Jun 2019 18:56:34 -0600 Subject: Catalina In-Reply-To: <7f8131ef-4059-45ed-a0dd-cfd3df18963a@gmail.com> References: <7f8131ef-4059-45ed-a0dd-cfd3df18963a@gmail.com> Message-ID: <2631AC26-106B-4D16-B7A9-E41ADDD8638D@swcp.com> There are a couple places in System Report (About this Mac --> System Report) that will show what apps are 32-bit: Software->Applications and Software->Legacy Software. I like the latter because it is more complete and covers more. For example all of the LiveCode 9 applications are 64-bit, but the autoupdater applications are not. I found an old application that is 64-bit but it has built-in versions of wine and wine-server that are not. Legacy Software also is shorter, so you are less likely to miss something. > On Jun 25, 2019, at 2:01 PM, Richmond via use-livecode wrote: > > I got macOS Catalina (10.15) beta "shoved up my nose" by my > Mac's Software update thingy this afternoon. > > While I, normally, go for Beta versions of software I am not going > to touch this one: and may, indeed never upgrade to 10.15. > > One of a whole slew of reasons is that I keep getting warning notices about > LiveCode 9 + on my Macintosh running macOS 10.14.6 beta about LC not > being a 64-bit app. > > Now, as far as I understand things (?) LiveCode 9 + is a "fat" thing, having both > 32-bit and 64-bit code rolled into one package. However, whether that is true or not > I have a feeling that macOS 10,15 won't accept Fat apps. > > I, also, wonder if LiveCode running on macOS 10.15 will be able to hive off > 32-bit standalones? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Jun 25 21:39:58 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 25 Jun 2019 18:39:58 -0700 Subject: Changing array key text In-Reply-To: References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> Message-ID: On 6/25/19 4:31 PM, Brian Milby via use-livecode wrote: > Value object starts with a ref count of 1 in the array > The first put increases the ref count to 2 > The delete takes it back to 1 > The second put takes it back to 2 > At the end of the handler it goes back to 1 since the local var goes away Mmmmm... no... With that logic, in my example the contents of tSubArray and limbo would be the same. Zero-based logic instead of one-based doesn't help either. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Tue Jun 25 23:46:49 2019 From: brian at milby7.com (Brian Milby) Date: Tue, 25 Jun 2019 23:46:49 -0400 Subject: Changing array key text In-Reply-To: References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> Message-ID: Nothing gets put into limbo. ?The pointer is deleted/removed from the array thus reducing the reference count held by the object containing the value. ?In the above example, the only pointer left is the one held by tSubArray until a copy of the pointer is placed in the array as the new key which raises the reference count back to two. ?The reference count never goes to 0 so garbage collection would not touch it. I?m sure I don?t have the terminology 100% in line with the source, but I think the idea is close. Thanks, Brian On Jun 25, 2019, 9:40 PM -0400, Mark Wieder via use-livecode , wrote: > On 6/25/19 4:31 PM, Brian Milby via use-livecode wrote: > > Value object starts with a ref count of 1 in the array > > The first put increases the ref count to 2 > > The delete takes it back to 1 > > The second put takes it back to 2 > > At the end of the handler it goes back to 1 since the local var goes away > > Mmmmm... no... > > With that logic, in my example the contents of tSubArray and limbo would > be the same. Zero-based logic instead of one-based doesn't help either. > > -- > 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 ahsoftware at sonic.net Wed Jun 26 01:01:51 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 25 Jun 2019 22:01:51 -0700 Subject: Changing array key text In-Reply-To: References: <7ba0c7bc-b949-ee90-c8f6-469ed5de7229@hyperactivesw.com> <93ed28fd-706d-406f-a30b-7ba359dc3987@Spark> <7f972f52-5c98-695f-220a-faced5724ceb@sonic.net> Message-ID: <16799751-26b4-cc6a-efd6-5f9fb64e8785@sonic.net> On 6/25/19 8:46 PM, Brian Milby via use-livecode wrote: > Nothing gets put into limbo. ?The pointer is deleted/removed from the array thus reducing the reference count held by the object containing the value. ?In the above example, the only pointer left is the one held by tSubArray until a copy of the pointer is placed in the array as the new key which raises the reference count back to two. ?The reference count never goes to 0 so garbage collection would not touch it. > > I?m sure I don?t have the terminology 100% in line with the source, but I think the idea is close. Doh! The hash is a collection of pointers. Took a while to sink in, but it makes sense now. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Wed Jun 26 10:26:44 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 26 Jun 2019 14:26:44 +0000 Subject: Resuscitation of Scott Raney Paint Tools In-Reply-To: <29E845DB-6A1A-4992-A39B-E9CB36026FC6@hyperhh.de> References: <29E845DB-6A1A-4992-A39B-E9CB36026FC6@hyperhh.de> Message-ID: You are right... the art work repository will be all "vectorized" for that reason, " different screen sizes and resolutions". Further discussion here: It will be seen whether we can do with LiveCode to do coloring of SVG. Currently not an option/not doable. Would require a widget. Also, whether we allow a brush or "spray can" to apply "pixels" to a layer is an open question. We have to examine the use cases. What would a child do with her colored artwork once it is finished? Share it, post to Facebook, Instagram, email it so a friend... The use case where a children in interested in actually printing a copy.... where we see major problem with a different resolution, seems very small... Most screenshot programs turn the "object" into a JPG or PNG. As do phones' screenshot's. So, there is a case to a made for allowing pixels. Because once is JPG'd, it is pretty portable, even at smaller resolutions. BR HH wrote This is only a demo if your "coloring book" uses simple pixel paint. HTML5 also includes SVG/Canvas which makes it easy to use the same objects for different screen sizes and resolutions (it would be a nightmare with paint). From General.2018 at outlook.com Wed Jun 26 10:50:07 2019 From: General.2018 at outlook.com (General 2018) Date: Wed, 26 Jun 2019 14:50:07 +0000 Subject: Draw a line that follows an object Message-ID: Hi , What is the best way to draw a line that follows the location of an object , like using a pencil and then erase the scribble ? Regards Camm From dsc at swcp.com Wed Jun 26 11:12:56 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Wed, 26 Jun 2019 09:12:56 -0600 Subject: Draw a line that follows an object In-Reply-To: References: Message-ID: I don't know the best way. I would start like this (assuming my understanding of your need is even close) 1. Create the "line" object, either an open polygon or a single line segment (depending on your need), either by code or in the design. 2. Create the drawing object that you want to create the "line" 3. Create a function that is called whenever the drawing object is moved. It might either add points to the polygon or move the end of the line (depending on your need) based on the location of the moved object. 4. Call that function when the drawing object is moved. If it is moved by a script, call it there. If it is moved otherwise, choose a message to handle. > On Jun 26, 2019, at 8:50 AM, General 2018 via use-livecode wrote: > > Hi , > > What is the best way to draw a line that follows the location of an object , like using a pencil and then erase the scribble ? > > Regards Camm > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Jun 26 11:50:32 2019 From: dunbarx at aol.com (dunbarxx) Date: Wed, 26 Jun 2019 10:50:32 -0500 (CDT) Subject: Draw a line that follows an object In-Reply-To: References: Message-ID: <1561564232700-0.post@n4.nabble.com> Hi. Not sure what you really want, but maybe try this. On a new card create a button and a line graphic. Put this into the button script: on mouseDown trackButton end mouseDown on trackButton if the optionKey is down then exit to top -- exit here set the loc of btn 1 to the mouseLoc set the points of grc 1 to "10,10" & return & item 1 of the loc of btn 1 & "," & item 2 of the loc of btn 1 send "trackButton" to me in 1 end trackButton Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From bobsneidar at iotecdigital.com Wed Jun 26 13:41:57 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Jun 2019 17:41:57 +0000 Subject: Rects Revisted Message-ID: <02BDE881-09FF-4EB3-8728-A087A6B080A1@iotecdigital.com> So I am dealing with the rects of stacks vs. the rects of screens, and now I see what the issues people have had are all about. I have a window whose bottom is partially below the screen it is on. But item 4 of the rect of the stack is being reported as being LESS than item 4 of the screenRect! How can that be??? This by the way is a standard 1080i display, nothing fancy. Not retina or anything. The screenRect is 0,0,1920,1080. The stackRect is 53,628,881,1198. Bob S From alex at tweedly.net Wed Jun 26 13:48:03 2019 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 26 Jun 2019 18:48:03 +0100 Subject: Rects Revisted In-Reply-To: <02BDE881-09FF-4EB3-8728-A087A6B080A1@iotecdigital.com> References: <02BDE881-09FF-4EB3-8728-A087A6B080A1@iotecdigital.com> Message-ID: I'm lost? ..... how is 1198 (item 4 of the stackrect) less than 1080 (item 4 of the screenrect) ? On 26/06/2019 18:41, Bob Sneidar via use-livecode wrote: > So I am dealing with the rects of stacks vs. the rects of screens, and now I see what the issues people have had are all about. I have a window whose bottom is partially below the screen it is on. But item 4 of the rect of the stack is being reported as being LESS than item 4 of the screenRect! How can that be??? > > This by the way is a standard 1080i display, nothing fancy. Not retina or anything. The screenRect is 0,0,1920,1080. The stackRect is 53,628,881,1198. > > 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 dunbarx at aol.com Wed Jun 26 14:07:30 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 26 Jun 2019 18:07:30 +0000 (UTC) Subject: Rects Revisted In-Reply-To: References: <02BDE881-09FF-4EB3-8728-A087A6B080A1@iotecdigital.com> Message-ID: <23808032.260903.1561572450630@mail.yahoo.com> Probably a brain typo. But I cannot imagine that item 4 of the rect of a stack window that lies below the bottom of the screen can be less??item 4 of the screenRect. Craig -----Original Message----- From: Alex Tweedly via use-livecode To: use-livecode Cc: Alex Tweedly Sent: Wed, Jun 26, 2019 1:48 pm Subject: Re: Rects Revisted I'm lost? ..... how is 1198 (item 4 of the stackrect) less than 1080 (item 4 of the screenrect) ? On 26/06/2019 18:41, Bob Sneidar via use-livecode wrote: > So I am dealing with the rects of stacks vs. the rects of screens, and now I see what the issues people have had are all about. I have a window whose bottom is partially below the screen it is on. But item 4 of the rect of the stack is being reported as being LESS than item 4 of the screenRect! How can that be??? > > This by the way is a standard 1080i display, nothing fancy. Not retina or anything. The screenRect is 0,0,1920,1080. The stackRect is 53,628,881,1198. > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Jun 26 14:15:07 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Jun 2019 18:15:07 +0000 Subject: Rects Revisted In-Reply-To: References: <02BDE881-09FF-4EB3-8728-A087A6B080A1@iotecdigital.com> Message-ID: That is EXACTLY the question I was asking! :-) Bob S > On Jun 26, 2019, at 10:48 , Alex Tweedly via use-livecode wrote: > > I'm lost ..... how is > > 1198 (item 4 of the stackrect) > > less than > > 1080 (item 4 of the screenrect) ? From hh at hyperhh.de Wed Jun 26 14:16:19 2019 From: hh at hyperhh.de (hh) Date: Wed, 26 Jun 2019 20:16:19 +0200 Subject: Rects Revisted Message-ID: <815CFD1F-1D0B-43D9-B70C-D9C690194FEE@hyperhh.de> > Craig wrote: > Probably a brain typo... What an excellent wording! From bobsneidar at iotecdigital.com Wed Jun 26 14:19:17 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Jun 2019 18:19:17 +0000 Subject: Rects Revisted In-Reply-To: References: <02BDE881-09FF-4EB3-8728-A087A6B080A1@iotecdigital.com> Message-ID: OK I figured it out. I have to use the EFFECTIVE rect of the stack and the effective working rect of the screen. Bob S > On Jun 26, 2019, at 11:15 , Bob Sneidar via use-livecode wrote: > > That is EXACTLY the question I was asking! :-) > > Bob S > > >> On Jun 26, 2019, at 10:48 , Alex Tweedly via use-livecode wrote: >> >> I'm lost ..... how is >> >> 1198 (item 4 of the stackrect) >> >> less than >> >> 1080 (item 4 of the screenrect) ? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 26 14:53:13 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 26 Jun 2019 11:53:13 -0700 Subject: Catalina In-Reply-To: <7f8131ef-4059-45ed-a0dd-cfd3df18963a@gmail.com> References: <7f8131ef-4059-45ed-a0dd-cfd3df18963a@gmail.com> Message-ID: On Jun 25, 2019, at 1:01 PM, Richmond via use-livecode wrote: > > I got macOS Catalina (10.15) beta "shoved up my nose" by my > Mac's Software update thingy this afternoon. I went out of my way to get it yesterday, and put it on my MacBook. 9.5 launches and runs just fine so far. ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From richmondmathewson at gmail.com Wed Jun 26 15:26:51 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Jun 2019 22:26:51 +0300 Subject: Catalina In-Reply-To: References: <7f8131ef-4059-45ed-a0dd-cfd3df18963a@gmail.com> Message-ID: <4d18579e-dfb6-bf80-13cb-04cd11d8f1d9@gmail.com> That's lovely to hear: but as almost all the software I depend on does not seem to have 64-bit versions yet I'm sticking with 10.14. Richmond. On 26.06.19 21:53, Dr. Hawkins via use-livecode wrote: > On Jun 25, 2019, at 1:01 PM, Richmond via use-livecode wrote: >> I got macOS Catalina (10.15) beta "shoved up my nose" by my >> Mac's Software update thingy this afternoon. > > > I went out of my way to get it yesterday, and put it on my MacBook. > > 9.5 launches and runs just fine so far. > > ? > Richard E. Hawkins, Esq. > The Hawkins Law Firm > 3430 E. Flamingo Rd. > Suite 232 > Las Vegas, NV 89121 > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Wed Jun 26 15:40:30 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 26 Jun 2019 15:40:30 -0400 Subject: Rects Revisted In-Reply-To: <02BDE881-09FF-4EB3-8728-A087A6B080A1@iotecdigital.com> References: <02BDE881-09FF-4EB3-8728-A087A6B080A1@iotecdigital.com> Message-ID: <02765777-3530-e2bf-3758-a8418ce8594b@researchware.com> On 6/26/2019 1:41 PM, Bob Sneidar via use-livecode wrote: > So I am dealing with the rects of stacks vs. the rects of screens, and now I see what the issues people have had are all about. I have a window whose bottom is partially below the screen it is on. But item 4 of the rect of the stack is being reported as being LESS than item 4 of the screenRect! How can that be??? > > This by the way is a standard 1080i display, nothing fancy. Not retina or anything. The screenRect is 0,0,1920,1080. The stackRect is 53,628,881,1198. > > Bob S > > > Be aware of: https://quality.livecode.com/show_bug.cgi?id=17560 https://quality.livecode.com/show_bug.cgi?id=22097 https://quality.livecode.com/show_bug.cgi?id=16305 and probably other, these are just 3 I've reported. From bobsneidar at iotecdigital.com Wed Jun 26 16:28:11 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Jun 2019 20:28:11 +0000 Subject: Rects Revisted In-Reply-To: References: <02BDE881-09FF-4EB3-8728-A087A6B080A1@iotecdigital.com> Message-ID: So now my only beef is that with a MacOS window that has a custom menu that is set as the system menu, the effective rect of the stack does not take into account the MacOS Menu Bar. Bob S > On Jun 26, 2019, at 11:19 , Bob Sneidar via use-livecode wrote: > > OK I figured it out. I have to use the EFFECTIVE rect of the stack and the effective working rect of the screen. > > Bob S From dsc at swcp.com Wed Jun 26 18:04:32 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Wed, 26 Jun 2019 16:04:32 -0600 Subject: Rects Revisted In-Reply-To: References: <02BDE881-09FF-4EB3-8728-A087A6B080A1@iotecdigital.com> Message-ID: The effective rect of the stack is the absolute rect of the window including the title, all of the borders (where there are any) and and the decorations. Thus, the top will be (say) 22 pixels less than the rect of the stack. You can subtract the upper left of the working screenRect from either to get a rectangle within the working area. (Don't forget that the dock might be on the left.) Slightly related: If the window is over the IDE toolbar, the rect and effective rect of the stack are off by the height of the tool bar. It seems to have assumed that it shifted the window to be below it. > On Jun 26, 2019, at 2:28 PM, Bob Sneidar via use-livecode wrote: > > So now my only beef is that with a MacOS window that has a custom menu that is set as the system menu, the effective rect of the stack does not take into account the MacOS Menu Bar. > > Bob S > > >> On Jun 26, 2019, at 11:19 , Bob Sneidar via use-livecode wrote: >> >> OK I figured it out. I have to use the EFFECTIVE rect of the stack and the effective working rect of the screen. >> >> Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Jun 26 18:29:05 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Jun 2019 22:29:05 +0000 Subject: Rects Revisted In-Reply-To: References: <02BDE881-09FF-4EB3-8728-A087A6B080A1@iotecdigital.com> Message-ID: <030F981C-E8F4-4ACC-B97D-2C362C39A263@iotecdigital.com> Thanks Dar. That is exactly what I did. I guess I was expecting the effective working rect of a screen to be the area within which a window could be fully displayed accounting for all the accoutrements. (That's French you know. :-) Bob S > On Jun 26, 2019, at 15:04 , Dar Scott Consulting via use-livecode wrote: > > The effective rect of the stack is the absolute rect of the window including the title, all of the borders (where there are any) and and the decorations. Thus, the top will be (say) 22 pixels less than the rect of the stack. > > You can subtract the upper left of the working screenRect from either to get a rectangle within the working area. (Don't forget that the dock might be on the left.) > > Slightly related: If the window is over the IDE toolbar, the rect and effective rect of the stack are off by the height of the tool bar. It seems to have assumed that it shifted the window to be below it. From bobsneidar at iotecdigital.com Wed Jun 26 18:50:40 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Jun 2019 22:50:40 +0000 Subject: Script Editor CTD Message-ID: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> Hi all. For those who have been encountering CTD while stepping through the script editor, I have just experienced this for the first time. I have the log data and would like to contribute to the bug report, but I cannot find it. Bob S From dochawk at gmail.com Wed Jun 26 20:13:04 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 26 Jun 2019 17:13:04 -0700 Subject: Catalina In-Reply-To: <4d18579e-dfb6-bf80-13cb-04cd11d8f1d9@gmail.com> References: <7f8131ef-4059-45ed-a0dd-cfd3df18963a@gmail.com> <4d18579e-dfb6-bf80-13cb-04cd11d8f1d9@gmail.com> Message-ID: <44060A71-52BC-47EA-945C-DC02D86AF21F@gmail.com> richmond rumbled, > > That's lovely to hear: but as almost all the software I depend on does not seem to have 64-bit versions yet > I'm sticking with 10.14. this machine, my main one, is stuck forever at 10.13, so I don?t need to worry about that :) And Adobe 8, for which I have a pro license and only use for redaction of documents, is 32 bit, so it needs to stay . . . ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From jacque at hyperactivesw.com Wed Jun 26 21:09:48 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Jun 2019 20:09:48 -0500 Subject: Script Editor CTD In-Reply-To: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> References: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> Message-ID: <16b967b3f60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Here: https://quality.livecode.com/show_bug.cgi?id=22130 I have 4 more I haven't uploaded yet, three just from this afternoon. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 26, 2019 5:52:14 PM Bob Sneidar via use-livecode wrote: > Hi all. > > For those who have been encountering CTD while stepping through the script > editor, I have just experienced this for the first time. I have the log > data and would like to contribute to the bug report, but I cannot find it. > > 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 matthias_livecode_150811 at m-r-d.de Thu Jun 27 06:17:10 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 27 Jun 2019 12:17:10 +0200 Subject: anyone still using altMobileResizer? Message-ID: <3CBD60CC-8776-435D-92EB-6AA64DE26BD3@m-r-d.de> I am currently building a mobile app for iOS and Android. I am looking to take care of all possible screen resolution. I know there is the fullscreenmode command, but will this turn out satisfactory. I have still Chipp Walters altMobileResizer plugin installed and tried it with my app. So far the resizing (including text resizing) of all controls, even the header bar and navigation bar widgets, is working w/o problems. Is anyone else still using that plugin for resizing? Or are there better ways than using fullscreenmode or the altMobileResizer plugin? Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From bobsneidar at iotecdigital.com Thu Jun 27 10:33:33 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 27 Jun 2019 14:33:33 +0000 Subject: Script Editor CTD In-Reply-To: <16b967b3f60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> <16b967b3f60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0647CE08-FAD7-4A88-952D-21847F3C3FAA@iotecdigital.com> Duly posted. Bob S > On Jun 26, 2019, at 18:09 , J. Landman Gay via use-livecode wrote: > > Here: > https://quality.livecode.com/show_bug.cgi?id=22130 > > I have 4 more I haven't uploaded yet, three just from this afternoon. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Jun 27 11:28:42 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 27 Jun 2019 15:28:42 +0000 Subject: Array to DB functions Message-ID: <90656BE5-14F4-457E-835C-5C80085756D3@iotecdigital.com> Hi all. I modified the function arrayToSQLite() (used to be arrayToMemoryDB) so that you can provide a file name and a table name. If you leave the file name empty it will create a memory db. If you leave the table name empty it will use "arraydata" for a table name. Once you get the database id, query it like normal to retrieve a cursor. Once you have the cursor use the function cursorToArray(pCursorID) to return an array of the query results as a numbered array. If you find any bugs or want any features, let me know. Bob S function arrayToSQLite aArrayData, pDBFile, pDBName put the keys of aArrayData into tArrayKeys sort tArrayKeys numeric ascending if pDBFile is empty then put ":memory:" into pDBFile if pDBName is empty then put "arraydata" into pDBName try put revOpenDatabase("sqlite", pDBFile) into tDBID if "Error" is in tDBID then throw tDBID return empty end if put "drop table " & pDBName into tDropSQL revExecuteSQL tDBID, tDropSQL put the result into tResult catch tError answer tError if the environment is "development" then exit to top else quit end try -- create the table put "create table" && quote & pDBName & quote \ & cr into tCreateCommand put "(" & quote & "recordid" & quote && "NUMERIC PRIMARY KEY NOT NULL UNIQUE, " \ & cr after tCreateCommand put the keys of aArrayData [1] into tRecordKeyList repeat for each line tRecordKey in tRecordKeyList put quote & tRecordKey & quote && "VARCHAR, " & cr after tCreateCommand end repeat delete char -3 to -1 of tCreateCommand put ")" after tCreateCommand try revExecuteSQL tDBID, tCreateCommand put the result into tResult if tResult is not 0 then breakpoint catch tError breakpoint end try -- insert data repeat for each line tKey in tArrayKeys put aArrayData [tKey] into aRecordData put 1 into tCounter put "recordid" into item tCounter of tColumns put ":" & tCounter into item tCounter of tColumnData put tKey into aColumnData [tCounter] repeat for each line tRecordKey in tRecordKeyList add 1 to tCounter put tRecordKey into item tCounter of tColumns put ":" & tCounter into item tCounter of tColumnData put aRecordData [tRecordKey] into aColumnData [tCounter] end repeat put "(" & tColumns & ")" into tColumns put "(" & tColumnData & ")" into tColumnData put "insert into " & pDBName && tColumns && "VALUES" && tColumnData into tInsertSQL replace quote with "\" & quote in tInsertSQL replace "'" with quote in tInsertSQL try revExecuteSQL tDBID, tInsertSQL, "aColumnData" put the result into tResult if tResult is not 1 then breakpoint catch tError breakpoint end try end repeat return tDBID end arrayToSQLite function cursorToArray pCursorID put revDatabaseColumnCount(pCursorID) into tColumnCount put revDatabaseColumnNames(pCursorID) into tColumnNames repeat forever add 1 to tRecordCount repeat with i = 1 to tColumnCount put revDatabaseColumnNumbered(pCursorID, i) into aCursorArray [tRecordCount] [item i of tColumnNames] end repeat revMoveToNextRecord pCursorID if not the result then exit repeat end repeat return aCursorArray end cursorToArray From bobsneidar at iotecdigital.com Thu Jun 27 11:51:58 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 27 Jun 2019 15:51:58 +0000 Subject: Array to DB functions In-Reply-To: <90656BE5-14F4-457E-835C-5C80085756D3@iotecdigital.com> References: <90656BE5-14F4-457E-835C-5C80085756D3@iotecdigital.com> Message-ID: Also there is this for those who do not like to use arrays: function textToSQLite pList, pDelimiter, pHasHeader, pFileName, pTableName set the itemDelimiter to pDelimiter if pHasHeader then put line 1 of pList into tHeader delete line 1 of tHeader else repeat with i = 1 to the number of items of line 1 of pList put "Col" & i into item i of tHeader end repeat end if if pFileName is empty then put ":memory:" into pFileName if pTableName is empty then put "arraydata" into try put revOpenDatabase("sqlite", pFileName) into tDBID if "Error" is in tDBID then throw tDBID return empty end if put "drop table " & pTableName into tDropSQL revExecuteSQL tDBID, tDropSQL put the result into tResult catch tError answer tError if the environment is "development" then exit to top else quit end try -- create the table put "create table" && quote & pTableName & quote \ & cr into tCreateCommand put "(" & quote & "recordid" & quote && "INTEGER PRIMARY KEY, " \ & cr after tCreateCommand repeat for each item tColumn in tHeader put quote & tColumn & quote && "VARCHAR, " & cr after tCreateCommand end repeat delete char -3 to -1 of tCreateCommand put ")" after tCreateCommand try revExecuteSQL tDBID, tCreateCommand put the result into tResult if tResult is not 0 then breakpoint catch tError breakpoint end try -- insert data repeat for each line tRow in pList put "INSERT INTO " & pTableName & " (" & tHeader & ")" && "VALUES (" & tRow & ")" into tInsertSQL replace quote with "\" & quote in tInsertSQL replace "'" with quote in tInsertSQL replace pDelimiter with comma in tInsertSQL try revExecuteSQL tDBID, tInsertSQL put the result into tResult if tResult is not 1 then breakpoint catch tError breakpoint end try end repeat return tDBID end textToSQLite > On Jun 27, 2019, at 08:28 , Bob Sneidar via use-livecode wrote: > > Hi all. > > I modified the function arrayToSQLite() (used to be arrayToMemoryDB) so that you can provide a file name and a table name. If you leave the file name empty it will create a memory db. If you leave the table name empty it will use "arraydata" for a table name. > > Once you get the database id, query it like normal to retrieve a cursor. Once you have the cursor use the function cursorToArray(pCursorID) to return an array of the query results as a numbered array. > > If you find any bugs or want any features, let me know. > > Bob S > > > function arrayToSQLite aArrayData, pDBFile, pDBName > put the keys of aArrayData into tArrayKeys > sort tArrayKeys numeric ascending > if pDBFile is empty then put ":memory:" into pDBFile > if pDBName is empty then put "arraydata" into pDBName > > try > put revOpenDatabase("sqlite", pDBFile) into tDBID > > if "Error" is in tDBID then > throw tDBID > return empty > end if > > put "drop table " & pDBName into tDropSQL > revExecuteSQL tDBID, tDropSQL > put the result into tResult > catch tError > answer tError > if the environment is "development" then exit to top else quit > end try > > -- create the table > put "create table" && quote & pDBName & quote \ > & cr into tCreateCommand > put "(" & quote & "recordid" & quote && "NUMERIC PRIMARY KEY NOT NULL UNIQUE, " \ > & cr after tCreateCommand > > put the keys of aArrayData [1] into tRecordKeyList > > repeat for each line tRecordKey in tRecordKeyList > put quote & tRecordKey & quote && "VARCHAR, " & cr after tCreateCommand > end repeat > > delete char -3 to -1 of tCreateCommand > put ")" after tCreateCommand > > try > revExecuteSQL tDBID, tCreateCommand > put the result into tResult > if tResult is not 0 then breakpoint > catch tError > breakpoint > end try > > -- insert data > repeat for each line tKey in tArrayKeys > put aArrayData [tKey] into aRecordData > put 1 into tCounter > put "recordid" into item tCounter of tColumns > put ":" & tCounter into item tCounter of tColumnData > put tKey into aColumnData [tCounter] > > repeat for each line tRecordKey in tRecordKeyList > add 1 to tCounter > put tRecordKey into item tCounter of tColumns > put ":" & tCounter into item tCounter of tColumnData > put aRecordData [tRecordKey] into aColumnData [tCounter] > end repeat > > put "(" & tColumns & ")" into tColumns > put "(" & tColumnData & ")" into tColumnData > put "insert into " & pDBName && tColumns && "VALUES" && tColumnData into tInsertSQL > replace quote with "\" & quote in tInsertSQL > replace "'" with quote in tInsertSQL > > try > revExecuteSQL tDBID, tInsertSQL, "aColumnData" > put the result into tResult > if tResult is not 1 then breakpoint > catch tError > breakpoint > end try > end repeat > > return tDBID > end arrayToSQLite > > function cursorToArray pCursorID > put revDatabaseColumnCount(pCursorID) into tColumnCount > put revDatabaseColumnNames(pCursorID) into tColumnNames > > repeat forever > add 1 to tRecordCount > repeat with i = 1 to tColumnCount > put revDatabaseColumnNumbered(pCursorID, i) into aCursorArray [tRecordCount] [item i of tColumnNames] > end repeat > > revMoveToNextRecord pCursorID > if not the result then exit repeat > end repeat > > return aCursorArray > end cursorToArray > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 27 11:55:51 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 27 Jun 2019 15:55:51 +0000 Subject: Array to DB functions In-Reply-To: References: <90656BE5-14F4-457E-835C-5C80085756D3@iotecdigital.com> Message-ID: <386C2F82-A644-4AE5-9DB9-AC523E2D45EA@iotecdigital.com> Change this to if pTableName is empty then put "arraydata" into pTableName Bob S > On Jun 27, 2019, at 08:51 , Bob Sneidar wrote: > > if pTableName is empty then put "arraydata" into From dunbarx at aol.com Thu Jun 27 14:48:36 2019 From: dunbarx at aol.com (dunbarxx) Date: Thu, 27 Jun 2019 13:48:36 -0500 (CDT) Subject: Script Editor CTD In-Reply-To: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> References: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> Message-ID: <1561661316085-0.post@n4.nabble.com> CTD? Church?Turing?Deutsch principle? Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From matthias_livecode_150811 at m-r-d.de Thu Jun 27 15:15:16 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 27 Jun 2019 21:15:16 +0200 Subject: Script Editor CTD In-Reply-To: <1561661316085-0.post@n4.nabble.com> References: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> <1561661316085-0.post@n4.nabble.com> Message-ID: I was also wondering what that would mean. Maybe crash to desktop, but i am not sure. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 27.06.2019 um 20:48 schrieb dunbarxx via use-livecode >: > > CTD? > > Church?Turing?Deutsch principle? > > Craig > > > > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Thu Jun 27 15:34:03 2019 From: hh at hyperhh.de (hh) Date: Thu, 27 Jun 2019 21:34:03 +0200 Subject: Script Editor CTD Message-ID: Cumulative Trauma Disorder From rdimola at evergreeninfo.net Thu Jun 27 15:36:13 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 27 Jun 2019 15:36:13 -0400 Subject: Script Editor CTD In-Reply-To: References: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> <1561661316085-0.post@n4.nabble.com> Message-ID: <005501d52d1f$97654450$c62fccf0$@net> Churning-to-death Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Matthias Rebbe via use-livecode Sent: Thursday, June 27, 2019 3:15 PM To: How to use LiveCode Cc: Matthias Rebbe Subject: Re: Script Editor CTD I was also wondering what that would mean. Maybe crash to desktop, but i am not sure. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 27.06.2019 um 20:48 schrieb dunbarxx via use-livecode >: > > CTD? > > Church?Turing?Deutsch principle? > > Craig > > > > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Jun 27 15:57:53 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Jun 2019 22:57:53 +0300 Subject: Script Editor CTD In-Reply-To: <005501d52d1f$97654450$c62fccf0$@net> References: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> <1561661316085-0.post@n4.nabble.com> <005501d52d1f$97654450$c62fccf0$@net> Message-ID: Crapping Too Dramatically Coarse Toothy Dramatist Canned Talkative Donkey and so it goes? . . . why would one want to bother with anything else online but the Live Code Use-List and the LiveCode Forums? I really wonder. Crapulous Tall Doomsayer Richmond. On 27.06.19 22:36, Ralph DiMola via use-livecode wrote: > Churning-to-death > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Matthias Rebbe via use-livecode > Sent: Thursday, June 27, 2019 3:15 PM > To: How to use LiveCode > Cc: Matthias Rebbe > Subject: Re: Script Editor CTD > > I was also wondering what that would mean. > > Maybe crash to desktop, but i am not sure. > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 27.06.2019 um 20:48 schrieb dunbarxx via use-livecode >: >> >> CTD? >> >> Church?Turing?Deutsch principle? >> >> Craig >> >> >> >> -- >> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Thu Jun 27 16:21:49 2019 From: jjs at krutt.org (JJS) Date: Thu, 27 Jun 2019 22:21:49 +0200 Subject: anyone still using altMobileResizer? In-Reply-To: <3CBD60CC-8776-435D-92EB-6AA64DE26BD3@m-r-d.de> References: <3CBD60CC-8776-435D-92EB-6AA64DE26BD3@m-r-d.de> Message-ID: <14f9e5d7-7ee3-9da0-06b0-fa0f48b08239@krutt.org> Never used it. Where can i find it? i don't see it in the sample stacks. thx Jerry Op 27-6-2019 om 12:17 schreef Matthias Rebbe via use-livecode: > I am currently building a mobile app for iOS and Android. I am looking to take care of all possible screen resolution. > I know there is the fullscreenmode command, but will this turn out satisfactory. > > I have still Chipp Walters altMobileResizer plugin installed and tried it with my app. > So far the resizing (including text resizing) of all controls, even the header bar and navigation bar widgets, is working w/o problems. > > Is anyone else still using that plugin for resizing? Or are there better ways than using fullscreenmode or the altMobileResizer plugin? > > Regards, > > Matthias > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.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 matthias_livecode_150811 at m-r-d.de Thu Jun 27 16:41:28 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 27 Jun 2019 22:41:28 +0200 Subject: anyone still using altMobileResizer? In-Reply-To: <14f9e5d7-7ee3-9da0-06b0-fa0f48b08239@krutt.org> References: <3CBD60CC-8776-435D-92EB-6AA64DE26BD3@m-r-d.de> <14f9e5d7-7ee3-9da0-06b0-fa0f48b08239@krutt.org> Message-ID: <0F6FF643-6190-4ACE-90E8-DA25C8F28C49@m-r-d.de> This is the link to the plugin Chipp posted in 2012 http://www.gadgetplugins.com/altplugins/altMobileResizer.rev and this is a 5 minutes video explaining how to use the plugin. https://www.youtube.com/watch?v=TLWD5KsstFc I have v0.9.24 running. This seems to be the latest available version. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 27.06.2019 um 22:21 schrieb JJS via use-livecode >: > > Never used it. > > Where can i find it? i don't see it in the sample stacks. > > thx > > Jerry > > Op 27-6-2019 om 12:17 schreef Matthias Rebbe via use-livecode: >> I am currently building a mobile app for iOS and Android. I am looking to take care of all possible screen resolution. >> I know there is the fullscreenmode command, but will this turn out satisfactory. >> >> I have still Chipp Walters altMobileResizer plugin installed and tried it with my app. >> So far the resizing (including text resizing) of all controls, even the header bar and navigation bar widgets, is working w/o problems. >> >> Is anyone else still using that plugin for resizing? Or are there better ways than using fullscreenmode or the altMobileResizer plugin? >> >> Regards, >> >> Matthias >> >> >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de > >> https://winsignhelper.dermattes.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 ahsoftware at sonic.net Thu Jun 27 17:26:06 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 27 Jun 2019 14:26:06 -0700 Subject: Script Editor CTD In-Reply-To: <1561661316085-0.post@n4.nabble.com> References: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> <1561661316085-0.post@n4.nabble.com> Message-ID: On 6/27/19 11:48 AM, dunbarxx via use-livecode wrote: > CTD? Curb Thy Dog -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Thu Jun 27 17:28:09 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 27 Jun 2019 14:28:09 -0700 Subject: Script Editor CTD In-Reply-To: <1561661316085-0.post@n4.nabble.com> References: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> <1561661316085-0.post@n4.nabble.com> Message-ID: <609ba626-1aa5-9cff-4768-9e0d68bc2e13@sonic.net> On 6/27/19 11:48 AM, dunbarxx via use-livecode wrote: > CTD? Carnivorous Trap Door -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Thu Jun 27 18:35:33 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 27 Jun 2019 23:35:33 +0100 Subject: Script Editor CTD In-Reply-To: <0647CE08-FAD7-4A88-952D-21847F3C3FAA@iotecdigital.com> References: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> <16b967b3f60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0647CE08-FAD7-4A88-952D-21847F3C3FAA@iotecdigital.com> Message-ID: For those who have been encountering CutThroatDesparados while stepping through the script editor, For those who have been encountering CodingTooDeeply while stepping through the script editor, For those who have been encountering CustomToolboxDevelopment while stepping through the script editor, For those who have been encountering CuriousTerminalData while stepping through the script editor, Ooo, I didn't realize there was a list. I've been collecting a few of them just in case though. I've been getting it more than ten times a day. I thought it was a conflict in timings because the widget spinner never stops even when hidden. But it is probably more than this judging by the reports themselves. Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' eMail Ts & Cs Pi Digital Productions Ltd is a UK registered limited company, no. 5255609 On Thu, 27 Jun 2019 at 15:33, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Duly posted. > > Bob S > > > > On Jun 26, 2019, at 18:09 , J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Here: > > https://quality.livecode.com/show_bug.cgi?id=22130 > > > > I have 4 more I haven't uploaded yet, three just from this afternoon. > > > > -- > > 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 hh at hyperhh.de Thu Jun 27 21:34:22 2019 From: hh at hyperhh.de (hh) Date: Fri, 28 Jun 2019 03:34:22 +0200 Subject: Script Editor CTD Message-ID: <9D35C1D7-7B30-45C4-8CD1-DBA808B64A89@hyperhh.de> CTD = CORE TIPS DIRT (anagram) From jacque at hyperactivesw.com Fri Jun 28 02:21:28 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Jun 2019 01:21:28 -0500 Subject: Script Editor CTD In-Reply-To: References: <487D5E04-5DA6-4E45-9FC8-1A09C439C12D@iotecdigital.com> <16b967b3f60.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0647CE08-FAD7-4A88-952D-21847F3C3FAA@iotecdigital.com> Message-ID: <8f03a9e8-e7a9-e703-a0a8-81d60da1b08c@hyperactivesw.com> Hm. I'm also using a widget spinner. Anyone else? How do we know it keeps going when hidden? On 6/27/19 5:35 PM, Sean Cole (Pi) via use-livecode wrote: > For those who have been encountering CutThroatDesparados while stepping > through the script editor, > For those who have been encountering CodingTooDeeply while stepping through > the script editor, > For those who have been encountering CustomToolboxDevelopment while > stepping through the script editor, > For those who have been encountering CuriousTerminalData while stepping > through the script editor, > > Ooo, I didn't realize there was a list. I've been collecting a few of them > just in case though. I've been getting it more than ten times a day. I > thought it was a conflict in timings because the widget spinner never stops > even when hidden. But it is probably more than this judging by the reports > themselves. > > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > +44(1634)402193 > +44(7702)116447 > 'Don't try to think outside the box. Just remember the truth: There is no > box!' > 'For then you realise it is not the box you are trying to look outside of, > but it is yourself!' > > eMail Ts & Cs Pi Digital > Productions Ltd is a UK registered limited company, no. 5255609 > > > On Thu, 27 Jun 2019 at 15:33, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Duly posted. >> >> Bob S >> >> >>> On Jun 26, 2019, at 18:09 , J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Here: >>> https://quality.livecode.com/show_bug.cgi?id=22130 >>> >>> I have 4 more I haven't uploaded yet, three just from this afternoon. >>> >>> -- >>> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From iphonelagi at gmail.com Fri Jun 28 05:02:25 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Fri, 28 Jun 2019 10:02:25 +0100 Subject: CTD meaning? Message-ID: Just in Case i'm the only one who doesn't have an official meaning of CTD. Can I ask, does it Mean Crash To Desktop? I searched the uselist and lo and behold the earliest use of it is by Bob, answered by Peter Brett - and Peter seemed to know what it means. So by a process of induction (guessing?) and assuming its like a BSoD (Blue Screen of Death for people who still use MSDOS) I have Crash To Desktop in my mind when I see that. I would use Script Editor FUBAR myself - the Military do say it how it is ;-) Lagi From hh at hyperhh.de Fri Jun 28 05:52:45 2019 From: hh at hyperhh.de (hh) Date: Fri, 28 Jun 2019 11:52:45 +0200 Subject: Script Editor CTD Message-ID: > JLG wrote: > Hm. I'm also using a widget spinner. Anyone else? How do we > know it keeps going when hidden? See the LCB code: The spinner widget updates every 0.3 seconds, whether visible or not. Instead of hiding you could delete it when done. From paul at researchware.com Fri Jun 28 07:52:15 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 28 Jun 2019 07:52:15 -0400 Subject: CTD meaning? In-Reply-To: References: Message-ID: <3660caef-5c4c-abd7-c7d9-6aac10b0b589@researchware.com> On 6/28/2019 5:02 AM, Lagi Pittas via use-livecode wrote: > Crash To Desktop? Yes. From dsc at swcp.com Fri Jun 28 09:50:23 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 28 Jun 2019 07:50:23 -0600 Subject: CTD meaning? In-Reply-To: <3660caef-5c4c-abd7-c7d9-6aac10b0b589@researchware.com> References: <3660caef-5c4c-abd7-c7d9-6aac10b0b589@researchware.com> Message-ID: Is that different from a just plain crash? > On Jun 28, 2019, at 5:52 AM, Paul Dupuis via use-livecode wrote: > > On 6/28/2019 5:02 AM, Lagi Pittas via use-livecode wrote: >> Crash To Desktop? > Yes. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Jun 28 10:15:03 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 28 Jun 2019 15:15:03 +0100 Subject: Script Editor CTD In-Reply-To: References: Message-ID: Or you can create a custom version of the widget and change line 88 from being a constant to a parameter we can set and then we can make it slower or faster as we wish. Don't forget to change the refresh code in line 163. Sean Cole On Fri, 28 Jun 2019 at 10:52, hh via use-livecode < use-livecode at lists.runrev.com> wrote: > > JLG wrote: > > Hm. I'm also using a widget spinner. Anyone else? How do we > > know it keeps going when hidden? > > See the LCB code: > The spinner widget updates every 0.3 seconds, whether > visible or not. > > Instead of hiding you could delete it when done. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Jun 28 10:25:37 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Jun 2019 09:25:37 -0500 Subject: Script Editor CTD In-Reply-To: References: Message-ID: <16b9e7a32e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks. In that case I'm going back to an animated gif. I'm not sure the spinner is a problem though, since the crashes only happen while debugging. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 28, 2019 4:54:24 AM hh via use-livecode wrote: >> JLG wrote: >> Hm. I'm also using a widget spinner. Anyone else? How do we >> know it keeps going when hidden? > > See the LCB code: > The spinner widget updates every 0.3 seconds, whether > visible or not. > > Instead of hiding you could delete it when done. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jun 28 10:52:29 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 28 Jun 2019 14:52:29 +0000 Subject: CTD meaning? In-Reply-To: References: Message-ID: <061C9D45-631C-4845-A578-98F6665F955A@iotecdigital.com> I thought ALL developers knew what that meant! :-) Bob S > On Jun 28, 2019, at 02:02 , Lagi Pittas via use-livecode wrote: > > Just in Case i'm the only one who doesn't have an official meaning of CTD. > > Can I ask, does it Mean Crash To Desktop? > > I searched the uselist and lo and behold the earliest use of it is by Bob, > answered by Peter Brett - and Peter seemed to know what it means. > > So by a process of induction (guessing?) > > and assuming its like a BSoD (Blue Screen of Death for people who still use > MSDOS) I have Crash To Desktop in my mind when I see that. > > I would use Script Editor FUBAR myself - the Military do say it how it is > ;-) > > Lagi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Fri Jun 28 10:54:39 2019 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 28 Jun 2019 07:54:39 -0700 Subject: CTD meaning? In-Reply-To: <061C9D45-631C-4845-A578-98F6665F955A@iotecdigital.com> References: <061C9D45-631C-4845-A578-98F6665F955A@iotecdigital.com> Message-ID: Code To Die On Fri, Jun 28, 2019 at 07:52 Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I thought ALL developers knew what that meant! :-) > > Bob S > > > > On Jun 28, 2019, at 02:02 , Lagi Pittas via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Just in Case i'm the only one who doesn't have an official meaning of > CTD. > > > > Can I ask, does it Mean Crash To Desktop? > > > > I searched the uselist and lo and behold the earliest use of it is by > Bob, > > answered by Peter Brett - and Peter seemed to know what it means. > > > > So by a process of induction (guessing?) > > > > and assuming its like a BSoD (Blue Screen of Death for people who still > use > > MSDOS) I have Crash To Desktop in my mind when I see that. > > > > I would use Script Editor FUBAR myself - the Military do say it how it is > > ;-) > > > > Lagi > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From dsc at swcp.com Fri Jun 28 11:01:15 2019 From: dsc at swcp.com (dsc at swcp.com) Date: Fri, 28 Jun 2019 09:01:15 -0600 Subject: CTD meaning? In-Reply-To: References: <3660caef-5c4c-abd7-c7d9-6aac10b0b589@researchware.com> Message-ID: Ah. I looked it up. (Should have done that first.) A CTD is a crash without a dialog box explaining the crash or even indicating a crash. I have gotten that. Recently in 9.5.0 DP1, the IDE got a memory error, then the crash reporter got the same error, and then something else deeper got the error. So, I didn't get a crash log for LiveCode. > On Jun 28, 2019, at 7:50 AM, Dar Scott Consulting via use-livecode wrote: > > Is that different from a just plain crash? > > >> On Jun 28, 2019, at 5:52 AM, Paul Dupuis via use-livecode wrote: >> >> On 6/28/2019 5:02 AM, Lagi Pittas via use-livecode wrote: >>> Crash To Desktop? >> Yes. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Fri Jun 28 11:06:31 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 28 Jun 2019 09:06:31 -0600 Subject: CTD meaning? In-Reply-To: <061C9D45-631C-4845-A578-98F6665F955A@iotecdigital.com> References: <061C9D45-631C-4845-A578-98F6665F955A@iotecdigital.com> Message-ID: <82454DF2-0EA1-432C-9E04-65AB9010CDD1@swcp.com> Only those who write code that crashes. ;-) > On Jun 28, 2019, at 8:52 AM, Bob Sneidar via use-livecode wrote: > > I thought ALL developers knew what that meant! :-) > > Bob S > > >> On Jun 28, 2019, at 02:02 , Lagi Pittas via use-livecode wrote: >> >> Just in Case i'm the only one who doesn't have an official meaning of CTD. >> >> Can I ask, does it Mean Crash To Desktop? >> >> I searched the uselist and lo and behold the earliest use of it is by Bob, >> answered by Peter Brett - and Peter seemed to know what it means. >> >> So by a process of induction (guessing?) >> >> and assuming its like a BSoD (Blue Screen of Death for people who still use >> MSDOS) I have Crash To Desktop in my mind when I see that. >> >> I would use Script Editor FUBAR myself - the Military do say it how it is >> ;-) >> >> Lagi >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jun 28 11:09:16 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 28 Jun 2019 15:09:16 +0000 Subject: CTD meaning? In-Reply-To: <82454DF2-0EA1-432C-9E04-65AB9010CDD1@swcp.com> References: <061C9D45-631C-4845-A578-98F6665F955A@iotecdigital.com> <82454DF2-0EA1-432C-9E04-65AB9010CDD1@swcp.com> Message-ID: <5F6D3017-6FF2-494C-99A4-EC5DA1764602@iotecdigital.com> Like I said, ALL developers. :-) Bob S > On Jun 28, 2019, at 08:06 , Dar Scott Consulting via use-livecode wrote: > > Only those who write code that crashes. ;-) From curry at pair.com Fri Jun 28 11:17:20 2019 From: curry at pair.com (Curry Kenworthy) Date: Fri, 28 Jun 2019 11:17:20 -0400 Subject: CTD meaning? In-Reply-To: References: Message-ID: <84e798fa-d2a9-7390-a3ea-fafe9dd1d388@pair.com> Dar: > Is that different from a just plain crash? Anyone trying to abstain from crash (ewwww) could try the Edit Script Save and Crash - it doesn't have as much crash in it as Crash Script Edit and Crash. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From paul at researchware.com Fri Jun 28 11:24:37 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 28 Jun 2019 11:24:37 -0400 Subject: LC905rc1 Standalone Weirdness with External Stacks Message-ID: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> We have an app we're porting to LC9 (currently doing internal beta builds under LC9.0.5rc1) that we're seeing some weirdness when external stacks are opened by the standalone. This is happening under OSX. We've not seen it (so far) under Windows, but most of our initial QA testing is done under OSX. When the standalone opens the external stack (which could be in an older stack file format), when the mouse is in the external stack window, LiveCode thinks the mouse is about 30-40 pixels ABOVE where the mouse actual is. It does not happen in the main stack or substacks of the standalone, just in external stacks and, worse, it is intermittent, which means making a recipe to report the bug to LiveCode, Ltd, difficult. Has anyone else seen anything like this? Even if you dismissed it as a "fluke", I'd appreciate knowing. From mkoob at rogers.com Fri Jun 28 11:30:31 2019 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jun 2019 11:30:31 -0400 Subject: CTD meaning? In-Reply-To: <84e798fa-d2a9-7390-a3ea-fafe9dd1d388@pair.com> References: <84e798fa-d2a9-7390-a3ea-fafe9dd1d388@pair.com> Message-ID: <0B2413B3-5C22-451A-80C6-4E3A2E478AEB@rogers.com> Sent from my iPhone > On Jun 28, 2019, at 11:17 AM, Curry Kenworthy via use-livecode wrote: > > Edit Script Save and Crash - it doesn't have as much crash in it as Crash Script Edit and Crash. We do have some Crash, Edit script and Crash; Edit script, Crash, Save and Crash; Crash, Crash, Crash and Crash. ## Vikings descend from the ceiling singing ## Crash, Crash, Crash, Crash ## Crash, Crash, Crash, Crash ## Crash, Crash, Crash, Crashity Crash. Martin From bobsneidar at iotecdigital.com Fri Jun 28 11:35:08 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 28 Jun 2019 15:35:08 +0000 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> Message-ID: <41DDE5B4-43FD-49FD-9131-E5E636D7C873@iotecdigital.com> Hmmm... I'm under the impression that in a standalone, ALL stacks besides the one in the executable are external stacks. That is, the Standalone Builder will copy any substacks to a folder as individual stacks. Even in a MacOS standalone, the package that is the app can be opened and you will find your individual stacks in Resources/_MacOS. I'm not sure what the difference between that and what you are calling External Stacks. The Standalone (again to my mind) is simply the runtime engine glued to the main stack you compiled with it. All other stacks, including the ones referenced in the Stack Files of the main stack are simply opened like the IDE would. Bob S > On Jun 28, 2019, at 08:24 , Paul Dupuis via use-livecode wrote: > > We have an app we're porting to LC9 (currently doing internal beta builds under LC9.0.5rc1) that we're seeing some weirdness when external stacks are opened by the standalone. > > This is happening under OSX. We've not seen it (so far) under Windows, but most of our initial QA testing is done under OSX. > > When the standalone opens the external stack (which could be in an older stack file format), when the mouse is in the external stack window, LiveCode thinks the mouse is about 30-40 pixels ABOVE where the mouse actual is. > > It does not happen in the main stack or substacks of the standalone, just in external stacks and, worse, it is intermittent, which means making a recipe to report the bug to LiveCode, Ltd, difficult. > > Has anyone else seen anything like this? Even if you dismissed it as a "fluke", I'd appreciate knowing. From dsc at swcp.com Fri Jun 28 11:47:12 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 28 Jun 2019 09:47:12 -0600 Subject: CTD meaning? In-Reply-To: <5F6D3017-6FF2-494C-99A4-EC5DA1764602@iotecdigital.com> References: <061C9D45-631C-4845-A578-98F6665F955A@iotecdigital.com> <82454DF2-0EA1-432C-9E04-65AB9010CDD1@swcp.com> <5F6D3017-6FF2-494C-99A4-EC5DA1764602@iotecdigital.com> Message-ID: <9B9CF984-1499-4F66-A850-03EDC76518D4@swcp.com> As I grab my chest and stagger, I realize that I have been bumped up to management. > On Jun 28, 2019, at 9:09 AM, Bob Sneidar via use-livecode wrote: > > Like I said, ALL developers. :-) > > Bob S > > >> On Jun 28, 2019, at 08:06 , Dar Scott Consulting via use-livecode wrote: >> >> Only those who write code that crashes. ;-) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri Jun 28 11:54:35 2019 From: curry at pair.com (Curry Kenworthy) Date: Fri, 28 Jun 2019 11:54:35 -0400 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> Message-ID: <750dccbf-2b3e-f01f-1198-34fe816b5fa1@pair.com> Paul: > LiveCode thinks the mouse is about 30-40 pixels ABOVE where > the mouse actual is. I've seen something similar with the mouse clicking at an offset. Can't recall the context at the moment, or whether any external stacks were involved - but I'll let you know when I remember! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ahsoftware at sonic.net Fri Jun 28 11:59:12 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 28 Jun 2019 08:59:12 -0700 Subject: CTD meaning? In-Reply-To: <0B2413B3-5C22-451A-80C6-4E3A2E478AEB@rogers.com> References: <84e798fa-d2a9-7390-a3ea-fafe9dd1d388@pair.com> <0B2413B3-5C22-451A-80C6-4E3A2E478AEB@rogers.com> Message-ID: On 6/28/19 8:30 AM, Martin Koob via use-livecode wrote: > > > Sent from my iPhone > >> On Jun 28, 2019, at 11:17 AM, Curry Kenworthy via use-livecode wrote: >> >> Edit Script Save and Crash - it doesn't have as much crash in it as Crash Script Edit and Crash. > > We do have some Crash, Edit script and Crash; Edit script, Crash, Save and Crash; Crash, Crash, Crash and Crash. > > ## Vikings descend from the ceiling singing > ## Crash, Crash, Crash, Crash > ## Crash, Crash, Crash, Crash > ## Crash, Crash, Crash, Crashity Crash. LOL. Have you got anything without Crash in it? -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Fri Jun 28 11:59:52 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 28 Jun 2019 08:59:52 -0700 Subject: CTD meaning? In-Reply-To: <9B9CF984-1499-4F66-A850-03EDC76518D4@swcp.com> References: <061C9D45-631C-4845-A578-98F6665F955A@iotecdigital.com> <82454DF2-0EA1-432C-9E04-65AB9010CDD1@swcp.com> <5F6D3017-6FF2-494C-99A4-EC5DA1764602@iotecdigital.com> <9B9CF984-1499-4F66-A850-03EDC76518D4@swcp.com> Message-ID: On 6/28/19 8:47 AM, Dar Scott Consulting via use-livecode wrote: > As I grab my chest and stagger, I realize that I have been bumped up to management. I'm not sure that's "up". -- Mark Wieder ahsoftware at gmail.com From mkoob at rogers.com Fri Jun 28 12:08:37 2019 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jun 2019 12:08:37 -0400 Subject: CTD meaning? In-Reply-To: References: <84e798fa-d2a9-7390-a3ea-fafe9dd1d388@pair.com> <0B2413B3-5C22-451A-80C6-4E3A2E478AEB@rogers.com> Message-ID: <5D22569E-1567-4BC9-A391-B5EDD9A1ACAF@rogers.com> Regards, Martin Koob > On Jun 28, 2019, at 11:59 AM, Mark Wieder via use-livecode wrote: > > On 6/28/19 8:30 AM, Martin Koob via use-livecode wrote: >> Sent from my iPhone >>> On Jun 28, 2019, at 11:17 AM, Curry Kenworthy via use-livecode wrote: >>> >>> Edit Script Save and Crash - it doesn't have as much crash in it as Crash Script Edit and Crash. >> We do have some Crash, Edit script and Crash; Edit script, Crash, Save and Crash; Crash, Crash, Crash and Crash. >> ## Vikings descend from the ceiling singing >> ## Crash, Crash, Crash, Crash >> ## Crash, Crash, Crash, Crash >> ## Crash, Crash, Crash, Crashity Crash. > > LOL. > Have you got anything without Crash in it? > IDE: Urgghh! You can?t have Edit script and Save without any crash in it! Martin > -- > 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 devin_asay at byu.edu Fri Jun 28 12:14:36 2019 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 28 Jun 2019 16:14:36 +0000 Subject: CTD meaning? In-Reply-To: <5D22569E-1567-4BC9-A391-B5EDD9A1ACAF@rogers.com> References: <84e798fa-d2a9-7390-a3ea-fafe9dd1d388@pair.com> <0B2413B3-5C22-451A-80C6-4E3A2E478AEB@rogers.com> <5D22569E-1567-4BC9-A391-B5EDD9A1ACAF@rogers.com> Message-ID: <59CD63DB-F034-4754-A4EE-83F5505B5D59@byu.edu> >> On Jun 28, 2019, at 11:59 AM, Mark Wieder via use-livecode wrote: >> >> On 6/28/19 8:30 AM, Martin Koob via use-livecode wrote: >>> Sent from my iPhone >>>> On Jun 28, 2019, at 11:17 AM, Curry Kenworthy via use-livecode wrote: >>>> >>>> Edit Script Save and Crash - it doesn't have as much crash in it as Crash Script Edit and Crash. >>> We do have some Crash, Edit script and Crash; Edit script, Crash, Save and Crash; Crash, Crash, Crash and Crash. >>> ## Vikings descend from the ceiling singing >>> ## Crash, Crash, Crash, Crash >>> ## Crash, Crash, Crash, Crash >>> ## Crash, Crash, Crash, Crashity Crash. >> >> LOL. >> Have you got anything without Crash in it? >> > > IDE: Urgghh! You can?t have Edit script and Save without any crash in it! I?ll have your crash. I love it! From dsc at swcp.com Fri Jun 28 12:48:56 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 28 Jun 2019 10:48:56 -0600 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <750dccbf-2b3e-f01f-1198-34fe816b5fa1@pair.com> References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> <750dccbf-2b3e-f01f-1198-34fe816b5fa1@pair.com> Message-ID: <5A56279F-C7BC-43BB-A0F0-0F37578299BA@swcp.com> I don't know if this is related or not... I have seen the rectangle of the window off by a similar amount when it overlaps the LiveCode IDE toolbar. > On Jun 28, 2019, at 9:54 AM, Curry Kenworthy via use-livecode wrote: > > > Paul: > > > LiveCode thinks the mouse is about 30-40 pixels ABOVE where > > the mouse actual is. > > I've seen something similar with the mouse clicking at an offset. Can't recall the context at the moment, or whether any external stacks were involved - but I'll let you know when I remember! > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri Jun 28 13:09:13 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 28 Jun 2019 13:09:13 -0400 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <41DDE5B4-43FD-49FD-9131-E5E636D7C873@iotecdigital.com> References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> <41DDE5B4-43FD-49FD-9131-E5E636D7C873@iotecdigital.com> Message-ID: I've not looked inside the OSX app bundle, but on Windows, the mainstack and its substacks are built into the EXE. What I am calling an "external" stack is a regular livecode stack, separate from the Windows EXE that is opened by a script in the built standalone (EXE). As in: open stack "C:/somepath/somestack.livecode" or go to stack "C:/Users/paul/Desktop/module5.livecode" On 6/28/2019 11:35 AM, Bob Sneidar via use-livecode wrote: > Hmmm... I'm under the impression that in a standalone, ALL stacks besides the one in the executable are external stacks. That is, the Standalone Builder will copy any substacks to a folder as individual stacks. Even in a MacOS standalone, the package that is the app can be opened and you will find your individual stacks in Resources/_MacOS. > > I'm not sure what the difference between that and what you are calling External Stacks. The Standalone (again to my mind) is simply the runtime engine glued to the main stack you compiled with it. All other stacks, including the ones referenced in the Stack Files of the main stack are simply opened like the IDE would. > > Bob S > > >> On Jun 28, 2019, at 08:24 , Paul Dupuis via use-livecode wrote: >> >> We have an app we're porting to LC9 (currently doing internal beta builds under LC9.0.5rc1) that we're seeing some weirdness when external stacks are opened by the standalone. >> >> This is happening under OSX. We've not seen it (so far) under Windows, but most of our initial QA testing is done under OSX. >> >> When the standalone opens the external stack (which could be in an older stack file format), when the mouse is in the external stack window, LiveCode thinks the mouse is about 30-40 pixels ABOVE where the mouse actual is. >> >> It does not happen in the main stack or substacks of the standalone, just in external stacks and, worse, it is intermittent, which means making a recipe to report the bug to LiveCode, Ltd, difficult. >> >> Has anyone else seen anything like this? Even if you dismissed it as a "fluke", I'd appreciate knowing. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Jun 28 13:21:42 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Jun 2019 12:21:42 -0500 Subject: CTD meaning? In-Reply-To: <59CD63DB-F034-4754-A4EE-83F5505B5D59@byu.edu> References: <84e798fa-d2a9-7390-a3ea-fafe9dd1d388@pair.com> <0B2413B3-5C22-451A-80C6-4E3A2E478AEB@rogers.com> <5D22569E-1567-4BC9-A391-B5EDD9A1ACAF@rogers.com> <59CD63DB-F034-4754-A4EE-83F5505B5D59@byu.edu> Message-ID: <16b9f1b6870.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Too funny. While I'm not so fond of either management or Crash, I'm glad I started this thread. On the whole though, freah crashes are better than canned. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 28, 2019 11:16:31 AM Devin Asay via use-livecode wrote: >>> On Jun 28, 2019, at 11:59 AM, Mark Wieder via use-livecode >>> wrote: >>> >>> On 6/28/19 8:30 AM, Martin Koob via use-livecode wrote: >>>> Sent from my iPhone >>>>> On Jun 28, 2019, at 11:17 AM, Curry Kenworthy via use-livecode >>>>> wrote: >>>>> >>>>> Edit Script Save and Crash - it doesn't have as much crash in it as Crash >>>>> Script Edit and Crash. >>>> We do have some Crash, Edit script and Crash; Edit script, Crash, Save and >>>> Crash; Crash, Crash, Crash and Crash. >>>> ## Vikings descend from the ceiling singing >>>> ## Crash, Crash, Crash, Crash >>>> ## Crash, Crash, Crash, Crash >>>> ## Crash, Crash, Crash, Crashity Crash. >>> >>> LOL. >>> Have you got anything without Crash in it? >>> >> >> IDE: Urgghh! You can?t have Edit script and Save without any crash in it! > > I?ll have your crash. I love it! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Fri Jun 28 13:23:51 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 28 Jun 2019 13:23:51 -0400 Subject: Using shell as administrator on Windows 10 Message-ID: Hello, Is there a way to us LC shell to do commands as administrator? thanks, Glen From jacque at hyperactivesw.com Fri Jun 28 13:34:50 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Jun 2019 12:34:50 -0500 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <41DDE5B4-43FD-49FD-9131-E5E636D7C873@iotecdigital.com> References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> <41DDE5B4-43FD-49FD-9131-E5E636D7C873@iotecdigital.com> Message-ID: <4cfe751d-f4c5-d592-64e8-16ca42c48b6f@hyperactivesw.com> On 6/28/19 10:35 AM, Bob Sneidar via use-livecode wrote: > I'm under the impression that in a standalone, ALL stacks besides the one in the executable are external stacks. That is, the Standalone Builder will copy any substacks to a folder as individual stacks. Even in a MacOS standalone, the package that is the app can be opened and you will find your individual stacks in Resources/_MacOS. There is a switch in the Stacks pane of Standalone Settings to control that behavior. If checked, stacks will be separated out to individual stackfiles. The default is to leave substacks attached to the mainstack as they are in the IDE. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Fri Jun 28 13:40:22 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 28 Jun 2019 10:40:22 -0700 Subject: CTD meaning? In-Reply-To: <16b9f1b6870.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <84e798fa-d2a9-7390-a3ea-fafe9dd1d388@pair.com> <0B2413B3-5C22-451A-80C6-4E3A2E478AEB@rogers.com> <5D22569E-1567-4BC9-A391-B5EDD9A1ACAF@rogers.com> <59CD63DB-F034-4754-A4EE-83F5505B5D59@byu.edu> <16b9f1b6870.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <6740bdab-66d0-5154-ccc4-7d543cc6ce47@sonic.net> On 6/28/19 10:21 AM, J. Landman Gay via use-livecode wrote: > Too funny. While I'm not so fond of either management or Crash, I'm glad > I started this thread. > > On the whole though, freah crashes are better than canned. Every crash is sacred. -- Mark Wieder ahsoftware at gmail.com From tore.nilsen at me.com Fri Jun 28 13:50:21 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Fri, 28 Jun 2019 19:50:21 +0200 Subject: CTD meaning? In-Reply-To: <6740bdab-66d0-5154-ccc4-7d543cc6ce47@sonic.net> References: <84e798fa-d2a9-7390-a3ea-fafe9dd1d388@pair.com> <0B2413B3-5C22-451A-80C6-4E3A2E478AEB@rogers.com> <5D22569E-1567-4BC9-A391-B5EDD9A1ACAF@rogers.com> <59CD63DB-F034-4754-A4EE-83F5505B5D59@byu.edu> <16b9f1b6870.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6740bdab-66d0-5154-ccc4-7d543cc6ce47@sonic.net> Message-ID: What good have the crashes ever done to us? Tore Nilsen > 28. jun. 2019 kl. 19:40 skrev Mark Wieder via use-livecode : > > On 6/28/19 10:21 AM, J. Landman Gay via use-livecode wrote: >> Too funny. While I'm not so fond of either management or Crash, I'm glad I started this thread. >> On the whole though, freah crashes are better than canned. > > Every crash is sacred. > > -- > 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 jjs at krutt.org Fri Jun 28 14:00:11 2019 From: jjs at krutt.org (JJS) Date: Fri, 28 Jun 2019 20:00:11 +0200 Subject: anyone still using altMobileResizer? In-Reply-To: <0F6FF643-6190-4ACE-90E8-DA25C8F28C49@m-r-d.de> References: <3CBD60CC-8776-435D-92EB-6AA64DE26BD3@m-r-d.de> <14f9e5d7-7ee3-9da0-06b0-fa0f48b08239@krutt.org> <0F6FF643-6190-4ACE-90E8-DA25C8F28C49@m-r-d.de> Message-ID: Thanks Matthias, will check it out in a few days, because it is getting really hot here you know. Tommorow i'll go to The Hague and sunday i will be probably lying in my swimming pool the whole day in the backyard. It's not so big but good enough (2x3mtr) :) Ciao! Jerry Op 27-6-2019 om 22:41 schreef Matthias Rebbe via use-livecode: > This is the link to the plugin Chipp posted in 2012 > http://www.gadgetplugins.com/altplugins/altMobileResizer.rev > > and this is a 5 minutes video explaining how to use the plugin. > https://www.youtube.com/watch?v=TLWD5KsstFc > > I have v0.9.24 running. This seems to be the latest available version. > > Regards, > > Matthias > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 27.06.2019 um 22:21 schrieb JJS via use-livecode >: >> >> Never used it. >> >> Where can i find it? i don't see it in the sample stacks. >> >> thx >> >> Jerry >> >> Op 27-6-2019 om 12:17 schreef Matthias Rebbe via use-livecode: >>> I am currently building a mobile app for iOS and Android. I am looking to take care of all possible screen resolution. >>> I know there is the fullscreenmode command, but will this turn out satisfactory. >>> >>> I have still Chipp Walters altMobileResizer plugin installed and tried it with my app. >>> So far the resizing (including text resizing) of all controls, even the header bar and navigation bar widgets, is working w/o problems. >>> >>> Is anyone else still using that plugin for resizing? Or are there better ways than using fullscreenmode or the altMobileResizer plugin? >>> >>> Regards, >>> >>> Matthias >>> >>> >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >>> https://instamaker.dermattes.de > >>> https://winsignhelper.dermattes.de > >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Jun 28 14:08:41 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 28 Jun 2019 11:08:41 -0700 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> Message-ID: Paul Dupuis wrote: > We have an app we're porting to LC9 (currently doing internal beta > builds under LC9.0.5rc1) that we're seeing some weirdness when > external stacks are opened by the standalone. > > This is happening under OSX. We've not seen it (so far) under Windows, > but most of our initial QA testing is done under OSX. > > When the standalone opens the external stack (which could be in an > older stack file format), when the mouse is in the external stack > window, LiveCode thinks the mouse is about 30-40 pixels ABOVE where > the mouse actual is. > > It does not happen in the main stack or substacks of the standalone, > just in external stacks and, worse, it is intermittent, which means > making a recipe to report the bug to LiveCode, Ltd, difficult. - macOS only - shifting vertically only - by what sounds like the height of a menu bar group I would check the menuBar property of those stacks. Also, generally better when doing layout stuff to work with card coordinates rather than stack coordinates, as the latter may be shorter than the former if a menuBar group is active on macOS. -- 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 General.2018 at outlook.com Fri Jun 28 14:21:05 2019 From: General.2018 at outlook.com (General 2018) Date: Fri, 28 Jun 2019 18:21:05 +0000 Subject: Draw a line that follows an object In-Reply-To: <1561564232700-0.post@n4.nabble.com> References: <1561564232700-0.post@n4.nabble.com> Message-ID: Hi , Thanks , so nearly - I have a line that follows the object from the top left corner. What I need is just like drawing with a pen , the object being the tip. Where the object moves a line is drawn and remains like ink. Regards Camm -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of dunbarxx via use-livecode Sent: 26 June 2019 16:51 To: use-revolution at lists.runrev.com Cc: dunbarxx Subject: Re: Draw a line that follows an object Hi. Not sure what you really want, but maybe try this. On a new card create a button and a line graphic. Put this into the button script: on mouseDown trackButton end mouseDown on trackButton if the optionKey is down then exit to top -- exit here set the loc of btn 1 to the mouseLoc set the points of grc 1 to "10,10" & return & item 1 of the loc of btn 1 & "," & item 2 of the loc of btn 1 send "trackButton" to me in 1 end trackButton Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Fri Jun 28 14:37:33 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 28 Jun 2019 12:37:33 -0600 Subject: Draw a line that follows an object In-Reply-To: References: <1561564232700-0.post@n4.nabble.com> Message-ID: Do the same thing, but use a polygon and add points. > On Jun 28, 2019, at 12:21 PM, General 2018 via use-livecode wrote: > > Hi , > > Thanks , so nearly - I have a line that follows the object from the top left corner. > > What I need is just like drawing with a pen , the object being the tip. Where the object moves a line is drawn and remains like ink. > > > Regards > Camm > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of dunbarxx via use-livecode > Sent: 26 June 2019 16:51 > To: use-revolution at lists.runrev.com > Cc: dunbarxx > Subject: Re: Draw a line that follows an object > > Hi. > > Not sure what you really want, but maybe try this. On a new card create a > button and a line graphic. Put this into the button script: > > on mouseDown > trackButton > end mouseDown > > on trackButton > if the optionKey is down then exit to top -- exit here > set the loc of btn 1 to the mouseLoc > set the points of grc 1 to "10,10" & return & item 1 of the loc of btn 1 > & "," & item 2 of the loc of btn 1 > send "trackButton" to me in 1 > end trackButton > > Craig > > > > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri Jun 28 14:50:57 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 28 Jun 2019 14:50:57 -0400 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> Message-ID: On 6/28/2019 2:08 PM, Richard Gaskin via use-livecode wrote: > Paul Dupuis wrote: > > > We have an app we're porting to LC9 (currently doing internal beta > > builds under LC9.0.5rc1) that we're seeing some weirdness when > > external stacks are opened by the standalone. > > > > This is happening under OSX. We've not seen it (so far) under Windows, > > but most of our initial QA testing is done under OSX. > > > > When the standalone opens the external stack (which could be in an > > older stack file format), when the mouse is in the external stack > > window, LiveCode thinks the mouse is about 30-40 pixels ABOVE where > > the mouse actual is. > > > > It does not happen in the main stack or substacks of the standalone, > > just in external stacks and, worse, it is intermittent, which means > > making a recipe to report the bug to LiveCode, Ltd, difficult. > > - macOS only > - shifting vertically only > - by what sounds like the height of a menu bar group > > I would check the menuBar property of those stacks. > > Also, generally better when doing layout stuff to work with card > coordinates rather than stack coordinates, as the latter may be > shorter than the former if a menuBar group is active on macOS. > Thank you for the tip - an OSX menubar setting sounds like a likely culprit. There are some of the HyperRESEARCH tool stacks that sometime exhibit this behavior - not always though. The stacks in question have been edited and save from under a version of LC9.0.x and this is showing up in LC9.0.5rc1. The oddity is that it did not show up in the shift from LC4.6.4 to LC6.7.11 but is now appearing under LC9.0.x - also, no one noticed it in any internal betas under LC9.0.0, 9.0.1, or 9.0.4 (we skipped 9.0.2 and 9.0.3). Also, frustratingly, it is not reproducible, but is definitely LiveCode. Once it happens, it is consistently shifted for that session. Switching to any 3rd party app (or the Finder) and the mouse is where you expect it. Moving to a window of a built in to the standalone stack (the Study Window or Codebook, etc.) and the mouse is where you expect it to be. I suspect it is a bug in 9.0.5rc-1, but pinning down a recipe for a test stack is difficult. From paul at researchware.com Fri Jun 28 14:54:04 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 28 Jun 2019 14:54:04 -0400 Subject: Using shell as administrator on Windows 10 In-Reply-To: References: Message-ID: <712fcef0-ad26-4de4-0a9c-0bb149756081@researchware.com> On 6/28/2019 1:23 PM, Glen Bojsza via use-livecode wrote: > Hello, > > Is there a way to us LC shell to do commands as administrator? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ?I was told back when working in LC6.7.11 that the only way to have an LC app execute commands with admin permissions on Windows is with a Helper app. You have to make a small windows standalone that does your shell commands that your main app can launch via the "open process elevated" command and then use sockets or interrocess communication to tell the helper to execute the commands you want. A LiveCode standalone can not elevate itself. From paul at researchware.com Fri Jun 28 15:04:38 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 28 Jun 2019 15:04:38 -0400 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <5A56279F-C7BC-43BB-A0F0-0F37578299BA@swcp.com> References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> <750dccbf-2b3e-f01f-1198-34fe816b5fa1@pair.com> <5A56279F-C7BC-43BB-A0F0-0F37578299BA@swcp.com> Message-ID: <0cafbbde-54dc-f58c-a1e5-867fa1e0a8da@researchware.com> On 6/28/2019 12:48 PM, Dar Scott Consulting via use-livecode wrote: > I don't know if this is related or not... I have seen the rectangle of the window off by a similar amount when it overlaps the LiveCode IDE toolbar. > > This is occurring in a a standalone, so I don't think the IDE toolbar is a culprit. It is possible as Richard suggested that the height of the Mac menubar may be a factor. From tom at makeshyft.com Fri Jun 28 15:06:30 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 28 Jun 2019 15:06:30 -0400 Subject: Using shell as administrator on Windows 10 In-Reply-To: <712fcef0-ad26-4de4-0a9c-0bb149756081@researchware.com> References: <712fcef0-ad26-4de4-0a9c-0bb149756081@researchware.com> Message-ID: Can't u do it your stack is run as administrator? and can't you force admin permissions using the UAC control in standalone settings? On Fri, Jun 28, 2019 at 2:54 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 6/28/2019 1:23 PM, Glen Bojsza via use-livecode wrote: > > Hello, > > > > Is there a way to us LC shell to do commands as administrator? > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > I was told back when working in LC6.7.11 that the only way to have an > LC app execute commands with admin permissions on Windows is with a > Helper app. You have to make a small windows standalone that does your > shell commands that your main app can launch via the "open process > elevated" command and then use sockets or interrocess communication to > tell the helper to execute the commands you want. > > A LiveCode standalone can not elevate itself. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Fri Jun 28 16:00:26 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 28 Jun 2019 14:00:26 -0600 Subject: Using shell as administrator on Windows 10 In-Reply-To: References: <712fcef0-ad26-4de4-0a9c-0bb149756081@researchware.com> Message-ID: <53F4713C-F3E7-423A-B45F-B398D83F6DEB@swcp.com> There is a note on open process in the Dictionary that says that on OS X systems you can start an application but not a Unix process, so I suppose the LiveCode app intermediary must be needed. However, I have a vague memory of running a CLI program from open process, but I don't remember how. I recommend staying away from relying on my memory and wasting time. Maybe I was wishing I could. > On Jun 28, 2019, at 1:06 PM, Tom Glod via use-livecode wrote: > > Can't u do it your stack is run as administrator? and can't you force admin > permissions using the UAC control in standalone settings? > > On Fri, Jun 28, 2019 at 2:54 PM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 6/28/2019 1:23 PM, Glen Bojsza via use-livecode wrote: >>> Hello, >>> >>> Is there a way to us LC shell to do commands as administrator? >>> >>> thanks, >>> >>> Glen >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> I was told back when working in LC6.7.11 that the only way to have an >> LC app execute commands with admin permissions on Windows is with a >> Helper app. You have to make a small windows standalone that does your >> shell commands that your main app can launch via the "open process >> elevated" command and then use sockets or interrocess communication to >> tell the helper to execute the commands you want. >> >> A LiveCode standalone can not elevate itself. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Fri Jun 28 16:16:55 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 28 Jun 2019 20:16:55 +0000 (UTC) Subject: Draw a line that follows an object In-Reply-To: References: <1561564232700-0.post@n4.nabble.com> Message-ID: <358040538.270363.1561753015448@mail.yahoo.com> Hi. So much fun. Change the handler to this: local pointsListon mouseDown??show btn 1 at "200,200"? set the points of grc 1 to "0,0" & comma & the loc of btn 1? put the points of grc 1 &return into pointsList? trackButtonend mouseDown on trackButton? if the optionKey is down then exit to top -- exit here? set the loc of btn 1 to the mouseLoc? put the loc of btn 1 & return after pointsList? set the points of grc 1 to pointsList? send "trackButton" to me in 1end trackButton Not sure how you want to stop drawing. Let me know how you decide that. Craig -----Original Message----- From: General 2018 via use-livecode To: How to use LiveCode Cc: General 2018 Sent: Fri, Jun 28, 2019 2:21 pm Subject: RE: Draw a line that follows an object Hi , Thanks , so nearly - I have a line that follows the object from the top left corner. What I need is just like drawing with a pen , the object being the tip. Where the object moves a line is drawn and remains like ink. Regards Camm -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of dunbarxx via use-livecode Sent: 26 June 2019 16:51 To: use-revolution at lists.runrev.com Cc: dunbarxx Subject: Re: Draw a line that follows an object Hi. Not sure what you really want, but maybe try this. On a new card create a button and a line graphic. Put this into the button script: on mouseDown ? trackButton end mouseDown on trackButton ? if the optionKey is down then exit to top -- exit here ? set the loc of btn 1 to the mouseLoc ? set the points of grc 1 to "10,10" & return & item 1 of the loc of btn 1 & "," & item 2 of the loc of btn 1 ? send "trackButton" to me in 1 end trackButton Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Fri Jun 28 16:31:24 2019 From: dunbarx at aol.com (dunbarxx) Date: Fri, 28 Jun 2019 15:31:24 -0500 (CDT) Subject: Draw a line that follows an object In-Reply-To: <358040538.270363.1561753015448@mail.yahoo.com> References: <1561564232700-0.post@n4.nabble.com> <358040538.270363.1561753015448@mail.yahoo.com> Message-ID: <1561753884793-0.post@n4.nabble.com> Bad formatting. Which is why I so like the forums. Anywa: local pointsList on mouseDown show btn 1 at "200,200" set the points of grc 1 to "0,0" & comma & the loc of btn 1 put the points of grc 1 & return into pointsList trackButton end mouseDown on trackButton if the optionKey is down then exit to top -- exit here set the loc of btn 1 to the mouseLoc put the loc of btn 1 & return after pointsList set the points of grc 1 to pointsList send "trackButton" to me in 1 end trackButton -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From harrison at all-auctions.com Fri Jun 28 16:54:12 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 28 Jun 2019 16:54:12 -0400 Subject: Draw a line that follows an object In-Reply-To: <358040538.270363.1561753015448@mail.yahoo.com> References: <1561564232700-0.post@n4.nabble.com> <358040538.270363.1561753015448@mail.yahoo.com> Message-ID: <8D0A12AB-5555-4C7E-8234-636F862AA72A@all-auctions.com> Double click to stop drawing? Rick > On Jun 28, 2019, at 4:16 PM, dunbarx--- via use-livecode wrote: > > Not sure how you want to stop drawing. Let me know how you decide that. > Craig From dunbarx at aol.com Fri Jun 28 17:14:09 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 28 Jun 2019 21:14:09 +0000 (UTC) Subject: Draw a line that follows an object In-Reply-To: <8D0A12AB-5555-4C7E-8234-636F862AA72A@all-auctions.com> References: <1561564232700-0.post@n4.nabble.com> <358040538.270363.1561753015448@mail.yahoo.com> <8D0A12AB-5555-4C7E-8234-636F862AA72A@all-auctions.com> Message-ID: <1802367639.301682.1561756449734@mail.yahoo.com> A million ways to escape. One could substitute this for the optionKey the line: if?the?mouse ?is?down?then...end if That assumes that the drawing is always done with the mouse held down. Not sure about that. And since "send in time" releases control to the machine constantly, one could add an escape handler downStream triggered by just about anything. Much depends on the way the author wants this thing to work. Craig -----Original Message----- From: Rick Harrison via use-livecode To: How to use LiveCode Cc: Rick Harrison Sent: Fri, Jun 28, 2019 4:54 pm Subject: Re: Draw a line that follows an object Double click to stop drawing? Rick > On Jun 28, 2019, at 4:16 PM, dunbarx--- via use-livecode wrote: > > Not sure how you want to stop drawing. Let me know how you decide that. > Craig _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jun 28 18:47:31 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 28 Jun 2019 22:47:31 +0000 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <4cfe751d-f4c5-d592-64e8-16ca42c48b6f@hyperactivesw.com> References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> <41DDE5B4-43FD-49FD-9131-E5E636D7C873@iotecdigital.com> <4cfe751d-f4c5-d592-64e8-16ca42c48b6f@hyperactivesw.com> Message-ID: <4A3D66AC-D964-4ADB-A8D0-533023513234@iotecdigital.com> Oh that is interesting. Still, I can see one use case where separating them is a good thing. There have been times I made a change to one or two substacks, and only needed to replace the versions from the "Standalone" with the new one(s). Also, if a stack is a part of the EXE, aren't the read only? In other words, you cannot save things like properties by saving the stack? Bob S > On Jun 28, 2019, at 10:34 , J. Landman Gay via use-livecode wrote: > > On 6/28/19 10:35 AM, Bob Sneidar via use-livecode wrote: >> I'm under the impression that in a standalone, ALL stacks besides the one in the executable are external stacks. That is, the Standalone Builder will copy any substacks to a folder as individual stacks. Even in a MacOS standalone, the package that is the app can be opened and you will find your individual stacks in Resources/_MacOS. > > There is a switch in the Stacks pane of Standalone Settings to control that behavior. If checked, stacks will be separated out to individual stackfiles. The default is to leave substacks attached to the mainstack as they are in the IDE. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Fri Jun 28 20:04:05 2019 From: dochawk at gmail.com (doc hawk) Date: Fri, 28 Jun 2019 17:04:05 -0700 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> Message-ID: On Jun 28, 2019, at 8:24 AM, Paul Dupuis via use-livecode wrote: > > When the standalone opens the external stack (which could be in an older stack file format), when the mouse is in the external stack window, LiveCode thinks the mouse is about 30-40 pixels ABOVE where the mouse actual is. I may be seeing something related to this in the IDE, I think, under High Sierra. It didn?t do it in 9.0. I see it manifest most often when the application browser is on the secondary screen. And then *mumble* happens, and when I select a control on the from the list to open an inspector, I get an inspector for the wrong object. Hmm, on further thought, maybe not: it seems to select the correct item on screen, and inquiries about the selectedObject yield the correct object. If I move the application browser back to the main screen, release, and drag. Back, sometimes (but not always) it fixes this From dochawk at gmail.com Fri Jun 28 20:19:16 2019 From: dochawk at gmail.com (doc hawk) Date: Fri, 28 Jun 2019 17:19:16 -0700 Subject: Group misbehavior in 9.5 Message-ID: <53AA69AE-8A5F-4637-97E4-BAB2A2CBA666@gmail.com> I can?t come up with a recipe for this one, either . . . When using the group editor and cutting a subgroup, it seems not to lose all of its information. I then paste back in, and it frequently becomes part of its prior owner, and sometimes part of another group. So if I edit group A, and from group B of A I cut group C, the expected behavior on paste is to become part of group A, but it seems to have an affinity for B. Other times, it may become part of D of A. I?ve even seen it become part of another subgroup that itself incorrectly attached. Additionally, fresh pasting from elsewhere can attache to a subgroup of the group being edited. There are also inconsistencies at times between what the message box thinks, and what the application browser and engine things (the latter two seem to agree). So fir I cut C of B of A, and then paste, the message box may report that it is indeed C of A, while the application browser and other things done by the engine (e.g., moving) show that it is C of B of A again. I managed to come up with a workaround of creating a new stack, and pasting there to form my new top level group, and then pasting that back to the original card (outside of the group editor). Hawk From dochawk at gmail.com Fri Jun 28 20:30:11 2019 From: dochawk at gmail.com (doc hawk) Date: Fri, 28 Jun 2019 17:30:11 -0700 Subject: Using shell as administrator on Windows 10 In-Reply-To: <53F4713C-F3E7-423A-B45F-B398D83F6DEB@swcp.com> References: <712fcef0-ad26-4de4-0a9c-0bb149756081@researchware.com> <53F4713C-F3E7-423A-B45F-B398D83F6DEB@swcp.com> Message-ID: <4707AD6B-181C-46A3-8F8B-7DEEBD34A921@gmail.com> dar delivered, > > There is a note on open process in the Dictionary that says that on OS X systems you can start an application but not a Unix process, Tha?ts not right: From the message box, put shell("pwd") Yields /Applications/LiveCode Business 9.5.0 (dp 1).app (Under Catalna) From dochawk at gmail.com Fri Jun 28 20:33:11 2019 From: dochawk at gmail.com (doc hawk) Date: Fri, 28 Jun 2019 17:33:11 -0700 Subject: anyone still using altMobileResizer? In-Reply-To: References: <3CBD60CC-8776-435D-92EB-6AA64DE26BD3@m-r-d.de> <14f9e5d7-7ee3-9da0-06b0-fa0f48b08239@krutt.org> <0F6FF643-6190-4ACE-90E8-DA25C8F28C49@m-r-d.de> Message-ID: J jbied, > . It's not so big but good enough (2x3mtr) :) I sure hope that that?s the pool and not the yard . . . :) From paul at researchware.com Fri Jun 28 20:34:19 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 28 Jun 2019 20:34:19 -0400 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <4A3D66AC-D964-4ADB-A8D0-533023513234@iotecdigital.com> References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> <41DDE5B4-43FD-49FD-9131-E5E636D7C873@iotecdigital.com> <4cfe751d-f4c5-d592-64e8-16ca42c48b6f@hyperactivesw.com> <4A3D66AC-D964-4ADB-A8D0-533023513234@iotecdigital.com> Message-ID: <62530fab-b70f-a889-ac88-2cd63704fc47@researchware.com> On 6/28/2019 6:47 PM, Bob Sneidar via use-livecode wrote: > Also, if a stack is a part of the EXE, aren't the read only? In other words, you cannot save things like properties by saving the stack? Correct. But not a problem for our app as they are full desktop apps that read and write a variety of document formats for the tasks they perform. User data is save or read for the app's documents, preferences save or loaded from a preferences file. From dochawk at gmail.com Fri Jun 28 20:36:07 2019 From: dochawk at gmail.com (doc hawk) Date: Fri, 28 Jun 2019 17:36:07 -0700 Subject: CTD meaning? In-Reply-To: <061C9D45-631C-4845-A578-98F6665F955A@iotecdigital.com> References: <061C9D45-631C-4845-A578-98F6665F955A@iotecdigital.com> Message-ID: <59EB617B-6551-47EB-AA48-AD141FB826A4@gmail.com> Bob belabored, > I thought ALL developers knew what that meant! :-) Some of us just call it, ?Damnit!? 9.5 is doing a *lot* of damniting . . . From paul at researchware.com Fri Jun 28 20:38:43 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 28 Jun 2019 20:38:43 -0400 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> Message-ID: <0dce6e10-8ffa-f423-4ff5-984b8f216f72@researchware.com> On 6/28/2019 8:04 PM, doc hawk via use-livecode wrote: > On Jun 28, 2019, at 8:24 AM, Paul Dupuis via use-livecode wrote: >> When the standalone opens the external stack (which could be in an older stack file format), when the mouse is in the external stack window, LiveCode thinks the mouse is about 30-40 pixels ABOVE where the mouse actual is. > I may be seeing something related to this in the IDE, I think, under High Sierra. It didn?t do it in 9.0. > > I see it manifest most often when the application browser is on the secondary screen. And then *mumble* happens, and when I select a control on the from the list to open an inspector, I get an inspector for the wrong object. > > Hmm, on further thought, maybe not: it seems to select the correct item on screen, and inquiries about the selectedObject yield the correct object. > > If I move the application browser back to the main screen, release, and drag. Back, sometimes (but not always) it fixes this > > Thank you for possible conforming, but this is not seen in the IDE. Jut in the built Standalone. It is also very clear that LiveCode thinks the mouse is 20-40 pixels towards the top of the window than it actually is. If I want to click on a button, I don't put the mouse over the button but about 30px under the bottom and click and the button hilites and functions. I think Richard Gaskin has the best educated guess on this. It's like LiveCode is compensating for a Mac Menubar for that stack that isn't there. From dochawk at gmail.com Fri Jun 28 20:39:27 2019 From: dochawk at gmail.com (doc hawk) Date: Fri, 28 Jun 2019 17:39:27 -0700 Subject: CTD meaning? In-Reply-To: <82454DF2-0EA1-432C-9E04-65AB9010CDD1@swcp.com> References: <061C9D45-631C-4845-A578-98F6665F955A@iotecdigital.com> <82454DF2-0EA1-432C-9E04-65AB9010CDD1@swcp.com> Message-ID: <85EAFF7C-39CF-4B78-83CF-4205D3FD812F@gmail.com> Dar delivered, > Only those who write code that crashes. ;-) Uhm, don?t all of us here use livecode? 4-5 times an hour for 9.5 at the moment . . . fortunately, I have an autosave every 30 seconds when not in the group editor . . . And I never did get 6 to stay up long enough to use (or to respect any form of breakpoint . . .)_ From sean at pidigital.co.uk Fri Jun 28 21:24:31 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sat, 29 Jun 2019 02:24:31 +0100 Subject: CTD meaning? In-Reply-To: References: <84e798fa-d2a9-7390-a3ea-fafe9dd1d388@pair.com> <0B2413B3-5C22-451A-80C6-4E3A2E478AEB@rogers.com> <5D22569E-1567-4BC9-A391-B5EDD9A1ACAF@rogers.com> <59CD63DB-F034-4754-A4EE-83F5505B5D59@byu.edu> <16b9f1b6870.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6740bdab-66d0-5154-ccc4-7d543cc6ce47@sonic.net> Message-ID: Well, I wasn't expecting the Scripting, Edit, Save, Crash question. Hahaa! Nobody suspects the Scripting, Edit, Save, Crash question. Our chief weapon is SURPRISE...surprise and FEAR...fear and surprise.... Our two weapons are fear and surprise...and RUTHLESS EFFICIENCY.... Our *three* weapons are fear, surprise, and ruthless efficiency...and an almost fanatical devotion to the CODE.... Our *four*...no... *AMONGST* our weapons.... Amongst our weaponry...are such elements as fear, surp.... I'll come in again. On Fri, 28 Jun 2019 at 18:50, Tore Nilsen via use-livecode < use-livecode at lists.runrev.com> wrote: > What good have the crashes ever done to us? > > Tore Nilsen > > > 28. jun. 2019 kl. 19:40 skrev Mark Wieder via use-livecode < > use-livecode at lists.runrev.com>: > > > > On 6/28/19 10:21 AM, J. Landman Gay via use-livecode wrote: > >> Too funny. While I'm not so fond of either management or Crash, I'm > glad I started this thread. > >> On the whole though, freah crashes are better than canned. > > > > Every crash is sacred. > > > > -- > > Mark Wieder > > ahsoftware at gmail.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Fri Jun 28 21:31:49 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 28 Jun 2019 19:31:49 -0600 Subject: Using shell as administrator on Windows 10 In-Reply-To: <4707AD6B-181C-46A3-8F8B-7DEEBD34A921@gmail.com> References: <712fcef0-ad26-4de4-0a9c-0bb149756081@researchware.com> <53F4713C-F3E7-423A-B45F-B398D83F6DEB@swcp.com> <4707AD6B-181C-46A3-8F8B-7DEEBD34A921@gmail.com> Message-ID: Ah, I neglected to emphasize "open process" in contrast with "shell". > On Jun 28, 2019, at 6:30 PM, doc hawk via use-livecode wrote: > > > dar delivered, >> >> There is a note on open process in the Dictionary that says that on OS X systems you can start an application but not a Unix process, > > Tha?ts not right: > >> From the message box, > > > put shell("pwd") > > Yields > > /Applications/LiveCode Business 9.5.0 (dp 1).app > > (Under Catalna) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Jun 28 21:44:49 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 28 Jun 2019 18:44:49 -0700 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <0dce6e10-8ffa-f423-4ff5-984b8f216f72@researchware.com> References: <0dce6e10-8ffa-f423-4ff5-984b8f216f72@researchware.com> Message-ID: <68d97741-4826-8c4a-928c-6bc38747424c@fourthworld.com> Paul Dupuis wrote: > Thank you for possible conforming, but this is not seen in the IDE. > Jut in the built Standalone. It is also very clear that LiveCode > thinks the mouse is 20-40 pixels towards the top of the window than > it actually is. > If I want to click on a button, I don't put the mouse over the button > but about 30px under the bottom and click and the button hilites and > functions. > > I think Richard Gaskin has the best educated guess on this. It's like > LiveCode is compensating for a Mac Menubar for that stack that isn't > there. Another possible culprit: I wonder if this may be related to Apple's wacky "tabbed windows" UI? Folks used to report seeing what appeared to be a second title bar below the real title bar, which turned out to be a tab set with just one tab. Not sure how a tabbed interface with a single tab that looks identical to the drag region was seen as a good idea by anyone in that macOS design meeting, but it was what it was, and, like so much in Cupertino, "hey, app devs love rewriting their apps every time we add something new", so LC needed to accommodate that. So now I'm wondering if this may be a mismatch of API calls and or incomplete feature implementation to deal with Apple's "tabbed windows". On the one hand, that may explain why you're only seeing it very recent versions. On the other hand, it doesn't explain why no one else is reporting it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Fri Jun 28 23:48:31 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Jun 2019 22:48:31 -0500 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> Message-ID: <16ba15942b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm not sure it's the same thing but even on a single screen the app browser gets out of sync. If you right click on the right hand pane and select "refresh" it fixes itself. I see this frequently when editing groups. The same thing happens, but less frequently, on the left hand side, like when you remove a stack from memory using the contextual menu. To refresh that, look for the tiny little icon at the bottom right of the pane which refreshes the stack list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 28, 2019 7:05:46 PM doc hawk via use-livecode wrote: > On Jun 28, 2019, at 8:24 AM, Paul Dupuis via use-livecode > wrote: >> >> When the standalone opens the external stack (which could be in an older >> stack file format), when the mouse is in the external stack window, >> LiveCode thinks the mouse is about 30-40 pixels ABOVE where the mouse >> actual is. > > I may be seeing something related to this in the IDE, I think, under High > Sierra. It didn?t do it in 9.0. > > I see it manifest most often when the application browser is on the > secondary screen. And then *mumble* happens, and when I select a control > on the from the list to open an inspector, I get an inspector for the wrong > object. > > Hmm, on further thought, maybe not: it seems to select the correct item > on screen, and inquiries about the selectedObject yield the correct object. > > If I move the application browser back to the main screen, release, and > drag. Back, sometimes (but not always) it fixes this > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jun 28 23:50:56 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Jun 2019 22:50:56 -0500 Subject: LC905rc1 Standalone Weirdness with External Stacks In-Reply-To: <4A3D66AC-D964-4ADB-A8D0-533023513234@iotecdigital.com> References: <8660b7e7-c107-abad-9a95-824c36f2c513@researchware.com> <41DDE5B4-43FD-49FD-9131-E5E636D7C873@iotecdigital.com> <4cfe751d-f4c5-d592-64e8-16ca42c48b6f@hyperactivesw.com> <4A3D66AC-D964-4ADB-A8D0-533023513234@iotecdigital.com> Message-ID: <16ba15b7148.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Those are good reasons to separate the substacks from the mainstack. If you don't plan to save changes to them, leave them attached. They open faster that way, which is particularly noticeable on mobile. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 28, 2019 5:49:14 PM Bob Sneidar via use-livecode wrote: > Oh that is interesting. Still, I can see one use case where separating them > is a good thing. There have been times I made a change to one or two > substacks, and only needed to replace the versions from the "Standalone" > with the new one(s). Also, if a stack is a part of the EXE, aren't the read > only? In other words, you cannot save things like properties by saving the > stack? > > Bob S > > >> On Jun 28, 2019, at 10:34 , J. Landman Gay via use-livecode >> wrote: >> >> On 6/28/19 10:35 AM, Bob Sneidar via use-livecode wrote: >>> I'm under the impression that in a standalone, ALL stacks besides the one >>> in the executable are external stacks. That is, the Standalone Builder will >>> copy any substacks to a folder as individual stacks. Even in a MacOS >>> standalone, the package that is the app can be opened and you will find >>> your individual stacks in Resources/_MacOS. >> >> There is a switch in the Stacks pane of Standalone Settings to control that >> behavior. If checked, stacks will be separated out to individual >> stackfiles. The default is to leave substacks attached to the mainstack as >> they are in the IDE. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Jun 29 18:39:15 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 29 Jun 2019 17:39:15 -0500 Subject: Loading large files into browser widget Message-ID: <4aac7a3a-31a5-00e9-f45f-a0e534c572bf@hyperactivesw.com> I have a 10-meg file on disk that I display in a browser widget. It is heavily tagged and styled. It takes a few seconds to load fully on desktop in the IDE, but on Android it can take up to 30 seconds or more to display an internal link, and even then the whole file isn't loaded, only a portion containing the linked text. If you scroll up or down, there are blank sections above and below the visible portion which only show the background color. Every time the card closes, the widget dumps the content and the next time you go to the card the whole process starts over again. I need a way to force the widget to retain its content, or a faster way to load the file. If that's not possible then we'll have to break up the file into pieces, but that is going to be difficult to script for a number of reasons. Any suggestions? Would the older native browser be any faster? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Sat Jun 29 18:54:41 2019 From: tom at makeshyft.com (Tom Glod) Date: Sat, 29 Jun 2019 18:54:41 -0400 Subject: Struggling to feel confident with LC mobile dev Message-ID: Hi friends, I'm coming here today hoping to find a little piece of mind with picking LC to develop a mobile app. I'm struggling finding any examples of android apps made with LC (besides the dictionary app). I want to use livecode because of its chunking capabilities and livecloud integration. Can someone tell me if they have achieved a good scrolling and rendering performance of text fields. Does anyone know of any examples they can point me to for android app? Thanks, Tom From brian at milby7.com Sat Jun 29 19:20:35 2019 From: brian at milby7.com (Brian Milby) Date: Sat, 29 Jun 2019 19:20:35 -0400 Subject: Struggling to feel confident with LC mobile dev In-Reply-To: References: Message-ID: <0088e2d6-a08a-4f8f-b260-b2ed6cf8c23f@Spark> SivaSiva is an app that is developed in LC on both platforms. ?I think there are probably some good examples of scrolling within. ?Most of the display issues present themselves when switching between stacks combined with forcing a rotation. ?I?m currently working to smooth those out. Thanks, Brian On Jun 29, 2019, 6:55 PM -0400, Tom Glod via use-livecode , wrote: > Hi friends, > > I'm coming here today hoping to find a little piece of mind with picking LC > to develop a mobile app. I'm struggling finding any examples of android > apps made with LC (besides the dictionary app). > > I want to use livecode because of its chunking capabilities and livecloud > integration. > > Can someone tell me if they have achieved a good scrolling and rendering > performance of text fields. > > Does anyone know of any examples they can point me to for android app? > > Thanks, > > Tom > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Sat Jun 29 19:26:41 2019 From: brian at milby7.com (Brian Milby) Date: Sat, 29 Jun 2019 19:26:41 -0400 Subject: Loading large files into browser widget In-Reply-To: <4aac7a3a-31a5-00e9-f45f-a0e534c572bf@hyperactivesw.com> References: <4aac7a3a-31a5-00e9-f45f-a0e534c572bf@hyperactivesw.com> Message-ID: Placing the browser widget in a background group and display/hide as needed is a possible solution to have it retain content. Thanks, Brian On Jun 29, 2019, 6:40 PM -0400, J. Landman Gay via use-livecode , wrote: > I have a 10-meg file on disk that I display in a browser widget. It is > heavily tagged and styled. It takes a few seconds to load fully on > desktop in the IDE, but on Android it can take up to 30 seconds or more > to display an internal link, and even then the whole file isn't loaded, > only a portion containing the linked text. If you scroll up or down, > there are blank sections above and below the visible portion which only > show the background color. > > Every time the card closes, the widget dumps the content and the next > time you go to the card the whole process starts over again. I need a > way to force the widget to retain its content, or a faster way to load > the file. > > If that's not possible then we'll have to break up the file into pieces, > but that is going to be difficult to script for a number of reasons. Any > suggestions? Would the older native browser be any faster? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Jun 29 20:21:19 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 29 Jun 2019 19:21:19 -0500 Subject: Struggling to feel confident with LC mobile dev In-Reply-To: <0088e2d6-a08a-4f8f-b260-b2ed6cf8c23f@Spark> References: <0088e2d6-a08a-4f8f-b260-b2ed6cf8c23f@Spark> Message-ID: <16ba5c1f018.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Speaking of SivaSiva, which you can get from both Android and Apple app stores, look for Path to Siva in the reading section. This is a short book and most pages scroll. The trick to smooth scrolling on mobile requires only two things: use native scrollers and turn on acceleratedRendering. The scrollers can be created by script or you can use the widgets in the tool palette. I recently posted my scroller script in the forums, you can probably find it. It wasn't long ago. I've made several mobile apps with scrollers but they are all distributed privately. But in about a month there will be one in the app stores. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 29, 2019 6:27:11 PM Brian Milby via use-livecode wrote: > SivaSiva is an app that is developed in LC on both platforms. I think > there are probably some good examples of scrolling within. Most of the > display issues present themselves when switching between stacks combined > with forcing a rotation. I?m currently working to smooth those out. > > Thanks, > Brian > On Jun 29, 2019, 6:55 PM -0400, Tom Glod via use-livecode > , wrote: >> Hi friends, >> >> I'm coming here today hoping to find a little piece of mind with picking LC >> to develop a mobile app. I'm struggling finding any examples of android >> apps made with LC (besides the dictionary app). >> >> I want to use livecode because of its chunking capabilities and livecloud >> integration. >> >> Can someone tell me if they have achieved a good scrolling and rendering >> performance of text fields. >> >> Does anyone know of any examples they can point me to for android app? >> >> Thanks, >> >> Tom >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Jun 29 20:24:59 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 29 Jun 2019 19:24:59 -0500 Subject: Loading large files into browser widget In-Reply-To: References: <4aac7a3a-31a5-00e9-f45f-a0e534c572bf@hyperactivesw.com> Message-ID: <16ba5c54790.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'll experiment with it. The browser is in a stack that loads dynamically on demand so it isn't always visible (though it does stay in RAM) so I hope that isn't a problem. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 29, 2019 6:29:56 PM Brian Milby via use-livecode wrote: > Placing the browser widget in a background group and display/hide as needed > is a possible solution to have it retain content. > > Thanks, > Brian > On Jun 29, 2019, 6:40 PM -0400, J. Landman Gay via use-livecode > , wrote: >> I have a 10-meg file on disk that I display in a browser widget. It is >> heavily tagged and styled. It takes a few seconds to load fully on >> desktop in the IDE, but on Android it can take up to 30 seconds or more >> to display an internal link, and even then the whole file isn't loaded, >> only a portion containing the linked text. If you scroll up or down, >> there are blank sections above and below the visible portion which only >> show the background color. >> >> Every time the card closes, the widget dumps the content and the next >> time you go to the card the whole process starts over again. I need a >> way to force the widget to retain its content, or a faster way to load >> the file. >> >> If that's not possible then we'll have to break up the file into pieces, >> but that is going to be difficult to script for a number of reasons. Any >> suggestions? Would the older native browser be any faster? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sun Jun 30 06:24:28 2019 From: jjs at krutt.org (JJS) Date: Sun, 30 Jun 2019 12:24:28 +0200 Subject: anyone still using altMobileResizer? In-Reply-To: References: <3CBD60CC-8776-435D-92EB-6AA64DE26BD3@m-r-d.de> <14f9e5d7-7ee3-9da0-06b0-fa0f48b08239@krutt.org> <0F6FF643-6190-4ACE-90E8-DA25C8F28C49@m-r-d.de> Message-ID: <5d7fc817-5448-b5c5-1a5c-a6cc49c1c6d4@krutt.org> LOL, no it's the pool indeed :) Op 29-6-2019 om 02:33 schreef doc hawk via use-livecode: > jbied, >> . It's not so big but good enough (2x3mtr):) From curry at pair.com Sun Jun 30 06:42:08 2019 From: curry at pair.com (Curry Kenworthy) Date: Sun, 30 Jun 2019 06:42:08 -0400 Subject: Struggling to feel confident with LC mobile dev In-Reply-To: References: Message-ID: <2537b1e6-a004-bfe4-952b-071672477c47@pair.com> Tom: > Can someone tell me if they have achieved a good scrolling > and rendering performance of text fields. When it comes to performance, LC text fields usually are not the problem. Quite the reverse! Good field performance in general (desktop and mobile) and no big trouble on Android last time I tested. Any specific problem with fields? Shoddy code, overuse of controls, reliance on v1 data grids (sorry), uncontrolled duplication of code or content, unplanned/uncontemplated I/O, and failing to take LC's weaker areas into account for the design - these are the culprits who have caused the most performance issues. Bad habits die hard. Bad code dies harder. For Android in particular, people forget that the typical device is not designed to compete with an iMac Pro. Designed literally to be the lowest common denominator for computing needs. Less forgiving, but that's a good opportunity for improving code technique. I've done my share of Android projects and fields, with good results including the fields. Performance is judged per the task, and I don't know your task. Generally good. Android does require some care if you're delivering a lot of animation, effects, and so on. Keep controls simple and code tight from the start. Tweak settings as needed at the end. Then you should be fine! Confidence in LC is not the real struggle. It just needs a little discipline and care for coding technique. Good technique also overcomes hardware (and other) constraints to some extent. Yes, LC can make good Android apps. Be thou reasonably confident, but with diligent care to thy code and settings. Jacqueline: > The trick to smooth scrolling on mobile requires only two things: > use native scrollers and turn on acceleratedRendering. (And quite doable even without native scrollers.) BTW, those who care about good performance (Android and otherwise) could vote for box filters in graphic effects: https://quality.livecode.com/show_bug.cgi?id=11894 Not a field feature, but it can be used with fields for impressive effects. Confirmed bug since 2014, existing LC feature which was lost since LC 6.5, and although there are workarounds it would benefit and enrich projects; this used to make a significant improvement to rendering speed for effects on Android! Maybe one of those features that the more influential and vocal clique was not using or talking about, and never realized its potential. :) Also for those who recognize the importance of LC's own performance - it's helpful to support improvements. 905/950 is much better at some tasks, excellent progress. Much less huffing and puffing than LC 7-904! But don't be misled; as of rc1/dp1 some areas continue to lag. (I'll do a followup video with specifics when time allows! Several things I must get done first, including my own products.) Ongoing LC performance bug/feature request here, good progress so far, feel free to add your CC: https://quality.livecode.com/show_bug.cgi?id=21561 Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From chipsm at themartinz.com Sun Jun 30 11:51:26 2019 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Sun, 30 Jun 2019 08:51:26 -0700 Subject: Struggling to feel confident with LC mobile dev In-Reply-To: <2537b1e6-a004-bfe4-952b-071672477c47@pair.com> References: <2537b1e6-a004-bfe4-952b-071672477c47@pair.com> Message-ID: <04bf01d52f5b$ad37c3a0$07a74ae0$@themartinz.com> This is a worthwhile posting. Thanks Jacque and Curry for keeping things in perspective. Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 636 6965561 -----Original Message----- From: use-livecode On Behalf Of Curry Kenworthy via use-livecode Sent: Sunday, June 30, 2019 3:42 AM To: use-livecode at lists.runrev.com Cc: Curry Kenworthy Subject: Re: Struggling to feel confident with LC mobile dev Tom: > Can someone tell me if they have achieved a good scrolling > and rendering performance of text fields. When it comes to performance, LC text fields usually are not the problem. Quite the reverse! Good field performance in general (desktop and mobile) and no big trouble on Android last time I tested. Any specific problem with fields? Shoddy code, overuse of controls, reliance on v1 data grids (sorry), uncontrolled duplication of code or content, unplanned/uncontemplated I/O, and failing to take LC's weaker areas into account for the design - these are the culprits who have caused the most performance issues. Bad habits die hard. Bad code dies harder. For Android in particular, people forget that the typical device is not designed to compete with an iMac Pro. Designed literally to be the lowest common denominator for computing needs. Less forgiving, but that's a good opportunity for improving code technique. I've done my share of Android projects and fields, with good results including the fields. Performance is judged per the task, and I don't know your task. Generally good. Android does require some care if you're delivering a lot of animation, effects, and so on. Keep controls simple and code tight from the start. Tweak settings as needed at the end. Then you should be fine! Confidence in LC is not the real struggle. It just needs a little discipline and care for coding technique. Good technique also overcomes hardware (and other) constraints to some extent. Yes, LC can make good Android apps. Be thou reasonably confident, but with diligent care to thy code and settings. Jacqueline: > The trick to smooth scrolling on mobile requires only two things: > use native scrollers and turn on acceleratedRendering. (And quite doable even without native scrollers.) BTW, those who care about good performance (Android and otherwise) could vote for box filters in graphic effects: https://quality.livecode.com/show_bug.cgi?id=11894 Not a field feature, but it can be used with fields for impressive effects. Confirmed bug since 2014, existing LC feature which was lost since LC 6.5, and although there are workarounds it would benefit and enrich projects; this used to make a significant improvement to rendering speed for effects on Android! Maybe one of those features that the more influential and vocal clique was not using or talking about, and never realized its potential. :) Also for those who recognize the importance of LC's own performance - it's helpful to support improvements. 905/950 is much better at some tasks, excellent progress. Much less huffing and puffing than LC 7-904! But don't be misled; as of rc1/dp1 some areas continue to lag. (I'll do a followup video with specifics when time allows! Several things I must get done first, including my own products.) Ongoing LC performance bug/feature request here, good progress so far, feel free to add your CC: https://quality.livecode.com/show_bug.cgi?id=21561 Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sun Jun 30 12:32:11 2019 From: tom at makeshyft.com (Tom Glod) Date: Sun, 30 Jun 2019 12:32:11 -0400 Subject: Struggling to feel confident with LC mobile dev In-Reply-To: <04bf01d52f5b$ad37c3a0$07a74ae0$@themartinz.com> References: <2537b1e6-a004-bfe4-952b-071672477c47@pair.com> <04bf01d52f5b$ad37c3a0$07a74ae0$@themartinz.com> Message-ID: Thank you Brian, Jacqueline, Curry....... A lot of good info here and I definitely feel a lot more confident about choosing LC. Thanks a lot for the info and vote of confidence. Here we go. On Sun, Jun 30, 2019 at 11:51 AM Clarence Martin via use-livecode < use-livecode at lists.runrev.com> wrote: > This is a worthwhile posting. > Thanks Jacque and Curry for keeping things in perspective. > > Sincerely, > > Clarence Martin > Email: chipsm at themartinz.com > Phone: 636 6965561 > > -----Original Message----- > From: use-livecode On Behalf Of > Curry Kenworthy via use-livecode > Sent: Sunday, June 30, 2019 3:42 AM > To: use-livecode at lists.runrev.com > Cc: Curry Kenworthy > Subject: Re: Struggling to feel confident with LC mobile dev > > > Tom: > > > Can someone tell me if they have achieved a good scrolling > and > rendering performance of text fields. > > When it comes to performance, LC text fields usually are not the problem. > Quite the reverse! Good field performance in general (desktop and mobile) > and no big trouble on Android last time I tested. Any specific problem with > fields? > > Shoddy code, overuse of controls, reliance on v1 data grids (sorry), > uncontrolled duplication of code or content, unplanned/uncontemplated I/O, > and failing to take LC's weaker areas into account for the design - these > are the culprits who have caused the most performance issues. Bad habits > die > hard. Bad code dies harder. > > For Android in particular, people forget that the typical device is not > designed to compete with an iMac Pro. Designed literally to be the lowest > common denominator for computing needs. Less forgiving, but that's a good > opportunity for improving code technique. > > I've done my share of Android projects and fields, with good results > including the fields. Performance is judged per the task, and I don't know > your task. Generally good. Android does require some care if you're > delivering a lot of animation, effects, and so on. > > Keep controls simple and code tight from the start. Tweak settings as > needed > at the end. Then you should be fine! Confidence in LC is not the real > struggle. It just needs a little discipline and care for coding technique. > Good technique also overcomes hardware (and other) constraints to some > extent. > > Yes, LC can make good Android apps. Be thou reasonably confident, but with > diligent care to thy code and settings. > > Jacqueline: > > > The trick to smooth scrolling on mobile requires only two things: > > use native scrollers and turn on acceleratedRendering. > > (And quite doable even without native scrollers.) > > BTW, those who care about good performance (Android and otherwise) could > vote for box filters in graphic effects: > > https://quality.livecode.com/show_bug.cgi?id=11894 > > Not a field feature, but it can be used with fields for impressive effects. > Confirmed bug since 2014, existing LC feature which was lost since LC 6.5, > and although there are workarounds it would benefit and enrich projects; > this used to make a significant improvement to rendering speed for effects > on Android! Maybe one of those features that the more influential and vocal > clique was not using or talking about, and never realized its potential. :) > > Also for those who recognize the importance of LC's own performance - it's > helpful to support improvements. 905/950 is much better at some tasks, > excellent progress. Much less huffing and puffing than LC 7-904! > But don't be misled; as of rc1/dp1 some areas continue to lag. (I'll do a > followup video with specifics when time allows! Several things I must get > done first, including my own products.) > > Ongoing LC performance bug/feature request here, good progress so far, feel > free to add your CC: > > https://quality.livecode.com/show_bug.cgi?id=21561 > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From General.2018 at outlook.com Sun Jun 30 15:30:57 2019 From: General.2018 at outlook.com (General 2018) Date: Sun, 30 Jun 2019 19:30:57 +0000 Subject: Draw a line that follows an object In-Reply-To: <1561753884793-0.post@n4.nabble.com> References: <1561564232700-0.post@n4.nabble.com> <358040538.270363.1561753015448@mail.yahoo.com> <1561753884793-0.post@n4.nabble.com> Message-ID: Great Guys , works a dream . Had to change back to line from polygon - I missed that. Thanks again Camm -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of dunbarxx via use-livecode Sent: 28 June 2019 21:31 To: use-revolution at lists.runrev.com Cc: dunbarxx Subject: Re: Draw a line that follows an object Bad formatting. Which is why I so like the forums. Anywa: local pointsList on mouseDown show btn 1 at "200,200" set the points of grc 1 to "0,0" & comma & the loc of btn 1 put the points of grc 1 & return into pointsList trackButton end mouseDown on trackButton if the optionKey is down then exit to top -- exit here set the loc of btn 1 to the mouseLoc put the loc of btn 1 & return after pointsList set the points of grc 1 to pointsList send "trackButton" to me in 1 end trackButton -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Sun Jun 30 17:21:05 2019 From: dunbarx at aol.com (dunbarxx) Date: Sun, 30 Jun 2019 16:21:05 -0500 (CDT) Subject: Draw a line that follows an object In-Reply-To: References: <1561564232700-0.post@n4.nabble.com> <358040538.270363.1561753015448@mail.yahoo.com> <1561753884793-0.post@n4.nabble.com> Message-ID: <1561929665537-0.post@n4.nabble.com> If you add points to a line graphic, which of course starts off with only two lines of points (its endpoints) it will take on the attributes of a polygon. Is that what you did? But either ought to do, no? Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From jacque at hyperactivesw.com Sun Jun 30 17:37:34 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Jun 2019 16:37:34 -0500 Subject: Loading large files into browser widget In-Reply-To: References: <4aac7a3a-31a5-00e9-f45f-a0e534c572bf@hyperactivesw.com> Message-ID: <0d0c0da7-11c3-d07d-4fb1-62ec29ab7455@hyperactivesw.com> I did some timing tests comparing mobileControlCreate vs. a browser widget. Both loaded a 10-meg file from the documents folder on an Android Pixel running Android OS 9 (Pie.) mobileControlCreate: 26352 ms, 26610 ms (2 tries) browser widget: 785426 ms (13 minutes). While 26+ seconds is too long, it's better than 13 minutes. I don't see a good way around this. Pre-loading the widget in its entirety isn't feasible, and of course I'd need to delete the dynamic mobile control when leaving the card to avoid interference with other native controls. Breaking up this particular document is going to be difficult. All the links are hashtags that refer to the current document, and there are thousands of them. However, I've learned that if the widget browser needs to load quicker, use mobileControlCreate instead of the widget. On 6/29/19 6:26 PM, Brian Milby via use-livecode wrote: > Placing the browser widget in a background group and display/hide as needed is a possible solution to have it retain content. > > Thanks, > Brian > On Jun 29, 2019, 6:40 PM -0400, J. Landman Gay via use-livecode , wrote: >> I have a 10-meg file on disk that I display in a browser widget. It is >> heavily tagged and styled. It takes a few seconds to load fully on >> desktop in the IDE, but on Android it can take up to 30 seconds or more >> to display an internal link, and even then the whole file isn't loaded, >> only a portion containing the linked text. If you scroll up or down, >> there are blank sections above and below the visible portion which only >> show the background color. >> >> Every time the card closes, the widget dumps the content and the next >> time you go to the card the whole process starts over again. I need a >> way to force the widget to retain its content, or a faster way to load >> the file. >> >> If that's not possible then we'll have to break up the file into pieces, >> but that is going to be difficult to script for a number of reasons. Any >> suggestions? Would the older native browser be any faster? >> >> -- >> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Jun 30 18:41:13 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Jun 2019 17:41:13 -0500 Subject: Loading large files into browser widget In-Reply-To: <0d0c0da7-11c3-d07d-4fb1-62ec29ab7455@hyperactivesw.com> References: <4aac7a3a-31a5-00e9-f45f-a0e534c572bf@hyperactivesw.com> <0d0c0da7-11c3-d07d-4fb1-62ec29ab7455@hyperactivesw.com> Message-ID: <9f3eaab2-68be-43fe-9ca1-c81116000895@hyperactivesw.com> I was wrong. I do get "browserFinishedLoading" in about 26 seconds, but it's lying. When I start to scroll down, it acts just like the widget. It isn't really all there. I guess that makes sense, assuming the widget is just a wrapper around the mobileControlCreate code. On 6/30/19 4:37 PM, J. Landman Gay via use-livecode wrote: > I did some timing tests comparing mobileControlCreate vs. a browser > widget. Both loaded a 10-meg file from the documents folder on an > Android Pixel running Android OS 9 (Pie.) > > ? mobileControlCreate: 26352 ms, 26610 ms (2 tries) > ? browser widget: 785426 ms (13 minutes). > > While 26+ seconds is too long, it's better than 13 minutes. I don't see > a good way around this. Pre-loading the widget in its entirety isn't > feasible, and of course I'd need to delete the dynamic mobile control > when leaving the card to avoid interference with other native controls. > > Breaking up this particular document is going to be difficult. All the > links are hashtags that refer to the current document, and there are > thousands of them. > > However, I've learned that if the widget browser needs to load quicker, > use mobileControlCreate instead of the widget. > > > On 6/29/19 6:26 PM, Brian Milby via use-livecode wrote: >> Placing the browser widget in a background group and display/hide as >> needed is a possible solution to have it retain content. >> >> Thanks, >> Brian >> On Jun 29, 2019, 6:40 PM -0400, J. Landman Gay via use-livecode >> , wrote: >>> I have a 10-meg file on disk that I display in a browser widget. It is >>> heavily tagged and styled. It takes a few seconds to load fully on >>> desktop in the IDE, but on Android it can take up to 30 seconds or more >>> to display an internal link, and even then the whole file isn't loaded, >>> only a portion containing the linked text. If you scroll up or down, >>> there are blank sections above and below the visible portion which only >>> show the background color. >>> >>> Every time the card closes, the widget dumps the content and the next >>> time you go to the card the whole process starts over again. I need a >>> way to force the widget to retain its content, or a faster way to load >>> the file. >>> >>> If that's not possible then we'll have to break up the file into pieces, >>> but that is going to be difficult to script for a number of reasons. Any >>> suggestions? Would the older native browser be any faster? >>> >>> -- >>> 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 >> > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com