From iphonelagi at gmail.com Mon Jul 1 07:12:59 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Mon, 1 Jul 2019 12:12:59 +0100 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: You got there first Martin, But you missed out the Spam Spam spam before the Crash ;-) Lagi On Fri, 28 Jun 2019 at 16:30, Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > > > Sent from my iPhone > > > On Jun 28, 2019, at 11:17 AM, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 1 07:40:20 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Mon, 1 Jul 2019 12:40:20 +0100 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: There is one thing any real developer (Man or Woman ...) knows and that's The words to the Spam skit and the words to the lumberj ... 2 things every developer knows The words to the spam skit and the lumberjack song and people's front of Judea ..... ahaaaa ... Nobody expects a "Crash Of Inquisition" even if they do say Jehova, Jehova ...... Stop it! stop it!! this is getting silly .... http://www.montypython.net/scripts/spanish.php http://www.montypython.net/brianmm1.php#Scene%207 http://www.montypython.net/scripts/spamskit.php Lagi On Fri, 28 Jun 2019 at 18:22, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> 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. > -- > 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Jul 1 08:42:26 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 1 Jul 2019 15:42:26 +0300 Subject: [ANN] This Week in LiveCode 184 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 #184 here: http://bit.ly/2XJP27C 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 Jul 1 10:44:54 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 1 Jul 2019 14:44:54 +0000 Subject: Group misbehavior in 9.5 In-Reply-To: <53AA69AE-8A5F-4637-97E4-BAB2A2CBA666@gmail.com> References: <53AA69AE-8A5F-4637-97E4-BAB2A2CBA666@gmail.com> Message-ID: I experienced something like this in 9.0.x. Lots of weirdness in cutting/copying/pasting groups inside groups. I resorted to using revNavigator for managing groups. Bob S > On Jun 28, 2019, at 17:19 , doc hawk via use-livecode wrote: > > 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. From ambassador at fourthworld.com Mon Jul 1 12:47:05 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 1 Jul 2019 09:47:05 -0700 Subject: Loading large files into browser widget In-Reply-To: <9f3eaab2-68be-43fe-9ca1-c81116000895@hyperactivesw.com> References: <9f3eaab2-68be-43fe-9ca1-c81116000895@hyperactivesw.com> Message-ID: <8d558fc0-d28f-68af-9914-02035a3c7890@fourthworld.com> Curious: how long does it take to load the document in Chrome on the same device? -- 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 richmondmathewson at gmail.com Tue Jul 2 11:30:42 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 2 Jul 2019 18:30:42 +0300 Subject: Draw a line that follows an object In-Reply-To: <1561929665537-0.post@n4.nabble.com> References: <1561564232700-0.post@n4.nabble.com> <358040538.270363.1561753015448@mail.yahoo.com> <1561753884793-0.post@n4.nabble.com> <1561929665537-0.post@n4.nabble.com> Message-ID: Well, well, well . . . . . https://www.dropbox.com/s/x2qmp9hvm43fbk7/NLCT.livecode.zip?dl=0 KIsses, Richmond. On 1.07.19 0:21, dunbarxx via use-livecode wrote: > 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 2 12:03:11 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 2 Jul 2019 16:03:11 +0000 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> <1561929665537-0.post@n4.nabble.com> Message-ID: <358153A2-57B6-4D81-AC96-93319B7FFF46@iotecdigital.com> I can't get it to draw anything. Bob S > On Jul 2, 2019, at 08:30 , Richmond via use-livecode wrote: > > Well, well, well . . . . . > > https://www.dropbox.com/s/x2qmp9hvm43fbk7/NLCT.livecode.zip?dl=0 > > KIsses, Richmond. From richmondmathewson at gmail.com Tue Jul 2 12:32:21 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 2 Jul 2019 19:32:21 +0300 Subject: Draw a line that follows an object In-Reply-To: <358153A2-57B6-4D81-AC96-93319B7FFF46@iotecdigital.com> References: <1561564232700-0.post@n4.nabble.com> <358040538.270363.1561753015448@mail.yahoo.com> <1561753884793-0.post@n4.nabble.com> <1561929665537-0.post@n4.nabble.com> <358153A2-57B6-4D81-AC96-93319B7FFF46@iotecdigital.com> Message-ID: <51df1ab9-8289-92bd-f3cb-c3e3002a81c1@gmail.com> I don't know why. Have a bash with this: https://www.dropbox.com/s/6wzi8ln6wwgsvlo/Tortoise.livecode.zip?dl=0 On 2.07.19 19:03, Bob Sneidar via use-livecode wrote: > I can't get it to draw anything. > > Bob S > > >> On Jul 2, 2019, at 08:30 , Richmond via use-livecode wrote: >> >> Well, well, well . . . . . >> >> https://www.dropbox.com/s/x2qmp9hvm43fbk7/NLCT.livecode.zip?dl=0 >> >> KIsses, 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 curt at sonasoftware.com Tue Jul 2 16:03:45 2019 From: curt at sonasoftware.com (Curt Ford) Date: Tue, 02 Jul 2019 13:03:45 -0700 Subject: Symantec quarantining LiveCode standalone on client's machine Message-ID: <5D1BB8A1.4030407@sonasoftware.com> A client has reported that a small utility I've made for him is being blocked by Symantec on his Windows machine. We haven't had this issue before with an earlier version of the same utility, but now he gets this report: "Threat type: Insight Network Threat. There are many indications that this file is untrustworthy and therefore not safe ____________________________ f_003294 Threat name: WS.Reputation.1 Locate Very Few Users Fewer than 5 users in the Symantec Community have used this file. Very New This file was released less than 1 week ago. Medium This file risk is medium." Would code signing it somehow help? Any suggestions? Thanks! Curt -- Sent from Postbox From tom at makeshyft.com Tue Jul 2 16:10:13 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 2 Jul 2019 16:10:13 -0400 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: <5D1BB8A1.4030407@sonasoftware.com> References: <5D1BB8A1.4030407@sonasoftware.com> Message-ID: Just wondering ..is your executable signed? I've come across this problem before with it being quarantined. avast does the "hold on a second let me check this out first" thing.....but after 15 seconds lets the application start normally..... and it only happens the first time. This is not great for user experience. On Tue, Jul 2, 2019 at 4:04 PM Curt Ford via use-livecode < use-livecode at lists.runrev.com> wrote: > A client has reported that a small utility I've made for him is being > blocked by Symantec on his Windows machine. We haven't had this issue > before with an earlier version of the same utility, but now he gets this > report: > > "Threat type: Insight Network Threat. There are many indications that > this file is untrustworthy and therefore not safe > ____________________________ > > f_003294 Threat name: WS.Reputation.1 > > Locate > > Very Few Users > > Fewer than 5 users in the Symantec Community have used this file. > > Very New > > This file was released less than 1 week ago. > > Medium > > This file risk is medium." > > Would code signing it somehow help? Any suggestions? > > Thanks! > > 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 paul at researchware.com Tue Jul 2 16:16:26 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 2 Jul 2019 16:16:26 -0400 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: References: <5D1BB8A1.4030407@sonasoftware.com> Message-ID: <98d4bd36-418c-75e8-7885-0310dfde6940@researchware.com> Same here. Code signing your application will prevent this. On 7/2/2019 4:10 PM, Tom Glod via use-livecode wrote: > Just wondering ..is your executable signed? > > I've come across this problem before with it being quarantined. > > avast does the "hold on a second let me check this out first" > thing.....but after 15 seconds lets the application start normally..... > and it only happens the first time. > > This is not great for user experience. > > On Tue, Jul 2, 2019 at 4:04 PM Curt Ford via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> A client has reported that a small utility I've made for him is being >> blocked by Symantec on his Windows machine. We haven't had this issue >> before with an earlier version of the same utility, but now he gets this >> report: >> >> "Threat type: Insight Network Threat. There are many indications that >> this file is untrustworthy and therefore not safe >> ____________________________ >> >> f_003294 Threat name: WS.Reputation.1 >> >> Locate >> >> Very Few Users >> >> Fewer than 5 users in the Symantec Community have used this file. >> >> Very New >> >> This file was released less than 1 week ago. >> >> Medium >> >> This file risk is medium." >> >> Would code signing it somehow help? Any suggestions? >> >> Thanks! >> >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 2 17:29:40 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 2 Jul 2019 21:29:40 +0000 Subject: XML To Array Message-ID: <4D5DE740-5FA0-4A01-94BB-73B6EEDCA23D@iotecdigital.com> Hi all. I'm revisiting converting XML to Array. Toshiba has an export file for their scan templates in XML format. It's pretty complicated as you can imagine. I was hoping that I could use Trevor's XML to Array functions to get nodes that look something like: JobTemplates GroupList Group1 Template1 Template2 Template3... Group2 Template1 Template2... And so on. What I am *actually* getting is something far more complex than the the XML itself! 1 @Children 1 @Children @Name "GroupList" @Name "JobTemplates And so forth. This latter format is frankly impossible for me to fathom. Does anyone have a "simple" XML to Array (and reverse) function I can use? The idea is for me to build an xml file with scan registrations I append from another source and import them back into the copier. Bob S From curt at sonasoftware.com Tue Jul 2 17:57:09 2019 From: curt at sonasoftware.com (Curt Ford) Date: Tue, 02 Jul 2019 14:57:09 -0700 Subject: Symantec quarantining LiveCode standalone on client's machine Message-ID: <5D1BD335.7060806@sonasoftware.com> Guess it's time to finally look into this. I just visited https://comodosslstore.com but am not sure of the differences between Comodo code signing, Microsoft Authenticode, etc... Any suggestions on best practices with LiveCode/Inno Setup are appreciated! -- Sent from Postbox From tom at makeshyft.com Tue Jul 2 18:06:18 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 2 Jul 2019 18:06:18 -0400 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: <5D1BD335.7060806@sonasoftware.com> References: <5D1BD335.7060806@sonasoftware.com> Message-ID: I always struggle being able to search the mailing list, but someone made a helper app for signing standalones. Speaking of,,,,,I have questions whether you can use the same certificate from comodo to sign all standalones for each platform. or if u need a distinct one for each platform? Sigh.....yet another item on my to do list. On Tue, Jul 2, 2019 at 5:57 PM Curt Ford via use-livecode < use-livecode at lists.runrev.com> wrote: > Guess it's time to finally look into this. > > I just visited https://comodosslstore.com but am not sure of the > differences between Comodo code signing, Microsoft Authenticode, etc... > > Any suggestions on best practices with LiveCode/Inno Setup are appreciated! > > -- > 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 paul at researchware.com Tue Jul 2 18:16:04 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 2 Jul 2019 18:16:04 -0400 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: <5D1BD335.7060806@sonasoftware.com> References: <5D1BD335.7060806@sonasoftware.com> Message-ID: <551af6a2-11ab-1ad7-24b0-96cf705df281@researchware.com> On 7/2/2019 5:57 PM, Curt Ford via use-livecode wrote: > Guess it's time to finally look into this. > > I just visited https://comodosslstore.com but am not sure of the > differences between Comodo code signing, Microsoft Authenticode, etc... > > Any suggestions on best practices with LiveCode/Inno Setup are > appreciated! > Trevor Devore has some really good tutorials on code signing. I use a Comodo cert for Windows. If you need to sign an OSX built (or iOS) you need separate certs (one for OSX and 1 for iOS ) from Apple which I think I recall is part of your Apple Developer membership There are some 3rd party tools people have recommended to point & click code signing or use the command line tools from the vendors (Microsoft for Window; Apple for OSX - part of xCode) You build your LC standalone. Sign that. Then package that in an installer and sign the installer (best practice) There s a learning curve, but code signing really is a necessity these days. From matthias_livecode_150811 at m-r-d.de Tue Jul 2 18:19:44 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 3 Jul 2019 00:19:44 +0200 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: <5D1BD335.7060806@sonasoftware.com> References: <5D1BD335.7060806@sonasoftware.com> Message-ID: I?ve purchased my ComodoOV Code Signing Certificates from KSoftware. It?s much cheaper than buying directly from Comodo. You purchase from KSoftware, but the certificate is delivered by Comodo. https://www.ksoftware.net/code-signing-certificates/ Regards, Matthias > Am 02.07.2019 um 23:57 schrieb Curt Ford via use-livecode : > > Guess it's time to finally look into this. > > I just visited https://comodosslstore.com but am not sure of the differences between Comodo code signing, Microsoft Authenticode, etc... > > Any suggestions on best practices with LiveCode/Inno Setup are appreciated! > > -- > 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 matthias_livecode_150811 at m-r-d.de Tue Jul 2 18:24:33 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 3 Jul 2019 00:24:33 +0200 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: References: <5D1BD335.7060806@sonasoftware.com> Message-ID: One little addition. I just noticed that Comodo is now Sectigo. Seems they?ve changed their name. > Am 03.07.2019 um 00:19 schrieb Matthias Rebbe : > > I?ve purchased my ComodoOV Code Signing Certificates from KSoftware. It?s much cheaper than buying directly from Comodo. You purchase from KSoftware, but the certificate is delivered by Comodo. > https://www.ksoftware.net/code-signing-certificates/ > > Regards, > Matthias > > >> Am 02.07.2019 um 23:57 schrieb Curt Ford via use-livecode : >> >> Guess it's time to finally look into this. >> >> I just visited https://comodosslstore.com but am not sure of the differences between Comodo code signing, Microsoft Authenticode, etc... >> >> Any suggestions on best practices with LiveCode/Inno Setup are appreciated! >> >> -- >> 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 ambassador at fourthworld.com Tue Jul 2 18:29:52 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 2 Jul 2019 15:29:52 -0700 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: <5D1BB8A1.4030407@sonasoftware.com> References: <5D1BB8A1.4030407@sonasoftware.com> Message-ID: Unless your machine has something viral on it, likely a false positive, a regular occurrence among AV packages. Code signing seems to provide sufficient comfort for many AV packages, though not sure why that's the case given known instances of stolen credentials. While you're doing the many extra steps we'd all love to see in the Standalone Builder but still aren't there, it would be helpful to also drop a note to Symentec so they can appropriately update their latest filters to exclude LC-borne standalones. -- 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 ahsoftware at sonic.net Tue Jul 2 19:16:55 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 2 Jul 2019 16:16:55 -0700 Subject: XML To Array In-Reply-To: <4D5DE740-5FA0-4A01-94BB-73B6EEDCA23D@iotecdigital.com> References: <4D5DE740-5FA0-4A01-94BB-73B6EEDCA23D@iotecdigital.com> Message-ID: <6b0472a1-a2fd-6cea-74a4-ce258d2d889e@sonic.net> On 7/2/19 2:29 PM, Bob Sneidar via use-livecode wrote: > Hi all. > > I'm revisiting converting XML to Array. Toshiba has an export file for their scan templates in XML format. It's pretty complicated as you can imagine. I was hoping that I could use Trevor's XML to Array functions to get nodes that look something like: > > JobTemplates > GroupList > Group1 > Template1 > Template2 > Template3... > Group2 > Template1 > Template2... What are you hoping to get out of xml-to-array? Given that keys aren't guaranteed to be unique, I think what you're seeing there makes sense. Otherwise you'll stand the chance of losing data in translation. If you don't convert to a numeric form with a concordance, as Trevor has done, I don't see you you could possibly convert this xml to an array: com.plexapp.agents.none com.plexapp.agents.localmedia -- Mark Wieder ahsoftware at gmail.com From terry.judd at unimelb.edu.au Tue Jul 2 21:44:21 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 3 Jul 2019 01:44:21 +0000 Subject: XML To Array In-Reply-To: <6b0472a1-a2fd-6cea-74a4-ce258d2d889e@sonic.net> References: <4D5DE740-5FA0-4A01-94BB-73B6EEDCA23D@iotecdigital.com> <6b0472a1-a2fd-6cea-74a4-ce258d2d889e@sonic.net> Message-ID: <4AB8E5A9-79FC-435B-81CB-17CF084F15C5@unimelb.edu.au> So admittedly I have modified Trevor's code a bit (mainly so I don't get the @ symbols associated with parameters but also so that instead of ["someNode[1]"] I get ["someNode"][1], but for me that XML snippet creates an array that looks like... ["combine"]["class"] = TV_show ["combine"]["sources"]["agent"][1] = com.plexapp.agents.none ["combine"]["sources"]["agent"][2] = com.plexapp.agents.localmedia ...which seems ok? Terry... ?On 3/7/19, 9:17 am, "use-livecode on behalf of Mark Wieder via use-livecode" wrote: What are you hoping to get out of xml-to-array? Given that keys aren't guaranteed to be unique, I think what you're seeing there makes sense. Otherwise you'll stand the chance of losing data in translation. If you don't convert to a numeric form with a concordance, as Trevor has done, I don't see you you could possibly convert this xml to an array: com.plexapp.agents.none com.plexapp.agents.localmedia -- 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 tom at makeshyft.com Wed Jul 3 00:28:07 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 3 Jul 2019 00:28:07 -0400 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: References: <5D1BB8A1.4030407@sonasoftware.com> Message-ID: https://revolution.screenstepslive.com/s/revolution/m/10695/l/563371-signing-installers-you-create-with-inno-setup Is this the most up to date tutorial? On Tue, Jul 2, 2019 at 6:30 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Unless your machine has something viral on it, likely a false positive, > a regular occurrence among AV packages. > > Code signing seems to provide sufficient comfort for many AV packages, > though not sure why that's the case given known instances of stolen > credentials. > > While you're doing the many extra steps we'd all love to see in the > Standalone Builder but still aren't there, it would be helpful to also > drop a note to Symentec so they can appropriately update their latest > filters to exclude LC-borne standalones. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Wed Jul 3 00:29:35 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 3 Jul 2019 00:29:35 -0400 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: References: <5D1BB8A1.4030407@sonasoftware.com> Message-ID: Sorry wrong link, here is the right one for windows. https://revolution.screenstepslive.com/s/revolution/m/10695/l/563366-purchasing-a-code-signing-certificate-for-windows-from-tucows On Wed, Jul 3, 2019 at 12:28 AM Tom Glod wrote: > > https://revolution.screenstepslive.com/s/revolution/m/10695/l/563371-signing-installers-you-create-with-inno-setup > > Is this the most up to date tutorial? > > On Tue, Jul 2, 2019 at 6:30 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Unless your machine has something viral on it, likely a false positive, >> a regular occurrence among AV packages. >> >> Code signing seems to provide sufficient comfort for many AV packages, >> though not sure why that's the case given known instances of stolen >> credentials. >> >> While you're doing the many extra steps we'd all love to see in the >> Standalone Builder but still aren't there, it would be helpful to also >> drop a note to Symentec so they can appropriately update their latest >> filters to exclude LC-borne standalones. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From iphonelagi at gmail.com Wed Jul 3 06:18:38 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 3 Jul 2019 11:18:38 +0100 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: <5D1BB8A1.4030407@sonasoftware.com> References: <5D1BB8A1.4030407@sonasoftware.com> Message-ID: Easily fixed - remove Symantec - the biggest load of @*&^%$ Malware out there. Blocks reports (well years ago it did) that were loaded as new processes from two of the largest accountants financial systems in uk. slows down processing , tells me how good it's been by blocking 15 trillion attacks in the last 2 days ..... Blocked connection when it felt like it on working accounting systems , I could go on. The best Antivirus is between your ears - but a lot of people don't seem to use that one. I only use Microsoft Security and that is switched off more than on, especially when using LC. I haven't had antivirus on my Macs for years and no problems. A quick trip to virustotal.com is all it needs. YMMV because you don't know what sites users will go on. Lagi On Tue, 2 Jul 2019 at 21:04, Curt Ford via use-livecode < use-livecode at lists.runrev.com> wrote: > A client has reported that a small utility I've made for him is being > blocked by Symantec on his Windows machine. We haven't had this issue > before with an earlier version of the same utility, but now he gets this > report: > > "Threat type: Insight Network Threat. There are many indications that > this file is untrustworthy and therefore not safe > ____________________________ > > f_003294 Threat name: WS.Reputation.1 > > Locate > > Very Few Users > > Fewer than 5 users in the Symantec Community have used this file. > > Very New > > This file was released less than 1 week ago. > > Medium > > This file risk is medium." > > Would code signing it somehow help? Any suggestions? > > Thanks! > > 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 benr_mc at cogapp.com Wed Jul 3 06:24:08 2019 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 3 Jul 2019 11:24:08 +0100 Subject: building to iOS 5.1 Message-ID: <2825fc59-304a-99db-d249-5a5ee1fafac6@cogapp.com> I have an iPad 1 which I could save from the e-wasteheap if I could build a simple app for it. My current install of LiveCode will only build back to iOS 8 (enough to do something useful for my iPad 2!). The splendid https://livecode.com/docs/9-0-4/faq/faq/#what-version-of-livecode-works-with-which-version-of-xcode-ios only goes back to iOS 6.0; but of course at one time it was possible to use LiveCode to build apps for iOS 5. I'm not sure what the limiting factors are: do I need earlier version of LiveCode, of Xcode, of MacOS, or all three? To save me endless miserable experimentation, does anyone know the answer? Is anyone else currently set up to do this? TIA, Ben From dvglasgow at gmail.com Wed Jul 3 06:28:44 2019 From: dvglasgow at gmail.com (David V Glasgow) Date: Wed, 3 Jul 2019 11:28:44 +0100 Subject: Do variable vs field as AppleScript In-Reply-To: <51df1ab9-8289-92bd-f3cb-c3e3002a81c1@gmail.com> References: <1561564232700-0.post@n4.nabble.com> <358040538.270363.1561753015448@mail.yahoo.com> <1561753884793-0.post@n4.nabble.com> <1561929665537-0.post@n4.nabble.com> <358153A2-57B6-4D81-AC96-93319B7FFF46@iotecdigital.com> <51df1ab9-8289-92bd-f3cb-c3e3002a81c1@gmail.com> Message-ID: <6F67A880-00E0-46F7-A7FE-4A93B0CA4F04@gmail.com> I have a script which in the fullness of time will repeatedly (several hundred times) run a list of commands as an Applescript. It will take a fair bit of time to loop through because each iteration involves speech recognition. My question is, will there be any meaningful speed advantage to storing the AppleScript in a variable rather than field? This doesn?t mean finishing all 340 iterations faster, because the slowdown is the human thinking about the question and giving a response. I?m thinking about a bit more responsivity from tell application "SpeechRecognitionServer" local tresult, choicesLanguageModel, titem set choicesLanguageModel to {"false", "slightly true", "mainly true", "very true"} set tPrompt to "item 6" set tresult to listen for choicesLanguageModel with prompt tPrompt giving up after 30 say tresult return tresult end tell (I should say that the line "set tPrompt to "item 6?? looks a bit weird because it is incremented under script control, and when that happens the indent is lost.) I know I could test, but if someone just knows?. Cheers David Glasgow From merakosp at gmail.com Wed Jul 3 06:38:07 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 3 Jul 2019 13:38:07 +0300 Subject: building to iOS 5.1 In-Reply-To: <2825fc59-304a-99db-d249-5a5ee1fafac6@cogapp.com> References: <2825fc59-304a-99db-d249-5a5ee1fafac6@cogapp.com> Message-ID: Hello Ben, You can definitely build an app for the iPad 1 in LC 7.1.4, and probably (? don't remember now) in some early versions of LC 8.x. Just make sure you choose "5.1.1 or later" in the iOS standalone settings, and check the checkbox "build 32bit slice only" The version of Xcode you'll need with LC 7.1.4 depends on the version of your MacOS: LiveCode 7.1.4 Xcode 7.2 Mac OS 10.10 LiveCode 7.1.4 Xcode 7.3 Mac OS 10.11 If you are on a newer MacOS, I am not sure if you will be able to install Xcode 7.2 or 7.3. Hope this helps, Panos -- On Wed, 3 Jul 2019 at 13:24, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > I have an iPad 1 which I could save from the e-wasteheap if I could build > a > simple app for it. > > My current install of LiveCode will only build back to iOS 8 (enough to do > something useful for my iPad 2!). > > The splendid > > https://livecode.com/docs/9-0-4/faq/faq/#what-version-of-livecode-works-with-which-version-of-xcode-ios > > only goes back to iOS 6.0; but of course at one time it was possible to > use > LiveCode to build apps for iOS 5. > > I'm not sure what the limiting factors are: do I need earlier version of > LiveCode, of Xcode, of MacOS, or all three? > > To save me endless miserable experimentation, does anyone know the answer? > Is > anyone else currently set up to do this? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Wed Jul 3 07:10:32 2019 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 3 Jul 2019 12:10:32 +0100 Subject: building to iOS 5.1 In-Reply-To: References: <2825fc59-304a-99db-d249-5a5ee1fafac6@cogapp.com> Message-ID: That's great, thank you Panos. Ben On 03/07/2019 11:38, panagiotis merakos wrote: > Hello Ben, > > You can definitely build an app for the iPad 1 in LC 7.1.4, and probably (? > don't remember now) in some early versions of LC 8.x. > > Just make sure you choose "5.1.1 or later" in the iOS standalone settings, and > check the checkbox "build 32bit slice only" > > The version of Xcode you'll need with LC 7.1.4 depends on the version of your > MacOS: > > LiveCode 7.1.4 Xcode 7.2 Mac OS 10.10 > LiveCode 7.1.4 Xcode 7.3 Mac OS 10.11 > > > If you are on a newer MacOS, I am not sure if you will be able to install > Xcode 7.2 or 7.3. > > Hope this helps, > Panos > -- > > > > On Wed, 3 Jul 2019 at 13:24, Ben Rubinstein via use-livecode > > wrote: > > I have an iPad 1 which I could save from the e-wasteheap if I could build a > simple app for it. > > My current install of LiveCode will only build back to iOS 8 (enough to do > something useful for my iPad 2!). > > The splendid > https://livecode.com/docs/9-0-4/faq/faq/#what-version-of-livecode-works-with-which-version-of-xcode-ios > > only goes back to iOS 6.0; but of course at one time it was possible to use > LiveCode to build apps for iOS 5. > > I'm not sure what the limiting factors are: do I need earlier version of > LiveCode, of Xcode, of MacOS, or all three? > > To save me endless miserable experimentation, does anyone know the answer? Is > anyone else currently set up to do this? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dalton.calford at gmail.com Wed Jul 3 10:42:50 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Wed, 3 Jul 2019 10:42:50 -0400 Subject: Livecode ODBC connection without DSN? Message-ID: Is it possible to connect to a database without a predefined DSN using the livecode database connector? best regards Dalton From bobsneidar at iotecdigital.com Wed Jul 3 10:44:39 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 3 Jul 2019 14:44:39 +0000 Subject: XML To Array In-Reply-To: <6b0472a1-a2fd-6cea-74a4-ce258d2d889e@sonic.net> References: <4D5DE740-5FA0-4A01-94BB-73B6EEDCA23D@iotecdigital.com> <6b0472a1-a2fd-6cea-74a4-ce258d2d889e@sonic.net> Message-ID: Oh good point. Didn't think about duplicates. Obviously I don't really understand xml too well. I've been thinking of it as a text representation of a database where unique keys would be maintained somehow. What I was hoping to do was take known SMB registrations from a Konica and integrate them into the XML file Toshiba uses to export/import those registrations. I was hoping to convery to an array, which I know how to manipulate, add the entries, then convert back to an XML file for import. Bob S > On Jul 2, 2019, at 16:16 , Mark Wieder via use-livecode wrote: > >> Hi all. >> I'm revisiting converting XML to Array. Toshiba has an export file for their scan templates in XML format. It's pretty complicated as you can imagine. I was hoping that I could use Trevor's XML to Array functions to get nodes that look something like: >> JobTemplates >> GroupList >> Group1 >> Template1 >> Template2 >> Template3... >> Group2 >> Template1 >> Template2... > > What are you hoping to get out of xml-to-array? Given that keys aren't guaranteed to be unique, I think what you're seeing there makes sense. Otherwise you'll stand the chance of losing data in translation. If you don't convert to a numeric form with a concordance, as Trevor has done, I don't see you you could possibly convert this xml to an array: > > > > com.plexapp.agents.none > com.plexapp.agents.localmedia > > > > -- > Mark Wieder > ahsoftware at gmail.com From bobsneidar at iotecdigital.com Wed Jul 3 10:52:54 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 3 Jul 2019 14:52:54 +0000 Subject: Livecode ODBC connection without DSN? In-Reply-To: References: Message-ID: Not to my mind as ODBC relies upon an intermediary service to actually make the connection. I don't use ODBC mainly because I would typically have to purchase an agent for whatever database engine I am trying to connect to, and that has typically been a non-starter for any in house projects I want to use. That being said, I believe it is the only way Livecode can communicate with a Microsoft SQL server, as well as Access, FoxPro, Excel etc. Bob S > On Jul 3, 2019, at 07:42 , Dalton Calford via use-livecode wrote: > > Is it possible to connect to a database without a predefined DSN using the > livecode database connector? > > best regards > > Dalton From bobsneidar at iotecdigital.com Wed Jul 3 10:55:39 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 3 Jul 2019 14:55:39 +0000 Subject: Do variable vs field as AppleScript In-Reply-To: <6F67A880-00E0-46F7-A7FE-4A93B0CA4F04@gmail.com> References: <1561564232700-0.post@n4.nabble.com> <358040538.270363.1561753015448@mail.yahoo.com> <1561753884793-0.post@n4.nabble.com> <1561929665537-0.post@n4.nabble.com> <358153A2-57B6-4D81-AC96-93319B7FFF46@iotecdigital.com> <51df1ab9-8289-92bd-f3cb-c3e3002a81c1@gmail.com> <6F67A880-00E0-46F7-A7FE-4A93B0CA4F04@gmail.com> Message-ID: <0D88AF5F-DCDA-4ECA-8934-4827930B48D0@iotecdigital.com> Relative to the speech recognition, and there only being several hundred iterations, I would say hardly. if it added 20 milliseconds to a process that takes many tens of minutes (I suspect the speech has to be uttered in real time) I hardly call that a delay. Bob S > On Jul 3, 2019, at 03:28 , David V Glasgow via use-livecode wrote: > > I have a script which in the fullness of time will repeatedly (several hundred times) run a list of commands as an Applescript. It will take a fair bit of time to loop through because each iteration involves speech recognition. > > My question is, will there be any meaningful speed advantage to storing the AppleScript in a variable rather than field? This doesn?t mean finishing all 340 iterations faster, because the slowdown is the human thinking about the question and giving a response. I?m thinking about a bit more responsivity from > > tell application "SpeechRecognitionServer" > local tresult, choicesLanguageModel, titem > set choicesLanguageModel to {"false", "slightly true", "mainly true", "very true"} > set tPrompt to "item 6" > set tresult to listen for choicesLanguageModel with prompt tPrompt giving up after 30 > say tresult > return tresult > end tell > > (I should say that the line "set tPrompt to "item 6?? looks a bit weird because it is incremented under script control, and when that happens the indent is lost.) > > I know I could test, but if someone just knows?. > > Cheers > > David Glasgow From bobsneidar at iotecdigital.com Wed Jul 3 11:07:39 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 3 Jul 2019 15:07:39 +0000 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: References: <5D1BB8A1.4030407@sonasoftware.com> Message-ID: <746131E8-D6D1-4942-A18B-3405EC4A1EB5@iotecdigital.com> Leo Laporte host of The Tech Guy radio show and numerous podcasts on all things tech, has repeatedly stated that he thinks Microsoft's built in protection Defender is quite good. That being said, no one solution is a catch all. We use Kaspersky for endpoint protection as the business version has a server that makes deployment automatic and provides a great many benefits beyond just malware protection. We also have an antimalware subscription running on our edge router, and we use Microsoft Online Protection for our spam/malware blocker. Anything that can run that gauntlet I tip my hat to. Bob S > On Jul 3, 2019, at 03:18 , Lagi Pittas via use-livecode wrote: > > Easily fixed - remove Symantec - the biggest load of @*&^%$ Malware out > there. > Blocks reports (well years ago it did) that were loaded as new processes > from two of the largest accountants financial systems in uk. > slows down processing , tells me how good it's been by blocking 15 trillion > attacks in the last 2 days ..... Blocked connection when it felt like it on > working accounting systems , I could go on. > > The best Antivirus is between your ears - but a lot of people don't seem to > use that one. > > I only use Microsoft Security and that is switched off more than on, > especially when using LC. I haven't had antivirus on > my Macs for years and no problems. > > A quick trip to virustotal.com is all it needs. YMMV because you don't know > what sites users will go on. > > Lagi From matthias_livecode_150811 at m-r-d.de Wed Jul 3 11:09:42 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 3 Jul 2019 17:09:42 +0200 Subject: Livecode ODBC connection without DSN? In-Reply-To: References: Message-ID: <894C239E-7974-4778-932F-8067E74B1E65@m-r-d.de> Hi Dalton, yes it is. You can use SQL Connection strings for it. But in any case you?ll need to have ODBC drivers installed. This here is an old script i used to query the installed Windows ODBC drivers and do the connection with Connection strings. It?s old and was registry check was used under Windows 32bit. But the Connectionstrings still should do with one exception. This does not work with new versions of LC on Mac. The latest Mac version which worked with SQL Connection strings was 6.7.11. Here?s the bug report from 2016 https://quality.livecode.com/show_bug.cgi?id=18151 And here?s the script -- connection strings Win/Mac with check which Windows SQL ODBC drivers are installed switch the platform case "MacOS" get revOpenDatabase("ODBC","Driver={Actual SQL Server};Server=192.168.1.250;Database=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;",,,) break case "Win32" put listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") into tOdbcDrivers switch case "SQL Server Native Client 11.0" is in tOdbcDrivers get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client 11.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) break case "SQL Server Native Client 10.0" is in tOdbcDrivers get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client 10.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) break case "SQL Server" is in tOdbcDrivers get revOpenDatabase("ODBC","DRIVER={SQL Server};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) break end switch break end switch Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 03.07.2019 um 16:42 schrieb Dalton Calford via use-livecode >: > > Is it possible to connect to a database without a predefined DSN using the > livecode database connector? > > best regards > > Dalton > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dalton.calford at gmail.com Wed Jul 3 11:13:04 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Wed, 3 Jul 2019 11:13:04 -0400 Subject: Livecode ODBC connection without DSN? In-Reply-To: References: Message-ID: Hi Bob, This is a shame that this not is part of the ODBC implementation in Livecode. Many different languages allow for passing all the dsn information in the connection string. For example, DRIVER={Microsoft Access Driver (*.mdb)};DBQ=C:\path\to\eft.mdb; or Provider=MSDASQL;DRIVER={MySQL ODBC 3.51 Driver};SERVER=10.10.10.1;DATABASE=Example;UID=myusername;PWD=mypassword; Most of the drivers I use are opensource and don't require a fee, but even if they did, I would gladly pay if they gave my clients connectivity (as long as the price is reasonable). Does anyone have a pointer to where in the opensource codebase for livecode, I can find the revopendatabase and associated libraries? I have not had time to download/review the codebase and it would be helpful to get an idea of where the code is and a pointer to any possible documentation for when I start investigating it. best regards Dalton On Wed, 3 Jul 2019 at 10:53, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Not to my mind as ODBC relies upon an intermediary service to actually > make the connection. I don't use ODBC mainly because I would typically have > to purchase an agent for whatever database engine I am trying to connect > to, and that has typically been a non-starter for any in house projects I > want to use. > > That being said, I believe it is the only way Livecode can communicate > with a Microsoft SQL server, as well as Access, FoxPro, Excel etc. > > Bob S > > > > On Jul 3, 2019, at 07:42 , Dalton Calford via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Is it possible to connect to a database without a predefined DSN using > the > > livecode database connector? > > > > best regards > > > > Dalton > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dalton.calford at gmail.com Wed Jul 3 11:22:35 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Wed, 3 Jul 2019 11:22:35 -0400 Subject: Livecode ODBC connection without DSN? In-Reply-To: <894C239E-7974-4778-932F-8067E74B1E65@m-r-d.de> References: <894C239E-7974-4778-932F-8067E74B1E65@m-r-d.de> Message-ID: Wonderful! Thanks Matthias! I can ensure the ODBC drivers are in, that is not an issue. Most of my testing will be for linux anyways. Best regards Dalton On Wed, 3 Jul 2019 at 11:09, Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Dalton, > > yes it is. You can use SQL Connection strings for it. But in any case > you?ll need to have ODBC drivers installed. > > This here is an old script i used to query the installed Windows ODBC > drivers and do the connection with Connection strings. > It?s old and was registry check was used under Windows 32bit. But the > Connectionstrings still should do with one exception. > > This does not work with new versions of LC on Mac. The latest Mac version > which worked with SQL Connection strings was 6.7.11. > Here?s the bug report from 2016 > https://quality.livecode.com/show_bug.cgi?id=18151 < > https://quality.livecode.com/show_bug.cgi?id=18151> > > > And here?s the script > -- connection strings Win/Mac with check which Windows SQL ODBC drivers > are installed > > switch the platform > > case "MacOS" > > get revOpenDatabase("ODBC","Driver={Actual SQL > Server};Server=192.168.1.250;Database=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;",,,) > > break > > case "Win32" > > put listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") into > tOdbcDrivers > > switch > > case "SQL Server Native Client 11.0" is in tOdbcDrivers > > get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client > 11.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) > > break > > case "SQL Server Native Client 10.0" is in tOdbcDrivers > > get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client > 10.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) > > break > > case "SQL Server" is in tOdbcDrivers > > get revOpenDatabase("ODBC","DRIVER={SQL > Server};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) > > break > > end switch > > break > > end switch > > Regards, > > Matthias > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > > Am 03.07.2019 um 16:42 schrieb Dalton Calford via use-livecode < > use-livecode at lists.runrev.com >: > > > > Is it possible to connect to a database without a predefined DSN using > the > > livecode database connector? > > > > best regards > > > > Dalton > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dalton.calford at gmail.com Wed Jul 3 11:28:16 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Wed, 3 Jul 2019 11:28:16 -0400 Subject: Elevating User Rights of Livecode on Linux Message-ID: I am looking to read/write odbc settings from within livecode, but due to user rights, I want to allow for sudoer style rights elevation. Is there a way to present the user with a dialog asking for password from within livecode? best regards Dalton From alain.vezina at logilangue.com Wed Jul 3 11:30:04 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Wed, 3 Jul 2019 11:30:04 -0400 Subject: I am no longer an Apple developer Message-ID: Since the first of July, I have managed to get out of Apple's clutches. Since 2008, I have released eight applications for Mac, iPad and iPhone. I worked hard to meet Apple's many requirements, which changed far too often, not to mention the iOS system changes. The last one, 12.x, made all my applications no longer work on an iPad or iPhone. Now I am working hard to ensure that these applications can be used via a browser using HTML5 from LiveCode. Unfortunately, I am delayed by bugs and a lack of clear documentation. For example, I would like to know which folders or files I need to compress with gZip to make the download faster. If some of you are experts in HTML5, I would like to know them; maybe we could form a self-help club... Alain Vezina Logilague Translated with www.DeepL.com/Translator From dalton.calford at gmail.com Wed Jul 3 11:38:16 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Wed, 3 Jul 2019 11:38:16 -0400 Subject: I am no longer an Apple developer In-Reply-To: References: Message-ID: Hi Alain, I am not a Livecode HTML developer, although I am quite knowledgeable about html 5. I know many different ways to optimize web sites including the use of progressive jpeg, setting up and using a cdn, file compression types/implementations etc. As I don't know how livecode's HTML is generated, I don't know how much use I may be to you. best regards Dalton On Wed, 3 Jul 2019 at 11:30, Alain Vezina via use-livecode < use-livecode at lists.runrev.com> wrote: > Since the first of July, I have managed to get out of Apple's clutches. > Since 2008, I have released eight applications for Mac, iPad and iPhone. I > worked hard to meet Apple's many requirements, which changed far too often, > not to mention the iOS system changes. The last one, 12.x, made all my > applications no longer work on an iPad or iPhone. > > Now I am working hard to ensure that these applications can be used via a > browser using HTML5 from LiveCode. Unfortunately, I am delayed by bugs and > a lack of clear documentation. > > For example, I would like to know which folders or files I need to > compress with gZip to make the download faster. If some of you are experts > in HTML5, I would like to know them; maybe we could form a self-help club... > > Alain Vezina > Logilague > > Translated with www.DeepL.com/Translator > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 3 11:41:41 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 3 Jul 2019 15:41:41 +0000 Subject: Livecode ODBC connection without DSN? In-Reply-To: References: <894C239E-7974-4778-932F-8067E74B1E65@m-r-d.de> Message-ID: <57885101-7F4F-436A-9F10-601572B4E91B@iotecdigital.com> Maybe a little more useful as a complete function: function dbConnectODBCByString pServer, pDatabase, pUser, pPasswd switch the platform case "MacOS" get revOpenDatabase("ODBC","Driver={Actual SQLServer};Server=" & pServer & ";Database=pDataBase;UID=" & pUser & ";PWD= & pPasswd & ";",,,) break case "Win32" put listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") into tOdbcDrivers switch case "SQL Server Native Client 11.0" is in tOdbcDrivers get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client11.0};SERVER=" & pServer & ";DATABASE=pDataBase;UID=" & pUser & ";PWD=" & pPasswd & ";Trusted_Connection=No",,,) break case "SQL Server Native Client 10.0" is in tOdbcDrivers get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client10.0};SERVER=" & pServer & ";DATABASE=pDataBase;UID=" & pUser & ";PWD=" & pPasswd & ";Trusted_Connection=No",,,) break case "SQL Server" is in tOdbcDrivers get revOpenDatabase("ODBC","DRIVER={SQLServer};SERVER=" & pServer & ";DATABASE=pDataBase;UID=" & pUser & ";PWD=" & pPasswd & ";Trusted_Connection=No",,,) break end switch break end switch return it end dbConnectODBCByString Bob S > On Jul 3, 2019, at 08:22 , Dalton Calford via use-livecode wrote: > > Wonderful! Thanks Matthias! > > I can ensure the ODBC drivers are in, that is not an issue. Most of my > testing will be for linux anyways. > > Best regards > > Dalton > > > On Wed, 3 Jul 2019 at 11:09, Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Dalton, >> >> yes it is. You can use SQL Connection strings for it. But in any case >> you?ll need to have ODBC drivers installed. >> >> This here is an old script i used to query the installed Windows ODBC >> drivers and do the connection with Connection strings. >> It?s old and was registry check was used under Windows 32bit. But the >> Connectionstrings still should do with one exception. >> >> This does not work with new versions of LC on Mac. The latest Mac version >> which worked with SQL Connection strings was 6.7.11. >> Here?s the bug report from 2016 >> https://quality.livecode.com/show_bug.cgi?id=18151 < >> https://quality.livecode.com/show_bug.cgi?id=18151> >> >> >> And here?s the script >> -- connection strings Win/Mac with check which Windows SQL ODBC drivers >> are installed >> >> switch the platform >> >> case "MacOS" >> >> get revOpenDatabase("ODBC","Driver={Actual SQL >> Server};Server=192.168.1.250;Database=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;",,,) >> >> break >> >> case "Win32" >> >> put listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") into >> tOdbcDrivers >> >> switch >> >> case "SQL Server Native Client 11.0" is in tOdbcDrivers >> >> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client >> 11.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) >> >> break >> >> case "SQL Server Native Client 10.0" is in tOdbcDrivers >> >> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client >> 10.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) >> >> break >> >> case "SQL Server" is in tOdbcDrivers >> >> get revOpenDatabase("ODBC","DRIVER={SQL >> Server};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) >> >> break >> >> end switch >> >> break >> >> end switch >> >> Regards, >> >> Matthias >> >> >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de >> https://winsignhelper.dermattes.de >>> Am 03.07.2019 um 16:42 schrieb Dalton Calford via use-livecode < >> use-livecode at lists.runrev.com >: >>> >>> Is it possible to connect to a database without a predefined DSN using >> the >>> livecode database connector? >>> >>> best regards >>> >>> Dalton >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 3 11:45:05 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 3 Jul 2019 08:45:05 -0700 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: <746131E8-D6D1-4942-A18B-3405EC4A1EB5@iotecdigital.com> References: <746131E8-D6D1-4942-A18B-3405EC4A1EB5@iotecdigital.com> Message-ID: <7eb5d235-1b9c-2469-b458-b7861ec6d32b@fourthworld.com> Bob Sneidar wrote: > That being said, no one solution is a catch all. We use Kaspersky... Russians have a very good reputation for technical achievement, but large Russian companies exist in an environment that often requires compromising their business objectives to serve the goals of the Kremlin. Kaspersky Lab Antivirus Software Is Ordered Off U.S. Government Computers https://www.nytimes.com/2017/09/13/us/politics/kaspersky-lab-antivirus-federal-government.html FBI pushes private sector to cut ties with Kaspersky https://www.cyberscoop.com/fbi-kaspersky-private-sector-briefings-yarovaya-laws/ In this new era of information warfare, extreme caution is advised. -- 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 jjs at krutt.org Wed Jul 3 11:47:39 2019 From: jjs at krutt.org (JJS) Date: Wed, 3 Jul 2019 17:47:39 +0200 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: <7eb5d235-1b9c-2469-b458-b7861ec6d32b@fourthworld.com> References: <746131E8-D6D1-4942-A18B-3405EC4A1EB5@iotecdigital.com> <7eb5d235-1b9c-2469-b458-b7861ec6d32b@fourthworld.com> Message-ID: <6a6e3453-1aa2-91c2-ec0c-ef1a3e90f67e@krutt.org> Kaspersky has moved their headquarters to Switserland for that reason, as they claim to have nothing to do with the Kremlin. As far as i have read somewhere a time ago. Op 3-7-2019 om 17:45 schreef Richard Gaskin via use-livecode: > Bob Sneidar wrote: > > > That being said, no one solution is a catch all. We use Kaspersky... > > Russians have a very good reputation for technical achievement, but > large Russian companies exist in an environment that often requires > compromising their business objectives to serve the goals of the Kremlin. > > > Kaspersky Lab Antivirus Software Is Ordered Off U.S. Government Computers > https://www.nytimes.com/2017/09/13/us/politics/kaspersky-lab-antivirus-federal-government.html > > > > FBI pushes private sector to cut ties with Kaspersky > https://www.cyberscoop.com/fbi-kaspersky-private-sector-briefings-yarovaya-laws/ > > > > In this new era of information warfare, extreme caution is advised. > From dalton.calford at gmail.com Wed Jul 3 11:54:17 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Wed, 3 Jul 2019 11:54:17 -0400 Subject: Livecode ODBC connection without DSN? In-Reply-To: <57885101-7F4F-436A-9F10-601572B4E91B@iotecdigital.com> References: <894C239E-7974-4778-932F-8067E74B1E65@m-r-d.de> <57885101-7F4F-436A-9F10-601572B4E91B@iotecdigital.com> Message-ID: Thanks Bob, very helpful. On Wed, 3 Jul 2019 at 11:42, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Maybe a little more useful as a complete function: > > function dbConnectODBCByString pServer, pDatabase, pUser, pPasswd > switch the platform > case "MacOS" > get revOpenDatabase("ODBC","Driver={Actual SQLServer};Server=" & > pServer & ";Database=pDataBase;UID=" & pUser & ";PWD= & pPasswd & ";",,,) > break > case "Win32" > put > listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") into > tOdbcDrivers > switch > case "SQL Server Native Client 11.0" is in tOdbcDrivers > get revOpenDatabase("ODBC","DRIVER={SQL Server Native > Client11.0};SERVER=" & pServer & ";DATABASE=pDataBase;UID=" & pUser & > ";PWD=" & pPasswd & ";Trusted_Connection=No",,,) > break > case "SQL Server Native Client 10.0" is in tOdbcDrivers > get revOpenDatabase("ODBC","DRIVER={SQL Server Native > Client10.0};SERVER=" & pServer & ";DATABASE=pDataBase;UID=" & pUser & > ";PWD=" & pPasswd & ";Trusted_Connection=No",,,) > break > case "SQL Server" is in tOdbcDrivers > get revOpenDatabase("ODBC","DRIVER={SQLServer};SERVER=" & > pServer & ";DATABASE=pDataBase;UID=" & pUser & ";PWD=" & pPasswd & > ";Trusted_Connection=No",,,) > break > end switch > break > end switch > return it > end dbConnectODBCByString > > Bob S > > > > On Jul 3, 2019, at 08:22 , Dalton Calford via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Wonderful! Thanks Matthias! > > > > I can ensure the ODBC drivers are in, that is not an issue. Most of my > > testing will be for linux anyways. > > > > Best regards > > > > Dalton > > > > > > On Wed, 3 Jul 2019 at 11:09, Matthias Rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hi Dalton, > >> > >> yes it is. You can use SQL Connection strings for it. But in any case > >> you?ll need to have ODBC drivers installed. > >> > >> This here is an old script i used to query the installed Windows ODBC > >> drivers and do the connection with Connection strings. > >> It?s old and was registry check was used under Windows 32bit. But the > >> Connectionstrings still should do with one exception. > >> > >> This does not work with new versions of LC on Mac. The latest Mac > version > >> which worked with SQL Connection strings was 6.7.11. > >> Here?s the bug report from 2016 > >> https://quality.livecode.com/show_bug.cgi?id=18151 < > >> https://quality.livecode.com/show_bug.cgi?id=18151> > >> > >> > >> And here?s the script > >> -- connection strings Win/Mac with check which Windows SQL ODBC drivers > >> are installed > >> > >> switch the platform > >> > >> case "MacOS" > >> > >> get revOpenDatabase("ODBC","Driver={Actual SQL > >> > Server};Server=192.168.1.250;Database=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;",,,) > >> > >> break > >> > >> case "Win32" > >> > >> put listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") into > >> tOdbcDrivers > >> > >> switch > >> > >> case "SQL Server Native Client 11.0" is in tOdbcDrivers > >> > >> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client > >> > 11.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) > >> > >> break > >> > >> case "SQL Server Native Client 10.0" is in tOdbcDrivers > >> > >> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client > >> > 10.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) > >> > >> break > >> > >> case "SQL Server" is in tOdbcDrivers > >> > >> get revOpenDatabase("ODBC","DRIVER={SQL > >> > Server};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,) > >> > >> break > >> > >> end switch > >> > >> break > >> > >> end switch > >> > >> Regards, > >> > >> Matthias > >> > >> > >> > >> Matthias Rebbe > >> > >> free tools for Livecoders: > >> https://instamaker.dermattes.de > >> https://winsignhelper.dermattes.de > > >>> Am 03.07.2019 um 16:42 schrieb Dalton Calford via use-livecode < > >> use-livecode at lists.runrev.com >: > >>> > >>> Is it possible to connect to a database without a predefined DSN using > >> the > >>> livecode database connector? > >>> > >>> best regards > >>> > >>> Dalton > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 3 11:58:11 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 3 Jul 2019 08:58:11 -0700 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: <6a6e3453-1aa2-91c2-ec0c-ef1a3e90f67e@krutt.org> References: <6a6e3453-1aa2-91c2-ec0c-ef1a3e90f67e@krutt.org> Message-ID: <846d5da7-494e-7786-5d06-2ddbfbdc24fa@fourthworld.com> It's possible that the long history between Kaspersky principals and GRU officials ended when they opened an office in a different country. I recognize such issues are complex, and no intelligence, even corroborated by multiple allies, is perfect. For myself, I do what I can to say on top of threat assessment, and choose my vendors with care. When I'm giving root access to my systems, many of which are entry points to public-facing systems for clients, I avoid even potential risks where I have the opportunity to do so. -- Richard Gaskin Fourth World Systems JJS wrote: > Kaspersky has moved their headquarters to Switserland for that reason, > as they claim to have nothing to do with the Kremlin. > > As far as i have read somewhere a time ago. > > Op 3-7-2019 om 17:45 schreef Richard Gaskin via use-livecode: >> Bob Sneidar wrote: >> >> > That being said, no one solution is a catch all. We use >> > Kaspersky... >> >> Russians have a very good reputation for technical achievement, but >> large Russian companies exist in an environment that often requires >> compromising their business objectives to serve the goals of the >> Kremlin. >> >> >> Kaspersky Lab Antivirus Software Is Ordered Off U.S. Government >> Computers >> https://www.nytimes.com/2017/09/13/us/politics/kaspersky-lab-antivirus-federal-government.html >> >> >> >> FBI pushes private sector to cut ties with Kaspersky >> https://www.cyberscoop.com/fbi-kaspersky-private-sector-briefings-yarovaya-laws/ >> >> >> >> In this new era of information warfare, extreme caution is advised. >> From ahsoftware at sonic.net Wed Jul 3 12:23:08 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 3 Jul 2019 09:23:08 -0700 Subject: XML To Array In-Reply-To: <4AB8E5A9-79FC-435B-81CB-17CF084F15C5@unimelb.edu.au> References: <4D5DE740-5FA0-4A01-94BB-73B6EEDCA23D@iotecdigital.com> <6b0472a1-a2fd-6cea-74a4-ce258d2d889e@sonic.net> <4AB8E5A9-79FC-435B-81CB-17CF084F15C5@unimelb.edu.au> Message-ID: <09d53346-8d7f-4f21-ce5f-984b5314112f@sonic.net> On 7/2/19 6:44 PM, Terry Judd via use-livecode wrote: > So admittedly I have modified Trevor's code a bit (mainly so I don't get the @ symbols associated with parameters but also so that instead of ["someNode[1]"] I get ["someNode"][1], but for me that XML snippet creates an array that looks like... > > ["combine"]["class"] = TV_show > ["combine"]["sources"]["agent"][1] = com.plexapp.agents.none > ["combine"]["sources"]["agent"][2] = com.plexapp.agents.localmedia > > ...which seems ok? Yup - that seems fine as well. Or even better, IMO. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Wed Jul 3 12:28:09 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 3 Jul 2019 09:28:09 -0700 Subject: XML To Array In-Reply-To: References: <4D5DE740-5FA0-4A01-94BB-73B6EEDCA23D@iotecdigital.com> <6b0472a1-a2fd-6cea-74a4-ce258d2d889e@sonic.net> Message-ID: On 7/3/19 7:44 AM, Bob Sneidar via use-livecode wrote: > Oh good point. Didn't think about duplicates. Obviously I don't really understand xml too well. I've been thinking of it as a text representation of a database where unique keys would be maintained somehow. Well, it's not guaranteed that there will be duplicates, but I think if you need to examine each line of the raw xml before converting then you're better off either doing the conversion by hand or leaving the data as xml. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Wed Jul 3 12:41:11 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 3 Jul 2019 09:41:11 -0700 Subject: Elevating User Rights of Livecode on Linux In-Reply-To: References: Message-ID: <860a3470-255b-7246-82d8-62baf3256106@sonic.net> On 7/3/19 8:28 AM, Dalton Calford via use-livecode wrote: > I am looking to read/write odbc settings from within livecode, but due to > user rights, I want to allow for sudoer style rights elevation. > > Is there a way to present the user with a dialog asking for password from > within livecode? sudo -S is your friend. Try something like this: on mouseUp pMouseButton local tCommands local tPassword put "apt update" into tCommands ask password "type your sudo password" put it into tPassword get shell("echo" && tPassword && "| sudo -S" && tCommands) put it into field 1 end mouseUp -- Mark Wieder ahsoftware at gmail.com From dalton.calford at gmail.com Wed Jul 3 12:50:09 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Wed, 3 Jul 2019 12:50:09 -0400 Subject: Elevating User Rights of Livecode on Linux In-Reply-To: <860a3470-255b-7246-82d8-62baf3256106@sonic.net> References: <860a3470-255b-7246-82d8-62baf3256106@sonic.net> Message-ID: Thanks Mark, I was playing with shell() to see if it would work. I am having some path/string issues and can't find a simple example script to show me what I am doing wrong. If I am just using the message box, I can type "put shell(vdir)" and it works perfectly for the default path. If instead I ask "put shell(vdir /etc)" or "put shell('vdir /etc') etc into the message box, all I get is an error. Is the / a special character that needs to be escaped or something else? best regards Dalton On Wed, 3 Jul 2019 at 12:41, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 7/3/19 8:28 AM, Dalton Calford via use-livecode wrote: > > I am looking to read/write odbc settings from within livecode, but due to > > user rights, I want to allow for sudoer style rights elevation. > > > > Is there a way to present the user with a dialog asking for password from > > within livecode? > > sudo -S is your friend. Try something like this: > > on mouseUp pMouseButton > local tCommands > local tPassword > > put "apt update" into tCommands > ask password "type your sudo password" > put it into tPassword > get shell("echo" && tPassword && "| sudo -S" && tCommands) > put it into field 1 > end mouseUp > > -- > 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 dalton.calford at gmail.com Wed Jul 3 12:59:47 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Wed, 3 Jul 2019 12:59:47 -0400 Subject: Elevating User Rights of Livecode on Linux In-Reply-To: References: <860a3470-255b-7246-82d8-62baf3256106@sonic.net> Message-ID: nevermind about the /. Just discovering '' vs "" usage. Still learning livecode and the cheat sheets are not as robust as I would prefer. On Wed, 3 Jul 2019 at 12:50, Dalton Calford wrote: > Thanks Mark, > > I was playing with shell() to see if it would work. I am having some > path/string issues and can't find a simple example script to show me what I > am doing wrong. > > If I am just using the message box, I can type "put shell(vdir)" and it > works perfectly for the default path. If instead I ask "put shell(vdir > /etc)" or "put shell('vdir /etc') etc into the message box, all I get is an > error. Is the / a special character that needs to be escaped or > something else? > > best regards > > Dalton > > On Wed, 3 Jul 2019 at 12:41, Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 7/3/19 8:28 AM, Dalton Calford via use-livecode wrote: >> > I am looking to read/write odbc settings from within livecode, but due >> to >> > user rights, I want to allow for sudoer style rights elevation. >> > >> > Is there a way to present the user with a dialog asking for password >> from >> > within livecode? >> >> sudo -S is your friend. Try something like this: >> >> on mouseUp pMouseButton >> local tCommands >> local tPassword >> >> put "apt update" into tCommands >> ask password "type your sudo password" >> put it into tPassword >> get shell("echo" && tPassword && "| sudo -S" && tCommands) >> put it into field 1 >> end mouseUp >> >> -- >> 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 dochawk at gmail.com Wed Jul 3 19:19:12 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 3 Jul 2019 16:19:12 -0700 Subject: PDF Widget In-Reply-To: <4767D7F4-6BE8-4FDA-80F6-2B7DFAA862E1@appisle.net> References: <2B37C808-F770-41E8-A7C9-90EEE90982D7@gmail.com> <4767D7F4-6BE8-4FDA-80F6-2B7DFAA862E1@appisle.net> Message-ID: <80BDB385-E007-40EF-BF92-5AEA612ADB3B@gmail.com> On Jun 24, 2019, at 3:33 PM, Monte Goulding via use-livecode wrote: > > 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. I?ve just uploaded some files with the core of a solution. Having never gone inside a pdf before today, i converted some a pair of simple postscript files and converted to pdf,  a 3/4 circle to play the role of the raw source pdf, and a box to play the role of whatever other control. I then edit the circle?s file as overlay.1.pdf ( the entire resultant file is in plaintext), defined a clipping path that doesn?t include all of it (representing the region of pdf actually displayed by the widget), and then added in the stream of the box. The trick here is to, rather than drawing the widget, just pass the raw source of the donor pdf into the new one; no need to render at *any* resolution. Printing to pdf already deviates from the printer by passing the text to print rather than a rendering of it; this is just the way to pass the pdf. (OK, I haven?t tried regular printing since 5.0; maybe something changed). ? 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 Wed Jul 3 21:10:42 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 3 Jul 2019 18:10:42 -0700 Subject: Some UX fun Message-ID: <91ab9d75-82f8-9204-4094-c2568a09578f@sonic.net> I got through this, but it took me ten minutes. Anyone else game to play? https://userinyerface.com/ -- Mark Wieder ahsoftware at gmail.com From colinholgate at gmail.com Wed Jul 3 21:35:10 2019 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 3 Jul 2019 19:35:10 -0600 Subject: Some UX fun In-Reply-To: <91ab9d75-82f8-9204-4094-c2568a09578f@sonic.net> References: <91ab9d75-82f8-9204-4094-c2568a09578f@sonic.net> Message-ID: I didn?t get to the point where it was fun. > On Jul 3, 2019, at 7:10 PM, Mark Wieder via use-livecode wrote: > > I got through this, but it took me ten minutes. > Anyone else game to play? > > https://userinyerface.com/ > From MikeKerner at roadrunner.com Wed Jul 3 21:36:43 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Jul 2019 21:36:43 -0400 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: <846d5da7-494e-7786-5d06-2ddbfbdc24fa@fourthworld.com> References: <6a6e3453-1aa2-91c2-ec0c-ef1a3e90f67e@krutt.org> <846d5da7-494e-7786-5d06-2ddbfbdc24fa@fourthworld.com> Message-ID: We had the same problem with our Norton installs having issues with our LC-built apps, even when installing an update to the same app. We never were able to fix it, even with code signing. We still had to go into Norton, find the quarrantine, and whitelist the app. Switching AV was our solution, but I get that you can't tell your customers to do that. On Wed, Jul 3, 2019 at 11:58 AM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > It's possible that the long history between Kaspersky principals and GRU > officials ended when they opened an office in a different country. > > I recognize such issues are complex, and no intelligence, even > corroborated by multiple allies, is perfect. > > For myself, I do what I can to say on top of threat assessment, and > choose my vendors with care. > > When I'm giving root access to my systems, many of which are entry > points to public-facing systems for clients, I avoid even potential > risks where I have the opportunity to do so. > > -- > Richard Gaskin > Fourth World Systems > > > JJS wrote: > > > Kaspersky has moved their headquarters to Switserland for that reason, > > as they claim to have nothing to do with the Kremlin. > > > > As far as i have read somewhere a time ago. > > > > Op 3-7-2019 om 17:45 schreef Richard Gaskin via use-livecode: > >> Bob Sneidar wrote: > >> > >> > That being said, no one solution is a catch all. We use > >> > Kaspersky... > >> > >> Russians have a very good reputation for technical achievement, but > >> large Russian companies exist in an environment that often requires > >> compromising their business objectives to serve the goals of the > >> Kremlin. > >> > >> > >> Kaspersky Lab Antivirus Software Is Ordered Off U.S. Government > >> Computers > >> > > https://www.nytimes.com/2017/09/13/us/politics/kaspersky-lab-antivirus-federal-government.html > > >> > >> > >> > >> FBI pushes private sector to cut ties with Kaspersky > >> > > https://www.cyberscoop.com/fbi-kaspersky-private-sector-briefings-yarovaya-laws/ > > >> > >> > >> > >> In this new era of information warfare, extreme caution is advised. > >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Jul 3 22:34:31 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Wed, 3 Jul 2019 20:34:31 -0600 Subject: Some UX fun In-Reply-To: <91ab9d75-82f8-9204-4094-c2568a09578f@sonic.net> References: <91ab9d75-82f8-9204-4094-c2568a09578f@sonic.net> Message-ID: <45270510-7B94-4CD1-A1E4-73B02BB74026@swcp.com> It is like one of those movies where one has a nightmare, but wakes up and repents, vowing to never write a bad user interface again, donating time to build beautiful GUIs for little apps whose GUIs were disfigured by the actions of roving gangs of depressed designers. > On Jul 3, 2019, at 7:10 PM, Mark Wieder via use-livecode wrote: > > I got through this, but it took me ten minutes. > Anyone else game to play? > > https://userinyerface.com/ > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Jul 3 22:50:08 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jul 2019 21:50:08 -0500 Subject: Some UX fun In-Reply-To: <91ab9d75-82f8-9204-4094-c2568a09578f@sonic.net> References: <91ab9d75-82f8-9204-4094-c2568a09578f@sonic.net> Message-ID: <16bbae39f00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Couldn't do it. What do you get if you finish? I'm with Dar, only the nightmare is real. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 3, 2019 8:12:24 PM Mark Wieder via use-livecode wrote: > I got through this, but it took me ten minutes. > Anyone else game to play? > > https://userinyerface.com/ > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Jul 3 22:57:58 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 3 Jul 2019 19:57:58 -0700 Subject: Some UX fun In-Reply-To: <45270510-7B94-4CD1-A1E4-73B02BB74026@swcp.com> References: <91ab9d75-82f8-9204-4094-c2568a09578f@sonic.net> <45270510-7B94-4CD1-A1E4-73B02BB74026@swcp.com> Message-ID: <1ddd1e24-db12-2b94-01a9-7b78f55f1731@sonic.net> On 7/3/19 7:34 PM, Dar Scott Consulting via use-livecode wrote: > It is like one of those movies where one has a nightmare, but wakes up and repents, vowing to never write a bad user interface again, donating time to build beautiful GUIs for little apps whose GUIs were disfigured by the actions of roving gangs of depressed designers. Eggzackly. -- Mark Wieder ahsoftware at gmail.com From tom at makeshyft.com Wed Jul 3 23:05:49 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 3 Jul 2019 23:05:49 -0400 Subject: Some UX fun In-Reply-To: <1ddd1e24-db12-2b94-01a9-7b78f55f1731@sonic.net> References: <91ab9d75-82f8-9204-4094-c2568a09578f@sonic.net> <45270510-7B94-4CD1-A1E4-73B02BB74026@swcp.com> <1ddd1e24-db12-2b94-01a9-7b78f55f1731@sonic.net> Message-ID: what did i just see? On Wed, Jul 3, 2019 at 10:58 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 7/3/19 7:34 PM, Dar Scott Consulting via use-livecode wrote: > > It is like one of those movies where one has a nightmare, but wakes up > and repents, vowing to never write a bad user interface again, donating > time to build beautiful GUIs for little apps whose GUIs were disfigured by > the actions of roving gangs of depressed designers. > > Eggzackly. > > -- > 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 Jul 3 23:09:50 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 3 Jul 2019 20:09:50 -0700 Subject: Some UX fun In-Reply-To: <16bbae39f00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <91ab9d75-82f8-9204-4094-c2568a09578f@sonic.net> <16bbae39f00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <012a6851-a67d-aa3c-b763-46d1a35f65f9@sonic.net> On 7/3/19 7:50 PM, J. Landman Gay via use-livecode wrote: > Couldn't do it. What do you get if you finish? > > I'm with Dar, only the nightmare is real. Nothing much. Here's a screenshot. https://aws1.discourse-cdn.com/boingboing/original/4X/5/f/b/5fb33e4af4dcf73f315794f6bb4bc845244be81e.png But it does remind me of this article: https://lifehacker.com/reddits-terrible-volume-controls-teach-good-design-1796278889 -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Thu Jul 4 04:26:34 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 4 Jul 2019 11:26:34 +0300 Subject: Rename object Message-ID: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> I've lost this . . . having done it several times before . . . So: I duplicate an object, let's call it img "XXX", so I end up with 2 objects called "XXX" (which is problematic), and I wish to rename the new version of "XXX" . . . err . . . set the name of the last/recent/latest/headache Richmond. From klaus at major-k.de Thu Jul 4 04:30:43 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Jul 2019 10:30:43 +0200 Subject: Rename object In-Reply-To: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> Message-ID: Hi Richmond, > Am 04.07.2019 um 10:26 schrieb Richmond via use-livecode : > > I've lost this . . . having done it several times before . . . > > So: I duplicate an object, let's call it img "XXX", so I end up with > 2 objects called "XXX" (which is problematic), and I wish to > rename the new version of "XXX" . . . > err . . . > set the name of the last/recent/latest/headache ... set the name of last img to "XXX_2" ... > Richmond. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From sean at pidigital.co.uk Thu Jul 4 05:20:09 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 4 Jul 2019 10:20:09 +0100 Subject: Rename object In-Reply-To: References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> Message-ID: local tList repeat with rImgNum = 1 to the number of images [in card "x"] if the short name of img rImgNum is among the lines of tList then set the name of img rImgNum to the name of tImg rImgNum & "x" end if put the short name of img rImgNum into line rImgNum of tList end repeat -- Done! Sean Cole *Pi Digital Productions Ltd* '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!' On Thu, 4 Jul 2019 at 09:30, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Richmond, > > > Am 04.07.2019 um 10:26 schrieb Richmond via use-livecode < > use-livecode at lists.runrev.com>: > > > > I've lost this . . . having done it several times before . . . > > > > So: I duplicate an object, let's call it img "XXX", so I end up with > > 2 objects called "XXX" (which is problematic), and I wish to > > rename the new version of "XXX" . . . > > err . . . > > set the name of the last/recent/latest/headache > > ... > set the name of last img to "XXX_2" > ... > > > Richmond. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Thu Jul 4 06:03:16 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Jul 2019 12:03:16 +0200 Subject: name vs short name Message-ID: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> Hi friends, this is on my mind for a very long time. put the name of img 1 -> image "xyz" put the short name of img 1 -> xyz However: set the short name of img 1 to "xyz2" -> compilation error, see below... We have to: set the name of img 1 to "xyz2" This does not seem logical at all to me!? Can someone please explain in a comprehensible (sic!) way why this is so? :-) BTW: Looks like the dictionary is wrong here (or am I missing something obvious?) Entry about name: ... set the [{ long | abbreviated | short }] name of object to string ... ? I tried: set the long name of btn 1 to "hello sailor!" set the abbreviated name of btn 1 to "hello sailor!" set the short name of btn 1 to "hello sailor!" And got "Compilation error: can't set this property..." in all three cases. Thanks a lot in advance! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Thu Jul 4 08:02:01 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 4 Jul 2019 15:02:01 +0300 Subject: Rename object In-Reply-To: References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> Message-ID: <16aa8b0b-006f-5933-cffc-ee0af2d8aa84@gmail.com> Thank you, Klaus, makes me feel even more stupid than I was feeling already. ;-) Richmond. On 4.07.19 11:30, Klaus major-k via use-livecode wrote: > Hi Richmond, > >> Am 04.07.2019 um 10:26 schrieb Richmond via use-livecode : >> >> I've lost this . . . having done it several times before . . . >> >> So: I duplicate an object, let's call it img "XXX", so I end up with >> 2 objects called "XXX" (which is problematic), and I wish to >> rename the new version of "XXX" . . . >> err . . . >> set the name of the last/recent/latest/headache > ... > set the name of last img to "XXX_2" > ... > >> Richmond. > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Jul 4 08:04:10 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Jul 2019 14:04:10 +0200 Subject: Rename object In-Reply-To: <16aa8b0b-006f-5933-cffc-ee0af2d8aa84@gmail.com> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <16aa8b0b-006f-5933-cffc-ee0af2d8aa84@gmail.com> Message-ID: <4DDDC217-1C4F-4ECF-AA01-8C9E2F65F589@major-k.de> Hi Richmond, > Am 04.07.2019 um 14:02 schrieb Richmond via use-livecode : > > Thank you, Klaus, > > makes me feel even more stupid than I was feeling already. ;-) you are welcome! :-D > Richmond. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From dvglasgow at gmail.com Thu Jul 4 08:12:21 2019 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 4 Jul 2019 13:12:21 +0100 Subject: Do variable vs field as AppleScript In-Reply-To: <0D88AF5F-DCDA-4ECA-8934-4827930B48D0@iotecdigital.com> References: <1561564232700-0.post@n4.nabble.com> <358040538.270363.1561753015448@mail.yahoo.com> <1561753884793-0.post@n4.nabble.com> <1561929665537-0.post@n4.nabble.com> <358153A2-57B6-4D81-AC96-93319B7FFF46@iotecdigital.com> <51df1ab9-8289-92bd-f3cb-c3e3002a81c1@gmail.com> <6F67A880-00E0-46F7-A7FE-4A93B0CA4F04@gmail.com> <0D88AF5F-DCDA-4ECA-8934-4827930B48D0@iotecdigital.com> Message-ID: <2008A510-0189-42DE-973A-7C588178983F@gmail.com> Thanks, Bob, that?s what I suspected. From the UI point of view, its just feels a bit clunky - combined with being uncertain about whether the speechrecognitionserver is still working or whether recognition has failed, and whether the human needs to repeat the phrase or not. Maybe I am conflating two issues, but I wondered whether I could get it all to be a bit more brisk. Cheers, David G > On 3 Jul 2019, at 3:55 pm, Bob Sneidar via use-livecode wrote: > > Relative to the speech recognition, and there only being several hundred iterations, I would say hardly. if it added 20 milliseconds to a process that takes many tens of minutes (I suspect the speech has to be uttered in real time) I hardly call that a delay. > > Bob S > > >> On Jul 3, 2019, at 03:28 , David V Glasgow via use-livecode wrote: >> >> I have a script which in the fullness of time will repeatedly (several hundred times) run a list of commands as an Applescript. It will take a fair bit of time to loop through because each iteration involves speech recognition. >> >> My question is, will there be any meaningful speed advantage to storing the AppleScript in a variable rather than field? This doesn?t mean finishing all 340 iterations faster, because the slowdown is the human thinking about the question and giving a response. I?m thinking about a bit more responsivity from >> >> tell application "SpeechRecognitionServer" >> local tresult, choicesLanguageModel, titem >> set choicesLanguageModel to {"false", "slightly true", "mainly true", "very true"} >> set tPrompt to "item 6" >> set tresult to listen for choicesLanguageModel with prompt tPrompt giving up after 30 >> say tresult >> return tresult >> end tell >> >> (I should say that the line "set tPrompt to "item 6?? looks a bit weird because it is incremented under script control, and when that happens the indent is lost.) >> >> I know I could test, but if someone just knows?. >> >> Cheers >> >> David Glasgow > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Jul 4 08:12:28 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 4 Jul 2019 08:12:28 -0400 Subject: name vs short name In-Reply-To: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> References: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> Message-ID: <2d78478f-c699-0e9e-03ba-2c5b321e0fcc@researchware.com> No it is not consistent, but some of the syntax was baked into Metacard long ago, often in response to some specific customer asking for a way to do some specific thing. Remember, Metacard was effectively a product of a single person. For LiveCode to change it now would break far fr too many existing stacks On 7/4/2019 6:03 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > this is on my mind for a very long time. > > put the name of img 1 -> image "xyz" > put the short name of img 1 -> xyz > > However: > set the short name of img 1 to "xyz2" -> compilation error, see below... > > We have to: > set the name of img 1 to "xyz2" > > This does not seem logical at all to me!? > > Can someone please explain in a comprehensible (sic!) way why this is so? :-) > > BTW: > Looks like the dictionary is wrong here (or am I missing something obvious?) > Entry about name: > ... > set the [{ long | abbreviated | short }] name of object to string > ... > ? > > I tried: > set the long name of btn 1 to "hello sailor!" > set the abbreviated name of btn 1 to "hello sailor!" > set the short name of btn 1 to "hello sailor!" > > And got "Compilation error: can't set this property..." in all three cases. > > Thanks a lot in advance! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Jul 4 08:14:55 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 4 Jul 2019 15:14:55 +0300 Subject: Rename object In-Reply-To: References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> Message-ID: <2d2f9722-df8d-4e93-2c36-adec3f5d8065@gmail.com> However . . . If I do this: onmouseUp setthelockScreentotrue setthemoveSpeedto65000 putitem 1 ofthemouseLocintoML1 putitem 2 ofthemouseLocintoML2 moveimg "mill" toML1, ML2 copyimg "mill" togroup"map" setthenameoflast image to("mill" & ML1 & "," & ML2) setthemoveSpeedto200 setthelockScreentofalse endmouseUp The "funny" thing is that the image that gets renamed is NOT the clone in the group, but the original one. Richmond. On 4.07.19 11:30, Klaus major-k via use-livecode wrote: > Hi Richmond, > >> Am 04.07.2019 um 10:26 schrieb Richmond via use-livecode : >> >> I've lost this . . . having done it several times before . . . >> >> So: I duplicate an object, let's call it img "XXX", so I end up with >> 2 objects called "XXX" (which is problematic), and I wish to >> rename the new version of "XXX" . . . >> err . . . >> set the name of the last/recent/latest/headache > ... > set the name of last img to "XXX_2" > ... > >> Richmond. > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Jul 4 08:22:48 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Jul 2019 14:22:48 +0200 Subject: name vs short name In-Reply-To: <2d78478f-c699-0e9e-03ba-2c5b321e0fcc@researchware.com> References: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> <2d78478f-c699-0e9e-03ba-2c5b321e0fcc@researchware.com> Message-ID: <9D8676C4-339B-4E82-B55E-5162E1B8F106@major-k.de> Hi Paul, > Am 04.07.2019 um 14:12 schrieb Paul Dupuis via use-livecode : > > No it is not consistent, but some of the syntax was baked into Metacard long ago, > often in response to some specific customer asking for a way to do some specific thing. > Remember, Metacard was effectively a product of a single person. Yes, I am using Dr. Raneys wonderful piece of software since 1999. :-) > For LiveCode to change it now would break far fr too many existing stacks Au contraire, mon ami! Simply because this (being able to set the SHORT name of an object) is not allowed until now, but would make a lot of sense! So this would be an addition and nothing that might break older syntax. > On 7/4/2019 6:03 AM, Klaus major-k via use-livecode wrote: >> Hi friends, >> >> this is on my mind for a very long time. >> >> put the name of img 1 -> image "xyz" >> put the short name of img 1 -> xyz >> >> However: >> set the short name of img 1 to "xyz2" -> compilation error, see below... >> >> We have to: >> set the name of img 1 to "xyz2" >> >> This does not seem logical at all to me!? >> >> Can someone please explain in a comprehensible (sic!) way why this is so? :-) >> >> BTW: >> Looks like the dictionary is wrong here (or am I missing something obvious?) >> Entry about name: >> ... >> set the [{ long | abbreviated | short }] name of object to string >> ... >> ? >> >> I tried: >> set the long name of btn 1 to "hello sailor!" >> set the abbreviated name of btn 1 to "hello sailor!" >> set the short name of btn 1 to "hello sailor!" >> >> And got "Compilation error: can't set this property..." in all three cases. >> >> Thanks a lot in advance! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Thu Jul 4 08:26:38 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Jul 2019 14:26:38 +0200 Subject: Rename object In-Reply-To: <2d2f9722-df8d-4e93-2c36-adec3f5d8065@gmail.com> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <2d2f9722-df8d-4e93-2c36-adec3f5d8065@gmail.com> Message-ID: <7CB93A7F-622C-463C-964E-1AB9ACC06AB8@major-k.de> Hi Richmond, > Am 04.07.2019 um 14:14 schrieb Richmond via use-livecode : > > However . . . > > If I do this: > > onmouseUp > setthelockScreentotrue > setthemoveSpeedto65000 > putitem 1 ofthemouseLocintoML1 > putitem 2 ofthemouseLocintoML2 > moveimg "mill" toML1, ML2 > copyimg "mill" togroup"map" > setthenameoflast image to("mill" & ML1 & "," & ML2) > setthemoveSpeedto200 > setthelockScreentofalse > endmouseUp > > The "funny" thing is that the image that gets renamed is NOT the clone in the group, but > the original one. Hey, you did not mention GROUP in your first posting! 8-) The groups layer is obviously LOWER that the one of your image-to-be-copied in this case, so just add: ... set the name of last image OF GRP "map" to ("mill" & ML1 & "," & ML2) ... and you are done. > Richmond. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Thu Jul 4 08:29:07 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Jul 2019 14:29:07 +0200 Subject: name vs short name In-Reply-To: <9D8676C4-339B-4E82-B55E-5162E1B8F106@major-k.de> References: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> <2d78478f-c699-0e9e-03ba-2c5b321e0fcc@researchware.com> <9D8676C4-339B-4E82-B55E-5162E1B8F106@major-k.de> Message-ID: > Am 04.07.2019 um 14:22 schrieb Klaus major-k via use-livecode : > > Hi Paul, > >> Am 04.07.2019 um 14:12 schrieb Paul Dupuis via use-livecode : >> >> No it is not consistent, but some of the syntax was baked into Metacard long ago, >> often in response to some specific customer asking for a way to do some specific thing. >> Remember, Metacard was effectively a product of a single person. > > Yes, I am using Dr. Raneys wonderful piece of software since 1999. :-) > >> For LiveCode to change it now would break far fr too many existing stacks > > Au contraire, mon ami! > > Simply because this (being able to set the SHORT name of an object) is not allowed until now, > but would make a lot of sense! > > So this would be an addition and nothing that might break older syntax. Of course I did not mean to replace: set the name of img 1 to "xxx" with set the short name of img 1 to "xxx" I just wanted to be able to ALSO use that (way more logical) syntax. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From sean at pidigital.co.uk Thu Jul 4 08:31:56 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 4 Jul 2019 13:31:56 +0100 Subject: name vs short name In-Reply-To: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> References: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> Message-ID: Klaus, you are right! The dictionary entry is wrong. It would not make logical sense to be able to set the short name of something just as it is not logical to set the long or abbreviated name of it. Hence why we have ONLY set the name of it. The 'short' keyword would be superfluous. But the dictionary should have the examples the other way round. Sean Cole *Pi Digital* On Thu, 4 Jul 2019 at 11:03, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi friends, > > this is on my mind for a very long time. > > put the name of img 1 -> image "xyz" > put the short name of img 1 -> xyz > > However: > set the short name of img 1 to "xyz2" -> compilation error, see below... > > We have to: > set the name of img 1 to "xyz2" > > This does not seem logical at all to me!? > > Can someone please explain in a comprehensible (sic!) way why this is so? > :-) > > BTW: > Looks like the dictionary is wrong here (or am I missing something > obvious?) > Entry about name: > ... > set the [{ long | abbreviated | short }] name of object to string > ... > ? > > I tried: > set the long name of btn 1 to "hello sailor!" > set the abbreviated name of btn 1 to "hello sailor!" > set the short name of btn 1 to "hello sailor!" > > And got "Compilation error: can't set this property..." in all three cases. > > Thanks a lot in advance! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Thu Jul 4 08:33:56 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 4 Jul 2019 13:33:56 +0100 Subject: name vs short name In-Reply-To: References: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> <2d78478f-c699-0e9e-03ba-2c5b321e0fcc@researchware.com> <9D8676C4-339B-4E82-B55E-5162E1B8F106@major-k.de> Message-ID: It is possible to make it an optional keyword though. set the [short] name of to Sean Cole On Thu, 4 Jul 2019 at 13:29, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > Am 04.07.2019 um 14:22 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Paul, > > > >> Am 04.07.2019 um 14:12 schrieb Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> No it is not consistent, but some of the syntax was baked into Metacard > long ago, > >> often in response to some specific customer asking for a way to do some > specific thing. > >> Remember, Metacard was effectively a product of a single person. > > > > Yes, I am using Dr. Raneys wonderful piece of software since 1999. :-) > > > >> For LiveCode to change it now would break far fr too many existing > stacks > > > > Au contraire, mon ami! > > > > Simply because this (being able to set the SHORT name of an object) is > not allowed until now, > > but would make a lot of sense! > > > > So this would be an addition and nothing that might break older syntax. > > Of course I did not mean to replace: > set the name of img 1 to "xxx" > with > set the short name of img 1 to "xxx" > > I just wanted to be able to ALSO use that (way more logical) syntax. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Thu Jul 4 08:38:58 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Jul 2019 14:38:58 +0200 Subject: name vs short name In-Reply-To: References: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> Message-ID: <6B72A118-0AFB-4B1A-B61E-A40DEE06EA1E@major-k.de> Hi all, > Am 04.07.2019 um 14:31 schrieb Sean Cole (Pi) via use-livecode : > > Klaus, > > you are right! The dictionary entry is wrong. > > It would not make logical sense to be able to set the short name of > something just as it is not logical to set the long or abbreviated name of > it. Hence why we have ONLY set the name of it. The 'short' keyword would be > superfluous. > > But the dictionary should have the examples the other way round. > > Sean Cole > *Pi Digital* looks like I already reported/"enhancement requested" this five years ago. 8-) I just added a comment. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From lists at mangomultimedia.com Thu Jul 4 08:57:00 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 4 Jul 2019 08:57:00 -0400 Subject: Rename object In-Reply-To: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> Message-ID: On Thu, Jul 4, 2019 at 4:27 AM Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > I've lost this . . . having done it several times before . . . > > So: I duplicate an object, let's call it img "XXX", so I end up with > 2 objects called "XXX" (which is problematic), and I wish to > rename the new version of "XXX" . . . > > err . . . > > set the name of the last/recent/latest/headache After using ?copy? a reference to the new object is stored in the ?it? variable. > set the name of it to ?NEWNAME? -- Trevor DeVore ScreenSteps From dunbarx at aol.com Thu Jul 4 11:16:38 2019 From: dunbarx at aol.com (dunbarxx) Date: Thu, 4 Jul 2019 10:16:38 -0500 (CDT) Subject: Rename object In-Reply-To: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> Message-ID: <1562253398708-0.post@n4.nabble.com> Richmond. (pseudo) Duplicate object set the name of last object to the short name of the last object & the number of thatObjectType + 1 Note that as of v.8, and this is an known issue, the keyword "last" may not support groups. I am not sure if this has been fixed in v.9. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From dochawk at gmail.com Thu Jul 4 12:04:36 2019 From: dochawk at gmail.com (doc hawk) Date: Thu, 4 Jul 2019 09:04:36 -0700 Subject: Rename object In-Reply-To: References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> Message-ID: On Jul 4, 2019, at 1:30 AM, Klaus major-k via use-livecode wrote: > > set the name of last img to ?XXX_2" Also clone control ?gizmo? set the name of it to ?blivet" Will handle your new object. If I?m going to work with the new object for a few lines, I always use put the long id of it into tgTg As the next line, just in case I do something that changes ?it? From dsc at swcp.com Thu Jul 4 12:33:48 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 4 Jul 2019 10:33:48 -0600 Subject: Rename object In-Reply-To: References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> Message-ID: Would this work? clone control "gizmo" as "blivet" > On Jul 4, 2019, at 10:04 AM, doc hawk via use-livecode wrote: > > > On Jul 4, 2019, at 1:30 AM, Klaus major-k via use-livecode wrote: >> >> set the name of last img to ?XXX_2" > > Also > > clone control ?gizmo? > set the name of it to ?blivet" > > Will handle your new object. > > If I?m going to work with the new object for a few lines, I always use > > put the long id of it into tgTg > > As the next line, just in case I do something that changes ?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 richmondmathewson at gmail.com Thu Jul 4 13:26:07 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 4 Jul 2019 20:26:07 +0300 Subject: Rename object In-Reply-To: <7CB93A7F-622C-463C-964E-1AB9ACC06AB8@major-k.de> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <2d2f9722-df8d-4e93-2c36-adec3f5d8065@gmail.com> <7CB93A7F-622C-463C-964E-1AB9ACC06AB8@major-k.de> Message-ID: Almost completely 'done'. 8-) Where would I be without your help throughout the years (well, about 18 at my last count)? No! Don't answer that one; it's rhetorical. Richmond. On 4.07.19 15:26, Klaus major-k via use-livecode wrote: > Hi Richmond, > >> Am 04.07.2019 um 14:14 schrieb Richmond via use-livecode : >> >> However . . . >> >> If I do this: >> >> onmouseUp >> setthelockScreentotrue >> setthemoveSpeedto65000 >> putitem 1 ofthemouseLocintoML1 >> putitem 2 ofthemouseLocintoML2 >> moveimg "mill" toML1, ML2 >> copyimg "mill" togroup"map" >> setthenameoflast image to("mill" & ML1 & "," & ML2) >> setthemoveSpeedto200 >> setthelockScreentofalse >> endmouseUp >> >> The "funny" thing is that the image that gets renamed is NOT the clone in the group, but >> the original one. > Hey, you did not mention GROUP in your first posting! 8-) > > The groups layer is obviously LOWER that the one of your image-to-be-copied in this case, > so just add: > ... > set the name of last image OF GRP "map" to ("mill" & ML1 & "," & ML2) > ... > and you are done. > >> Richmond. > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Jul 4 13:32:53 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 4 Jul 2019 20:32:53 +0300 Subject: Rename object In-Reply-To: References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> Message-ID: <8f241f98-b663-8c74-7d2d-8efc78efc0b6@gmail.com> "it" is, quite frankly, both a bore and something that makes 9-11 year olds wish that Paiget were not dead, but were on hand to explain things (and as the average 9-11 year old is not up-to-speed in Swiss French . . . ), or, at a push, Seymour Papert. While I am, arguably, at the stage of abstract thinking, most of my educational charges are, most definitely, not. ;-) Richmond. On 4.07.19 15:57, Trevor DeVore via use-livecode wrote: > On Thu, Jul 4, 2019 at 4:27 AM Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I've lost this . . . having done it several times before . . . >> >> So: I duplicate an object, let's call it img "XXX", so I end up with >> 2 objects called "XXX" (which is problematic), and I wish to >> rename the new version of "XXX" . . . >> >> err . . . >> >> set the name of the last/recent/latest/headache > > After using ?copy? a reference to the new object is stored in the ?it? > variable. > > set the name of it to ?NEWNAME? > From richmondmathewson at gmail.com Thu Jul 4 13:36:38 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 4 Jul 2019 20:36:38 +0300 Subject: Rename object In-Reply-To: <1562253398708-0.post@n4.nabble.com> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <1562253398708-0.post@n4.nabble.com> Message-ID: <754bc5e9-eaad-6978-e9c8-72ab415822c7@gmail.com> Hmphf . . . . . . feeling fairly 'pseudo' myself, and stumping off to work my way through something a bit more worthwhile, like, "Le Recherche Sur Les Verites" by Nicholas Malebranche (OK, OK, I admit it, I'm reading the Lennon and Olscamp English translation), which, frankly, rocks. Richmond. On 4.07.19 18:16, dunbarxx via use-livecode wrote: > Richmond. > > (pseudo) > > Duplicate object > set the name of last object to the short name of the last object & the > number of thatObjectType + 1 > > Note that as of v.8, and this is an known issue, the keyword "last" may not > support groups. I am not sure if this has been fixed in v.9. > > 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 richmondmathewson at gmail.com Thu Jul 4 13:40:31 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 4 Jul 2019 20:40:31 +0300 Subject: Rename object In-Reply-To: References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> Message-ID: <5a61d679-80b1-e1dc-9ce1-bee2a639def0@gmail.com> Virtual Kisses! That rocks so completely I am almost in love with you . . . ?. . . almost because: 1. I believe in marital vows, and, unfashionably, love my wife after 28 years of marriage. 2. Am 98% heterosexual (anyone who says they are 100% is being disingenuous). Richmond. On 4.07.19 19:33, Dar Scott Consulting via use-livecode wrote: > Would this work? > > clone control "gizmo" as "blivet" > > >> On Jul 4, 2019, at 10:04 AM, doc hawk via use-livecode wrote: >> >> >> On Jul 4, 2019, at 1:30 AM, Klaus major-k via use-livecode wrote: >>> set the name of last img to ?XXX_2" >> Also >> >> clone control ?gizmo? >> set the name of it to ?blivet" >> >> Will handle your new object. >> >> If I?m going to work with the new object for a few lines, I always use >> >> put the long id of it into tgTg >> >> As the next line, just in case I do something that changes ?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 >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 4 15:40:22 2019 From: jjs at krutt.org (JJS) Date: Thu, 4 Jul 2019 21:40:22 +0200 Subject: Symantec quarantining LiveCode standalone on client's machine In-Reply-To: References: <6a6e3453-1aa2-91c2-ec0c-ef1a3e90f67e@krutt.org> <846d5da7-494e-7786-5d06-2ddbfbdc24fa@fourthworld.com> Message-ID: <6636e142-27d6-4312-7c77-bdccb7ac5b65@krutt.org> I did Software service for a few years as part of my previous job, also on-site. And there are many more programs who have these issues with AV programs. And sometimes it is needed to stop using Norton or AVG or whatever just to get the program running they need to work with. Op 4-7-2019 om 03:36 schreef Mike Kerner via use-livecode: > We had the same problem with our Norton installs having issues with our > LC-built apps, even when installing an update to the same app. We never > were able to fix it, even with code signing. We still had to go into > Norton, find the quarrantine, and whitelist the app. > Switching AV was our solution, but I get that you can't tell your customers > to do that. > > On Wed, Jul 3, 2019 at 11:58 AM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> It's possible that the long history between Kaspersky principals and GRU >> officials ended when they opened an office in a different country. >> >> I recognize such issues are complex, and no intelligence, even >> corroborated by multiple allies, is perfect. >> >> For myself, I do what I can to say on top of threat assessment, and >> choose my vendors with care. >> >> When I'm giving root access to my systems, many of which are entry >> points to public-facing systems for clients, I avoid even potential >> risks where I have the opportunity to do so. >> >> -- >> Richard Gaskin >> Fourth World Systems >> >> >> JJS wrote: >> >> > Kaspersky has moved their headquarters to Switserland for that reason, >> > as they claim to have nothing to do with the Kremlin. >> > >> > As far as i have read somewhere a time ago. >> > >> > Op 3-7-2019 om 17:45 schreef Richard Gaskin via use-livecode: >> >> Bob Sneidar wrote: >> >> >> >> > That being said, no one solution is a catch all. We use >> >> > Kaspersky... >> >> >> >> Russians have a very good reputation for technical achievement, but >> >> large Russian companies exist in an environment that often requires >> >> compromising their business objectives to serve the goals of the >> >> Kremlin. >> >> >> >> >> >> Kaspersky Lab Antivirus Software Is Ordered Off U.S. Government >> >> Computers >> >> >> >> https://www.nytimes.com/2017/09/13/us/politics/kaspersky-lab-antivirus-federal-government.html >> >> >> >> >> >> >> >> >> FBI pushes private sector to cut ties with Kaspersky >> >> >> >> https://www.cyberscoop.com/fbi-kaspersky-private-sector-briefings-yarovaya-laws/ >> >> >> >> >> >> >> >> >> In this new era of information warfare, extreme caution is advised. >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Jul 4 18:05:58 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 4 Jul 2019 17:05:58 -0500 Subject: Loading large files into browser widget In-Reply-To: <8d558fc0-d28f-68af-9914-02035a3c7890@fourthworld.com> References: <9f3eaab2-68be-43fe-9ca1-c81116000895@hyperactivesw.com> <8d558fc0-d28f-68af-9914-02035a3c7890@fourthworld.com> Message-ID: On 7/1/19 11:47 AM, Richard Gaskin via use-livecode wrote: > Curious: how long does it take to load the document in Chrome on the > same device? Didn't get a moment to check until now. I had to count in my head, but it's about 4-5 seconds in Firefox. Maybe 8-10 seconds in Chrome. 13 minutes in Chrome on my Pixel. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Jul 5 13:17:49 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 5 Jul 2019 17:17:49 +0000 Subject: name vs short name In-Reply-To: References: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> <2d78478f-c699-0e9e-03ba-2c5b321e0fcc@researchware.com> <9D8676C4-339B-4E82-B55E-5162E1B8F106@major-k.de> Message-ID: If you can set the name and you get the same effect, why try to set the short name? The ling name is the full reference to the object using it's ID. Of course, you would have fits if you could set that to something different! The dictionary is obviously wrong, it should have used "get" not "set", and then another syntax which only included the name for setting. Bob S > On Jul 4, 2019, at 05:33 , Sean Cole (Pi) via use-livecode wrote: > > It is possible to make it an optional keyword though. > set the [short] name of to > > Sean Cole From ahsoftware at sonic.net Fri Jul 5 15:20:35 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 5 Jul 2019 12:20:35 -0700 Subject: name vs short name In-Reply-To: References: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> <2d78478f-c699-0e9e-03ba-2c5b321e0fcc@researchware.com> <9D8676C4-339B-4E82-B55E-5162E1B8F106@major-k.de> Message-ID: On 7/5/19 10:17 AM, Bob Sneidar via use-livecode wrote: > If you can set the name and you get the same effect, why try to set the short name? because... logical but wrong: set the name of button 1 to the name of button 2 logical but error: set the short name of button 1 to the short name of button 2 a cognitive leap but works: set the name of button 1 to the short name of button 2 -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Fri Jul 5 15:24:35 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 5 Jul 2019 21:24:35 +0200 Subject: name vs short name In-Reply-To: References: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> <2d78478f-c699-0e9e-03ba-2c5b321e0fcc@researchware.com> <9D8676C4-339B-4E82-B55E-5162E1B8F106@major-k.de> Message-ID: <7712ED24-2C13-42D9-921F-CAE88858E9F3@major-k.de> Hi Mark, > Am 05.07.2019 um 21:20 schrieb Mark Wieder via use-livecode : > > On 7/5/19 10:17 AM, Bob Sneidar via use-livecode wrote: >> If you can set the name and you get the same effect, why try to set the short name? > > because... > logical but wrong: > set the name of button 1 to the name of button 2 > logical but error: > set the short name of button 1 to the short name of button 2 > a cognitive leap but works: > set the name of button 1 to the short name of button 2 Exactly, highly mentally challenging, almost like the "dontxxxx" commands in LC! :-) > -- > Mark Wieder > ahsoftware at gmail.com Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Fri Jul 5 15:29:39 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 5 Jul 2019 21:29:39 +0200 Subject: name vs short name In-Reply-To: <7712ED24-2C13-42D9-921F-CAE88858E9F3@major-k.de> References: <7A6F8228-2EBC-48E2-B931-ECEB1E4CD045@major-k.de> <2d78478f-c699-0e9e-03ba-2c5b321e0fcc@researchware.com> <9D8676C4-339B-4E82-B55E-5162E1B8F106@major-k.de> <7712ED24-2C13-42D9-921F-CAE88858E9F3@major-k.de> Message-ID: <8480D8F7-2A3B-4466-BEF8-128B2D31E84D@major-k.de> > Am 05.07.2019 um 21:24 schrieb Klaus major-k via use-livecode : > ... >> >> because... >> logical but wrong: >> set the name of button 1 to the name of button 2 >> logical but error: >> set the short name of button 1 to the short name of button 2 >> a cognitive leap but works: >> set the name of button 1 to the short name of button 2 > > Exactly, highly mentally challenging, almost like the "dontxxxx" commands in LC! :-) sorry, I meant setting the "dontxxxx" properties in LC. -- Klaus Major https://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Fri Jul 5 15:55:54 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 5 Jul 2019 14:55:54 -0500 Subject: DELETE url Message-ID: I need to send a DELETE to a server. I only know of PUT, GET, and POST options. Does tsNet support DELETE? If not, how would I do that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Fri Jul 5 16:30:21 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 5 Jul 2019 14:30:21 -0600 Subject: DELETE url In-Reply-To: References: Message-ID: Testing DELETE is scary. Consider httpstat.us , httpbin.org or others for safe testing. I haven't tested, but I'd think that 'delete URL "http://www.example.com/oldthings.txt "' should work. You might need to pass along some auth: delete URL "http://badwolf:swordfish at www.example.com/secretthings.txt " If not, you can directly use TCP. It is as easy as a simple GET. It is as hard as figuring out simple HTTP. Or consider tsNetCustom() and use "DELETE" as the request. Dar Scott darzLab > On Jul 5, 2019, at 1:55 PM, J. Landman Gay via use-livecode wrote: > > I need to send a DELETE to a server. I only know of PUT, GET, and POST options. Does tsNet support DELETE? If not, how would I do 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 Fri Jul 5 18:23:03 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 5 Jul 2019 17:23:03 -0500 Subject: DELETE url In-Reply-To: References: Message-ID: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> The server lady wants it that way. I create signed AWS URLs that are secure and which access her APIs. So far we've only used POST, PUT, and GET. Now we've added a "log out" function and I'm supposed to send the URL with DELETE. She is floored that I can't do that: "I can change it if you really don?t have DELETE, but I would find it surprising. If you do have it, I?d prefer to keep it as DELETE since it makes the most sense for the action." Then she suggests using cURL but that won't work on mobile where we can't use shell. I wouldn't know where to start with tsNetCustom(), but I'll investigate. Suggestions welcome, provided it works on mobile. On 7/5/19 3:30 PM, Dar Scott Consulting via use-livecode wrote: > Testing DELETE is scary. Consider httpstat.us , httpbin.org or others for safe testing. > > I haven't tested, but I'd think that 'delete URL "http://www.example.com/oldthings.txt "' should work. > > You might need to pass along some auth: > delete URL "http://badwolf:swordfish at www.example.com/secretthings.txt " > > If not, you can directly use TCP. It is as easy as a simple GET. It is as hard as figuring out simple HTTP. > > Or consider tsNetCustom() and use "DELETE" as the request. > > > Dar Scott > darzLab > >> On Jul 5, 2019, at 1:55 PM, J. Landman Gay via use-livecode wrote: >> >> I need to send a DELETE to a server. I only know of PUT, GET, and POST options. Does tsNet support DELETE? If not, how would I do that? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From smaclean at madmansoft.com Fri Jul 5 18:27:13 2019 From: smaclean at madmansoft.com (Stephen MacLean) Date: Fri, 5 Jul 2019 18:27:13 -0400 Subject: DELETE url In-Reply-To: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> References: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> Message-ID: Hi J, DELETE does work, it?s used in the WP library. I?m out right now, but will find the code and send you a sample when I get back. Best, Steve MacLean > On Jul 5, 2019, at 6:23 PM, J. Landman Gay via use-livecode wrote: > > The server lady wants it that way. I create signed AWS URLs that are secure and which access her APIs. So far we've only used POST, PUT, and GET. Now we've added a "log out" function and I'm supposed to send the URL with DELETE. She is floored that I can't do that: > > "I can change it if you really don?t have DELETE, but I would find it surprising. If you do have it, I?d prefer to keep it as DELETE since it makes the most sense for the action." > > Then she suggests using cURL but that won't work on mobile where we can't use shell. > > I wouldn't know where to start with tsNetCustom(), but I'll investigate. Suggestions welcome, provided it works on mobile. > >> On 7/5/19 3:30 PM, Dar Scott Consulting via use-livecode wrote: >> Testing DELETE is scary. Consider httpstat.us , httpbin.org or others for safe testing. >> I haven't tested, but I'd think that 'delete URL "http://www.example.com/oldthings.txt "' should work. >> You might need to pass along some auth: >> delete URL "http://badwolf:swordfish at www.example.com/secretthings.txt " >> If not, you can directly use TCP. It is as easy as a simple GET. It is as hard as figuring out simple HTTP. >> Or consider tsNetCustom() and use "DELETE" as the request. >> Dar Scott >> darzLab >>> On Jul 5, 2019, at 1:55 PM, J. Landman Gay via use-livecode wrote: >>> >>> I need to send a DELETE to a server. I only know of PUT, GET, and POST options. Does tsNet support DELETE? If not, how would I do that? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com > > > -- > 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 charles at techstrategies.com.au Fri Jul 5 19:41:05 2019 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 6 Jul 2019 09:41:05 +1000 Subject: DELETE url In-Reply-To: References: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> Message-ID: Hi, You can send a HTTP DELETE using tsNet. There is a lesson here that shows you how: http://lessons.livecode.com/m/4071/l/856543-how-to-send-a-custom-http-request-using-the-tsnet-external All tsNet functions work on mobile, so no issue there either. Regards, Charles > On 6 Jul 2019, at 8:27 am, Stephen MacLean via use-livecode wrote: > > Hi J, > > DELETE does work, it?s used in the WP library. > > I?m out right now, but will find the code and send you a sample when I get back. > > Best, > Steve MacLean > >> On Jul 5, 2019, at 6:23 PM, J. Landman Gay via use-livecode wrote: >> >> The server lady wants it that way. I create signed AWS URLs that are secure and which access her APIs. So far we've only used POST, PUT, and GET. Now we've added a "log out" function and I'm supposed to send the URL with DELETE. She is floored that I can't do that: >> >> "I can change it if you really don?t have DELETE, but I would find it surprising. If you do have it, I?d prefer to keep it as DELETE since it makes the most sense for the action." >> >> Then she suggests using cURL but that won't work on mobile where we can't use shell. >> >> I wouldn't know where to start with tsNetCustom(), but I'll investigate. Suggestions welcome, provided it works on mobile. >> >>> On 7/5/19 3:30 PM, Dar Scott Consulting via use-livecode wrote: >>> Testing DELETE is scary. Consider httpstat.us , httpbin.org or others for safe testing. >>> I haven't tested, but I'd think that 'delete URL "http://www.example.com/oldthings.txt "' should work. >>> You might need to pass along some auth: >>> delete URL "http://badwolf:swordfish at www.example.com/secretthings.txt " >>> If not, you can directly use TCP. It is as easy as a simple GET. It is as hard as figuring out simple HTTP. >>> Or consider tsNetCustom() and use "DELETE" as the request. >>> Dar Scott >>> darzLab >>>> On Jul 5, 2019, at 1:55 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> I need to send a DELETE to a server. I only know of PUT, GET, and POST options. Does tsNet support DELETE? If not, how would I do that? >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >> >> >> -- >> 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 dsc at swcp.com Fri Jul 5 20:05:21 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 5 Jul 2019 18:05:21 -0600 Subject: DELETE url In-Reply-To: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> References: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> Message-ID: <1486D69D-06BF-4274-BBC4-B9FE4FAE5C4E@swcp.com> You know where to start with tsNetCustom(); look in the dictionary. From there? Maybe compare that with tsNetGet() and make changes as needed. > On Jul 5, 2019, at 4:23 PM, J. Landman Gay via use-livecode wrote: > > The server lady wants it that way. I create signed AWS URLs that are secure and which access her APIs. So far we've only used POST, PUT, and GET. Now we've added a "log out" function and I'm supposed to send the URL with DELETE. She is floored that I can't do that: > > "I can change it if you really don?t have DELETE, but I would find it surprising. If you do have it, I?d prefer to keep it as DELETE since it makes the most sense for the action." > > Then she suggests using cURL but that won't work on mobile where we can't use shell. > > I wouldn't know where to start with tsNetCustom(), but I'll investigate. Suggestions welcome, provided it works on mobile. > > On 7/5/19 3:30 PM, Dar Scott Consulting via use-livecode wrote: >> Testing DELETE is scary. Consider httpstat.us , httpbin.org or others for safe testing. >> I haven't tested, but I'd think that 'delete URL "http://www.example.com/oldthings.txt "' should work. >> You might need to pass along some auth: >> delete URL "http://badwolf:swordfish at www.example.com/secretthings.txt " >> If not, you can directly use TCP. It is as easy as a simple GET. It is as hard as figuring out simple HTTP. >> Or consider tsNetCustom() and use "DELETE" as the request. >> Dar Scott >> darzLab >>> On Jul 5, 2019, at 1:55 PM, J. Landman Gay via use-livecode wrote: >>> >>> I need to send a DELETE to a server. I only know of PUT, GET, and POST options. Does tsNet support DELETE? If not, how would I do that? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com > > > -- > 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 dsc at swcp.com Fri Jul 5 21:13:22 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 5 Jul 2019 19:13:22 -0600 Subject: DELETE url In-Reply-To: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> References: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> Message-ID: And an aside. Off topic. I guess I am old-school. I know it is the fad, but using DELETE to logout seems goofy. Yeah, you can make a URL that looks like a session and you are deleting the session. But it seems that is like using HEAD to indicate what direction you are going or OPTIONS to set up options. I know. I'm a cranky curmudgeon. I survive by recognizing that this is no longer HTTP, but a wolf in sheep's clothing to get past firewalls, a whole new protocol where we make it up as we go. Now, given that, and I join the 21st century, DELETE returns a status code and an optional content. The status code is normally 204 (but maybe 205, which might be appropriate for log out) when no content is returned or 200 if content is returned. If the item is not there, the same applies, but perhaps 404 or 410 can also apply. If DELETE is used to mean logout, then the session is permanently gone and 410 on a repeat is appropriate. A 303 is OK (content is URL), but is probably handled by the underlying library. Now, for proper symmetry, if DELETE is used to log out, then PUT must be used to log in. Both are idempotent, so logging in multiple times should be OK and logging out multiple times should be OK. That is, a login returns 200 and a logout returns 204. Every time. I have not seen it implemented that way. We play the hands we are dealt. Dar Scott > On Jul 5, 2019, at 4:23 PM, J. Landman Gay via use-livecode wrote: > > The server lady wants it that way. I create signed AWS URLs that are secure and which access her APIs. So far we've only used POST, PUT, and GET. Now we've added a "log out" function and I'm supposed to send the URL with DELETE. She is floored that I can't do that: > > "I can change it if you really don?t have DELETE, but I would find it surprising. If you do have it, I?d prefer to keep it as DELETE since it makes the most sense for the action." > > Then she suggests using cURL but that won't work on mobile where we can't use shell. > > I wouldn't know where to start with tsNetCustom(), but I'll investigate. Suggestions welcome, provided it works on mobile. > > On 7/5/19 3:30 PM, Dar Scott Consulting via use-livecode wrote: >> Testing DELETE is scary. Consider httpstat.us , httpbin.org or others for safe testing. >> I haven't tested, but I'd think that 'delete URL "http://www.example.com/oldthings.txt "' should work. >> You might need to pass along some auth: >> delete URL "http://badwolf:swordfish at www.example.com/secretthings.txt " >> If not, you can directly use TCP. It is as easy as a simple GET. It is as hard as figuring out simple HTTP. >> Or consider tsNetCustom() and use "DELETE" as the request. >> Dar Scott >> darzLab >>> On Jul 5, 2019, at 1:55 PM, J. Landman Gay via use-livecode wrote: >>> >>> I need to send a DELETE to a server. I only know of PUT, GET, and POST options. Does tsNet support DELETE? If not, how would I do that? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com > > > -- > 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 smaclean at madmansoft.com Fri Jul 5 21:15:51 2019 From: smaclean at madmansoft.com (Stephen MacLean) Date: Fri, 5 Jul 2019 21:15:51 -0400 Subject: DELETE url In-Reply-To: References: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> Message-ID: This works for me: delete URL(tPostURL) tPostURL is the URL you want to send the delete to. The URL can include an API call, authentication token, etc. I do have LC Business, but don?t need to use tsNet for this specifically, although I do use it for some other things. You can find all the commands, etc. for tsNet here: https://www.techstrategies.com.au/tsnet-resources/ as well as some sample stacks that I have found invaluable for seeing how it all works. Best, Steve MacLean > On Jul 5, 2019, at 6:27 PM, Stephen MacLean via use-livecode wrote: > > Hi J, > > DELETE does work, it?s used in the WP library. > > I?m out right now, but will find the code and send you a sample when I get back. > > Best, > Steve MacLean > >> On Jul 5, 2019, at 6:23 PM, J. Landman Gay via use-livecode wrote: >> >> The server lady wants it that way. I create signed AWS URLs that are secure and which access her APIs. So far we've only used POST, PUT, and GET. Now we've added a "log out" function and I'm supposed to send the URL with DELETE. She is floored that I can't do that: >> >> "I can change it if you really don?t have DELETE, but I would find it surprising. If you do have it, I?d prefer to keep it as DELETE since it makes the most sense for the action." >> >> Then she suggests using cURL but that won't work on mobile where we can't use shell. >> >> I wouldn't know where to start with tsNetCustom(), but I'll investigate. Suggestions welcome, provided it works on mobile. >> >>> On 7/5/19 3:30 PM, Dar Scott Consulting via use-livecode wrote: >>> Testing DELETE is scary. Consider httpstat.us , httpbin.org or others for safe testing. >>> I haven't tested, but I'd think that 'delete URL "http://www.example.com/oldthings.txt "' should work. >>> You might need to pass along some auth: >>> delete URL "http://badwolf:swordfish at www.example.com/secretthings.txt " >>> If not, you can directly use TCP. It is as easy as a simple GET. It is as hard as figuring out simple HTTP. >>> Or consider tsNetCustom() and use "DELETE" as the request. >>> Dar Scott >>> darzLab >>>> On Jul 5, 2019, at 1:55 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> I need to send a DELETE to a server. I only know of PUT, GET, and POST options. Does tsNet support DELETE? If not, how would I do that? >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >> >> >> -- >> 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 ahsoftware at sonic.net Fri Jul 5 22:07:19 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 5 Jul 2019 19:07:19 -0700 Subject: DELETE url In-Reply-To: References: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> Message-ID: <63d3bad4-de1e-4278-57dc-532df769b856@sonic.net> On 7/5/19 6:13 PM, Dar Scott Consulting via use-livecode wrote: > And an aside. Off topic. > > I guess I am old-school. I know it is the fad, but using DELETE to logout seems goofy. Yeah, you can make a URL that looks like a session and you are deleting the session. But it seems that is like using HEAD to indicate what direction you are going or OPTIONS to set up options. > > I know. I'm a cranky curmudgeon. I survive by recognizing that this is no longer HTTP, but a wolf in sheep's clothing to get past firewalls, a whole new protocol where we make it up as we go. > > Now, given that, and I join the 21st century, DELETE returns a status code and an optional content. The status code is normally 204 (but maybe 205, which might be appropriate for log out) when no content is returned or 200 if content is returned. If the item is not there, the same applies, but perhaps 404 or 410 can also apply. If DELETE is used to mean logout, then the session is permanently gone and 410 on a repeat is appropriate. A 303 is OK (content is URL), but is probably handled by the underlying library. > > Now, for proper symmetry, if DELETE is used to log out, then PUT must be used to log in. Both are idempotent, so logging in multiple times should be OK and logging out multiple times should be OK. That is, a login returns 200 and a logout returns 204. Every time. > > I have not seen it implemented that way. We play the hands we are dealt. RFC 2616 describes only three possible responses to a DELETE verb: 200: the response includes an entity describing the status 202: the action has not yet been enacted 204: the action has been enacted but there is no status entity Idempotence appears to be optional. RFC2616 states that certain verbs "can" have this property. That said, not all servers or web apps support the DELETE verb - there's usually an option to enable/disable it. And I'm with you on the weirdness of using DELETE to log out. Bleah. But to Jacque's point, see this: -- Mark Wieder ahsoftware at gmail.com From dsc at swcp.com Sat Jul 6 11:22:38 2019 From: dsc at swcp.com (Dar Scott) Date: Sat, 6 Jul 2019 09:22:38 -0600 Subject: DELETE url In-Reply-To: <63d3bad4-de1e-4278-57dc-532df769b856@sonic.net> References: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> <63d3bad4-de1e-4278-57dc-532df769b856@sonic.net> Message-ID: <35D4F340-C780-4504-9288-DCF53C5F3040@swcp.com> Oh, RFC2616 is so twentieth century. However, RFC7231 HTTP/1.1 agrees with the responses: 200 (OK), 202 (Accepted), or 204 (No Content). It does have a couple examples that seems to indicate that DELETE might be used for logout, should one have imagination: DELETE might be used to remove a resource previously created with PUT (as I described). DELETE might be used to remove a resource previously created with a POST that returns a 201 (Created) status. POST is favored for login, or so it seems from a quick search. POST is a command, an action. A wide range of status responses are allowed. So, perhaps the first login returns a 201 (Created) and subsequent logins either create new sessions (201) or return the same session (200). I think I saw a few cases where the responses were 200 and 404. Use of 200 with POST means that a proxy must have POST caching turned off or tweaked. The 201 might return something like http://www.example.com/api/jj73koaiekdyu33/ . The session key is part of the URL. Subsequent queries would use this as the base URL. DELETE would delete that. This makes DELETE look more acceptable as logout. However, this falls apart when we look at authentication. A token is usually not returned in a 201 as part of a session URL, but is more often a value that is returned in the authentication header for subsequent use of the session. It can also be returned as a cookie and subsequent requests use the cookie. In these scenarios, the semantic coherence of DELETE starts to fall apart. Also, login and logout are verbs. That seems to vote for POST for both. Yet, give me the protocol and I will work with it. I am not really as cranky as I claim. Dar Scott DarScott at darzLab.com > On Jul 5, 2019, at 8:07 PM, Mark Wieder via use-livecode wrote: > > On 7/5/19 6:13 PM, Dar Scott Consulting via use-livecode wrote: >> And an aside. Off topic. >> I guess I am old-school. I know it is the fad, but using DELETE to logout seems goofy. Yeah, you can make a URL that looks like a session and you are deleting the session. But it seems that is like using HEAD to indicate what direction you are going or OPTIONS to set up options. >> I know. I'm a cranky curmudgeon. I survive by recognizing that this is no longer HTTP, but a wolf in sheep's clothing to get past firewalls, a whole new protocol where we make it up as we go. >> Now, given that, and I join the 21st century, DELETE returns a status code and an optional content. The status code is normally 204 (but maybe 205, which might be appropriate for log out) when no content is returned or 200 if content is returned. If the item is not there, the same applies, but perhaps 404 or 410 can also apply. If DELETE is used to mean logout, then the session is permanently gone and 410 on a repeat is appropriate. A 303 is OK (content is URL), but is probably handled by the underlying library. >> Now, for proper symmetry, if DELETE is used to log out, then PUT must be used to log in. Both are idempotent, so logging in multiple times should be OK and logging out multiple times should be OK. That is, a login returns 200 and a logout returns 204. Every time. >> I have not seen it implemented that way. We play the hands we are dealt. > > RFC 2616 describes only three possible responses to a DELETE verb: > 200: the response includes an entity describing the status > 202: the action has not yet been enacted > 204: the action has been enacted but there is no status entity > > Idempotence appears to be optional. RFC2616 states that certain verbs "can" have this property. That said, not all servers or web apps support the DELETE verb - there's usually an option to enable/disable it. > > And I'm with you on the weirdness of using DELETE to log out. Bleah. > > But to Jacque's point, see this: > > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Jul 6 13:22:14 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Jul 2019 12:22:14 -0500 Subject: DELETE url In-Reply-To: <35D4F340-C780-4504-9288-DCF53C5F3040@swcp.com> References: <86cc6db7-5f7f-8113-2bb9-c448031adb9f@hyperactivesw.com> <63d3bad4-de1e-4278-57dc-532df769b856@sonic.net> <35D4F340-C780-4504-9288-DCF53C5F3040@swcp.com> Message-ID: <16bc84ec570.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> This has been a fascinating discussion and you guys have been very helpful. Gotta thank Charles for the ready-made handler and Stephen for the even shorter one. I read Charles' first and told the Rails programmer that I could indeed send DELETE but it would take some scripting I'd never used before so we'd need to test. (Later I saw Stephen's.) She said "oh, never mind, it will take me 5 minutes to turn it into a POST." So once again I have managed to dodge the bullet and Dar should be happy as well. :-) Please do carry on, I might even learn something. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 6, 2019 10:24:32 AM Dar Scott via use-livecode wrote: > Oh, RFC2616 is so twentieth century. > > However, RFC7231 HTTP/1.1 agrees with the responses: 200 (OK), 202 > (Accepted), or 204 (No Content). > > It does have a couple examples that seems to indicate that DELETE might be > used for logout, should one have imagination: > > DELETE might be used to remove a resource previously created with PUT (as > I described). > > DELETE might be used to remove a resource previously created with a POST > that returns a 201 (Created) status. > > POST is favored for login, or so it seems from a quick search. POST is a > command, an action. A wide range of status responses are allowed. So, > perhaps the first login returns a 201 (Created) and subsequent logins > either create new sessions (201) or return the same session (200). I think > I saw a few cases where the responses were 200 and 404. Use of 200 with > POST means that a proxy must have POST caching turned off or tweaked. > > The 201 might return something like > http://www.example.com/api/jj73koaiekdyu33/ > . The session key is part of > the URL. Subsequent queries would use this as the base URL. DELETE would > delete that. > > This makes DELETE look more acceptable as logout. > > However, this falls apart when we look at authentication. A token is > usually not returned in a 201 as part of a session URL, but is more often a > value that is returned in the authentication header for subsequent use of > the session. It can also be returned as a cookie and subsequent requests > use the cookie. In these scenarios, the semantic coherence of DELETE starts > to fall apart. > > Also, login and logout are verbs. That seems to vote for POST for both. > > Yet, give me the protocol and I will work with it. I am not really as > cranky as I claim. > > Dar Scott > DarScott at darzLab.com > >> On Jul 5, 2019, at 8:07 PM, Mark Wieder via use-livecode >> wrote: >> >> On 7/5/19 6:13 PM, Dar Scott Consulting via use-livecode wrote: >>> And an aside. Off topic. >>> I guess I am old-school. I know it is the fad, but using DELETE to logout >>> seems goofy. Yeah, you can make a URL that looks like a session and you are >>> deleting the session. But it seems that is like using HEAD to indicate what >>> direction you are going or OPTIONS to set up options. >>> I know. I'm a cranky curmudgeon. I survive by recognizing that this is no >>> longer HTTP, but a wolf in sheep's clothing to get past firewalls, a whole >>> new protocol where we make it up as we go. >>> Now, given that, and I join the 21st century, DELETE returns a status code >>> and an optional content. The status code is normally 204 (but maybe 205, >>> which might be appropriate for log out) when no content is returned or 200 >>> if content is returned. If the item is not there, the same applies, but >>> perhaps 404 or 410 can also apply. If DELETE is used to mean logout, then >>> the session is permanently gone and 410 on a repeat is appropriate. A 303 >>> is OK (content is URL), but is probably handled by the underlying library. >>> Now, for proper symmetry, if DELETE is used to log out, then PUT must be >>> used to log in. Both are idempotent, so logging in multiple times should be >>> OK and logging out multiple times should be OK. That is, a login returns >>> 200 and a logout returns 204. Every time. >>> I have not seen it implemented that way. We play the hands we are dealt. >> >> RFC 2616 describes only three possible responses to a DELETE verb: >> 200: the response includes an entity describing the status >> 202: the action has not yet been enacted >> 204: the action has been enacted but there is no status entity >> >> Idempotence appears to be optional. RFC2616 states that certain verbs "can" >> have this property. That said, not all servers or web apps support the >> DELETE verb - there's usually an option to enable/disable it. >> >> And I'm with you on the weirdness of using DELETE to log out. Bleah. >> >> But to Jacque's point, see this: >> >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 7 18:07:48 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 7 Jul 2019 23:07:48 +0100 Subject: math on widths doesn't add up In-Reply-To: <236DF5B9-1222-40F0-A832-035BC99DFC4E@iotecdigital.com> References: <5118BC6F-4210-457E-8637-A92B0A5F53F9@swcp.com> <236DF5B9-1222-40F0-A832-035BC99DFC4E@iotecdigital.com> Message-ID: I've just been teaching my youngest about the 4th - nth dimensions. Time is not the 4th but the 1st temporal dimension. If the 3 spatial dimensions are Length, height and width then the 4th is depth, ie, going inwards and outwards as the easiest way to picture it (but not truly representative). That being the case, how would you describe the 5th spacial dimension. That'll twist your noggin if it's not something you've thought of before :) Sean On Mon, 17 Jun 2019 at 21:55, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > 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 < > use-livecode at lists.runrev.com> 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. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Jul 7 18:12:18 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 7 Jul 2019 15:12:18 -0700 Subject: math on widths doesn't add up In-Reply-To: References: <5118BC6F-4210-457E-8637-A92B0A5F53F9@swcp.com> <236DF5B9-1222-40F0-A832-035BC99DFC4E@iotecdigital.com> Message-ID: What my cat looks for. On Sun, Jul 7, 2019 at 15:08 Sean Cole (Pi) via use-livecode < use-livecode at lists.runrev.com> wrote: > I've just been teaching my youngest about the 4th - nth dimensions. Time is > not the 4th but the 1st temporal dimension. If the 3 spatial dimensions are > Length, height and width then the 4th is depth, ie, going inwards and > outwards as the easiest way to picture it (but not truly representative). > That being the case, how would you describe the 5th spacial dimension. > That'll twist your noggin if it's not something you've thought of before :) > > Sean > > > On Mon, 17 Jun 2019 at 21:55, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > 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 < > > use-livecode at lists.runrev.com> 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. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Jul 7 18:53:38 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Sun, 7 Jul 2019 16:53:38 -0600 Subject: math on widths doesn't add up In-Reply-To: References: <5118BC6F-4210-457E-8637-A92B0A5F53F9@swcp.com> <236DF5B9-1222-40F0-A832-035BC99DFC4E@iotecdigital.com> Message-ID: <767DD42A-313A-4BD8-9696-8166EB9F654D@swcp.com> Perhaps warmth, strength, wealth, breadth, greenth. Maybe forth, growth, faith, health. > On Jul 7, 2019, at 4:07 PM, Sean Cole (Pi) via use-livecode wrote: > > I've just been teaching my youngest about the 4th - nth dimensions. Time is > not the 4th but the 1st temporal dimension. If the 3 spatial dimensions are > Length, height and width then the 4th is depth, ie, going inwards and > outwards as the easiest way to picture it (but not truly representative). > That being the case, how would you describe the 5th spacial dimension. > That'll twist your noggin if it's not something you've thought of before :) > > Sean > > > On Mon, 17 Jun 2019 at 21:55, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> 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 < >> use-livecode at lists.runrev.com> 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. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 8 16:37:11 2019 From: jjs at krutt.org (JJS) Date: Mon, 8 Jul 2019 22:37:11 +0200 Subject: Strange artifacts DG2 on Android and Native fields not always sowing Message-ID: <096954ff-deec-7afe-838a-91ecb61ab4f2@krutt.org> Hi, i'm getting strange artifacts on 2 different Android devices. 1st is a tablet Android 4.4.2 2nd is a phone Android 8.1 The DG2 is a table of which i made the rows a bit higher so the text is bigger and better readable. In IDE lc951dp1 it looks perfect, every line on it's own row. If i scroll from left to right the header and columns move together. Now on Android tablet: 2 lines of text are on one row, if i swipe from left to right then the header is moving together with the upper row plus some pixels of the 3rd line on the second row the other rows/lines are not moving On Android phone almost the same but here only the header moves plus half of the upper row and line, meaning the rest of the pixels of the text stay put Another thing is: i have 2 native fields on the same card as the dg and depending on if they want, they appear on screen after hitting the Test button in the IDE, so it's random appearing. While i have a command to set the visible to true in openCard for these fields. And if they appear they seem to be wanted drawn first before anything else. Anything known about such issues? Thanks! Jerry(Sphere) From niconiko at gmail.com Mon Jul 8 23:05:40 2019 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 9 Jul 2019 12:05:40 +0900 Subject: script for redo/undo text? Message-ID: Good day eh. To quote a post from "User Experience Stack Exchange ": " undo/redo is one of the biggest implementation, testing and maintenance headaches in any significantly sized application" And yet I ask... Would someone care to volunteer a redo/undo script that works on text in a text-field object? ... especially a script that provides (almost) full undo history? (Note: Just changes to text. Not to LC objects themselves.) Ta. -- Nicolas Cueto From sean at pidigital.co.uk Tue Jul 9 05:24:36 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 9 Jul 2019 10:24:36 +0100 Subject: script for redo/undo text? In-Reply-To: References: Message-ID: <9BCCC022-560A-41AC-8820-83D93AD068B9@pidigital.co.uk> Hi Nicolas It becomes quite the memory hoarder as the document goes on (as you can imagine) but I created one that is basically an indexed svc-like array. It can be char or word based. I also created (although it wouldn?t suit your purpose) a very complex undo/redo for a number of prototype game show apps that covered anything that happened. It twists your brain working out the infinite possibilities but is doable. It often just takes a bit of research and planning - especially if you are breaking new ground. I?ll post up a simplified script in a bit. Sean Cole Pi Digital Prod Ltd > On 9 Jul 2019, at 04:05, Nicolas Cueto via use-livecode wrote: > > Good day eh. > > To quote a post from "User Experience Stack Exchange > ": > > " undo/redo is one of the biggest implementation, testing and > maintenance headaches in any significantly sized application" > > And yet I ask... > > Would someone care to volunteer a redo/undo script that works on text in a > text-field object? ... especially a script that provides (almost) full undo > history? > > (Note: Just changes to text. Not to LC objects themselves.) > > Ta. > -- > Nicolas Cueto > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Tue Jul 9 08:01:19 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Tue, 9 Jul 2019 13:01:19 +0100 Subject: script for redo/undo text? In-Reply-To: <9BCCC022-560A-41AC-8820-83D93AD068B9@pidigital.co.uk> References: <9BCCC022-560A-41AC-8820-83D93AD068B9@pidigital.co.uk> Message-ID: Hi Nicolas, After reviewing my code, I don't think it will suffice for your needs. As I said, mine was more character/word based which would be overkill on a large document. More suited to a small text field where lot's of changes to characters or words will happen. That's not the same as with something like, say, a word-processor. The likely method for a WP-like unlimited Un/Re-do is to work with chunks. It's going to be a major memory-whore for large text but the most practical, easy way. You need to setup a global array (gFldTxtA) to store the entire field for each state you want to return to, index-based (1 to n). You'll also need a script local (sFldTxtCurrIndex) to store your current array index number. Each time a key is pressed update gFldTxtA[sFldTxtCurrIndex] with the field content (all of it). (Note: if it gets really large you may have to just add a char at a time to it). Any time the returnKey, deleteKey, arrowKey, pasteKey, cutKey, copyKey, backspaceKey or tabKey is pressed you want to catch this and add 1 to your sFldTxtCurrIndex and store your new field content into that for safe-keeping. Now your undo and redo buttons shift through the array updating the sFldTxtCurrIndex as it goes. Once the user starts typing or adding more text again, all indices of gFldTxtA after the current index need to be wiped (in keeping with common practice) and the current index set. If you want them to undo redo's as well you will need another script local var to keep track of these - but will get brain-twistingly complex. Undo/redo truly is one of the biggest implementation, testing and maintenance headaches for any sized application. It's no wonder it took until iOS3 for it to be added to iPhones (badly) along with copy/paste (which can be equally as distressing when you realise the shear mass of 'types' there are). It's easily underestimated and taken for granted. I hope this helps in some way. All the best. Sean Cole Pi Digital On Tue, 9 Jul 2019 at 10:24, Pi Digital via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Nicolas > > It becomes quite the memory hoarder as the document goes on (as you can > imagine) but I created one that is basically an indexed svc-like array. It > can be char or word based. > > I also created (although it wouldn?t suit your purpose) a very complex > undo/redo for a number of prototype game show apps that covered anything > that happened. It twists your brain working out the infinite possibilities > but is doable. It often just takes a bit of research and planning - > especially if you are breaking new ground. > > I?ll post up a simplified script in a bit. > > Sean Cole > Pi Digital Prod Ltd > > > On 9 Jul 2019, at 04:05, Nicolas Cueto via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Good day eh. > > > > To quote a post from "User Experience Stack Exchange > > >": > > > > " undo/redo is one of the biggest implementation, testing and > > maintenance headaches in any significantly sized application" > > > > And yet I ask... > > > > Would someone care to volunteer a redo/undo script that works on text in > a > > text-field object? ... especially a script that provides (almost) full > undo > > history? > > > > (Note: Just changes to text. Not to LC objects themselves.) > > > > Ta. > > -- > > Nicolas Cueto > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 9 08:09:12 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 9 Jul 2019 08:09:12 -0400 Subject: DataGrid v1 vs DataGrid v2... Message-ID: <87d98b17-588b-73ad-faf6-d4098b62a3f1@researchware.com> QUESTION: If I have a stack with a Datagrid in it that was made in LiveCode 6.x.x. and I have now opened and saved this stack from LiveCode 9.0.5rc1 in the current (v7.0) stack format. Does the Datagrid get converted from a version1 data grid to a version 2 datagrid? Or, if I want/need the version 2 data grid, must I create a new datagrid under LC9.0.x? From curry at pair.com Tue Jul 9 08:29:33 2019 From: curry at pair.com (Curry Kenworthy) Date: Tue, 9 Jul 2019 08:29:33 -0400 Subject: script for redo/undo text? In-Reply-To: References: Message-ID: <4d07ffd0-680a-8090-aaf1-2331074a205d@pair.com> Sean: > The likely method for a WP-like unlimited Un/Re-do is to work > with chunks. It's going to be a major memory-whore for large text > but the most practical, easy way. And then there's the, um, NON-memory-whore approach. Always my fave. (I'm picky like that when it comes to the whole code "morality" thing and corresponding app performance.) :D Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From sean at pidigital.co.uk Tue Jul 9 08:32:37 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Tue, 9 Jul 2019 13:32:37 +0100 Subject: DataGrid v1 vs DataGrid v2... In-Reply-To: <87d98b17-588b-73ad-faf6-d4098b62a3f1@researchware.com> References: <87d98b17-588b-73ad-faf6-d4098b62a3f1@researchware.com> Message-ID: Hi Paul. It gets upgraded automatically. If it is in a Form style, the swipe actions are turned off by default to avoid ruining your old versions. Practically all of the old code works as it did before. As it's just the engine that changes it's basically a straight forward swap-out that's done when you open in 9.0.5>. I just happened to be watching the video by Michael at the California2019 conference last night :) All the best Sean Cole *Pi Digital * On Tue, 9 Jul 2019 at 13:09, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > QUESTION: > > If I have a stack with a Datagrid in it that was made in LiveCode 6.x.x. > and I have now opened and saved this stack from LiveCode 9.0.5rc1 in the > current (v7.0) stack format. Does the Datagrid get converted from a > version1 data grid to a version 2 datagrid? > > Or, if I want/need the version 2 data grid, must I create a new datagrid > under LC9.0.x? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Tue Jul 9 08:44:06 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Tue, 9 Jul 2019 13:44:06 +0100 Subject: script for redo/undo text? In-Reply-To: <4d07ffd0-680a-8090-aaf1-2331074a205d@pair.com> References: <4d07ffd0-680a-8090-aaf1-2331074a205d@pair.com> Message-ID: Curry, Hehe, you are, of course, right and I'd be inclined to do it the 'non' way too. In simple terms, in the 'non' way you only store the changes (like SVC) rather than the whole field. But it's far harder to explain in detail and infinitesimally so when you think about the many possible scenarios your text goes through while editing - and then thinking about it you realise you've only thought about the top of the iceberg that's sitting above the water. (Is that your thinking too, Curry, or did you have an even better way in mind) Oh, the headache has started again. I'm going back to my HTML5 {slightly} less painfull headaches. :) Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk '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, 9 Jul 2019 at 13:29, Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com> wrote: > > Sean: > > > The likely method for a WP-like unlimited Un/Re-do is to work > > with chunks. It's going to be a major memory-whore for large text > > but the most practical, easy way. > > And then there's the, um, NON-memory-whore approach. Always my fave. > > (I'm picky like that when it comes to the whole code "morality" thing > and corresponding app performance.) :D > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Jul 9 10:33:34 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 9 Jul 2019 14:33:34 +0000 Subject: XML To Array In-Reply-To: References: <4D5DE740-5FA0-4A01-94BB-73B6EEDCA23D@iotecdigital.com> <6b0472a1-a2fd-6cea-74a4-ce258d2d889e@sonic.net> Message-ID: <5094A7F9-0481-41C3-B9A0-6FCFC7F7AC0C@iotecdigital.com> I checked the xml and there are indeed duplicates. The current xmlToArray function is likely the only way to view and modify the xml to add entries so I can reimport them. The xml is so complex though that I don't think I'll tackle it. Bob S > On Jul 3, 2019, at 09:28 , Mark Wieder via use-livecode wrote: > > On 7/3/19 7:44 AM, Bob Sneidar via use-livecode wrote: >> Oh good point. Didn't think about duplicates. Obviously I don't really understand xml too well. I've been thinking of it as a text representation of a database where unique keys would be maintained somehow. > > Well, it's not guaranteed that there will be duplicates, but I think if you need to examine each line of the raw xml before converting then you're better off either doing the conversion by hand or leaving the data as xml. > > -- > Mark Wieder > ahsoftware at gmail.com From bobsneidar at iotecdigital.com Tue Jul 9 10:36:17 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 9 Jul 2019 14:36:17 +0000 Subject: script for redo/undo text? In-Reply-To: <4d07ffd0-680a-8090-aaf1-2331074a205d@pair.com> References: <4d07ffd0-680a-8090-aaf1-2331074a205d@pair.com> Message-ID: <4577E114-6052-4AF7-AC24-0E121973DAF5@iotecdigital.com> Another Code Conservative! Nice to meet you sir! We are so few and far between. ;-) Bob S > On Jul 9, 2019, at 05:29 , Curry Kenworthy via use-livecode wrote: > > Sean: > > > The likely method for a WP-like unlimited Un/Re-do is to work > > with chunks. It's going to be a major memory-whore for large text > > but the most practical, easy way. > > And then there's the, um, NON-memory-whore approach. Always my fave. > > (I'm picky like that when it comes to the whole code "morality" thing and corresponding app performance.) :D > > Best wishes, > > Curry Kenworthy From paul at researchware.com Tue Jul 9 10:56:14 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 9 Jul 2019 10:56:14 -0400 Subject: DataGrid v1 vs DataGrid v2... In-Reply-To: References: <87d98b17-588b-73ad-faf6-d4098b62a3f1@researchware.com> Message-ID: On 7/9/2019 8:32 AM, Sean Cole (Pi) via use-livecode wrote: > Hi Paul. > > It gets upgraded automatically. If it is in a Form style, the swipe actions > are turned off by default to avoid ruining your old versions. Practically > all of the old code works as it did before. As it's just the engine that > changes it's basically a straight forward swap-out that's done when you > open in 9.0.5>. I just happened to be watching the video by Michael at the > California2019 conference last night :) > > What good timing! Thank you! From jjs at krutt.org Tue Jul 9 13:19:15 2019 From: jjs at krutt.org (JJS) Date: Tue, 9 Jul 2019 19:19:15 +0200 Subject: Strange artifacts DG2 on Android and Native fields not always sowing In-Reply-To: <096954ff-deec-7afe-838a-91ecb61ab4f2@krutt.org> References: <096954ff-deec-7afe-838a-91ecb61ab4f2@krutt.org> Message-ID: <2dd38051-9c3f-e1e3-db9f-0729022baef9@krutt.org> Created a bug report and send video to Panos. https://quality.livecode.com/show_bug.cgi?id=22231 Op 8-7-2019 om 22:37 schreef JJS via use-livecode: > Hi, > > > i'm getting strange artifacts on 2 different Android devices. > > 1st is a tablet Android 4.4.2 > > 2nd is a phone Android 8.1 > > The DG2 is a table of which i made the rows a bit higher so the text > is bigger and better readable. > > In IDE lc951dp1 it looks perfect, every line on it's own row. If i > scroll from left to right the header and columns move together. > > Now on Android tablet: > > 2 lines of text are on one row, > > if i swipe from left to right then the header is moving together with > the upper row plus some pixels of the 3rd line on the second row > > the other rows/lines are not moving > > On Android phone almost the same but here only the header moves plus > half of the upper row and line, meaning the rest of the pixels of the > text stay put > > > Another thing is: i have 2 native fields on the same card as the dg > and depending on if they want, they appear on screen after hitting the > Test button in the IDE, so it's random appearing. > > While i have a command to set the visible to true in openCard for > these fields. > > And if they appear they seem to be wanted drawn first before anything > else. > > > Anything known about such issues? > > > Thanks! > > Jerry(Sphere) > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 9 18:23:41 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 9 Jul 2019 15:23:41 -0700 Subject: script for redo/undo text? In-Reply-To: References: Message-ID: <5dc8b6b9-24bc-9bf1-9cc0-f49161658c44@sonic.net> On 7/8/19 8:05 PM, Nicolas Cueto via use-livecode wrote: > Good day eh. > > To quote a post from "User Experience Stack Exchange > ": > > " undo/redo is one of the biggest implementation, testing and > maintenance headaches in any significantly sized application" > > And yet I ask... > > Would someone care to volunteer a redo/undo script that works on text in a > text-field object? ... especially a script that provides (almost) full undo > history? The Undo section of my refactor plugin is almost completely self-contained, so you should be able to extract those handlers (look for the "--> Undo handlers" tag near line 2750) and use them with any field. Since they're designed to work with the Script Editor, I think the only changes you need to make would be to create your own scriptFromEditor() function to grab the field text and your own CurrentObject() handler to return the long id of the field. At any rate, this should get you started. And I'm compressing the text before storing it in an array, but as Sean points out, this could get out of hand. -- Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Tue Jul 9 18:59:07 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 9 Jul 2019 15:59:07 -0700 Subject: Rename object In-Reply-To: References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> Message-ID: <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> On Jul 4, 2019, at 9:33 AM, Dar Scott Consulting via use-livecode wrote: > > clone control "gizmo" as "blivet" Wow, I can do that? All these years, and still little details . . . ? 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 Tue Jul 9 19:07:35 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 9 Jul 2019 16:07:35 -0700 Subject: Rename object In-Reply-To: <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> Message-ID: <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> On 7/9/19 3:59 PM, Dr. Hawkins via use-livecode wrote: > Wow, I can do that? > > All these years, and still little details . . . ikr -- Mark Wieder ahsoftware at gmail.com From rdimola at evergreeninfo.net Wed Jul 10 11:45:40 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 10 Jul 2019 11:45:40 -0400 Subject: iOS In-App Purchase Refunds In-Reply-To: <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> Message-ID: <004a01d53736$8975ad50$9c6107f0$@net> Does anyone know how to detect when a user that made a valid in-app purchase and then subsequently asked for and received a refund from Apple? This is a in-app purchase for a subscription to intellectual property so I need a way to know this so I can cut the user off. I have all the backend server code to do this I just need to know if the user received a refund from Apple. Any ideas? Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From harrison at all-auctions.com Wed Jul 10 12:08:32 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 10 Jul 2019 12:08:32 -0400 Subject: iOS In-App Purchase Refunds In-Reply-To: <004a01d53736$8975ad50$9c6107f0$@net> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> <004a01d53736$8975ad50$9c6107f0$@net> Message-ID: <237B030A-5AC2-4831-88D9-488851901E09@all-auctions.com> Hi Ralph, Has this ever happened to you before? If so, shouldn?t the transaction show up in your financial report from Apple? I?ll be very interested to know if you are able to come up with a solution for this one. Good luck! Rick > On Jul 10, 2019, at 11:45 AM, Ralph DiMola via use-livecode wrote: > > Does anyone know how to detect when a user that made a valid in-app purchase > and then subsequently asked for and received a refund from Apple? > This is a in-app purchase for a subscription to intellectual property so I > need a way to know this so I can cut the user off. I have all the backend > server code to do this I just need to know if the user received a refund > from Apple. > > Any ideas? > Thanks! > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jul 10 12:20:06 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 10 Jul 2019 12:20:06 -0400 Subject: iOS In-App Purchase Refunds In-Reply-To: <237B030A-5AC2-4831-88D9-488851901E09@all-auctions.com> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> <004a01d53736$8975ad50$9c6107f0$@net> <237B030A-5AC2-4831-88D9-488851901E09@all-auctions.com> Message-ID: <004e01d5373b$59308d90$0b91a8b0$@net> Yes the Apple reports(and deposits) show this BUT... those reports don?t tell you who received the refund. Since 2012 or so we are about $500.00 short. Some of this could be FX rates and possible an App bugs but we had a rude user last month that demanded a refund and then hung up on customer service but is still using the app(backend server metrics). There is a cancelation on this month's Apple report but we can't pin it to him. This app has in-app products that range from $60.00 to $250.00 so this is becoming a real issue. 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 Rick Harrison via use-livecode Sent: Wednesday, July 10, 2019 12:09 PM To: How to use LiveCode Cc: Rick Harrison Subject: Re: iOS In-App Purchase Refunds Hi Ralph, Has this ever happened to you before? If so, shouldn?t the transaction show up in your financial report from Apple? I?ll be very interested to know if you are able to come up with a solution for this one. Good luck! Rick > On Jul 10, 2019, at 11:45 AM, Ralph DiMola via use-livecode wrote: > > Does anyone know how to detect when a user that made a valid in-app > purchase and then subsequently asked for and received a refund from Apple? > This is a in-app purchase for a subscription to intellectual property > so I need a way to know this so I can cut the user off. I have all the > backend server code to do this I just need to know if the user > received a refund from Apple. > > Any ideas? > 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 jacque at hyperactivesw.com Wed Jul 10 13:04:18 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Jul 2019 12:04:18 -0500 Subject: iOS In-App Purchase Refunds In-Reply-To: <004e01d5373b$59308d90$0b91a8b0$@net> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> <004a01d53736$8975ad50$9c6107f0$@net> <237B030A-5AC2-4831-88D9-488851901E09@all-auctions.com> <004e01d5373b$59308d90$0b91a8b0$@net> Message-ID: <16bdcd7ca50.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I've heard that Apple never reveals customer identities for any reason. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 10, 2019 11:20:50 AM Ralph DiMola via use-livecode wrote: > Yes the Apple reports(and deposits) show this BUT... those reports don?t > tell you who received the refund. > Since 2012 or so we are about $500.00 short. Some of this could be FX rates > and possible an App bugs but we had a rude user last month that demanded a > refund and then hung up on customer service but is still using the > app(backend server metrics). There is a cancelation on this month's Apple > report but we can't pin it to him. This app has in-app products that range > from $60.00 to $250.00 so this is becoming a real issue. > > 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 Rick Harrison via use-livecode > Sent: Wednesday, July 10, 2019 12:09 PM > To: How to use LiveCode > Cc: Rick Harrison > Subject: Re: iOS In-App Purchase Refunds > > Hi Ralph, > > Has this ever happened to you before? If so, shouldn?t the transaction > show up in your financial report from Apple? > > I?ll be very interested to know if you are able to come up with a solution > for this one. > > Good luck! > > Rick > >> On Jul 10, 2019, at 11:45 AM, Ralph DiMola via use-livecode >> wrote: >> >> Does anyone know how to detect when a user that made a valid in-app >> purchase and then subsequently asked for and received a refund from Apple? >> This is a in-app purchase for a subscription to intellectual property >> so I need a way to know this so I can cut the user off. I have all the >> backend server code to do this I just need to know if the user >> received a refund from Apple. >> >> Any ideas? >> 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 rdimola at evergreeninfo.net Wed Jul 10 13:46:16 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 10 Jul 2019 13:46:16 -0400 Subject: iOS In-App Purchase Refunds In-Reply-To: <16bdcd7ca50.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> <004a01d53736$8975ad50$9c6107f0$@net> <237B030A-5AC2-4831-88D9-488851901E09@all-auctions.com> <004e01d5373b$59308d90$0b91a8b0$@net> <16bdcd7ca50.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <004f01d53747$62548690$26fd93b0$@net> True, but there must be a way of the app getting the most recent receipt and decoding it to see if the purchase was canceled. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Wednesday, July 10, 2019 1:04 PM To: How to use LiveCode Cc: J. Landman Gay Subject: RE: iOS In-App Purchase Refunds I've heard that Apple never reveals customer identities for any reason. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 10, 2019 11:20:50 AM Ralph DiMola via use-livecode wrote: > Yes the Apple reports(and deposits) show this BUT... those reports > don?t tell you who received the refund. > Since 2012 or so we are about $500.00 short. Some of this could be FX > rates and possible an App bugs but we had a rude user last month that > demanded a refund and then hung up on customer service but is still > using the app(backend server metrics). There is a cancelation on this > month's Apple report but we can't pin it to him. This app has in-app > products that range from $60.00 to $250.00 so this is becoming a real issue. > > 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 Rick Harrison via use-livecode > Sent: Wednesday, July 10, 2019 12:09 PM > To: How to use LiveCode > Cc: Rick Harrison > Subject: Re: iOS In-App Purchase Refunds > > Hi Ralph, > > Has this ever happened to you before? If so, shouldn?t the > transaction show up in your financial report from Apple? > > I?ll be very interested to know if you are able to come up with a > solution for this one. > > Good luck! > > Rick > >> On Jul 10, 2019, at 11:45 AM, Ralph DiMola via use-livecode >> wrote: >> >> Does anyone know how to detect when a user that made a valid in-app >> purchase and then subsequently asked for and received a refund from Apple? >> This is a in-app purchase for a subscription to intellectual property >> so I need a way to know this so I can cut the user off. I have all >> the backend server code to do this I just need to know if the user >> received a refund from Apple. >> >> Any ideas? >> 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 _______________________________________________ use-livecode mailing list use-livecode at 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 Jul 10 14:12:55 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 10 Jul 2019 19:12:55 +0100 Subject: iOS In-App Purchase Refunds In-Reply-To: <004f01d53747$62548690$26fd93b0$@net> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> <004a01d53736$8975ad50$9c6107f0$@net> <237B030A-5AC2-4831-88D9-488851901E09@all-auctions.com> <004e01d5373b$59308d90$0b91a8b0$@net> <16bdcd7ca50.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <004f01d53747$62548690$26fd93b0$@net> Message-ID: Hi Ralph, I believe the record stays there but the status changes - so you need to check for any status changes Lagi On Wed, 10 Jul 2019 at 18:45, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > True, but there must be a way of the app getting the most recent receipt > and decoding it to see if the purchase was canceled. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of J. Landman Gay via use-livecode > Sent: Wednesday, July 10, 2019 1:04 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: RE: iOS In-App Purchase Refunds > > I've heard that Apple never reveals customer identities for any reason. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | > http://www.hyperactivesw.com On July 10, 2019 11:20:50 AM Ralph DiMola > via use-livecode wrote: > > > Yes the Apple reports(and deposits) show this BUT... those reports > > don?t tell you who received the refund. > > Since 2012 or so we are about $500.00 short. Some of this could be FX > > rates and possible an App bugs but we had a rude user last month that > > demanded a refund and then hung up on customer service but is still > > using the app(backend server metrics). There is a cancelation on this > > month's Apple report but we can't pin it to him. This app has in-app > > products that range from $60.00 to $250.00 so this is becoming a real > issue. > > > > 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 Rick Harrison via use-livecode > > Sent: Wednesday, July 10, 2019 12:09 PM > > To: How to use LiveCode > > Cc: Rick Harrison > > Subject: Re: iOS In-App Purchase Refunds > > > > Hi Ralph, > > > > Has this ever happened to you before? If so, shouldn?t the > > transaction show up in your financial report from Apple? > > > > I?ll be very interested to know if you are able to come up with a > > solution for this one. > > > > Good luck! > > > > Rick > > > >> On Jul 10, 2019, at 11:45 AM, Ralph DiMola via use-livecode > >> wrote: > >> > >> Does anyone know how to detect when a user that made a valid in-app > >> purchase and then subsequently asked for and received a refund from > Apple? > >> This is a in-app purchase for a subscription to intellectual property > >> so I need a way to know this so I can cut the user off. I have all > >> the backend server code to do this I just need to know if the user > >> received a refund from Apple. > >> > >> Any ideas? > >> 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 10 15:58:41 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 10 Jul 2019 15:58:41 -0400 Subject: iOS In-App Purchase Refunds In-Reply-To: References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> <004a01d53736$8975ad50$9c6107f0$@net> <237B030A-5AC2-4831-88D9-488851901E09@all-auctions.com> <004e01d5373b$59308d90$0b91a8b0$@net> <16bdcd7ca50.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <004f01d53747$62548690$26fd93b0$@net> Message-ID: <006301d53759$e243aa40$a6cafec0$@net> I think this will work(how I test is another matter) 1) App starts 2) need purchase? Then do iap purchase as I do now. 3) already purchased? Then... THIS WILL BE NEW a) enable " purchaseStateUpdate" messages via mobileEnablePurchaseUpdates b) wait 1 second or so and see if any messages come through. If message is received then see if it is a "cancel" if so then disable subscription. This assumes that if the user gets a refund from Apple then on next app launch with mobileEnablePurchaseUpdates enabled a "cancel" message is sent via the "purchaseStateUpdate" message. How to test??? 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 Lagi Pittas via use-livecode Sent: Wednesday, July 10, 2019 2:13 PM To: How to use LiveCode Cc: Lagi Pittas Subject: Re: iOS In-App Purchase Refunds Hi Ralph, I believe the record stays there but the status changes - so you need to check for any status changes Lagi On Wed, 10 Jul 2019 at 18:45, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > True, but there must be a way of the app getting the most recent > receipt and decoding it to see if the purchase was canceled. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of J. Landman Gay via use-livecode > Sent: Wednesday, July 10, 2019 1:04 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: RE: iOS In-App Purchase Refunds > > I've heard that Apple never reveals customer identities for any reason. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > | http://www.hyperactivesw.com On July 10, 2019 11:20:50 AM Ralph > DiMola via use-livecode wrote: > > > Yes the Apple reports(and deposits) show this BUT... those reports > > don?t tell you who received the refund. > > Since 2012 or so we are about $500.00 short. Some of this could be > > FX rates and possible an App bugs but we had a rude user last month > > that demanded a refund and then hung up on customer service but is > > still using the app(backend server metrics). There is a cancelation > > on this month's Apple report but we can't pin it to him. This app > > has in-app products that range from $60.00 to $250.00 so this is > > becoming a real > issue. > > > > 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 Rick Harrison via use-livecode > > Sent: Wednesday, July 10, 2019 12:09 PM > > To: How to use LiveCode > > Cc: Rick Harrison > > Subject: Re: iOS In-App Purchase Refunds > > > > Hi Ralph, > > > > Has this ever happened to you before? If so, shouldn?t the > > transaction show up in your financial report from Apple? > > > > I?ll be very interested to know if you are able to come up with a > > solution for this one. > > > > Good luck! > > > > Rick > > > >> On Jul 10, 2019, at 11:45 AM, Ralph DiMola via use-livecode > >> wrote: > >> > >> Does anyone know how to detect when a user that made a valid in-app > >> purchase and then subsequently asked for and received a refund from > Apple? > >> This is a in-app purchase for a subscription to intellectual > >> property so I need a way to know this so I can cut the user off. I > >> have all the backend server code to do this I just need to know if > >> the user received a refund from Apple. > >> > >> Any ideas? > >> 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From cubist at aol.com Wed Jul 10 16:07:13 2019 From: cubist at aol.com (Quentin Long) Date: Wed, 10 Jul 2019 20:07:13 +0000 (UTC) Subject: math on widths doesn't add up (Sean Cole (Pi)) In-Reply-To: References: Message-ID: <692621828.1038904.1562789233284@mail.yahoo.com> sez Sean Cole (Pi):>I've just been teaching my youngest about the 4th - nth dimensions. Time is >not the 4th but the 1st temporal dimension. If the 3 spatial dimensions are >Length, height and width then the 4th is depth, ie, going inwards and >outwards as the easiest way to picture it (but not truly representative). >That being the case, how would you describe the 5th spacial dimension. >That'll twist your noggin if it's not something you've thought of before :) One fictional contemplation of the 4th and 5th dimensions:https://johnesimpson.com/pdf/Ifth_of_oofth-waltertevis.pdf From rdimola at evergreeninfo.net Wed Jul 10 16:45:22 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 10 Jul 2019 16:45:22 -0400 Subject: iOS In-App Purchase Refunds In-Reply-To: References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> <004a01d53736$8975ad50$9c6107f0$@net> <237B030A-5AC2-4831-88D9-488851901E09@all-auctions.com> <004e01d5373b$59308d90$0b91a8b0$@net> <16bdcd7ca50.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <004f01d53747$62548690$26fd93b0$@net> Message-ID: <006701d53760$678c3e50$36a4baf0$@net> Update: After doing some searches it seems that canceling in-app purchases in the Apple sandbox is a hole in sandbox testing that has been there for awhile. I will keep looking and see if that hole has been plugged. In the meantime I will code up the proposed solution. And wait... 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 Lagi Pittas via use-livecode Sent: Wednesday, July 10, 2019 2:13 PM To: How to use LiveCode Cc: Lagi Pittas Subject: Re: iOS In-App Purchase Refunds Hi Ralph, I believe the record stays there but the status changes - so you need to check for any status changes Lagi On Wed, 10 Jul 2019 at 18:45, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > True, but there must be a way of the app getting the most recent > receipt and decoding it to see if the purchase was canceled. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of J. Landman Gay via use-livecode > Sent: Wednesday, July 10, 2019 1:04 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: RE: iOS In-App Purchase Refunds > > I've heard that Apple never reveals customer identities for any reason. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > | http://www.hyperactivesw.com On July 10, 2019 11:20:50 AM Ralph > DiMola via use-livecode wrote: > > > Yes the Apple reports(and deposits) show this BUT... those reports > > don?t tell you who received the refund. > > Since 2012 or so we are about $500.00 short. Some of this could be > > FX rates and possible an App bugs but we had a rude user last month > > that demanded a refund and then hung up on customer service but is > > still using the app(backend server metrics). There is a cancelation > > on this month's Apple report but we can't pin it to him. This app > > has in-app products that range from $60.00 to $250.00 so this is > > becoming a real > issue. > > > > 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 Rick Harrison via use-livecode > > Sent: Wednesday, July 10, 2019 12:09 PM > > To: How to use LiveCode > > Cc: Rick Harrison > > Subject: Re: iOS In-App Purchase Refunds > > > > Hi Ralph, > > > > Has this ever happened to you before? If so, shouldn?t the > > transaction show up in your financial report from Apple? > > > > I?ll be very interested to know if you are able to come up with a > > solution for this one. > > > > Good luck! > > > > Rick > > > >> On Jul 10, 2019, at 11:45 AM, Ralph DiMola via use-livecode > >> wrote: > >> > >> Does anyone know how to detect when a user that made a valid in-app > >> purchase and then subsequently asked for and received a refund from > Apple? > >> This is a in-app purchase for a subscription to intellectual > >> property so I need a way to know this so I can cut the user off. I > >> have all the backend server code to do this I just need to know if > >> the user received a refund from Apple. > >> > >> Any ideas? > >> 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Jul 10 17:10:04 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 10 Jul 2019 22:10:04 +0100 Subject: iOS In-App Purchase Refunds In-Reply-To: <006701d53760$678c3e50$36a4baf0$@net> References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> <004a01d53736$8975ad50$9c6107f0$@net> <237B030A-5AC2-4831-88D9-488851901E09@all-auctions.com> <004e01d5373b$59308d90$0b91a8b0$@net> <16bdcd7ca50.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <004f01d53747$62548690$26fd93b0$@net> <006701d53760$678c3e50$36a4baf0$@net> Message-ID: Why not you or a family member purchase and then refund? Lagi On Wed, 10 Jul 2019 at 21:44, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Update: After doing some searches it seems that canceling in-app purchases > in the Apple sandbox is a hole in sandbox testing that has been there for > awhile. I will keep looking and see if that hole has been plugged. > > In the meantime I will code up the proposed solution. And wait... > > 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 Lagi Pittas via use-livecode > Sent: Wednesday, July 10, 2019 2:13 PM > To: How to use LiveCode > Cc: Lagi Pittas > Subject: Re: iOS In-App Purchase Refunds > > Hi Ralph, > > I believe the record stays there but the status changes - so you need to > check for any status changes > > Lagi > > On Wed, 10 Jul 2019 at 18:45, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > True, but there must be a way of the app getting the most recent > > receipt and decoding it to see if the purchase was canceled. > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > > > -----Original Message----- > > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > > Behalf Of J. Landman Gay via use-livecode > > Sent: Wednesday, July 10, 2019 1:04 PM > > To: How to use LiveCode > > Cc: J. Landman Gay > > Subject: RE: iOS In-App Purchase Refunds > > > > I've heard that Apple never reveals customer identities for any reason. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > > | http://www.hyperactivesw.com On July 10, 2019 11:20:50 AM Ralph > > DiMola via use-livecode wrote: > > > > > Yes the Apple reports(and deposits) show this BUT... those reports > > > don?t tell you who received the refund. > > > Since 2012 or so we are about $500.00 short. Some of this could be > > > FX rates and possible an App bugs but we had a rude user last month > > > that demanded a refund and then hung up on customer service but is > > > still using the app(backend server metrics). There is a cancelation > > > on this month's Apple report but we can't pin it to him. This app > > > has in-app products that range from $60.00 to $250.00 so this is > > > becoming a real > > issue. > > > > > > 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 Rick Harrison via use-livecode > > > Sent: Wednesday, July 10, 2019 12:09 PM > > > To: How to use LiveCode > > > Cc: Rick Harrison > > > Subject: Re: iOS In-App Purchase Refunds > > > > > > Hi Ralph, > > > > > > Has this ever happened to you before? If so, shouldn?t the > > > transaction show up in your financial report from Apple? > > > > > > I?ll be very interested to know if you are able to come up with a > > > solution for this one. > > > > > > Good luck! > > > > > > Rick > > > > > >> On Jul 10, 2019, at 11:45 AM, Ralph DiMola via use-livecode > > >> wrote: > > >> > > >> Does anyone know how to detect when a user that made a valid in-app > > >> purchase and then subsequently asked for and received a refund from > > Apple? > > >> This is a in-app purchase for a subscription to intellectual > > >> property so I need a way to know this so I can cut the user off. I > > >> have all the backend server code to do this I just need to know if > > >> the user received a refund from Apple. > > >> > > >> Any ideas? > > >> 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 > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 10 17:20:54 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 10 Jul 2019 17:20:54 -0400 Subject: iOS In-App Purchase Refunds In-Reply-To: References: <5895c669-ba8b-56b8-09ca-9e3245eaf399@gmail.com> <75E85F5B-6C20-43C7-92E7-A6F4A2E89F0A@gmail.com> <599f6269-44e9-d532-f88f-916df50cac0f@sonic.net> <004a01d53736$8975ad50$9c6107f0$@net> <237B030A-5AC2-4831-88D9-488851901E09@all-auctions.com> <004e01d5373b$59308d90$0b91a8b0$@net> <16bdcd7ca50.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <004f01d53747$62548690$26fd93b0$@net> <006701d53760$678c3e50$36a4baf0$@net> Message-ID: <006d01d53765$5eaeb470$1c0c1d50$@net> Seems to be the only way to test. I also read that you can only get so many refunds until you get flagged by Apple. 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 Lagi Pittas via use-livecode Sent: Wednesday, July 10, 2019 5:10 PM To: How to use LiveCode Cc: Lagi Pittas Subject: Re: iOS In-App Purchase Refunds Why not you or a family member purchase and then refund? Lagi On Wed, 10 Jul 2019 at 21:44, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Update: After doing some searches it seems that canceling in-app > purchases in the Apple sandbox is a hole in sandbox testing that has > been there for awhile. I will keep looking and see if that hole has been plugged. > > In the meantime I will code up the proposed solution. And wait... > > 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 Lagi Pittas via use-livecode > Sent: Wednesday, July 10, 2019 2:13 PM > To: How to use LiveCode > Cc: Lagi Pittas > Subject: Re: iOS In-App Purchase Refunds > > Hi Ralph, > > I believe the record stays there but the status changes - so you need > to check for any status changes > > Lagi > > On Wed, 10 Jul 2019 at 18:45, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > True, but there must be a way of the app getting the most recent > > receipt and decoding it to see if the purchase was canceled. > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > > > -----Original Message----- > > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > > Behalf Of J. Landman Gay via use-livecode > > Sent: Wednesday, July 10, 2019 1:04 PM > > To: How to use LiveCode > > Cc: J. Landman Gay > > Subject: RE: iOS In-App Purchase Refunds > > > > I've heard that Apple never reveals customer identities for any reason. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive > > Software > > | http://www.hyperactivesw.com On July 10, 2019 11:20:50 AM Ralph > > DiMola via use-livecode wrote: > > > > > Yes the Apple reports(and deposits) show this BUT... those reports > > > don?t tell you who received the refund. > > > Since 2012 or so we are about $500.00 short. Some of this could be > > > FX rates and possible an App bugs but we had a rude user last > > > month that demanded a refund and then hung up on customer service > > > but is still using the app(backend server metrics). There is a > > > cancelation on this month's Apple report but we can't pin it to > > > him. This app has in-app products that range from $60.00 to > > > $250.00 so this is becoming a real > > issue. > > > > > > 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 Rick Harrison via use-livecode > > > Sent: Wednesday, July 10, 2019 12:09 PM > > > To: How to use LiveCode > > > Cc: Rick Harrison > > > Subject: Re: iOS In-App Purchase Refunds > > > > > > Hi Ralph, > > > > > > Has this ever happened to you before? If so, shouldn?t the > > > transaction show up in your financial report from Apple? > > > > > > I?ll be very interested to know if you are able to come up with a > > > solution for this one. > > > > > > Good luck! > > > > > > Rick > > > > > >> On Jul 10, 2019, at 11:45 AM, Ralph DiMola via use-livecode > > >> wrote: > > >> > > >> Does anyone know how to detect when a user that made a valid > > >> in-app purchase and then subsequently asked for and received a > > >> refund from > > Apple? > > >> This is a in-app purchase for a subscription to intellectual > > >> property so I need a way to know this so I can cut the user off. > > >> I have all the backend server code to do this I just need to know > > >> if the user received a refund from Apple. > > >> > > >> Any ideas? > > >> 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 > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Wed Jul 10 19:59:26 2019 From: dfepstein at comcast.net (David Epstein) Date: Wed, 10 Jul 2019 19:59:26 -0400 Subject: script for redo/undo text? In-Reply-To: References: Message-ID: <0437089A-2E08-4FE8-B6DC-D5A4B63E8B85@comcast.net> I cannot help with the project of "unlimited" undo/redo, but a simple one-layer undo for fields is not hard to implement. Sean Cole's suggestion that we should record the field state whenever a key is pressed I think does more than is wanted; if you type 10 characters, you don't want to choose Undo 10 times to get rid of them. My approach is to record the field state on keypresses ONLY if there is a text selection (about to be lost when the key is pressed) rather than an insertion point. If text has been added but no text has been lost, you don?t need an Undo command to remove what was added. If you also record the field's state before anything is typed in it, and before the Undo command itself is executed, and before any scripted handlers change the field, I think this will resemble ordinary Word Processor behavior. on keyDown if the selectedText is not empty then uStoreFieldState the short id of the selectedField pass keyDown end keyDown -- and a similar handler for the other keys Sean mentions, although I don't think for arrow keys. on uStoreFieldState fID -- fID is the short id of the field global u put the selectedChunk into myChunk put fID into u["fieldModified"] put the htmlText of fld id fID into u[fID] put word 2 of myChunk into u["chunkA"] put word 4 of myChunk into u["chunkB"] end uStoreFieldState Then on undo, you read the values of u to revise the field, and reload u with the state of the field just before undoing. I store the chunk information so that undo can restore the selection as well as the text to its prior state. David Epstein From niconiko at gmail.com Wed Jul 10 22:26:45 2019 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 11 Jul 2019 11:26:45 +0900 Subject: can't do Find/Search on LC UI stacks (bug?) Message-ID: Even though "View > "Show IDE Stacks in Lists" is checked, am still getting a " From niconiko at gmail.com Wed Jul 10 22:36:34 2019 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 11 Jul 2019 11:36:34 +0900 Subject: can't do Find/Search on LC UI stacks (bug?) [was "script for redo/undo text?"] Message-ID: "Find and Replace" is warning me that "... To search a LiveCode UI stack you must first select 'Show IDE Stacks in Lists' from the View menu." But, I did select "Show IDE Stacks" in "View"! Something I've overlooked or a bug? The reason I want to search LC UI stacks? To understand Mark Wieder's stack/suggestion on how to do "undo/redo" (thank you, Mark!), it seems I have to dig there for functions and such. Thank you. -- Nicolas Cueto From niconiko at gmail.com Wed Jul 10 22:37:56 2019 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 11 Jul 2019 11:37:56 +0900 Subject: script for redo/undo text? In-Reply-To: <5dc8b6b9-24bc-9bf1-9cc0-f49161658c44@sonic.net> References: <5dc8b6b9-24bc-9bf1-9cc0-f49161658c44@sonic.net> Message-ID: Thank you everyone for the various options/suggestions. -- N.C. On Wed, 10 Jul 2019 at 07:24, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 7/8/19 8:05 PM, Nicolas Cueto via use-livecode wrote: > > Good day eh. > > > > To quote a post from "User Experience Stack Exchange > > >": > > > > " undo/redo is one of the biggest implementation, testing and > > maintenance headaches in any significantly sized application" > > > > And yet I ask... > > > > Would someone care to volunteer a redo/undo script that works on text in > a > > text-field object? ... especially a script that provides (almost) full > undo > > history? > > The Undo section of my refactor plugin is almost completely > self-contained, so you should be able to extract those handlers (look > for the "--> Undo handlers" tag near line 2750) and use them with any > field. Since they're designed to work with the Script Editor, I think > the only changes you need to make would be to create your own > scriptFromEditor() function to grab the field text and your own > CurrentObject() handler to return the long id of the field. > > At any rate, this should get you started. And I'm compressing the text > before storing it in an array, but as Sean points out, this could get > out of hand. > > < > https://github.com/mwieder/revRefactor/blob/master/stack_revRefactor_.livecodescript > > > > -- > 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 bobsneidar at iotecdigital.com Thu Jul 11 11:17:00 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 11 Jul 2019 15:17:00 +0000 Subject: math on widths doesn't add up (Sean Cole (Pi)) In-Reply-To: <692621828.1038904.1562789233284@mail.yahoo.com> References: <692621828.1038904.1562789233284@mail.yahoo.com> Message-ID: Great story! Bob S > On Jul 10, 2019, at 13:07 , Quentin Long via use-livecode wrote: > > sez Sean Cole (Pi):>I've just been teaching my youngest about the 4th - nth dimensions. Time is >> not the 4th but the 1st temporal dimension. If the 3 spatial dimensions are >> Length, height and width then the 4th is depth, ie, going inwards and >> outwards as the easiest way to picture it (but not truly representative). >> That being the case, how would you describe the 5th spacial dimension. >> That'll twist your noggin if it's not something you've thought of before :) > One fictional contemplation of the 4th and 5th dimensions:https://johnesimpson.com/pdf/Ifth_of_oofth-waltertevis.pdf > _______________________________________________ From paul at researchware.com Thu Jul 11 11:17:10 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 11 Jul 2019 11:17:10 -0400 Subject: Question about "the screen" property of stacks... Message-ID: The screen of stack X returns the number of the monitor (the line number for the screenRects) that the stack/window is on. How exactly is this determined? I presume it is based on the loc (location) property of the stack, since the window (effective rect or rect) itself can span multiple monitors, but the loc of a stack, being a point, must be one only a single monitor. However, if someone with applicable knowledge could confirm that it would be appreciated. The Dictionary does not clarify how the screen is determined. It would also help if someone could confirm that the screen value is meaningless until the stack/window is opened (much like that the effective rect is meaningless until a stack is opened)? If someone from the mothership can verify, I would be happy to open a doc bug, update the dictionary, and generate a PR for an update to the screen property Dictionary entry to clarify these two points. From bobsneidar at iotecdigital.com Thu Jul 11 11:25:27 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 11 Jul 2019 15:25:27 +0000 Subject: Question about "the screen" property of stacks... In-Reply-To: References: Message-ID: <6233DEE9-1E18-4F68-8B4A-D95438B050E6@iotecdigital.com> Curiously, it also returns the screen number for stacks that are not open. Bob S > On Jul 11, 2019, at 08:17 , Paul Dupuis via use-livecode wrote: > > The screen of stack X returns the number of the monitor (the line number for the screenRects) that the stack/window is on. > > How exactly is this determined? I presume it is based on the loc (location) property of the stack, since the window (effective rect or rect) itself can span multiple monitors, but the loc of a stack, being a point, must be one only a single monitor. > > However, if someone with applicable knowledge could confirm that it would be appreciated. The Dictionary does not clarify how the screen is determined. > > It would also help if someone could confirm that the screen value is meaningless until the stack/window is opened (much like that the effective rect is meaningless until a stack is opened)? > > If someone from the mothership can verify, I would be happy to open a doc bug, update the dictionary, and generate a PR for an update to the screen property Dictionary entry to clarify these two points. From paul at researchware.com Thu Jul 11 11:28:13 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 11 Jul 2019 11:28:13 -0400 Subject: Best Practice with Player object to determine audio or video Message-ID: <09dc6039-d7f6-6fad-70e7-a8046af9b550@researchware.com> I'm looking for the best way (code), cross platform, to determine if the media a user selected for a player object is audio (only) or a video. I am surprised there is not some inherent player property to get this information. I am using an approach that looks at the formattedHeight (with audio media that should just be the height of the controller), but is there some better approach. What if, for some strange reason someone loads a 2px high video? There isn't a way to get the controler height exactly and I think it is slightly different between OSX and Windows (and I have not checked Linux or any other platform) This is our current code: getProp mediaType -- returns whether a player is showing audio, video, or none ?? put 40 into maxControllerHeight -- magic number ?? -- ?? if word 1 of the name of the target is not "player" then return empty ?? -- ?? if the filename of the target is empty OR there is no file (the filename of the target) then return "none" -- player not loaded ?? if the formattedHeight of the target <= maxControllerHeight then return "audio" else return "video" end mediaType However, the "40" figure bother me because it doesn't come from LiveCode itself. What if with LC10, the Mothership revised the controller and its now 41px high and the code breaks. Anyone have a better way? From paul at researchware.com Thu Jul 11 12:27:15 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 11 Jul 2019 12:27:15 -0400 Subject: Question about "the screen" property of stacks... In-Reply-To: <6233DEE9-1E18-4F68-8B4A-D95438B050E6@iotecdigital.com> References: <6233DEE9-1E18-4F68-8B4A-D95438B050E6@iotecdigital.com> Message-ID: <94fea2a8-2b4e-2546-970e-b8676514d934@researchware.com> But is the number accurate? If so, I presume it is just comparing the saved loc of the stack to the screenRects, but what if the saved loc is not in any of the screenRects, then what does 'the screen of stack' return? 1 by default? or something else? I could, of course, but a second monitor, and create a test stack to determine all this, but some one at LiveCode should know (or be able to tell from the code) and then, as I said, I will add it to the Dictionary entry. On 7/11/2019 11:25 AM, Bob Sneidar via use-livecode wrote: > Curiously, it also returns the screen number for stacks that are not open. > > Bob S > > >> On Jul 11, 2019, at 08:17 , Paul Dupuis via use-livecode wrote: >> >> The screen of stack X returns the number of the monitor (the line number for the screenRects) that the stack/window is on. >> >> How exactly is this determined? I presume it is based on the loc (location) property of the stack, since the window (effective rect or rect) itself can span multiple monitors, but the loc of a stack, being a point, must be one only a single monitor. >> >> However, if someone with applicable knowledge could confirm that it would be appreciated. The Dictionary does not clarify how the screen is determined. >> >> It would also help if someone could confirm that the screen value is meaningless until the stack/window is opened (much like that the effective rect is meaningless until a stack is opened)? >> >> If someone from the mothership can verify, I would be happy to open a doc bug, update the dictionary, and generate a PR for an update to the screen property Dictionary entry to clarify these two points. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 11 12:34:56 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 11 Jul 2019 16:34:56 +0000 Subject: Question about "the screen" property of stacks... In-Reply-To: <94fea2a8-2b4e-2546-970e-b8676514d934@researchware.com> References: <6233DEE9-1E18-4F68-8B4A-D95438B050E6@iotecdigital.com> <94fea2a8-2b4e-2546-970e-b8676514d934@researchware.com> Message-ID: It was easy enough to test. It is the loc of the stack. I would have thought the top left, but that's just me. There's good reasons for both, but I am thinking like a Mac user. The window controls for Windows are topright! Bob S > On Jul 11, 2019, at 09:27 , Paul Dupuis via use-livecode wrote: > > But is the number accurate? > > If so, I presume it is just comparing the saved loc of the stack to the screenRects, but what if the saved loc is not in any of the screenRects, then what does 'the screen of stack' return? 1 by default? or something else? > > I could, of course, but a second monitor, and create a test stack to determine all this, but some one at LiveCode should know (or be able to tell from the code) and then, as I said, I will add it to the Dictionary entry. From mark at livecode.com Thu Jul 11 13:08:16 2019 From: mark at livecode.com (Mark Waddingham) Date: Thu, 11 Jul 2019 19:08:16 +0200 Subject: Question about "the screen" property of stacks... In-Reply-To: References: Message-ID: <9ebfc3341f25770a9c7819447061f994@livecode.com> On 2019-07-11 17:17, Paul Dupuis via use-livecode wrote: > The screen of stack X returns the number of the monitor (the line > number for the screenRects) that the stack/window is on. > If someone from the mothership can verify, I would be happy to open a > doc bug, update the dictionary, and generate a PR for an update to the > screen property Dictionary entry to clarify these two points. The engine compares the content rect (not effective!) of the stack to the working area of each screen and takes the screen with which it shares the most area (the intersection of the stack's rect and the working area rect of the screen is a rectangle - and its the area of that which is used). If the stack's rect has no intersection with any screen working area then it uses the screen which has the closest center point to the window's center point (by calculating the length of the line between the two points). Ties are by display index - the primary display is always first, the rest are in order as given by the OS to LC. To be completely unambiguous - here is the routine the engine uses (in the case asked, the p_rectangle would be the rect of the stack being interrogated): const MCDisplay *MCUIDC::getnearestdisplay(const MCRectangle& p_rectangle) { MCDisplay const *t_displays; uint4 t_display_count; uint4 t_home; uint4 t_max_area, t_max_distance; uint4 t_max_area_index, t_max_distance_index; t_display_count = MCscreen -> getdisplays(t_displays, false); t_max_area = 0; t_max_distance = MAXUINT4; t_max_distance_index = 0; for(uint4 t_display = 0; t_display < t_display_count; ++t_display) { MCRectangle t_workarea; t_workarea = t_displays[t_display] . workarea; MCRectangle t_intersection; uint4 t_area, t_distance; t_intersection = MCU_intersect_rect(p_rectangle, t_workarea); t_area = t_intersection . width * t_intersection . height; uint4 t_dx, t_dy; t_dx = (t_workarea . x + t_workarea . width / 2) - (p_rectangle . x + p_rectangle . width / 2); t_dy = (t_workarea . y + t_workarea . height / 2) - (p_rectangle . y + p_rectangle . height / 2); t_distance = t_dx * t_dx + t_dy * t_dy; if (t_area > t_max_area) { t_max_area = t_area; t_max_area_index = t_display; } if (t_distance < t_max_distance) { t_max_distance = t_distance; t_max_distance_index = t_display; } } if (t_max_area == 0) t_home = t_max_distance_index; else t_home = t_max_area_index; return &t_displays[t_home]; } [ And yes - I just noticed that 't_max_distance' is a misnomer - it should really be t_min_distance! ] Hope this helps! Warmest Regards, Mark. P.S. The reason it works without a stack being open is because it is an entirely 'logical' operation based on the rect of the stack not effective rect. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paul at researchware.com Thu Jul 11 13:26:23 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 11 Jul 2019 13:26:23 -0400 Subject: Question about "the screen" property of stacks... In-Reply-To: <9ebfc3341f25770a9c7819447061f994@livecode.com> References: <9ebfc3341f25770a9c7819447061f994@livecode.com> Message-ID: Thank you Mark! I will create an abbreviated summary for the Dictionary entry. I can now see why the programmer will get a? screen number for the stack even if the stack is not "on" any actually monitor (use loc to screenLoc line calculation), which is actually very helpful. Our application has a preferences that allows the user to save their window placement between sessions and we have to address the issue that a window may have been on a monitor that is no longer present the next time our app starts up We'd thought about just resetting the window to its default position, but seeing this, it makes more sense to me to move the window to the screen with the closest center. On 7/11/2019 1:08 PM, Mark Waddingham via use-livecode wrote: > On 2019-07-11 17:17, Paul Dupuis via use-livecode wrote: >> The screen of stack X returns the number of the monitor (the line >> number for the screenRects) that the stack/window is on. > >> If someone from the mothership can verify, I would be happy to open a >> doc bug, update the dictionary, and generate a PR for an update to the >> screen property Dictionary entry to clarify these two points. > > The engine compares the content rect (not effective!) of the stack to the > working area of each screen and takes the screen with which it shares the > most area (the intersection of the stack's rect and the working area rect > of the screen is a rectangle - and its the area of that which is used). > > If the stack's rect has no intersection with any screen working area then > it uses the screen which has the closest center point to the window's > center > point (by calculating the length of the line between the two points). > > Ties are by display index - the primary display is always first, the rest > are in order as given by the OS to LC. > > To be completely unambiguous - here is the routine the engine uses (in > the > case asked, the p_rectangle would be the rect of the stack being > interrogated): > > const MCDisplay *MCUIDC::getnearestdisplay(const MCRectangle& > p_rectangle) > { > ????MCDisplay const *t_displays; > ????uint4 t_display_count; > ????uint4 t_home; > ????uint4 t_max_area, t_max_distance; > ????uint4 t_max_area_index, t_max_distance_index; > > ????t_display_count = MCscreen -> getdisplays(t_displays, false); > > ????t_max_area = 0; > ????t_max_distance = MAXUINT4; > ??????? t_max_distance_index = 0; > ????for(uint4 t_display = 0; t_display < t_display_count; ++t_display) > ????{ > ??????? MCRectangle t_workarea; > ??????? t_workarea = t_displays[t_display] . workarea; > > ??????? MCRectangle t_intersection; > ??????? uint4 t_area, t_distance; > ??????? t_intersection = MCU_intersect_rect(p_rectangle, t_workarea); > ??????? t_area = t_intersection . width * t_intersection . height; > > ??????? uint4 t_dx, t_dy; > ??????? t_dx = (t_workarea . x + t_workarea . width / 2) - > (p_rectangle . x + p_rectangle . width / 2); > ??????? t_dy = (t_workarea . y + t_workarea . height / 2) - > (p_rectangle . y + p_rectangle . height / 2); > ??????? t_distance = t_dx * t_dx + t_dy * t_dy; > > ??????? if (t_area > t_max_area) > ??????? { > ??????????? t_max_area = t_area; > ??????????? t_max_area_index = t_display; > ??????? } > > ??????? if (t_distance < t_max_distance) > ??????? { > ??????????? t_max_distance = t_distance; > ??????????? t_max_distance_index = t_display; > ??????? } > ????} > > ????if (t_max_area == 0) > ??????? t_home = t_max_distance_index; > ????else > ??????? t_home = t_max_area_index; > > ????return &t_displays[t_home]; > } > > [ And yes - I just noticed that 't_max_distance' is a misnomer - it > should really be > t_min_distance! ] > > Hope this helps! > > Warmest Regards, > > Mark. > > P.S. The reason it works without a stack being open is because it is > an entirely > 'logical' operation based on the rect of the stack not effective rect. > From curry at pair.com Thu Jul 11 13:32:26 2019 From: curry at pair.com (Curry Kenworthy) Date: Thu, 11 Jul 2019 13:32:26 -0400 Subject: Best Practice with Player object to determine audio or video In-Reply-To: <09dc6039-d7f6-6fad-70e7-a8046af9b550@researchware.com> References: <09dc6039-d7f6-6fad-70e7-a8046af9b550@researchware.com> Message-ID: <93cd097d-f810-1f4f-bae5-bb6c9b12142a@pair.com> Built-in "mediaTypes" property is pretty handy! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From paul at researchware.com Thu Jul 11 13:30:13 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 11 Jul 2019 13:30:13 -0400 Subject: Question about "the screen" property of stacks... In-Reply-To: <9ebfc3341f25770a9c7819447061f994@livecode.com> References: <9ebfc3341f25770a9c7819447061f994@livecode.com> Message-ID: Sorry, one more question: I assume since 'the screen of stack' is calculated dynamically, that in a 'on desktopChanged' handler (triggered by a monitor being removed) that looking at 'the screen of stack' for a stack on the now-removed monitor would give you the closest remaining monitor? On 7/11/2019 1:08 PM, Mark Waddingham via use-livecode wrote: > On 2019-07-11 17:17, Paul Dupuis via use-livecode wrote: >> The screen of stack X returns the number of the monitor (the line >> number for the screenRects) that the stack/window is on. > >> If someone from the mothership can verify, I would be happy to open a >> doc bug, update the dictionary, and generate a PR for an update to the >> screen property Dictionary entry to clarify these two points. > > The engine compares the content rect (not effective!) of the stack to the > working area of each screen and takes the screen with which it shares the > most area (the intersection of the stack's rect and the working area rect > of the screen is a rectangle - and its the area of that which is used). > > If the stack's rect has no intersection with any screen working area then > it uses the screen which has the closest center point to the window's > center > point (by calculating the length of the line between the two points). > > Ties are by display index - the primary display is always first, the rest > are in order as given by the OS to LC. > > To be completely unambiguous - here is the routine the engine uses (in > the > case asked, the p_rectangle would be the rect of the stack being > interrogated): > > const MCDisplay *MCUIDC::getnearestdisplay(const MCRectangle& > p_rectangle) > { > ????MCDisplay const *t_displays; > ????uint4 t_display_count; > ????uint4 t_home; > ????uint4 t_max_area, t_max_distance; > ????uint4 t_max_area_index, t_max_distance_index; > > ????t_display_count = MCscreen -> getdisplays(t_displays, false); > > ????t_max_area = 0; > ????t_max_distance = MAXUINT4; > ??????? t_max_distance_index = 0; > ????for(uint4 t_display = 0; t_display < t_display_count; ++t_display) > ????{ > ??????? MCRectangle t_workarea; > ??????? t_workarea = t_displays[t_display] . workarea; > > ??????? MCRectangle t_intersection; > ??????? uint4 t_area, t_distance; > ??????? t_intersection = MCU_intersect_rect(p_rectangle, t_workarea); > ??????? t_area = t_intersection . width * t_intersection . height; > > ??????? uint4 t_dx, t_dy; > ??????? t_dx = (t_workarea . x + t_workarea . width / 2) - > (p_rectangle . x + p_rectangle . width / 2); > ??????? t_dy = (t_workarea . y + t_workarea . height / 2) - > (p_rectangle . y + p_rectangle . height / 2); > ??????? t_distance = t_dx * t_dx + t_dy * t_dy; > > ??????? if (t_area > t_max_area) > ??????? { > ??????????? t_max_area = t_area; > ??????????? t_max_area_index = t_display; > ??????? } > > ??????? if (t_distance < t_max_distance) > ??????? { > ??????????? t_max_distance = t_distance; > ??????????? t_max_distance_index = t_display; > ??????? } > ????} > > ????if (t_max_area == 0) > ??????? t_home = t_max_distance_index; > ????else > ??????? t_home = t_max_area_index; > > ????return &t_displays[t_home]; > } > > [ And yes - I just noticed that 't_max_distance' is a misnomer - it > should really be > t_min_distance! ] > > Hope this helps! > > Warmest Regards, > > Mark. > > P.S. The reason it works without a stack being open is because it is > an entirely > 'logical' operation based on the rect of the stack not effective rect. > From sean at pidigital.co.uk Thu Jul 11 13:46:36 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 11 Jul 2019 18:46:36 +0100 Subject: math on widths doesn't add up (Sean Cole (Pi)) In-Reply-To: References: <692621828.1038904.1562789233284@mail.yahoo.com> Message-ID: <6F5294CB-5D2D-4F67-9282-8B966A01D01F@pidigital.co.uk> Wonderful! [Massive-grin]. That pleases me a lot. Thank you for sharing it. :D Sean Cole Pi Digital Prod Ltd > On 11 Jul 2019, at 16:17, Bob Sneidar via use-livecode wrote: > > Great story! > > Bob S > > >> On Jul 10, 2019, at 13:07 , Quentin Long via use-livecode wrote: >> >> sez Sean Cole (Pi):>I've just been teaching my youngest about the 4th - nth dimensions. Time is >>> not the 4th but the 1st temporal dimension. If the 3 spatial dimensions are >>> Length, height and width then the 4th is depth, ie, going inwards and >>> outwards as the easiest way to picture it (but not truly representative). >>> That being the case, how would you describe the 5th spacial dimension. >>> That'll twist your noggin if it's not something you've thought of before :) >> One fictional contemplation of the 4th and 5th dimensions:https://johnesimpson.com/pdf/Ifth_of_oofth-waltertevis.pdf >> _______________________________________________ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Thu Jul 11 14:31:14 2019 From: mark at livecode.com (Mark Waddingham) Date: Thu, 11 Jul 2019 20:31:14 +0200 Subject: Question about "the screen" property of stacks... In-Reply-To: References: <9ebfc3341f25770a9c7819447061f994@livecode.com> Message-ID: On 2019-07-11 19:30, Paul Dupuis via use-livecode wrote: > Sorry, one more question: > > I assume since 'the screen of stack' is calculated dynamically, that > in a 'on desktopChanged' handler (triggered by a monitor being > removed) that looking at 'the screen of stack' for a stack on the > now-removed monitor would give you the closest remaining monitor? Yes - the engine refetches the displays list (which you see in the C code) before desktopChanged is sent (indeed, the engine responds to an OS notification about the screen setup changing in order to send the message). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jacque at hyperactivesw.com Thu Jul 11 14:41:47 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 11 Jul 2019 13:41:47 -0500 Subject: Accessibility Message-ID: Screen readers don't work in LC. How do those of you who support accessibility provide that? Is there anything in LC itself that supports the ADA act? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Thu Jul 11 14:57:22 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 11 Jul 2019 14:57:22 -0400 Subject: Accessibility In-Reply-To: References: Message-ID: <7c2c01fd-8028-954b-db76-74fe36679830@researchware.com> On 7/11/2019 2:41 PM, J. Landman Gay via use-livecode wrote: > Screen readers don't work in LC. How do those of you who support > accessibility provide that? Is there anything in LC itself that > supports the ADA act? > This comes up repeatedly on this list. Any Desktop LC app is compatible with some OS accessibility tools, typically screen magnifies as they do not rely of any hooks in the App itself. Most all screen readers require in App API hooks. With widgets and FFI support, it might be possible now (LC9+) to create a library for one or more of the major screen readers There are also some OS provided screen reading tools that I have not tested with LC7, 8, or 9, but they did not work with LC6 as the UI controls (buttons and field primarily) were not OS standard controls, but LC specific. We get about 1-3 requests per year for screen reading support for our app. I'd love to provide support, but the cost (at least in the past) develop Externals and integration, if it even had been possible, would have bankrupted us. JAWS seems to be the most requested. If you look into the Widgets route and see any promise of a solution, please let me know. From paul at researchware.com Thu Jul 11 15:02:54 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 11 Jul 2019 15:02:54 -0400 Subject: Best Practice with Player object to determine audio or video In-Reply-To: <93cd097d-f810-1f4f-bae5-bb6c9b12142a@pair.com> References: <09dc6039-d7f6-6fad-70e7-a8046af9b550@researchware.com> <93cd097d-f810-1f4f-bae5-bb6c9b12142a@pair.com> Message-ID: the mediaTYpes property returns tracks (and the documentation doesn't say whether the list is cr delimited or comma delimited, but that is a docs issue) Are you saying that for example if (the mediaTypes of player X contains "audio" and not (the mediaTypes of player X contains "video")) is definitely an audio only media file? and conversely if (the mediaTypes contains "video") it is a video media file? If not media file has been set for the player, what does "the mediaTypes" return (once again, the documentation doesn't say!) Is this an approach you have coded and used? On 7/11/2019 1:32 PM, Curry Kenworthy via use-livecode wrote: > > Built-in "mediaTypes" property is pretty handy! > > 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 klaus at major-k.de Thu Jul 11 15:09:59 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 11 Jul 2019 21:09:59 +0200 Subject: Best Practice with Player object to determine audio or video In-Reply-To: References: <09dc6039-d7f6-6fad-70e7-a8046af9b550@researchware.com> <93cd097d-f810-1f4f-bae5-bb6c9b12142a@pair.com> Message-ID: Hi Paul, > Am 11.07.2019 um 21:02 schrieb Paul Dupuis via use-livecode : > > the mediaTYpes property returns tracks (and the documentation doesn't say whether the list is cr delimited or comma delimited, but that is a docs issue) > > Are you saying that for example if (the mediaTypes of player X contains "audio" and not (the mediaTypes of player X contains "video")) is definitely an audio only media file? and conversely if (the mediaTypes contains "video") it is a video media file? > If not media file has been set for the player, what does "the mediaTypes" return (once again, the documentation doesn't say!) > > Is this an approach you have coded and used? 10 seconds of testing revealed this: Filename not set -> mediatypes = EMPTY Loaded a video without sound Default video of LC -> video Loaded a video with sound MP4 -> video,audio Loaded a sound file MP3 -> audio I'll leave the conclusions to you! 8-) Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From curry at pair.com Thu Jul 11 15:53:53 2019 From: curry at pair.com (Curry Kenworthy) Date: Thu, 11 Jul 2019 15:53:53 -0400 Subject: Best Practice with Player object to determine audio or video In-Reply-To: References: Message-ID: Paul: > Is this an approach you have coded and used? Yes. If you had some code using your mediaType getprop, such as: if the mediaType of player 1 is "Video" then -- do something It could become, for example (a minimal change): if the mediaTypes of player 1 contains "Video" then -- do something Etc. Used successfully in familiar contexts. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From jacque at hyperactivesw.com Thu Jul 11 16:11:37 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 11 Jul 2019 15:11:37 -0500 Subject: Accessibility In-Reply-To: <7c2c01fd-8028-954b-db76-74fe36679830@researchware.com> References: <7c2c01fd-8028-954b-db76-74fe36679830@researchware.com> Message-ID: On 7/11/19 1:57 PM, Paul Dupuis via use-livecode wrote: > On 7/11/2019 2:41 PM, J. Landman Gay via use-livecode wrote: >> Screen readers don't work in LC. How do those of you who support >> accessibility provide that? Is there anything in LC itself that >> supports the ADA act? >> > > This comes up repeatedly on this list. > > Any Desktop LC app is compatible with some OS accessibility tools, > typically screen magnifies as they do not rely of any hooks in the App > itself. Most all screen readers require in App API hooks. With widgets > and FFI support, it might be possible now (LC9+) to create a library for > one or more of the major screen readers There are also some OS provided > screen reading tools that I have not tested with LC7, 8, or 9, but they > did not work with LC6 as the UI controls (buttons and field primarily) > were not OS standard controls, but LC specific. > > We get about 1-3 requests per year for screen reading support for our > app. I'd love to provide support, but the cost (at least in the past) > develop Externals and integration, if it even had been possible, would > have bankrupted us. JAWS seems to be the most requested. > > If you look into the Widgets route and see any promise of a solution, > please let me know. I wonder if the PDF widget would be compatible. Doesn't it use the OS API? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Thu Jul 11 17:11:59 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 11 Jul 2019 14:11:59 -0700 Subject: math on widths doesn't add up (Sean Cole (Pi)) In-Reply-To: <692621828.1038904.1562789233284@mail.yahoo.com> References: <692621828.1038904.1562789233284@mail.yahoo.com> Message-ID: <4514262a-6183-4fb4-cda3-29934fe64b33@sonic.net> On 7/10/19 1:07 PM, Quentin Long via use-livecode wrote: > One fictional contemplation of the 4th and 5th dimensions:https://johnesimpson.com/pdf/Ifth_of_oofth-waltertevis.pdf Heh. Thanks, Quentin. Walter Tevis' first published story! -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Thu Jul 11 18:14:58 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 11 Jul 2019 15:14:58 -0700 Subject: Elevating User Rights of Livecode on Linux In-Reply-To: References: <860a3470-255b-7246-82d8-62baf3256106@sonic.net> Message-ID: <264111a8-f4d3-a8c3-e2b2-f1d2b9657906@sonic.net> On 7/3/19 9:59 AM, Dalton Calford wrote: > nevermind about the /.? Just discovering '' vs "" usage. > Still learning livecode and the cheat sheets are not as robust as I > would prefer. Re that, I see bug #16941 has a status of "AWAITING_MERGE". https://quality.livecode.com/show_bug.cgi?id=16941 and references https://github.com/livecode/livecode/pull/5781 They've both been sitting in limbo for two years now. Has support for single-quotes been sidelined? Dropped? What does "AWAITING_MERGE" mean in this context? -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Thu Jul 11 23:34:41 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 11 Jul 2019 22:34:41 -0500 Subject: Local files in browser widget Message-ID: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> I think I asked this before but it isn't working now. I thought specialFolderPath("resources") was okay for read-only files. It fails on Android. put specialFolderPath("resources") & "/tFolder/tFile.html" into tPath set the url of widget "browser" to ("file://" & tPath) I get an error that the file was not found. It's there, the folder was included in the Copy Files pane in standalone settings. When I insert an answer dialog to view the path, there's a string that ends with "...base.apk/tFolder/tFile.html" so I think that's right. Do I need more or fewer slashes? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Fri Jul 12 10:10:47 2019 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 12 Jul 2019 14:10:47 +0000 Subject: Local files in browser widget In-Reply-To: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> Message-ID: <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> On Jul 11, 2019, at 9:34 PM, J. Landman Gay via use-livecode wrote: > > I think I asked this before but it isn't working now. I thought specialFolderPath("resources") was okay for read-only files. It fails on Android. > > put specialFolderPath("resources") & "/tFolder/tFile.html" into tPath > set the url of widget "browser" to ("file://" & tPath) > > I get an error that the file was not found. It's there, the folder was included in the Copy Files pane in standalone settings. When I insert an answer dialog to view the path, there's a string that ends with "...base.apk/tFolder/tFile.html" so I think that's right. > > Do I need more or fewer slashes? J, I don?t think you need the slashes after file: at all. (?file:? & specialFolderPath(?resources?) & ?/tFolder/tFile.hmtl?) should do it. Also check case on folder and file names. Case matters in mobile file systems in my experience. D Devin Asay Director Office of Digital Humanities Brigham Young University From mkoob at rogers.com Fri Jul 12 11:35:56 2019 From: mkoob at rogers.com (KOOB) Date: Fri, 12 Jul 2019 11:35:56 -0400 Subject: tsNet and AWSS3 questions Message-ID: <6B5D6D1A-14C4-48CA-A705-74DAAF6A978E@rogers.com> I have posted this on the forums and have not got any response. ? So I am trying on the use-list. I am changing from using mergAWSS3 commands to using the new AWSS3 commands in LC 9.0.4. I have two questions about how tsNet and the new AWSS3 commands work together 1. It seems I need to use tsNetGetStatus to monitor progress on uploads and downloads with AWSS3PutObject and AWSS3GetObject. If I use tsNetGetStatus do I have to call tsNetInit first? Does this just have to be called one time when the application opens or each time tsNetGetStatus is called? 2. In my application I used mergAWSS3Cancel to give the user the option to be able to cancel downloads or uploads that were taking too long or appeared to be stuck. I don?t see an equivalent in the AWSS3 commands nor in the tsNet commands. Is there a way to cancel a tsNet operation in progress? Thanks for any input. Martin Koob Sent from my iPad From alain.vezina at logilangue.com Fri Jul 12 11:50:56 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Fri, 12 Jul 2019 11:50:56 -0400 Subject: Gzip in HTML5 Message-ID: <3A4E70C6-B3DB-45C8-97AC-DD80D168425A@logilangue.com> Is there anybody who can tell me which files and folders I have to Gzip in HTML5 app. ? The doc says you have to Gzip the engine. What do they mean by engine, considering that the biggest folder is the JavaScript one. I Gziped that folder, but I saw no difference in time to download my test app. Alain Vezina Logilangue From mkoob at rogers.com Fri Jul 12 12:09:16 2019 From: mkoob at rogers.com (Martin Koob) Date: Fri, 12 Jul 2019 12:09:16 -0400 Subject: Bug Inconsistencies with AWSS3 commands Message-ID: As you may have read in my other post I am trying to move from mergAWSS3 to the LC9 AWSS3 commands so I can build my application for windows. I have had some success but I am running into some inconsistencies that I think are bugs. I have made a demo stack and created a bug report. https://quality.livecode.com/show_bug.cgi?id=22235 Can someone try this out and see if they get the same results? Thanks Martin Koob Sent from my iPhone From hh at hyperhh.de Fri Jul 12 13:01:35 2019 From: hh at hyperhh.de (hh) Date: Fri, 12 Jul 2019 19:01:35 +0200 Subject: Gzip in HTML5 Message-ID: Nothing directly/manually. The "need" for Gzip is meant to speed up serving the HTML5 standalone. This is done (after configuring the .htaccess file) by the server. The standalone builder gives you the files exactly as you need them. What you can change to your taste is the html file connected to the standalone. Here is the pdf of a talk I gave in 2016, the second part contains an example customized html file and moreover (on page 15) some hints how to optimize serving html5 standalones using Gzip/Apache: http://hyperhh.org/html5/community/LCD-01f.pdf Compare your serving speed to the speed of the last samples of http://hyperhh.org/html5/ (which is optimized) using Safari. If have here a loading time of at most 7 seconds for the first time and 4 seconds when using the same LC version. [http://hh.on-rev.com/html5/ is (currently) much slower...] From bobsneidar at iotecdigital.com Fri Jul 12 13:43:22 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 12 Jul 2019 17:43:22 +0000 Subject: Question about "the screen" property of stacks... In-Reply-To: <9ebfc3341f25770a9c7819447061f994@livecode.com> References: <9ebfc3341f25770a9c7819447061f994@livecode.com> Message-ID: <5E18BB1F-6218-42D4-8C0E-236481ADFC08@iotecdigital.com> Thanks Mark. I was playing with this to try and determine how to get a stack window to move to a position where it is fully visible on the screen it belongs to. Turns out not to be trivial, at least not for me. I worked out the math, and was feeling pretty proud of myself, until I realized the primary monitor may not be to the left of any secondary monitor. I then realized a second (or third) monitor may not even be right or left, but might be top or bottom! At this point my brain blew a fuse and I gave up. ;-) There may be a command like get the screenLoc of screen 2, but I was not able to find it in the dictionary. That would be a handy edition. To that end, here is a function that will do it: function getScreenCenter pStack -- pStack must be the name or the filename (not the short name) of a stack put the screen of pStack into tStackScreen put line tStackScreen of the screenRects into tScreenRect put item 1 of tScreenRect + ((item 3 of tScreenRect - item 1 of tScreenRect) /2) \ into item 1 of tNewStackLoc put item 2 of tScreenRect + ((item 4 of tScreenRect - item 2 of tScreenRect) /2) \ into item 2 of tNewStackLoc return tNewStackLoc end getScreenCenter Bob S > On Jul 11, 2019, at 10:08 , Mark Waddingham via use-livecode wrote: > > On 2019-07-11 17:17, Paul Dupuis via use-livecode wrote: >> The screen of stack X returns the number of the monitor (the line >> number for the screenRects) that the stack/window is on. > >> If someone from the mothership can verify, I would be happy to open a >> doc bug, update the dictionary, and generate a PR for an update to the >> screen property Dictionary entry to clarify these two points. > > The engine compares the content rect (not effective!) of the stack to the > working area of each screen and takes the screen with which it shares the > most area (the intersection of the stack's rect and the working area rect > of the screen is a rectangle - and its the area of that which is used). From jacque at hyperactivesw.com Fri Jul 12 14:43:24 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Jul 2019 13:43:24 -0500 Subject: Local files in browser widget In-Reply-To: <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> Message-ID: <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> On 7/12/19 9:10 AM, Devin Asay via use-livecode wrote: > On Jul 11, 2019, at 9:34 PM, J. Landman Gay via use-livecode wrote: >> >> I think I asked this before but it isn't working now. I thought specialFolderPath("resources") was okay for read-only files. It fails on Android. >> >> put specialFolderPath("resources") & "/tFolder/tFile.html" into tPath >> set the url of widget "browser" to ("file://" & tPath) >> >> I get an error that the file was not found. It's there, the folder was included in the Copy Files pane in standalone settings. When I insert an answer dialog to view the path, there's a string that ends with "...base.apk/tFolder/tFile.html" so I think that's right. >> >> Do I need more or fewer slashes? > > J, > > I don?t think you need the slashes after file: at all. (?file:? & specialFolderPath(?resources?) & ?/tFolder/tFile.hmtl?) should do it. > > Also check case on folder and file names. Case matters in mobile file systems in my experience. Thanks Devin, but unfortunately it still doesn't work. Capitalization is correct (all lower case.) I also tried adding the internet library and tsNet, even though I don't use those, just to see if they were required. Still no go. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Fri Jul 12 14:45:54 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 12 Jul 2019 11:45:54 -0700 Subject: import from multi-page png, and automating pdf-> png Message-ID: <321AD7C5-19A9-4DBA-B013-851B1C6B3DF6@gmail.com> As I?m trying to get a temporary workaround for the engine pixel-rendering a pdf widget rather than including the pdf, I have a two part question: 1) is there a straightforward way to batch convert pdf to png of specified density? 2) for a multipage png, is there a ?decent? way to use import to get a chunk of a specified page, or do I need to know the pixel height of the page and do the math? ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From dalton.calford at gmail.com Fri Jul 12 14:49:23 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Fri, 12 Jul 2019 14:49:23 -0400 Subject: import from multi-page png, and automating pdf-> png In-Reply-To: <321AD7C5-19A9-4DBA-B013-851B1C6B3DF6@gmail.com> References: <321AD7C5-19A9-4DBA-B013-851B1C6B3DF6@gmail.com> Message-ID: You can use gimp to automate the conversion of pdf's to specified output file formats/sizes. This is good for batch work. xpdfreader also has some good utilities/functionality depending upon what you are trying to do. On Fri, 12 Jul 2019 at 14:46, Dr. Hawkins via use-livecode < use-livecode at lists.runrev.com> wrote: > > As I?m trying to get a temporary workaround for the engine pixel-rendering > a pdf widget rather than including the pdf, I have a two part question: > > 1) is there a straightforward way to batch convert pdf to png of specified > density? > 2) for a multipage png, is there a ?decent? way to use import to get a > chunk of a specified page, or do I need to know the pixel height of the > page and do the math? > ? > 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 Fri Jul 12 14:52:22 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 12 Jul 2019 20:52:22 +0200 Subject: Local files in browser widget In-Reply-To: <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> Message-ID: <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> Hi Jaques, > Am 12.07.2019 um 20:43 schrieb J. Landman Gay via use-livecode : > > On 7/12/19 9:10 AM, Devin Asay via use-livecode wrote: >> On Jul 11, 2019, at 9:34 PM, J. Landman Gay via use-livecode wrote: >>> >>> I think I asked this before but it isn't working now. I thought specialFolderPath("resources") was okay for read-only files. It fails on Android. >>> >>> put specialFolderPath("resources") & "/tFolder/tFile.html" into tPath >>> set the url of widget "browser" to ("file://" & tPath) >>> >>> I get an error that the file was not found. It's there, the folder was included in the Copy Files pane in standalone settings. When I insert an answer dialog to view the path, there's a string that ends with "...base.apk/tFolder/tFile.html" so I think that's right. >>> >>> Do I need more or fewer slashes? >> J, >> I don?t think you need the slashes after file: at all. (?file:? & specialFolderPath(?resources?) & ?/tFolder/tFile.hmtl?) should do it. >> Also check case on folder and file names. Case matters in mobile file systems in my experience. > > Thanks Devin, but unfortunately it still doesn't work. Capitalization is correct (all lower case.) I also tried adding the internet library and tsNet, even though I don't use those, just to see if they were required. Still no go. just to be sure, did you: ... replace SPACE with "%20" in tPath ... ? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From dalton.calford at gmail.com Fri Jul 12 14:55:20 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Fri, 12 Jul 2019 14:55:20 -0400 Subject: import from multi-page png, and automating pdf-> png In-Reply-To: References: <321AD7C5-19A9-4DBA-B013-851B1C6B3DF6@gmail.com> Message-ID: https://www.xpdfreader.com/pdftopng-man.html Is probably the tool you are looking for On Fri, 12 Jul 2019 at 14:49, Dalton Calford wrote: > You can use gimp to automate the conversion of pdf's to specified output > file formats/sizes. This is good for batch work. > xpdfreader also has some good utilities/functionality depending upon what > you are trying to do. > > On Fri, 12 Jul 2019 at 14:46, Dr. Hawkins via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> As I?m trying to get a temporary workaround for the engine >> pixel-rendering a pdf widget rather than including the pdf, I have a two >> part question: >> >> 1) is there a straightforward way to batch convert pdf to png of >> specified density? >> 2) for a multipage png, is there a ?decent? way to use import to get a >> chunk of a specified page, or do I need to know the pixel height of the >> page and do the math? >> ? >> 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 jacque at hyperactivesw.com Fri Jul 12 15:46:44 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Jul 2019 14:46:44 -0500 Subject: Local files in browser widget In-Reply-To: <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> Message-ID: <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> On 7/12/19 1:52 PM, Klaus major-k via use-livecode wrote: > Hi Jaques, > >> Am 12.07.2019 um 20:43 schrieb J. Landman Gay via use-livecode : >> >> On 7/12/19 9:10 AM, Devin Asay via use-livecode wrote: >>> On Jul 11, 2019, at 9:34 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> I think I asked this before but it isn't working now. I thought specialFolderPath("resources") was okay for read-only files. It fails on Android. >>>> >>>> put specialFolderPath("resources") & "/tFolder/tFile.html" into tPath >>>> set the url of widget "browser" to ("file://" & tPath) >>>> >>>> I get an error that the file was not found. It's there, the folder was included in the Copy Files pane in standalone settings. When I insert an answer dialog to view the path, there's a string that ends with "...base.apk/tFolder/tFile.html" so I think that's right. >>>> >>>> Do I need more or fewer slashes? >>> J, >>> I don?t think you need the slashes after file: at all. (?file:? & specialFolderPath(?resources?) & ?/tFolder/tFile.hmtl?) should do it. >>> Also check case on folder and file names. Case matters in mobile file systems in my experience. >> >> Thanks Devin, but unfortunately it still doesn't work. Capitalization is correct (all lower case.) I also tried adding the internet library and tsNet, even though I don't use those, just to see if they were required. Still no go. > > just to be sure, did you: > ... > replace SPACE with "%20" in tPath > ... > ? I didn't, but there are no spaces in the file name. But I've just found something interesting. Devin was right, I don't need any slashes to read the resources folder in the apk. But I can't use it as a URL in a browser. I can use it to copy the file from the resources folder to the documents folder, but it fails if I directly set the URL of the browser widget. put specialFolderPath("resources") & "/tFolder/tFile" into tSourcePath answer (there is a file tSourcePath) -> TRUE set the URL of widget "browser" to ("file:" & tSourcePath) -> file not found put specialFolderPath("documents") & "/tFolder/" into tDir if there is no folder tDir then create folder tDir put tDir & tFile into tLocalPath put url ("file:" & tSourcePath) into url ("file://" & tLocalPath) set the URL of widget "browser" to ("file://" & tLocalPath) -> OK Maybe browsers can't read files inside packages? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Fri Jul 12 16:17:32 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 12 Jul 2019 16:17:32 -0400 Subject: Local files in browser widget In-Reply-To: <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> Message-ID: <005201d538ee$d99043e0$8cb0cba0$@net> I was looking at my code that works. I move the file into the documents folder and do "file:"&the documents folder&slash&"mydoc.html" 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, July 12, 2019 3:47 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Local files in browser widget On 7/12/19 1:52 PM, Klaus major-k via use-livecode wrote: > Hi Jaques, > >> Am 12.07.2019 um 20:43 schrieb J. Landman Gay via use-livecode : >> >> On 7/12/19 9:10 AM, Devin Asay via use-livecode wrote: >>> On Jul 11, 2019, at 9:34 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> I think I asked this before but it isn't working now. I thought specialFolderPath("resources") was okay for read-only files. It fails on Android. >>>> >>>> put specialFolderPath("resources") & "/tFolder/tFile.html" into >>>> tPath set the url of widget "browser" to ("file://" & tPath) >>>> >>>> I get an error that the file was not found. It's there, the folder was included in the Copy Files pane in standalone settings. When I insert an answer dialog to view the path, there's a string that ends with "...base.apk/tFolder/tFile.html" so I think that's right. >>>> >>>> Do I need more or fewer slashes? >>> J, >>> I don?t think you need the slashes after file: at all. (?file:? & specialFolderPath(?resources?) & ?/tFolder/tFile.hmtl?) should do it. >>> Also check case on folder and file names. Case matters in mobile file systems in my experience. >> >> Thanks Devin, but unfortunately it still doesn't work. Capitalization is correct (all lower case.) I also tried adding the internet library and tsNet, even though I don't use those, just to see if they were required. Still no go. > > just to be sure, did you: > ... > replace SPACE with "%20" in tPath > ... > ? I didn't, but there are no spaces in the file name. But I've just found something interesting. Devin was right, I don't need any slashes to read the resources folder in the apk. But I can't use it as a URL in a browser. I can use it to copy the file from the resources folder to the documents folder, but it fails if I directly set the URL of the browser widget. put specialFolderPath("resources") & "/tFolder/tFile" into tSourcePath answer (there is a file tSourcePath) -> TRUE set the URL of widget "browser" to ("file:" & tSourcePath) -> file not found put specialFolderPath("documents") & "/tFolder/" into tDir if there is no folder tDir then create folder tDir put tDir & tFile into tLocalPath put url ("file:" & tSourcePath) into url ("file://" & tLocalPath) set the URL of widget "browser" to ("file://" & tLocalPath) -> OK Maybe browsers can't read files inside packages? -- 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 alain.vezina at logilangue.com Fri Jul 12 17:09:17 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Fri, 12 Jul 2019 17:09:17 -0400 Subject: Gzip in HTML5 In-Reply-To: References: Message-ID: <4114B1C7-F4B9-4CA4-97ED-1233F914E79F@logilangue.com> Thanks a lot Hermann, Your PDF file is a trove of information to develop in HTML5. Alain Vezina > Le 12 juil. 2019 ? 13:01, hh via use-livecode a ?crit : > > Nothing directly/manually. > The "need" for Gzip is meant to speed up serving the HTML5 standalone. > This is done (after configuring the .htaccess file) by the server. > > The standalone builder gives you the files exactly as you need them. > What you can change to your taste is the html file connected to the standalone. > > Here is the pdf of a talk I gave in 2016, the second part contains > an example customized html file and moreover (on page 15) some hints > how to optimize serving html5 standalones using Gzip/Apache: > > http://hyperhh.org/html5/community/LCD-01f.pdf > > Compare your serving speed to the speed of the last samples of http://hyperhh.org/html5/ (which is optimized) using Safari. > > If have here a loading time of at most 7 seconds for the first time > and 4 seconds when using the same LC version. > [http://hh.on-rev.com/html5/ is (currently) much slower...] > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 13 06:16:01 2019 From: jjs at krutt.org (JJS) Date: Sat, 13 Jul 2019 12:16:01 +0200 Subject: Gzip in HTML5 In-Reply-To: <4114B1C7-F4B9-4CA4-97ED-1233F914E79F@logilangue.com> References: <4114B1C7-F4B9-4CA4-97ED-1233F914E79F@logilangue.com> Message-ID: Indeed very interesting, Danke Hermann! Op 12-7-2019 om 23:09 schreef Alain Vezina via use-livecode: > Thanks a lot Hermann, > > Your PDF file is a trove of information to develop in HTML5. > > Alain Vezina > > >> Le 12 juil. 2019 ? 13:01, hh via use-livecode a ?crit : >> >> Nothing directly/manually. >> The "need" for Gzip is meant to speed up serving the HTML5 standalone. >> This is done (after configuring the .htaccess file) by the server. >> >> The standalone builder gives you the files exactly as you need them. >> What you can change to your taste is the html file connected to the standalone. >> >> Here is the pdf of a talk I gave in 2016, the second part contains >> an example customized html file and moreover (on page 15) some hints >> how to optimize serving html5 standalones using Gzip/Apache: >> >> http://hyperhh.org/html5/community/LCD-01f.pdf >> >> Compare your serving speed to the speed of the last samples of http://hyperhh.org/html5/ (which is optimized) using Safari. >> >> If have here a loading time of at most 7 seconds for the first time >> and 4 seconds when using the same LC version. >> [http://hh.on-rev.com/html5/ is (currently) much slower...] >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sat Jul 13 13:03:45 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 13 Jul 2019 13:03:45 -0400 Subject: Best Temp Pass Autoresponder? In-Reply-To: <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> Message-ID: <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> I need to set up a temporary password email autoresponder for my website using LC if at all possible. This would obviously be for people who have forgotten their password and need a temporary one. I realized I?m probably not the only one here who has run into this problem, and I don?t want to reinvent the wheel. What is the best approach and does anyone have a solution that is working well for them? Thanks, Rick From alex at tweedly.net Sat Jul 13 15:27:34 2019 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 13 Jul 2019 20:27:34 +0100 Subject: Best Temp Pass Autoresponder? In-Reply-To: <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> Message-ID: It's kind of hard to answer that without knowing how your passwords are set up and managed already, or what/how you need to use or check them. So I won't answer directly, but offer a sideways suggestion .... Don't have passwords. Nearly all sites that have passwords offer some kind of recovery mechanism - which almost always uses a (verified and registered) email address to send a recovery link. So just skip the step of having passwords at all? - and have a mechanism that users can type in their email address, and be sent a short-lived, one-time use link to their email address. When requested you generate a token, store that in your database (or whatever), and then send an email that might look something like ... > To login to kilmelford.com, please click on the link below. > http://kilmelford.com/lcms.lc9/login_request/email/2019-07-13_15:17:47_df2471f6a4b8...de964b3ec > > If you did not ask for a login code/link to be sent to you, > please let us know by forwarding this email toinfo at kilmelford.com (obviously that's not the correct full code :-), and when you get a request like that, you compare the token with your database (and check whether it has expired or not), and if OK then you log the user in and remove the entry for this token. When I "log the user in" I send them a cookie that verifies their status, and which expires in a limited time (say one day, or one week), and after that they just request a new emailed token/link. Alex. On 13/07/2019 18:03, Rick Harrison via use-livecode wrote: > I need to set up a temporary password > email autoresponder for my website > using LC if at all possible. This would > obviously be for people who have > forgotten their password and need > a temporary one. > > I realized I?m probably not the only > one here who has run into this problem, > and I don?t want to reinvent the wheel. > > What is the best approach and does > anyone have a solution that is working > well for them? > > 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 richmondmathewson at gmail.com Sun Jul 14 09:55:51 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 14 Jul 2019 16:55:51 +0300 Subject: Catalina is a small, rocky, and largely unprepossessing island. Message-ID: <99fa1700-06fc-5f0b-2ce0-0e40ec30416a@gmail.com> So it would seem. One of the main factors that is stopping me switching my 2018 MacMini over to MacOS 10.15 are the continuing messages I am getting about LC 9.0.4 and 9.5 DP1 not being optimised for MacOS 10.14 . . . Richmond. From jjs at krutt.org Sun Jul 14 09:28:06 2019 From: jjs at krutt.org (JJS) Date: Sun, 14 Jul 2019 15:28:06 +0200 Subject: Catalina is a small, rocky, and largely unprepossessing island. In-Reply-To: <99fa1700-06fc-5f0b-2ce0-0e40ec30416a@gmail.com> References: <99fa1700-06fc-5f0b-2ce0-0e40ec30416a@gmail.com> Message-ID: <9b333d1f-eedf-16b8-f579-87f36fbcdfe8@krutt.org> I think you can ignore them because they are 64bit. Perhaps the message is only there because maybe there is not certificate for LC for Mac. Just guessing. SPhere Op 14-7-2019 om 15:55 schreef Richmond via use-livecode: > So it would seem. > > One of the main factors that is stopping me switching my 2018 MacMini > over to MacOS 10.15 > are the continuing messages I am getting about LC 9.0.4 and 9.5 DP1 > not being optimised for > MacOS 10.14 . . . > > 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 matthias_livecode_150811 at m-r-d.de Sun Jul 14 11:47:04 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 14 Jul 2019 17:47:04 +0200 Subject: Catalina is a small, rocky, and largely unprepossessing island. In-Reply-To: <99fa1700-06fc-5f0b-2ce0-0e40ec30416a@gmail.com> References: <99fa1700-06fc-5f0b-2ce0-0e40ec30416a@gmail.com> Message-ID: <87F1CD35-9981-45E8-BD42-518BEE0E36AC@m-r-d.de> Richmond, is it possible that you?ve enabled one or all options in LC?s preferences->updates? If i remember correctly then Panos mentioned in a post that this might come from updater tool. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 14.07.2019 um 15:55 schrieb Richmond via use-livecode >: > > So it would seem. > > One of the main factors that is stopping me switching my 2018 MacMini over to MacOS 10.15 > are the continuing messages I am getting about LC 9.0.4 and 9.5 DP1 not being optimised for > MacOS 10.14 . . . > > 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 harrison at all-auctions.com Sun Jul 14 13:20:03 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 14 Jul 2019 13:20:03 -0400 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> Message-ID: Hi Alex, Thanks for getting back to me. Your suggestion of no password is interesting, but in my particular case it isn?t the right solution for me. In the meantime, I took a step back from the work that gave me an alternate insight as to how it needs to work. The main snag I?m working on now is setting up the server to send out the email to the user. This morning I?m looking at the shell commands and at tsNet SMTP possible solutions. Thanks, Rick > On Jul 13, 2019, at 3:27 PM, Alex Tweedly via use-livecode wrote: > > It's kind of hard to answer that without knowing how your passwords are set up and managed already, or what/how you need to use or check them. > > So I won't answer directly, but offer a sideways suggestion .... > > Don't have passwords. > > Nearly all sites that have passwords offer some kind of recovery mechanism - which almost always uses a (verified and registered) email address to send a recovery link. So just skip the step of having passwords at all - and have a mechanism that users can type in their email address, and be sent a short-lived, one-time use link to their email address. > > When requested you generate a token, store that in your database (or whatever), and then send an email that might look something like ... > >> To login to kilmelford.com, please click on the link below. >> http://kilmelford.com/lcms.lc9/login_request/email/2019-07-13_15:17:47_df2471f6a4b8...de964b3ec >> >> If you did not ask for a login code/link to be sent to you, >> please let us know by forwarding this email toinfo at kilmelford.com > (obviously that's not the correct full code :-), and when you get a request like that, you compare the token with your database (and check whether it has expired or not), and if OK then you log the user in and remove the entry for this token. > > When I "log the user in" I send them a cookie that verifies their status, and which expires in a limited time (say one day, or one week), and after that they just request a new emailed token/link. > > Alex. > > On 13/07/2019 18:03, Rick Harrison via use-livecode wrote: >> I need to set up a temporary password >> email autoresponder for my website >> using LC if at all possible. This would >> obviously be for people who have >> forgotten their password and need >> a temporary one. >> >> I realized I?m probably not the only >> one here who has run into this problem, >> and I don?t want to reinvent the wheel. >> >> What is the best approach and does >> anyone have a solution that is working >> well for them? >> >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Jul 14 15:02:01 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Sun, 14 Jul 2019 13:02:01 -0600 Subject: Catalina is a small, rocky, and largely unprepossessing island. In-Reply-To: <87F1CD35-9981-45E8-BD42-518BEE0E36AC@m-r-d.de> References: <99fa1700-06fc-5f0b-2ce0-0e40ec30416a@gmail.com> <87F1CD35-9981-45E8-BD42-518BEE0E36AC@m-r-d.de> Message-ID: <08AE794F-2AF9-4DB9-82C3-D209D69991D8@swcp.com> I wonder if there is a way to get rid of it. What would happen should it be ripped out of the bundle? Would LC die of heartbreak? This should be fixed in LC 9.0.6 RC1, but as Mabel told Frederick "It seems so long." > On Jul 14, 2019, at 9:47 AM, Matthias Rebbe via use-livecode wrote: > > Richmond, > > is it possible that you?ve enabled one or all options in LC?s preferences->updates? > > If i remember correctly then Panos mentioned in a post that this might come from updater tool. > > Regards, > > Matthias > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 14.07.2019 um 15:55 schrieb Richmond via use-livecode >: >> >> So it would seem. >> >> One of the main factors that is stopping me switching my 2018 MacMini over to MacOS 10.15 >> are the continuing messages I am getting about LC 9.0.4 and 9.5 DP1 not being optimised for >> MacOS 10.14 . . . >> >> 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 francois.chaplais at mines-paristech.fr Sun Jul 14 15:23:40 2019 From: francois.chaplais at mines-paristech.fr (francois.chaplais) Date: Sun, 14 Jul 2019 21:23:40 +0200 Subject: Catalina is a small, rocky, and largely unprepossessing island. In-Reply-To: <08AE794F-2AF9-4DB9-82C3-D209D69991D8@swcp.com> References: <99fa1700-06fc-5f0b-2ce0-0e40ec30416a@gmail.com> <87F1CD35-9981-45E8-BD42-518BEE0E36AC@m-r-d.de> <08AE794F-2AF9-4DB9-82C3-D209D69991D8@swcp.com> Message-ID: <82FCE3D5-DF0D-462E-A556-B4B69776243D@mines-paristech.fr> I suggest trying Go64 https://www.stclairsoft.com/Go64/ which tests your apps for 64 compatibility. My business LC seems OK, I have two versions of indie for HTML and go64 indicates that the app is 64bits except for the update module. Now I do not know what Catalina will do with this. Nonetheless, I think it should be no hassle for LiveCode to recompile their update module. Best regards Fran?ois > Le 14 juil. 2019 ? 21:02, Dar Scott Consulting via use-livecode a ?crit : > > I wonder if there is a way to get rid of it. What would happen should it be ripped out of the bundle? Would LC die of heartbreak? > > This should be fixed in LC 9.0.6 RC1, but as Mabel told Frederick "It seems so long." > >> On Jul 14, 2019, at 9:47 AM, Matthias Rebbe via use-livecode wrote: >> >> Richmond, >> >> is it possible that you?ve enabled one or all options in LC?s preferences->updates? >> >> If i remember correctly then Panos mentioned in a post that this might come from updater tool. >> >> Regards, >> >> Matthias >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de >> https://winsignhelper.dermattes.de >> >>> Am 14.07.2019 um 15:55 schrieb Richmond via use-livecode >: >>> >>> So it would seem. >>> >>> One of the main factors that is stopping me switching my 2018 MacMini over to MacOS 10.15 >>> are the continuing messages I am getting about LC 9.0.4 and 9.5 DP1 not being optimised for >>> MacOS 10.14 . . . >>> >>> 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 jacque at hyperactivesw.com Sun Jul 14 16:26:40 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Jul 2019 15:26:40 -0500 Subject: Local files in browser widget In-Reply-To: <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> Message-ID: <75292898-135b-f414-e76a-08d29f8db09b@hyperactivesw.com> I'm making progress but still having trouble with the browser widget on Android. To date: 1. Chopped up the huge file into multiple smaller files. They have all been tagged so that links automatically load the correct file when clicked. This works. 2. The app now copies all the files in its resources folder to the documents folder. This works. 3. When loading the first file of the set, it works perfectly. When tapping a link that loads another file in the set, things happen sometimes. On my Huawei tablet, everything works great. But on my Pixel, after scrolling two or three screens, everything freezes. Not only does the browser refuse to scroll (even backwards, where it's already been,) but HTML links don't respond, and buttons and other controls are inert. The backKey is also frozen, so the only option is to exit via the Home hardware button and remove the app from RAM. This is 100% reproducible. My Pixel is running Android 9 Pie and the Huawei has Android 8 Oreo. The Huawei also has newer hardware than the Pixel. Is the browser widget compatible with Android 9? Or is it a hardware problem? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Sun Jul 14 18:24:07 2019 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 14 Jul 2019 23:24:07 +0100 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> Message-ID: On 14/07/2019 18:20, Rick Harrison via use-livecode wrote: > The main snag I?m working on now is setting up > the server to send out the email to the user. > > This morning I?m looking at the shell commands > and at tsNet SMTP possible solutions. In case it helps, here's the code I use to send email from my LC server account. I should know where this came from (and I suspect I should be able to thank the original author), but that's lost info right now. -- Alex. -- mail -- -- Emails the given message to the recipients specified. -- Each address passed can have a name? attached in the form "name
". -- Addresses can be passed as comma separated lists. -- Attachements can be added by passing an array (integer indexed or otherwise). -- with each attachment itself being an array. -- -- pTo??? - The addresses to send the message to -- pSub??? - The message subject -- pMsg??? - The message body -- pFrom??? - The address of the message sender -- pCc??? - Any cc addresses -- pBcc??? - Any Bcc addresses -- pHtml??? - Boolean, if the message is to be sent as html -- pAtts??? - Array of all attachments to send, each attachment of the form: --??? * name:? the name of the attachment --??? * path:? the absolute path to the attachment --??? * type:? the mime type of the attachment, defaults to --??? application/octet-stream -- command mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts ?? local tMsg ?? -- build the message header, adding the from, to and subject details ?? -- we also put any cc addresses in here, but not bcc (bcc addresses hidden) ?? put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub & \ ???????? return into tMsg??? if pCc is not empty then ????? put "Cc:" && pCc & return after tMsg ?? end if ?? -- if there are any attachments, we must send this email as multipart ?? -- with the message body and each attachment forming a part ?? -- we do this by specifying the message as multipart and generating a unique boundary ?? if pAtts is an array then ????? local tBoundary ????? put "boundary" & the seconds into tBoundary ????? put "MIME-Version: 1.0" & return & "Content-Type: multipart/mixed; boundary=" & \ ??????????? wrapQ(tBoundary) & return & "--" & tBoundary & return after tMsg ?? end if ?? -- add the actual message body, setting the content type appropriately ?? if pHtml is true then ????? put "Content-Type: text/html;" & return & return after tMsg ?? else ????? put "Content-Type: text/plain;" & return & return after tMsg ?? end if ?? put pMsg & return after tMsg ?? -- add each attachment as a new part of the message, separating using ?? -- the generated boundary ?? if pAtts is an array then ????? put "--" & tBoundary & return after tMsg ????? repeat for each element tAtt in pAtts ???????? if there is a file tAtt["path"] then ??????????? if tAtt["type"] is empty then ?????????????? get "application/octet-stream" ??????????? else ?????????????? get tAtt["type"] ??????????? end if ??????????? put "Content-Type:" && it & "; name=" & wrapQ(tAtt["name"]) & ";" & \ ????????????????? return & "Content-Transfer-Encoding: base64;" & return & return & \ ????????????????? base64Encode(URL ("binfile:" & tAtt["path"])) & return & "--" & \ ????????????????? tBoundary & return after tMsg ???????? end if ????? end repeat ?? end if ?? -- send the mail by piping the message we have just built to the sendmail command ?? -- we must also send a copy of the message to the bcc addresses ?? get shell("echo" && wrapQ(shellEscape(tMsg)) && "| /usr/sbin/sendmail" && \ ???????? wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) ?? if pBcc is not empty then ????? get shell("echo" && wrapQ(shellEscape(tMsg)) && "| /usr/sbin/sendmail" && \ ??????????? wrapQ(shellEscape(pBcc)) && "-f" && wrapQ(shellEscape(pFrom))) ?? end if ?? if there is a file "log_mail.txt" then ????? put "MAIL sent" && the seconds & CR & \ ??????????? "TO:" && pTo & CR & \ ??????????? "SUBJ:" && pSub & CR &CR after URL ("file:./log_mail.txt") ?? end if end mail From ahsoftware at sonic.net Sun Jul 14 20:07:30 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 14 Jul 2019 17:07:30 -0700 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> Message-ID: On 7/14/19 3:24 PM, Alex Tweedly via use-livecode wrote: > In case it helps, here's the code I use to send email from my LC server > account. I should know where this came from (and I suspect I should be > able to thank the original author), but that's lost info right now. wrapQ()? shellEscape()? Are these just the way they sound? wrapQ(x) = quote & x & quote shellEscape(x) = escape what needs escaping in x -- Mark Wieder ahsoftware at gmail.com From stephen at barncard.com Sun Jul 14 20:39:13 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 14 Jul 2019 17:39:13 -0700 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> Message-ID: Yes! On Sun, Jul 14, 2019 at 17:08 Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 7/14/19 3:24 PM, Alex Tweedly via use-livecode wrote: > > > In case it helps, here's the code I use to send email from my LC server > > account. I should know where this came from (and I suspect I should be > > able to thank the original author), but that's lost info right now. > > wrapQ()? shellEscape()? > Are these just the way they sound? > wrapQ(x) = quote & x & quote > shellEscape(x) = escape what needs escaping in x > > > -- > 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 > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From rdimola at evergreeninfo.net Sun Jul 14 20:44:09 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 14 Jul 2019 20:44:09 -0400 Subject: Local files in browser widget In-Reply-To: <75292898-135b-f414-e76a-08d29f8db09b@hyperactivesw.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <75292898-135b-f414-e76a-08d29f8db09b@hyperactivesw.com> Message-ID: <001701d53aa6$6d68e230$483aa690$@net> Are you using 9.5? If not maybe a 64 bit build might work??? 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: Sunday, July 14, 2019 4:27 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Local files in browser widget I'm making progress but still having trouble with the browser widget on Android. To date: 1. Chopped up the huge file into multiple smaller files. They have all been tagged so that links automatically load the correct file when clicked. This works. 2. The app now copies all the files in its resources folder to the documents folder. This works. 3. When loading the first file of the set, it works perfectly. When tapping a link that loads another file in the set, things happen sometimes. On my Huawei tablet, everything works great. But on my Pixel, after scrolling two or three screens, everything freezes. Not only does the browser refuse to scroll (even backwards, where it's already been,) but HTML links don't respond, and buttons and other controls are inert. The backKey is also frozen, so the only option is to exit via the Home hardware button and remove the app from RAM. This is 100% reproducible. My Pixel is running Android 9 Pie and the Huawei has Android 8 Oreo. The Huawei also has newer hardware than the Pixel. Is the browser widget compatible with Android 9? Or is it a hardware problem? -- 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 alex at tweedly.net Mon Jul 15 07:59:34 2019 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 15 Jul 2019 12:59:34 +0100 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> Message-ID: Ah, yeah, sorry - careless of me. Short answer : Yes. Long answer : function wrapQ pText ?? return quote & pText & quote end wrapQ function shellEscape pText -- keep this at the end because it messes up Coda colouring ?? repeat for each char tChar in "\`!$" & quote ????? replace tChar with "\" & tChar in pText ?? end repeat ?? return pText end shellEscape Sorry again, Alex. On 15/07/2019 01:07, Mark Wieder via use-livecode wrote: > On 7/14/19 3:24 PM, Alex Tweedly via use-livecode wrote: > >> In case it helps, here's the code I use to send email from my LC >> server account. I should know where this came from (and I suspect I >> should be able to thank the original author), but that's lost info >> right now. > > wrapQ()? shellEscape()? > Are these just the way they sound? > wrapQ(x) = quote & x & quote > shellEscape(x) = escape what needs escaping in x > > From bobsneidar at iotecdigital.com Mon Jul 15 10:52:20 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 15 Jul 2019 14:52:20 +0000 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> Message-ID: What about the sites that ask you to enter a new password after sending you a temporary one? Bob S > On Jul 13, 2019, at 12:27 , Alex Tweedly via use-livecode wrote: > > It's kind of hard to answer that without knowing how your passwords are set up and managed already, or what/how you need to use or check them. > > So I won't answer directly, but offer a sideways suggestion .... > > Don't have passwords. > > Nearly all sites that have passwords offer some kind of recovery mechanism - which almost always uses a (verified and registered) email address to send a recovery link. So just skip the step of having passwords at all - and have a mechanism that users can type in their email address, and be sent a short-lived, one-time use link to their email address. > > When requested you generate a token, store that in your database (or whatever), and then send an email that might look something like ... From jacque at hyperactivesw.com Mon Jul 15 11:35:00 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Jul 2019 10:35:00 -0500 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> Message-ID: <16bf645d0b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> BTW, I believe the attribution for the original handlers is Andre Garzia. I kept a copy too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 15, 2019 7:01:39 AM Alex Tweedly via use-livecode wrote: > Ah, yeah, sorry - careless of me. > > Short answer : Yes. > > Long answer : > > > function wrapQ pText > return quote & pText & quote > end wrapQ > > function shellEscape pText > -- keep this at the end because it messes up Coda colouring > repeat for each char tChar in "\`!$" & quote > replace tChar with "\" & tChar in pText > end repeat > return pText > end shellEscape > > Sorry again, > > Alex. > > On 15/07/2019 01:07, Mark Wieder via use-livecode wrote: >> On 7/14/19 3:24 PM, Alex Tweedly via use-livecode wrote: >> >>> In case it helps, here's the code I use to send email from my LC >>> server account. I should know where this came from (and I suspect I >>> should be able to thank the original author), but that's lost info >>> right now. >> >> wrapQ()? shellEscape()? >> Are these just the way they sound? >> wrapQ(x) = quote & x & quote >> shellEscape(x) = escape what needs escaping in x >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Mon Jul 15 14:55:16 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 15 Jul 2019 14:55:16 -0400 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> Message-ID: <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> Hi Alex, I tried out the code you listed for sending email and got the following error on row 978, col 1: if: error in command (function) row 978, col 1: script: bad statement (function) From panos.merakos at livecode.com Mon Jul 15 15:23:31 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 15 Jul 2019 22:23:31 +0300 Subject: [ANN] This Week in LiveCode 185 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 #185 here: http://bit.ly/2LnhEOt 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 ahsoftware at sonic.net Mon Jul 15 15:27:49 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 15 Jul 2019 12:27:49 -0700 Subject: all you need to know about the sha-256 algorithm Message-ID: quattuorvigintillion! https://boingboing.net/2019/07/15/excellent-video-about-why-the.html -- Mark Wieder ahsoftware at gmail.com From merakosp at gmail.com Mon Jul 15 15:39:02 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 15 Jul 2019 22:39:02 +0300 Subject: all you need to know about the sha-256 algorithm In-Reply-To: References: Message-ID: NIce one! Cheers, Panos -- On Mon, 15 Jul 2019 at 22:28, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > quattuorvigintillion! > > https://boingboing.net/2019/07/15/excellent-video-about-why-the.html > > -- > 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 alex at tweedly.net Mon Jul 15 15:51:00 2019 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 15 Jul 2019 20:51:00 +0100 Subject: Best Temp Pass Autoresponder? In-Reply-To: <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> Message-ID: Hmmm - LC Server's error reporting can be frustrating .... and I'm not sure what it is trying to say here. All I can suggest is to try to take the problematic script and load it as a script-only stack into the IDE and see if it can be tested out that way - if necessary adding a few lines of code to mimic the way it\s being used on the server. (Or send me the whole script off-list and I'll see if I can spot the differences between your context and mine) Alex. On 15/07/2019 19:55, Rick Harrison via use-livecode wrote: > Hi Alex, > > I tried out the code you listed for sending email > and got the following error on > > row 978, col 1: if: error in command (function) > row 978, col 1: script: bad statement (function) > --line 978 is: > function shellEscape pText > ?> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 15 15:51:51 2019 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 15 Jul 2019 20:51:51 +0100 Subject: Best Temp Pass Autoresponder? In-Reply-To: <16bf645d0b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <16bf645d0b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Thanks - I've added that to the comments so I don't forget again. And thanks Andre!! Alex. On 15/07/2019 16:35, J. Landman Gay via use-livecode wrote: > BTW, I believe the attribution for the original handlers is Andre > Garzia. I kept a copy too. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 15, 2019 7:01:39 AM Alex Tweedly via use-livecode > wrote: > >> Ah, yeah, sorry - careless of me. >> >> Short answer : Yes. >> >> Long answer : >> >> >> function wrapQ pText >> ?? return quote & pText & quote >> end wrapQ >> >> function shellEscape pText >> -- keep this at the end because it messes up Coda colouring >> ?? repeat for each char tChar in "\`!$" & quote >> ????? replace tChar with "\" & tChar in pText >> ?? end repeat >> ?? return pText >> end shellEscape >> >> Sorry again, >> >> Alex. >> >> On 15/07/2019 01:07, Mark Wieder via use-livecode wrote: >>> On 7/14/19 3:24 PM, Alex Tweedly via use-livecode wrote: >>> >>>> In case it helps, here's the code I use to send email from my LC >>>> server account. I should know where this came from (and I suspect I >>>> should be able to thank the original author), but that's lost info >>>> right now. >>> >>> wrapQ()? shellEscape()? >>> Are these just the way they sound? >>> wrapQ(x) = quote & x & quote >>> shellEscape(x) = escape what needs escaping in x >>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Mon Jul 15 16:14:05 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 15 Jul 2019 20:14:05 +0000 Subject: Android 64-bit? Message-ID: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> Greetings! I got some notices from Google (android) that my apps need to be updated to 64-bit by August 1, 2019. Does LiveCode generate 64-bit Android apps? If so, can I do that with Indy 9.0.4? If so, what versions of Android Studio and Android SDKs do I need to install? Any guidance will be greatly appreciated and surely help keep my hair in my head. -Dan From jjs at krutt.org Mon Jul 15 16:54:32 2019 From: jjs at krutt.org (JJS) Date: Mon, 15 Jul 2019 22:54:32 +0200 Subject: Android 64-bit? In-Reply-To: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> References: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> Message-ID: <826467b2-64ca-7876-6bc1-72a9e2858de3@krutt.org> Hi, with LC950DP1 you can, but beware of some bugs still. Op 15-7-2019 om 22:14 schreef Dan Friedman via use-livecode: > Greetings! I got some notices from Google (android) that my apps need to be updated to 64-bit by August 1, 2019. Does LiveCode generate 64-bit Android apps? If so, can I do that with Indy 9.0.4? If so, what versions of Android Studio and Android SDKs do I need to install? Any guidance will be greatly appreciated and surely help keep my hair in my head. > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Jul 15 17:29:52 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Mon, 15 Jul 2019 15:29:52 -0600 Subject: Android 64-bit? In-Reply-To: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> References: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> Message-ID: Wow! Perhaps the constraint for August 1 is that all NEW apps and all UPDATES need to include 64-bit. Maybe, they will still serve your apps. > On Jul 15, 2019, at 2:14 PM, Dan Friedman via use-livecode wrote: > > Greetings! I got some notices from Google (android) that my apps need to be updated to 64-bit by August 1, 2019. Does LiveCode generate 64-bit Android apps? If so, can I do that with Indy 9.0.4? If so, what versions of Android Studio and Android SDKs do I need to install? Any guidance will be greatly appreciated and surely help keep my hair in my head. > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Mon Jul 15 17:31:43 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 15 Jul 2019 17:31:43 -0400 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> Message-ID: Hi Alex, I believe the problem is that LC function doesn?t work in server even though the documentation says it should work in server. I tried the example in the dictionary for reversedName. It works fine in the IDE. Once it is put into server like the following the first line gets flagged with the error. row 854, col 1: if: error in command (function) row 854, col 1: script: bad statement (function) Can we unravel the email send code so it doesn?t use functions? I did try putting the email send code into the IDE and it put the message into the message box without sending out the email. Perhaps that needs to be proven to work first in the IDE? I used the example code you provided as a test to be sure we were on the same page, and, it didn?t work. Suggestions? Rick > On Jul 15, 2019, at 3:51 PM, Alex Tweedly via use-livecode wrote: > > Hmmm - LC Server's error reporting can be frustrating .... and I'm not sure what it is trying to say here. > > All I can suggest is to try to take the problematic script and load it as a script-only stack into the IDE and see if it can be tested out that way - if necessary adding a few lines of code to mimic the way it\s being used on the server. > > (Or send me the whole script off-list and I'll see if I can spot the differences between your context and mine) > > Alex. > From dan at clearvisiontech.com Mon Jul 15 18:04:16 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 15 Jul 2019 22:04:16 +0000 Subject: Android 64-bit? In-Reply-To: References: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> Message-ID: Dar, https://developer.android.com/distribute/best-practices/develop/64-bit states, "Starting August 1, 2019, your apps published on Google Play will need to support 64-bit architectures." So, no new or updated apps can be posted to Google made by LiveCode after August 1? That can't be right! Perhaps someone at LC will have some better news? -Dan ?On 7/15/19, 2:31 PM, "use-livecode on behalf of Dar Scott Consulting via use-livecode" wrote: Wow! Perhaps the constraint for August 1 is that all NEW apps and all UPDATES need to include 64-bit. Maybe, they will still serve your apps. > On Jul 15, 2019, at 2:14 PM, Dan Friedman via use-livecode wrote: > > Greetings! I got some notices from Google (android) that my apps need to be updated to 64-bit by August 1, 2019. Does LiveCode generate 64-bit Android apps? If so, can I do that with Indy 9.0.4? If so, what versions of Android Studio and Android SDKs do I need to install? Any guidance will be greatly appreciated and surely help keep my hair in my head. > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Jul 15 19:16:45 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 15 Jul 2019 19:16:45 -0400 Subject: Android 64-bit? In-Reply-To: References: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> Message-ID: <006d01d53b63$61f820b0$25e86210$@net> >From the android-developers googleblog: The 64-bit requirement: what it means for developers Starting August 1, 2019: All new apps and app updates that include native code are required to provide 64-bit versions in addition to 32-bit versions when publishing to Google Play. Extensions: Google Play will continue to accept 32-bit only updates to existing games that use the following SDKs: Corona Labs SDK - until August 2020 Adobe Air software and the AIR SDK - until August 2020 Unity 5.6.7 or older - until August 2021 Starting August 1, 2021: Google Play will stop serving apps without 64-bit versions on 64-bit capable devices, meaning they will no longer be available in the Play Store on those devices. This will include games built with Unity 5.6.x or older. The requirement does not apply to: APKs or app bundles explicitly targeting Wear OS or Android TV, which are form factors that do not currently support 64-bit code. APKs or app bundles that are not distributed to devices running Android 9 Pie or later. 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 Dan Friedman via use-livecode Sent: Monday, July 15, 2019 6:04 PM To: How to use LiveCode Cc: Dan Friedman; Dar Scott Consulting Subject: Re: Android 64-bit? Dar, https://developer.android.com/distribute/best-practices/develop/64-bit states, "Starting August 1, 2019, your apps published on Google Play will need to support 64-bit architectures." So, no new or updated apps can be posted to Google made by LiveCode after August 1? That can't be right! Perhaps someone at LC will have some better news? -Dan ?On 7/15/19, 2:31 PM, "use-livecode on behalf of Dar Scott Consulting via use-livecode" wrote: Wow! Perhaps the constraint for August 1 is that all NEW apps and all UPDATES need to include 64-bit. Maybe, they will still serve your apps. > On Jul 15, 2019, at 2:14 PM, Dan Friedman via use-livecode wrote: > > Greetings! I got some notices from Google (android) that my apps need to be updated to 64-bit by August 1, 2019. Does LiveCode generate 64-bit Android apps? If so, can I do that with Indy 9.0.4? If so, what versions of Android Studio and Android SDKs do I need to install? Any guidance will be greatly appreciated and surely help keep my hair in my head. > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Jul 15 19:23:05 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 15 Jul 2019 19:23:05 -0400 Subject: Android 64-bit? In-Reply-To: References: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> Message-ID: <007401d53b64$4409d0c0$cc1d7240$@net> Hit send too quick. The means that 32 bit apps will be served to 64 bit devices until 2021 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From colinholgate at gmail.com Mon Jul 15 19:22:33 2019 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 15 Jul 2019 17:22:33 -0600 Subject: Android 64-bit? In-Reply-To: <006d01d53b63$61f820b0$25e86210$@net> References: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> <006d01d53b63$61f820b0$25e86210$@net> Message-ID: I have been following this with regard to Adobe AIR, and it?s nice that they get an extension. I use Unity too, and that has a longer extension. I suspect it?s in proportion to the number of apps submitted with those tools. I have read figures of 10% of apps are AIR and 50% of games are Unity. That?s a lot of users to upset. LiveCode isn?t quite at the 10 or 50 percent level yet, so no special case. But one thing to note is that Android 9 is only at 10% of devices, which is high enough for Google to brag about, but if you have to set your APK to only work on Android 8 or earlier, you still get 90% of the users. > On Jul 15, 2019, at 5:16 PM, Ralph DiMola via use-livecode wrote: > > From the android-developers googleblog: > > The 64-bit requirement: what it means for developers > Starting August 1, 2019: > > All new apps and app updates that include native code are required to provide 64-bit versions in addition to 32-bit versions when publishing to Google Play. > Extensions: Google Play will continue to accept 32-bit only updates to existing games that use the following SDKs: > Corona Labs SDK - until August 2020 > Adobe Air software and the AIR SDK - until August 2020 > Unity 5.6.7 or older - until August 2021 > Starting August 1, 2021: > Google Play will stop serving apps without 64-bit versions on 64-bit capable devices, meaning they will no longer be available in the Play Store on those devices. > This will include games built with Unity 5.6.x or older. > The requirement does not apply to: > APKs or app bundles explicitly targeting Wear OS or Android TV, which are form factors that do not currently support 64-bit code. > APKs or app bundles that are not distributed to devices running Android 9 Pie or later. > > > 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 Dan Friedman via use-livecode > Sent: Monday, July 15, 2019 6:04 PM > To: How to use LiveCode > Cc: Dan Friedman; Dar Scott Consulting > Subject: Re: Android 64-bit? > > Dar, > > https://developer.android.com/distribute/best-practices/develop/64-bit states, "Starting August 1, 2019, your apps published on Google Play will need to support 64-bit architectures." > > So, no new or updated apps can be posted to Google made by LiveCode after August 1? That can't be right! Perhaps someone at LC will have some better news? > > -Dan > > > ?On 7/15/19, 2:31 PM, "use-livecode on behalf of Dar Scott Consulting via use-livecode" wrote: > > Wow! > > Perhaps the constraint for August 1 is that all NEW apps and all UPDATES need to include 64-bit. Maybe, they will still serve your apps. > >> On Jul 15, 2019, at 2:14 PM, Dan Friedman via use-livecode wrote: >> >> Greetings! I got some notices from Google (android) that my apps need to be updated to 64-bit by August 1, 2019. Does LiveCode generate 64-bit Android apps? If so, can I do that with Indy 9.0.4? If so, what versions of Android Studio and Android SDKs do I need to install? Any guidance will be greatly appreciated and surely help keep my hair in my head. >> >> -Dan >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Mon Jul 15 20:26:28 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 15 Jul 2019 20:26:28 -0400 Subject: Android 64-bit? In-Reply-To: References: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> <006d01d53b63$61f820b0$25e86210$@net> Message-ID: Well....i thought it was clear ......but now i'm more confused than ever on this subject........ :P It will not be possible to post a *new* app to the playstore starting august 1 without using livecode 9.5 to build it? Is 9.5 stable slated to be out anytime soon? On Mon, Jul 15, 2019 at 7:22 PM Colin Holgate via use-livecode < use-livecode at lists.runrev.com> wrote: > I have been following this with regard to Adobe AIR, and it?s nice that > they get an extension. I use Unity too, and that has a longer extension. I > suspect it?s in proportion to the number of apps submitted with those > tools. I have read figures of 10% of apps are AIR and 50% of games are > Unity. That?s a lot of users to upset. > > LiveCode isn?t quite at the 10 or 50 percent level yet, so no special > case. But one thing to note is that Android 9 is only at 10% of devices, > which is high enough for Google to brag about, but if you have to set your > APK to only work on Android 8 or earlier, you still get 90% of the users. > > > > On Jul 15, 2019, at 5:16 PM, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > From the android-developers googleblog: > > > > The 64-bit requirement: what it means for developers > > Starting August 1, 2019: > > > > All new apps and app updates that include native code are required to > provide 64-bit versions in addition to 32-bit versions when publishing to > Google Play. > > Extensions: Google Play will continue to accept 32-bit only updates to > existing games that use the following SDKs: > > Corona Labs SDK - until August 2020 > > Adobe Air software and the AIR SDK - until August 2020 > > Unity 5.6.7 or older - until August 2021 > > Starting August 1, 2021: > > Google Play will stop serving apps without 64-bit versions on 64-bit > capable devices, meaning they will no longer be available in the Play Store > on those devices. > > This will include games built with Unity 5.6.x or older. > > The requirement does not apply to: > > APKs or app bundles explicitly targeting Wear OS or Android TV, which > are form factors that do not currently support 64-bit code. > > APKs or app bundles that are not distributed to devices running Android > 9 Pie or later. > > > > > > 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 Dan Friedman via use-livecode > > Sent: Monday, July 15, 2019 6:04 PM > > To: How to use LiveCode > > Cc: Dan Friedman; Dar Scott Consulting > > Subject: Re: Android 64-bit? > > > > Dar, > > > > https://developer.android.com/distribute/best-practices/develop/64-bit > states, "Starting August 1, 2019, your apps published on Google Play will > need to support 64-bit architectures." > > > > So, no new or updated apps can be posted to Google made by LiveCode > after August 1? That can't be right! Perhaps someone at LC will have > some better news? > > > > -Dan > > > > > > ?On 7/15/19, 2:31 PM, "use-livecode on behalf of Dar Scott Consulting > via use-livecode" use-livecode at lists.runrev.com> wrote: > > > > Wow! > > > > Perhaps the constraint for August 1 is that all NEW apps and all > UPDATES need to include 64-bit. Maybe, they will still serve your apps. > > > >> On Jul 15, 2019, at 2:14 PM, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Greetings! I got some notices from Google (android) that my apps need > to be updated to 64-bit by August 1, 2019. Does LiveCode generate 64-bit > Android apps? If so, can I do that with Indy 9.0.4? If so, what versions > of Android Studio and Android SDKs do I need to install? Any guidance > will be greatly appreciated and surely help keep my hair in my head. > >> > >> -Dan > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Mon Jul 15 20:35:22 2019 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 15 Jul 2019 18:35:22 -0600 Subject: Android 64-bit? In-Reply-To: References: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> <006d01d53b63$61f820b0$25e86210$@net> Message-ID: When you submit apps to Google Play you have some amount of control over what versions are able to see that app. At this point it?s a few years since I had to deal with that, but hopefully you will have an option to say that it?s compatible with say Android 4-8. That rules out 9, and works around the 64 bit requirements. > On Jul 15, 2019, at 6:26 PM, Tom Glod via use-livecode wrote: > > Well....i thought it was clear ......but now i'm more confused than ever on > this subject........ :P > > It will not be possible to post a *new* app to the playstore starting > august 1 without using livecode 9.5 to build it? > > Is 9.5 stable slated to be out anytime soon? > > > > On Mon, Jul 15, 2019 at 7:22 PM Colin Holgate via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I have been following this with regard to Adobe AIR, and it?s nice that >> they get an extension. I use Unity too, and that has a longer extension. I >> suspect it?s in proportion to the number of apps submitted with those >> tools. I have read figures of 10% of apps are AIR and 50% of games are >> Unity. That?s a lot of users to upset. >> >> LiveCode isn?t quite at the 10 or 50 percent level yet, so no special >> case. But one thing to note is that Android 9 is only at 10% of devices, >> which is high enough for Google to brag about, but if you have to set your >> APK to only work on Android 8 or earlier, you still get 90% of the users. >> >> >>> On Jul 15, 2019, at 5:16 PM, Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> From the android-developers googleblog: >>> >>> The 64-bit requirement: what it means for developers >>> Starting August 1, 2019: >>> >>> All new apps and app updates that include native code are required to >> provide 64-bit versions in addition to 32-bit versions when publishing to >> Google Play. >>> Extensions: Google Play will continue to accept 32-bit only updates to >> existing games that use the following SDKs: >>> Corona Labs SDK - until August 2020 >>> Adobe Air software and the AIR SDK - until August 2020 >>> Unity 5.6.7 or older - until August 2021 >>> Starting August 1, 2021: >>> Google Play will stop serving apps without 64-bit versions on 64-bit >> capable devices, meaning they will no longer be available in the Play Store >> on those devices. >>> This will include games built with Unity 5.6.x or older. >>> The requirement does not apply to: >>> APKs or app bundles explicitly targeting Wear OS or Android TV, which >> are form factors that do not currently support 64-bit code. >>> APKs or app bundles that are not distributed to devices running Android >> 9 Pie or later. >>> >>> >>> 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 Dan Friedman via use-livecode >>> Sent: Monday, July 15, 2019 6:04 PM >>> To: How to use LiveCode >>> Cc: Dan Friedman; Dar Scott Consulting >>> Subject: Re: Android 64-bit? >>> >>> Dar, >>> >>> https://developer.android.com/distribute/best-practices/develop/64-bit >> states, "Starting August 1, 2019, your apps published on Google Play will >> need to support 64-bit architectures." >>> >>> So, no new or updated apps can be posted to Google made by LiveCode >> after August 1? That can't be right! Perhaps someone at LC will have >> some better news? >>> >>> -Dan >>> >>> >>> ?On 7/15/19, 2:31 PM, "use-livecode on behalf of Dar Scott Consulting >> via use-livecode" > use-livecode at lists.runrev.com> wrote: >>> >>> Wow! >>> >>> Perhaps the constraint for August 1 is that all NEW apps and all >> UPDATES need to include 64-bit. Maybe, they will still serve your apps. >>> >>>> On Jul 15, 2019, at 2:14 PM, Dan Friedman via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Greetings! I got some notices from Google (android) that my apps need >> to be updated to 64-bit by August 1, 2019. Does LiveCode generate 64-bit >> Android apps? If so, can I do that with Indy 9.0.4? If so, what versions >> of Android Studio and Android SDKs do I need to install? Any guidance >> will be greatly appreciated and surely help keep my hair in my head. >>>> >>>> -Dan >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Mon Jul 15 21:25:37 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 15 Jul 2019 21:25:37 -0400 Subject: Android 64-bit? In-Reply-To: References: <80E5ECAD-89A2-4DEC-ACFA-217CD5EBD6A2@clearvisiontech.com> <006d01d53b63$61f820b0$25e86210$@net> Message-ID: ok thanks Colin .... that clears up the most confusing part for me. ...i'll find out the rest in sept when i'm trying to submit using 9.0x :) On Mon, Jul 15, 2019 at 8:35 PM Colin Holgate via use-livecode < use-livecode at lists.runrev.com> wrote: > When you submit apps to Google Play you have some amount of control over > what versions are able to see that app. At this point it?s a few years > since I had to deal with that, but hopefully you will have an option to say > that it?s compatible with say Android 4-8. That rules out 9, and works > around the 64 bit requirements. > > > > On Jul 15, 2019, at 6:26 PM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Well....i thought it was clear ......but now i'm more confused than ever > on > > this subject........ :P > > > > It will not be possible to post a *new* app to the playstore starting > > august 1 without using livecode 9.5 to build it? > > > > Is 9.5 stable slated to be out anytime soon? > > > > > > > > On Mon, Jul 15, 2019 at 7:22 PM Colin Holgate via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> I have been following this with regard to Adobe AIR, and it?s nice that > >> they get an extension. I use Unity too, and that has a longer > extension. I > >> suspect it?s in proportion to the number of apps submitted with those > >> tools. I have read figures of 10% of apps are AIR and 50% of games are > >> Unity. That?s a lot of users to upset. > >> > >> LiveCode isn?t quite at the 10 or 50 percent level yet, so no special > >> case. But one thing to note is that Android 9 is only at 10% of devices, > >> which is high enough for Google to brag about, but if you have to set > your > >> APK to only work on Android 8 or earlier, you still get 90% of the > users. > >> > >> > >>> On Jul 15, 2019, at 5:16 PM, Ralph DiMola via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> From the android-developers googleblog: > >>> > >>> The 64-bit requirement: what it means for developers > >>> Starting August 1, 2019: > >>> > >>> All new apps and app updates that include native code are required to > >> provide 64-bit versions in addition to 32-bit versions when publishing > to > >> Google Play. > >>> Extensions: Google Play will continue to accept 32-bit only updates to > >> existing games that use the following SDKs: > >>> Corona Labs SDK - until August 2020 > >>> Adobe Air software and the AIR SDK - until August 2020 > >>> Unity 5.6.7 or older - until August 2021 > >>> Starting August 1, 2021: > >>> Google Play will stop serving apps without 64-bit versions on 64-bit > >> capable devices, meaning they will no longer be available in the Play > Store > >> on those devices. > >>> This will include games built with Unity 5.6.x or older. > >>> The requirement does not apply to: > >>> APKs or app bundles explicitly targeting Wear OS or Android TV, which > >> are form factors that do not currently support 64-bit code. > >>> APKs or app bundles that are not distributed to devices running Android > >> 9 Pie or later. > >>> > >>> > >>> 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 Dan Friedman via use-livecode > >>> Sent: Monday, July 15, 2019 6:04 PM > >>> To: How to use LiveCode > >>> Cc: Dan Friedman; Dar Scott Consulting > >>> Subject: Re: Android 64-bit? > >>> > >>> Dar, > >>> > >>> https://developer.android.com/distribute/best-practices/develop/64-bit > >> states, "Starting August 1, 2019, your apps published on Google Play > will > >> need to support 64-bit architectures." > >>> > >>> So, no new or updated apps can be posted to Google made by LiveCode > >> after August 1? That can't be right! Perhaps someone at LC will have > >> some better news? > >>> > >>> -Dan > >>> > >>> > >>> ?On 7/15/19, 2:31 PM, "use-livecode on behalf of Dar Scott Consulting > >> via use-livecode" >> use-livecode at lists.runrev.com> wrote: > >>> > >>> Wow! > >>> > >>> Perhaps the constraint for August 1 is that all NEW apps and all > >> UPDATES need to include 64-bit. Maybe, they will still serve your apps. > >>> > >>>> On Jul 15, 2019, at 2:14 PM, Dan Friedman via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Greetings! I got some notices from Google (android) that my apps > need > >> to be updated to 64-bit by August 1, 2019. Does LiveCode generate > 64-bit > >> Android apps? If so, can I do that with Indy 9.0.4? If so, what > versions > >> of Android Studio and Android SDKs do I need to install? Any guidance > >> will be greatly appreciated and surely help keep my hair in my head. > >>>> > >>>> -Dan > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 15 21:43:25 2019 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 16 Jul 2019 02:43:25 +0100 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> Message-ID: <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> On 15/07/2019 22:31, Rick Harrison via use-livecode wrote: > Hi Alex, > > I believe the problem is that LC function > doesn?t work in server even though the > documentation says it should work in > server. No, it's definitely not that - I use funciton() all the time on LCServer. Try this script and see what it does ... if it doesn't work, then check the version, etc. If (when?) it does work, then you can start trying to narrow down. (I'd take the example you gave for reversedName, and put it at the top of the script file, see if that gives an error. If not, keep moving it further down until the error can be seen? :-) (Or, if there's nothing too secret - send me your whole script off-list and I'll look at it). (I have my copy at kilmelford.com/try.lc9 if you want to see its output.) Alex. > I tried the example in the dictionary > for reversedName. It works fine in > the IDE. Once it is put into server > like the following the first line gets > flagged with the error. > > row 854, col 1: if: error in command (function) > row 854, col 1: script: bad statement (function) > > > function reversedName firstName,lastName > -- firstName and lastName are parameters > put lastName,firstName into constructedName > return constructedName > end reversedName > > ?> > > Can we unravel the email send code so it > doesn?t use functions? > > I did try putting the email send code into > the IDE and it put the message into the > message box without sending out the email. > Perhaps that needs to be proven to work first > in the IDE? > > I used the example code you provided as > a test to be sure we were on the same page, > and, it didn?t work. > > Suggestions? > > Rick > > > >> On Jul 15, 2019, at 3:51 PM, Alex Tweedly via use-livecode wrote: >> >> Hmmm - LC Server's error reporting can be frustrating .... and I'm not sure what it is trying to say here. >> >> All I can suggest is to try to take the problematic script and load it as a script-only stack into the IDE and see if it can be tested out that way - if necessary adding a few lines of code to mimic the way it\s being used on the server. >> >> (Or send me the whole script off-list and I'll see if I can spot the differences between your context and mine) >> >> 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 jacque at hyperactivesw.com Tue Jul 16 01:31:42 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Jul 2019 00:31:42 -0500 Subject: Local files in browser widget In-Reply-To: <001701d53aa6$6d68e230$483aa690$@net> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <75292898-135b-f414-e76a-08d29f8db09b@hyperactivesw.com> <001701d53aa6$6d68e230$483aa690$@net> Message-ID: <5a403ee3-5f57-e423-7032-804d5f3f04eb@hyperactivesw.com> Thanks Ralph, I did create a 64-bit apk with LC 9.5. I've had a couple of people try my test app. It works on a Pixel 2, and a Moto-something, and my Huawei tablet. So far it only fails on my Pixel. If anyone out there happens to have an (original) Pixel phone and is willing to do a quick test, that'd be great. The apk has a single browser widget with a lot of text, and the test would be to see if you can scroll to the bottom. I'm hoping the problem is my particular setup and not the Pixel model itself. On 7/14/19 7:44 PM, Ralph DiMola wrote: > Are you using 9.5? If not maybe a 64 bit build might work??? > > 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: Sunday, July 14, 2019 4:27 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: Local files in browser widget > > I'm making progress but still having trouble with the browser widget on > Android. To date: > > 1. Chopped up the huge file into multiple smaller files. They have all been > tagged so that links automatically load the correct file when clicked. This > works. > > 2. The app now copies all the files in its resources folder to the documents > folder. This works. > > 3. When loading the first file of the set, it works perfectly. When tapping > a link that loads another file in the set, things happen sometimes. > > On my Huawei tablet, everything works great. But on my Pixel, after > scrolling two or three screens, everything freezes. Not only does the > browser refuse to scroll (even backwards, where it's already been,) but HTML > links don't respond, and buttons and other controls are inert. The backKey > is also frozen, so the only option is to exit via the Home hardware button > and remove the app from RAM. This is 100% reproducible. > > My Pixel is running Android 9 Pie and the Huawei has Android 8 Oreo. The > Huawei also has newer hardware than the Pixel. Is the browser widget > compatible with Android 9? Or is it a hardware problem? > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Tue Jul 16 13:23:50 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 16 Jul 2019 13:23:50 -0400 Subject: Best Temp Pass Autoresponder? In-Reply-To: <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> Message-ID: <62E88340-A3E0-414A-87AE-5718A7337148@all-auctions.com> Hi Alex, Ok, I tried going back to basics just to see what I could get to work. I managed to get the ReverseName function to work fine all by itself in the server. Then I tried the command mail shell method all by itself. It looks like the code is executing, but I receive no email! I?ve listed the code here to see if you spot anything.
" put "Just before the shellEscape function" put "

" function shellEscape pText put "Just Inside the shellEscape function" put "

" put "pText = " & pText put "

" repeat for each char tChar in "\`!$" & quote replace tChar with "\" & tChar in pText end repeat return pText end shellEscape put "Just after the shellEscape function" put "

" put "Just before the wrapQ function" put "

" -- wrap quotes around text function wrapQ pText put "Just Inside the wrapQ function" put "

" return quote & pText & quote end wrapQ put "Just after the wrapQ function" put "

" command mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts local tMsg put "Inside command mail" put "

" put "pTo = " & pTo put "

" put "pSub = " & pSub put "

" put "pMsg = " & pMsg put "

" put "pFrom = " & pFrom put "

" put "pCc = " & pCc put "

" put "pBcc = " & pBcc put "

" put "pHtml = " & pHtml put "

" put "pAtts = " & pAtts put "

" -- build the message header, adding the from, to and subject details -- we also put any cc addresses in here, but not bcc (bcc addresses hidden) put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub & \ return into tMsg if pCc is not empty then put "Cc:" && pCc & return after tMsg end if -- if there are any attachments, we must send this email as multipart -- with the message body and each attachment forming a part -- we do this by specifying the message as multipart and generating a unique boundary if pAtts is an array then local tBoundary put "boundary" & the seconds into tBoundary put "MIME-Version: 1.0" & return & "Content-Type: multipart/mixed; boundary=" & \ wrapQ(tBoundary) & return & "--" & tBoundary & return after tMsg end if -- add the actual message body, setting the content type appropriately if pHtml is true then put "Content-Type: text/html;" & return & return after tMsg else put "Content-Type: text/plain;" & return & return after tMsg end if put pMsg & return after tMsg -- add each attachment as a new part of the message, separating using -- the generated boundary if pAtts is an array then put "--" & tBoundary & return after tMsg repeat for each element tAtt in pAtts if there is a file tAtt["path"] then if tAtt["type"] is empty then get "application/octet-stream" else get tAtt["type"] end if put "Content-Type:" && it & "; name=" & wrapQ(tAtt["name"]) & ";" & \ return & "Content-Transfer-Encoding: base64;" & return & return & \ base64Encode(URL ("binfile:" & tAtt["path"])) & return & "--" & \ tBoundary & return after tMsg end if end repeat end if -- send the mail by piping the message we have just built to the sendmail command -- we must also send a copy of the message to the bcc addresses get shell("echo" && wrapQ(shellEscape(tMsg)) && "| /usr/sbin/sendmail" && \ wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) if pBcc is not empty then get shell("echo" && wrapQ(shellEscape(tMsg)) && "| /usr/sbin/sendmail" && \ wrapQ(shellEscape(pBcc)) && "-f" && wrapQ(shellEscape(pFrom))) end if if there is a file "log_mail.txt" then put "MAIL sent" && the seconds & CR & \ "TO:" && pTo & CR & \ "SUBJ:" && pSub & CR &CR after URL ("file:./log_mail.txt") end if put "

" put "At the end of command mail" put "

" end mail --mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts put "Hello" into pVarEmailMessageBody put pVarEmailMessageBody into pMessage put "harrison at all-auctions.com" into pVarEmailAddressToCustomer put "RE: Forgot Password" into pSubject put "support at innovative-introductions.com" into pFromAddress put "" into pCcAddress put "" into pBccAddress put false into pHtmlFlag put "" into pAttsNoAttachements mail pVarEmailAddressToCustomer, pSubject, pMessage, pFromAddress, pCcAddress, pBccAddress, pHtmlFlag, pAttsNoAttachements put "After the mail call" put "

" ?> > On Jul 15, 2019, at 9:43 PM, Alex Tweedly via use-livecode wrote: > > > No, it's definitely not that - I use funciton() all the time on LCServer. > > Try this script and see what it does ... if it doesn't work, then check the version, etc. > > If (when?) it does work, then you can start trying to narrow down. (I'd take the example you gave for reversedName, and put it at the top of the script file, see if that gives an error. If not, keep moving it further down until the error can be seen :-) > > (Or, if there's nothing too secret - send me your whole script off-list and I'll look at it). > > (I have my copy at kilmelford.com/try.lc9 if you want to see its output.) > > Alex. > From jacque at hyperactivesw.com Tue Jul 16 15:53:36 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Jul 2019 14:53:36 -0500 Subject: SVG to XML Message-ID: <2c342649-6340-7d18-a592-adea0fc1002c@hyperactivesw.com> I have a number of widgets selected from the built-in Font Awesome set that I want to convert to drawable images for use with regular button icons. All I have are the paths. How would I convert those to an XML file that LC can import? The FA site does not include XML icons. Basically, is there a standard template that I can just paste the path into? I didn't do so well replacing the path of an existing svg file. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jjs at krutt.org Tue Jul 16 16:23:49 2019 From: jjs at krutt.org (JJS) Date: Tue, 16 Jul 2019 22:23:49 +0200 Subject: Printing to pdf and printing to paper on Android In-Reply-To: <1c2f3920-75dd-3774-d481-0cf1008f01a0@krutt.org> References: <1c2f3920-75dd-3774-d481-0cf1008f01a0@krutt.org> Message-ID: <25ae409d-876b-9bc6-6a02-5813cf8a678b@krutt.org> i've requested to re-open bug 11582 and 19019. To be able to print to pdf and to real printers. This seems already possible on Android 4.4 as there are print services. It would be great to choose and use the Printingservices and it would bring a great enhancements for apps. https://developer.android.com/reference/android/print/pdf/PrintedPdfDocument https://developer.android.com/reference/android/print/PrintManager If others can do it, we should too. Regards, Jerry From alex at tweedly.net Tue Jul 16 18:27:06 2019 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 16 Jul 2019 23:27:06 +0100 Subject: Best Temp Pass Autoresponder? In-Reply-To: <62E88340-A3E0-414A-87AE-5718A7337148@all-auctions.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> <62E88340-A3E0-414A-87AE-5718A7337148@all-auctions.com> Message-ID: <6d00688f-8697-45bb-f8ca-7ab46c667977@tweedly.net> Hi Rick, I copied / pasted that script from your mail into my LC server script, and made two small changes ("To" address I changed from yours to one of mine, and "From" address I changed to be within my domain), and tried that. It worked fine, and I did receive the email. So (just to check) I changed the From address to a nonsense one (random at somedomain.com) and again that worked and I got the email OK. So I changed the To address back to yours and ran it again.? If you got the resulting email (probably twice), then that too works, and there must be some config difference between your hosting account and mine. So I changed the shell call that sends the email to include outputting the results, as below: ?? get shell("echo" && wrapQ(shellEscape(tMsg)) && "| /usr/sbin/sendmail" && \ ???????? wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) ?? put "result = " & the result & "
" & CR ?? put "it = " & it & "
" & CR For me, that (as expected) produces both the result and 'it' as empty - but maybe you'll see something different. (btw I'm on sage and Livecode hosting, and using LC 9.x (i.e. my script is try.lc9). Let me know how you get on. Alex. On 16/07/2019 18:23, Rick Harrison via use-livecode wrote: > Hi Alex, > > Ok, I tried going back to basics just to see > what I could get to work. > > I managed to get the ReverseName function to work fine > all by itself in the server. > > Then I tried the command mail shell method all by itself. > It looks like the code is executing, but I receive no email! > > I?ve listed the code here to see if you spot anything. From harrison at all-auctions.com Tue Jul 16 18:54:09 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 16 Jul 2019 18:54:09 -0400 Subject: Best Temp Pass Autoresponder? In-Reply-To: <6d00688f-8697-45bb-f8ca-7ab46c667977@tweedly.net> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> <62E88340-A3E0-414A-87AE-5718A7337148@all-auctions.com> <6d00688f-8697-45bb-f8ca-7ab46c667977@tweedly.net> Message-ID: Hi Alex, Thank you for trying that out! It must be some difference in setup then. I?ll get back to you when I know more. Thanks again, Rick > On Jul 16, 2019, at 6:27 PM, Alex Tweedly via use-livecode wrote: > > Hi Rick, > > I copied / pasted that script from your mail into my LC server script, and made two small changes ("To" address I changed from yours to one of mine, and "From" address I changed to be within my domain), and tried that. It worked fine, and I did receive the email. > > So (just to check) I changed the From address to a nonsense one (random at somedomain.com ) and again that worked and I got the email OK. > > So I changed the To address back to yours and ran it again. If you got the resulting email (probably twice), then that too works, and there must be some config difference between your hosting account and mine. So I changed the shell call that sends the email to include outputting the results, as below: > > get shell("echo" && wrapQ(shellEscape(tMsg)) && "| /usr/sbin/sendmail" && \ > wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) > put "result = " & the result & "
" & CR > put "it = " & it & "
" & CR > > For me, that (as expected) produces both the result and 'it' as empty - but maybe you'll see something different. (btw I'm on sage and Livecode hosting, and using LC 9.x (i.e. my script is try.lc9). > > Let me know how you get on. > > Alex. From harrison at all-auctions.com Tue Jul 16 21:40:53 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 16 Jul 2019 21:40:53 -0400 Subject: Best Temp Pass Autoresponder? In-Reply-To: <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> Message-ID: Hi Alex, Everything is fine now. It turned out that my google email account was filtering out the emails I was sending to myself. To test the theory, I sent emails to my yahoo account, and the email showed up just fine. Thanks a lot Google! (NOT!) Thank you Alex for your patience and for helping me test. Once I saw that everything was working at your end it got me to thinking about other possibilities. Rick From stephen at barncard.com Tue Jul 16 22:30:10 2019 From: stephen at barncard.com (Stephen Barncard) Date: Tue, 16 Jul 2019 19:30:10 -0700 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> Message-ID: One has to look in ALL MAIL... this has messed with me every time I try to do something 'abnormal' with email. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Tue, Jul 16, 2019 at 6:41 PM Rick Harrison via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Alex, > > Everything is fine now. It turned out that > my google email account was filtering out > the emails I was sending to myself. > To test the theory, I sent emails to my > yahoo account, and the email showed > up just fine. Thanks a lot Google! (NOT!) > > Thank you Alex for your patience and > for helping me test. Once I saw that > everything was working at your end > it got me to thinking about other > possibilities. > > 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 bobsneidar at iotecdigital.com Wed Jul 17 10:41:01 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 17 Jul 2019 14:41:01 +0000 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> Message-ID: <5F696F8F-DD65-49A2-8A8D-D188C53AD7E6@iotecdigital.com> Oh, THAT is interesting! We test with free gmail accounts on copiers for customers who either do not know their email server settings, or those who don't have an email server. There are times we cannot figure out why they do not get the email! Very likely it's because the sender address is the one we are sending to!!! Bob S > On Jul 16, 2019, at 18:40 , Rick Harrison via use-livecode wrote: > > Everything is fine now. It turned out that > my google email account was filtering out > the emails I was sending to myself. > To test the theory, I sent emails to my > yahoo account, and the email showed > up just fine. Thanks a lot Google! (NOT!) From alex at tweedly.net Wed Jul 17 12:17:16 2019 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 17 Jul 2019 17:17:16 +0100 Subject: Best Temp Pass Autoresponder? In-Reply-To: <5F696F8F-DD65-49A2-8A8D-D188C53AD7E6@iotecdigital.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> <5F696F8F-DD65-49A2-8A8D-D188C53AD7E6@iotecdigital.com> Message-ID: Uh, that wasn't the case in Rick\s testing; he was sending to himself, but not at the He already posted this to the list, so it's ok for me to reveal the email addresses again : put"harrison at all-auctions.com" into pVarEmailAddressToCustomer put"support at innovative-introductions.com" into pFromAddress So although I'm sure it is Google/gmail getting in the way, I think it's not something as specific as the from & to addresses matching. Alex. On 17/07/2019 15:41, Bob Sneidar via use-livecode wrote: > Oh, THAT is interesting! We test with free gmail accounts on copiers for customers who either do not know their email server settings, or those who don't have an email server. There are times we cannot figure out why they do not get the email! Very likely it's because the sender address is the one we are sending to!!! > > Bob S > > >> On Jul 16, 2019, at 18:40 , Rick Harrison via use-livecode wrote: >> >> Everything is fine now. It turned out that >> my google email account was filtering out >> the emails I was sending to myself. >> To test the theory, I sent emails to my >> yahoo account, and the email showed >> up just fine. Thanks a lot Google! (NOT!) > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 17 12:44:24 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 17 Jul 2019 16:44:24 +0000 Subject: Best Temp Pass Autoresponder? In-Reply-To: References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> <5F696F8F-DD65-49A2-8A8D-D188C53AD7E6@iotecdigital.com> Message-ID: <7C232EAC-ACC8-482A-B32D-74A491EB25B7@iotecdigital.com> What did he mean by sending to himself then? Bob S > On Jul 17, 2019, at 09:17 , Alex Tweedly via use-livecode wrote: > > Uh, that wasn't the case in Rick\s testing; he was sending to himself, but not at the > > He already posted this to the list, so it's ok for me to reveal the email addresses again : > > put"harrison at all-auctions.com" into pVarEmailAddressToCustomer > put"support at innovative-introductions.com" into pFromAddress > > > So although I'm sure it is Google/gmail getting in the way, I think it's not something as specific as the from & to addresses matching. > > Alex. From harrison at all-auctions.com Wed Jul 17 13:02:06 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 17 Jul 2019 13:02:06 -0400 Subject: Best Temp Pass Autoresponder? In-Reply-To: <7C232EAC-ACC8-482A-B32D-74A491EB25B7@iotecdigital.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> <5F696F8F-DD65-49A2-8A8D-D188C53AD7E6@iotecdigital.com> <7C232EAC-ACC8-482A-B32D-74A491EB25B7@iotecdigital.com> Message-ID: <37F76FAA-FB91-4DEF-8876-6141ABA689CE@all-auctions.com> I own both email addresses. Therefore I was sending it to myself. Sorry for any confusion. Thanks, Rick > On Jul 17, 2019, at 12:44 PM, Bob Sneidar via use-livecode wrote: > > What did he mean by sending to himself then? > > Bob S > > >> On Jul 17, 2019, at 09:17 , Alex Tweedly via use-livecode wrote: >> >> Uh, that wasn't the case in Rick\s testing; he was sending to himself, but not at the >> >> He already posted this to the list, so it's ok for me to reveal the email addresses again : >> >> put"harrison at all-auctions.com" into pVarEmailAddressToCustomer >> put"support at innovative-introductions.com" into pFromAddress >> >> >> So although I'm sure it is Google/gmail getting in the way, I think it's not something as specific as the from & to addresses matching. >> >> 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 liste.revo at medard.on-rev.com Wed Jul 17 13:43:51 2019 From: liste.revo at medard.on-rev.com (Medard) Date: Wed, 17 Jul 2019 19:43:51 +0200 Subject: Livecode Hosting (was: On-Rev) future?? Message-ID: <1oavh2d.176u081jodqqsM%liste.revo@medard.on-rev.com> Hi! I received a mail from Heather Laine, asking for choosing an option to continue -- or not! the server... As an hobbyist, I am not interested in a full option - But I do have some 'dormant' web sites -- and the mail! Which is your situation? From rdimola at evergreeninfo.net Wed Jul 17 13:47:28 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 17 Jul 2019 13:47:28 -0400 Subject: Best Temp Pass Autoresponder? In-Reply-To: <7C232EAC-ACC8-482A-B32D-74A491EB25B7@iotecdigital.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> <5F696F8F-DD65-49A2-8A8D-D188C53AD7E6@iotecdigital.com> <7C232EAC-ACC8-482A-B32D-74A491EB25B7@iotecdigital.com> Message-ID: <002d01d53cc7$b66860f0$233922d0$@net> I spoof email "from" address all the time(legitimately) using LC server using on-rev account. When testing I found out a few things 1) you must put "mailFrom:" in the email internet header. Example "Mailfrom: xxxxx at yyyyy.on-rev.com" This is not seen by email clients. They see the "From" but "mailFrom" will be in the header. a) xxxxx at yyyyy.on-rev.com must be a valid email address b) yyyyy.on-rev.com must have valid ssl certificate. 2) setup SPF, DKIM, and DMARC DNS Records. This can be done via cPanel. SPF is essential DKIM and DMARK increases your deliverability. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From matthias_livecode_150811 at m-r-d.de Wed Jul 17 14:07:47 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 17 Jul 2019 20:07:47 +0200 Subject: Livecode Hosting (was: On-Rev) future?? In-Reply-To: <1oavh2d.176u081jodqqsM%liste.revo@medard.on-rev.com> References: <1oavh2d.176u081jodqqsM%liste.revo@medard.on-rev.com> Message-ID: Hm, i don?t get it. Do you have a Livecode Hosting subscription or do you have a free lifetime hosting account which was offered when On-Rev was introduced? Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 17.07.2019 um 19:43 schrieb Medard via use-livecode >: > > Hi! > > I received a mail from Heather Laine, asking for choosing an option to > continue -- or not! the server... > > As an hobbyist, I am not interested in a full option > - But I do have some 'dormant' web sites -- and the mail! > > Which is your situation? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Wed Jul 17 14:22:12 2019 From: heather at livecode.com (Heather Laine) Date: Wed, 17 Jul 2019 19:22:12 +0100 Subject: Livecode Hosting (was: On-Rev) future?? In-Reply-To: <1oavh2d.176u081jodqqsM%liste.revo@medard.on-rev.com> References: <1oavh2d.176u081jodqqsM%liste.revo@medard.on-rev.com> Message-ID: <8353F9E6-74EB-48A4-A2C5-73D3FC4B790A@livecode.com> Hello Medard, I'll be happy to assist you with this in support, contact me on support at livecode.com. I'm not sure that the list is the best place to get specific advice on your situation. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 17 Jul 2019, at 18:43, Medard via use-livecode wrote: > > Hi! > > I received a mail from Heather Laine, asking for choosing an option to > continue -- or not! the server... > > As an hobbyist, I am not interested in a full option > - But I do have some 'dormant' web sites -- and the mail! > > Which is your situation? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pktemp50 at gmail.com Wed Jul 17 14:54:44 2019 From: pktemp50 at gmail.com (Paul Kocsis) Date: Wed, 17 Jul 2019 13:54:44 -0500 Subject: iOS cameraControl microphone permission bug Message-ID: Does anyone know if there is an iOS workaround for an app that uses a cameraControl but does not need or use audio? The bug is that iOS asks for microphone permission even though I'm setting the audioDevice to empty. Here is the bug report: https://quality.livecode.com/show_bug.cgi?id=21438 I can't get an app accepted that uses cameraControl for stills because iOS asks for microphone permission when its not actually needed. Thanks to anyone that can help! From bobsneidar at iotecdigital.com Wed Jul 17 15:13:04 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 17 Jul 2019 19:13:04 +0000 Subject: Best Temp Pass Autoresponder? In-Reply-To: <002d01d53cc7$b66860f0$233922d0$@net> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> <5F696F8F-DD65-49A2-8A8D-D188C53AD7E6@iotecdigital.com> <7C232EAC-ACC8-482A-B32D-74A491EB25B7@iotecdigital.com> <002d01d53cc7$b66860f0$233922d0$@net> Message-ID: <32A06630-C9A0-4E83-8EFB-EC0F120D2E81@iotecdigital.com> Great info Ralph. Bob S > On Jul 17, 2019, at 10:47 , Ralph DiMola via use-livecode wrote: > > I spoof email "from" address all the time(legitimately) using LC server > using on-rev account. When testing I found out a few things > 1) you must put "mailFrom:" in the email internet header. Example "Mailfrom: > xxxxx at yyyyy.on-rev.com" This is not seen by email clients. They see the > "From" but "mailFrom" will be in the header. > a) xxxxx at yyyyy.on-rev.com must be a valid email address > b) yyyyy.on-rev.com must have valid ssl certificate. > 2) setup SPF, DKIM, and DMARC DNS Records. This can be done via cPanel. SPF > is essential DKIM and DMARK increases your deliverability. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net From bobsneidar at iotecdigital.com Wed Jul 17 15:21:07 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 17 Jul 2019 19:21:07 +0000 Subject: Best Temp Pass Autoresponder? In-Reply-To: <7C232EAC-ACC8-482A-B32D-74A491EB25B7@iotecdigital.com> References: <9cc71c4e-4837-2683-b65a-0206178fb66d@hyperactivesw.com> <70104A28-F9BB-47BB-987D-ED65649C1A7D@byu.edu> <697cce7f-b735-9f38-62ad-96ebffdb1135@hyperactivesw.com> <5D59A600-B020-4CAC-9E00-1703C74DF01C@major-k.de> <10f4d1c4-caa4-844b-1dbd-187610d4899a@hyperactivesw.com> <31D1FFC8-B795-4BF2-B78B-BA587D69A885@all-auctions.com> <55A200B4-2F0A-4C60-BF3B-5A1FCD512A8B@all-auctions.com> <0948f005-3c29-f8fc-b5e1-eb17a6cdf87c@tweedly.net> <5F696F8F-DD65-49A2-8A8D-D188C53AD7E6@iotecdigital.com> <7C232EAC-ACC8-482A-B32D-74A491EB25B7@iotecdigital.com> Message-ID: Okay I thought I might be on to something. FYI for those who struggle with Gmail there are certain security settings that must be in place for free Gmail or hosted Google account to receive SMTP traffic: Two factor authentication must be off for the sending account, Access for less secure apps must be ON (this is optionally per account or domain wide for hosted accounts) and when sending from a public IP address for the first time, the device may need to be approved. Bob S > On Jul 17, 2019, at 09:44 , Bob Sneidar wrote: > >> So although I'm sure it is Google/gmail getting in the way, I think it's not something as specific as the from & to addresses matching. >> >> Alex. From liste.revo at medard.on-rev.com Wed Jul 17 16:27:34 2019 From: liste.revo at medard.on-rev.com (Medard) Date: Wed, 17 Jul 2019 22:27:34 +0200 Subject: Livecode Hosting (was: On-Rev) future?? In-Reply-To: Message-ID: <1oavq8l.dsmi41m5c45vM%liste.revo@medard.on-rev.com> Matthias Rebbe via use-livecode wrote: > Do you have a Livecode Hosting subscription or do you have > a free lifetime hosting account which was offered when On-Rev was introduced? Yes, I am a On-Rev "funder" From dougr at telus.net Wed Jul 17 20:27:58 2019 From: dougr at telus.net (Douglas Ruisaard) Date: Wed, 17 Jul 2019 17:27:58 -0700 Subject: source of a socket error message Message-ID: <0da701d53cff$a8787010$f9695030$@net> Let me start this off by stating that the information I am seeking IS NOT due to an *issue* with LC. Hopefully, I can make it clear why I am asking for assistance from this group in regard to the situation I am trying to deal with and why I need the LC expertise of this group as a resource. In a portion of a large application, which has been distributed to a large number (5,000+) of remote/external sites, I have a call to a TCP socket: on OpenCard ... put ftp_server & ":" & tcp_port into temp1 open socket to temp1 with message "NewConnection" wait for messages end OpenCard Then there are a variety of "call-backs" based on when happens after I open the socket. One of these call-backs is "socketError": on socketError theID, theError close socket theID do_log " " & sftp_account && "file: " & "There is a problem with the TCP connection: " & theError, "connect", 3 ... end socketError This works PERFECTLY 99.999% of the time. However, occasionally I get a "mass" of errors (50 or 60) within a 1 hour period of time from a large variety of different external sites (I get all of the remote site's logs) ... i.e. many different sites connecting in from many different locations around the province of Ontario ... a very large place! The error returned is: "can't resolve hostname"... returned in the "theError" parameter of the socketError function. Here's where I need help. I need to find out, with as great a level of detail as possible, EXACTLY what (from LC's "point-of-view") triggers this error, what part(s) of the LC engine are involved with generating this error and if there is more than the obvious cause of the remote site's DNS server (via their ISP or internal server(s)) not being able to "see" the hostname that could produce this error. Although this "error" appears to be "common" from a variety of sources (none of which are written in LC, as far as I can tell)... I cannot find any "standard" by which a DNS generates this specific message. NSLOOKUP would be the closest candidate but even it doesn't produce this specific error of being "unable to resolve the hostname"... so that leaves LC with the responsibility of the content of the error. I REALLY want to emphasize that, as far as I am concerned, this is not a problem with LC, in any manner... but I need to find out where and why LC generates this message. I am not sure what or where to search for this error or what generates it from with the LC components but if someone could help me "find" a starting point, I should be able to reverse-engineer the logic. The overall situation is fairly complex but I'd be very open to providing more details if anyone feels it is warranted. Whatever help could be provided will be very, very appreciated! Douglas Ruisaard Trilogy Software (250) 573-3935 From dsc at swcp.com Wed Jul 17 21:51:31 2019 From: dsc at swcp.com (Dar Scott) Date: Wed, 17 Jul 2019 19:51:31 -0600 Subject: source of a socket error message In-Reply-To: <0da701d53cff$a8787010$f9695030$@net> References: <0da701d53cff$a8787010$f9695030$@net> Message-ID: <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> This is very likely a loss of network availability and of that a loss of Internet availability. The library will first look up the URI to get an IP address. The IP address is used to make a connection to the server. The computer has (or can get) an IP address to use for making that look up. Since that this the first operation, a loss of Internet will show up with that error. If you are sure there is access to the Internet, then it might be that the DNS server is down. That seems unlikely, but possible. If the server IP is fixed, then use a cached version of the IP. Use hostNameToAddress() to get the IP address, save that on success, use the saved address on failure. > On Jul 17, 2019, at 6:27 PM, Douglas Ruisaard via use-livecode wrote: > > Let me start this off by stating that the information I am seeking IS NOT due to an *issue* with LC. Hopefully, I can make it clear why I am asking for assistance from this group in regard to the situation I am trying to deal with and why I need the LC expertise of this group as a resource. > > In a portion of a large application, which has been distributed to a large number (5,000+) of remote/external sites, I have a call to a TCP socket: > > on OpenCard > ... > put ftp_server & ":" & tcp_port into temp1 > open socket to temp1 with message "NewConnection" > wait for messages > end OpenCard > > Then there are a variety of "call-backs" based on when happens after I open the socket. One of these call-backs is "socketError": > > on socketError theID, theError > close socket theID > do_log " " & sftp_account && "file: " & "There is a problem with the TCP connection: " & theError, "connect", 3 > ... > end socketError > > This works PERFECTLY 99.999% of the time. However, occasionally I get a "mass" of errors (50 or 60) within a 1 hour period of time from a large variety of different external sites (I get all of the remote site's logs) ... i.e. many different sites connecting in from many different locations around the province of Ontario ... a very large place! > > The error returned is: "can't resolve hostname"... returned in the "theError" parameter of the socketError function. > > Here's where I need help. I need to find out, with as great a level of detail as possible, EXACTLY what (from LC's "point-of-view") triggers this error, what part(s) of the LC engine are involved with generating this error and if there is more than the obvious cause of the remote site's DNS server (via their ISP or internal server(s)) not being able to "see" the hostname that could produce this error. > > Although this "error" appears to be "common" from a variety of sources (none of which are written in LC, as far as I can tell)... I cannot find any "standard" by which a DNS generates this specific message. NSLOOKUP would be the closest candidate but even it doesn't produce this specific error of being "unable to resolve the hostname"... so that leaves LC with the responsibility of the content of the error. > > I REALLY want to emphasize that, as far as I am concerned, this is not a problem with LC, in any manner... but I need to find out where and why LC generates this message. > > I am not sure what or where to search for this error or what generates it from with the LC components but if someone could help me "find" a starting point, I should be able to reverse-engineer the logic. > > The overall situation is fairly complex but I'd be very open to providing more details if anyone feels it is warranted. > > Whatever help could be provided will be very, very appreciated! > > Douglas Ruisaard > Trilogy Software > (250) 573-3935 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Jul 17 23:36:24 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 17 Jul 2019 23:36:24 -0400 Subject: source of a socket error message In-Reply-To: <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> References: <0da701d53cff$a8787010$f9695030$@net> <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> Message-ID: That answer is probably bang on ...and a solution to top it off. * slow clap * On Wed, Jul 17, 2019 at 9:51 PM Dar Scott via use-livecode < use-livecode at lists.runrev.com> wrote: > This is very likely a loss of network availability and of that a loss of > Internet availability. > > The library will first look up the URI to get an IP address. The IP > address is used to make a connection to the server. The computer has (or > can get) an IP address to use for making that look up. Since that this the > first operation, a loss of Internet will show up with that error. > > If you are sure there is access to the Internet, then it might be that the > DNS server is down. That seems unlikely, but possible. If the server IP is > fixed, then use a cached version of the IP. Use hostNameToAddress() to get > the IP address, save that on success, use the saved address on failure. > > > > On Jul 17, 2019, at 6:27 PM, Douglas Ruisaard via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Let me start this off by stating that the information I am seeking IS > NOT due to an *issue* with LC. Hopefully, I can make it clear why I am > asking for assistance from this group in regard to the situation I am > trying to deal with and why I need the LC expertise of this group as a > resource. > > > > In a portion of a large application, which has been distributed to a > large number (5,000+) of remote/external sites, I have a call to a TCP > socket: > > > > on OpenCard > > ... > > put ftp_server & ":" & tcp_port into temp1 > > open socket to temp1 with message "NewConnection" > > wait for messages > > end OpenCard > > > > Then there are a variety of "call-backs" based on when happens after I > open the socket. One of these call-backs is "socketError": > > > > on socketError theID, theError > > close socket theID > > do_log " " & sftp_account && "file: " & "There is a problem with the > TCP connection: " & theError, "connect", 3 > > ... > > end socketError > > > > This works PERFECTLY 99.999% of the time. However, occasionally I get a > "mass" of errors (50 or 60) within a 1 hour period of time from a large > variety of different external sites (I get all of the remote site's logs) > ... i.e. many different sites connecting in from many different locations > around the province of Ontario ... a very large place! > > > > The error returned is: "can't resolve hostname"... returned in the > "theError" parameter of the socketError function. > > > > Here's where I need help. I need to find out, with as great a level of > detail as possible, EXACTLY what (from LC's "point-of-view") triggers this > error, what part(s) of the LC engine are involved with generating this > error and if there is more than the obvious cause of the remote site's DNS > server (via their ISP or internal server(s)) not being able to "see" the > hostname that could produce this error. > > > > Although this "error" appears to be "common" from a variety of sources > (none of which are written in LC, as far as I can tell)... I cannot find > any "standard" by which a DNS generates this specific message. NSLOOKUP > would be the closest candidate but even it doesn't produce this specific > error of being "unable to resolve the hostname"... so that leaves LC with > the responsibility of the content of the error. > > > > I REALLY want to emphasize that, as far as I am concerned, this is not a > problem with LC, in any manner... but I need to find out where and why LC > generates this message. > > > > I am not sure what or where to search for this error or what generates > it from with the LC components but if someone could help me "find" a > starting point, I should be able to reverse-engineer the logic. > > > > The overall situation is fairly complex but I'd be very open to > providing more details if anyone feels it is warranted. > > > > Whatever help could be provided will be very, very appreciated! > > > > Douglas Ruisaard > > Trilogy Software > > (250) 573-3935 > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 18 11:11:38 2019 From: dsc at swcp.com (dsc at swcp.com) Date: Thu, 18 Jul 2019 09:11:38 -0600 Subject: source of a socket error message In-Reply-To: <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> References: <0da701d53cff$a8787010$f9695030$@net> <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> Message-ID: <3C997C20-2701-41FB-BD01-0F0BA019A143@swcp.com> Also... If you have control of these sites and even if you use an ISP DNS service, you can add a secondary DNS IP address, perhaps a public recursive name server such as the Google Public DNS (8.8.8.8). This will add a robustness without upgrading the software. If you don't manage those, you can you can upgrade the software to access a public name server directly with TLS, or use DNS over HTTPS. DNS over HTTPS is not as easy as it sounds, but should be doable. It is available without filtering from Google, Quad9 (use 9.9.9.10 for no filtering), or (if you don't use Cisco) Cloudflare 1.1.1.1. You might want to add some network diagnostics, where you can log or otherwise report the results. This will help solidify your analysis. If you have control over the server and know the IP address will never change, you can skip the name lookup and just use the IP address. > On Jul 17, 2019, at 7:51 PM, Dar Scott via use-livecode wrote: > > This is very likely a loss of network availability and of that a loss of Internet availability. > > The library will first look up the URI to get an IP address. The IP address is used to make a connection to the server. The computer has (or can get) an IP address to use for making that look up. Since that this the first operation, a loss of Internet will show up with that error. > > If you are sure there is access to the Internet, then it might be that the DNS server is down. That seems unlikely, but possible. If the server IP is fixed, then use a cached version of the IP. Use hostNameToAddress() to get the IP address, save that on success, use the saved address on failure. > > >> On Jul 17, 2019, at 6:27 PM, Douglas Ruisaard via use-livecode wrote: >> >> Let me start this off by stating that the information I am seeking IS NOT due to an *issue* with LC. Hopefully, I can make it clear why I am asking for assistance from this group in regard to the situation I am trying to deal with and why I need the LC expertise of this group as a resource. >> >> In a portion of a large application, which has been distributed to a large number (5,000+) of remote/external sites, I have a call to a TCP socket: >> >> on OpenCard >> ... >> put ftp_server & ":" & tcp_port into temp1 >> open socket to temp1 with message "NewConnection" >> wait for messages >> end OpenCard >> >> Then there are a variety of "call-backs" based on when happens after I open the socket. One of these call-backs is "socketError": >> >> on socketError theID, theError >> close socket theID >> do_log " " & sftp_account && "file: " & "There is a problem with the TCP connection: " & theError, "connect", 3 >> ... >> end socketError >> >> This works PERFECTLY 99.999% of the time. However, occasionally I get a "mass" of errors (50 or 60) within a 1 hour period of time from a large variety of different external sites (I get all of the remote site's logs) ... i.e. many different sites connecting in from many different locations around the province of Ontario ... a very large place! >> >> The error returned is: "can't resolve hostname"... returned in the "theError" parameter of the socketError function. >> >> Here's where I need help. I need to find out, with as great a level of detail as possible, EXACTLY what (from LC's "point-of-view") triggers this error, what part(s) of the LC engine are involved with generating this error and if there is more than the obvious cause of the remote site's DNS server (via their ISP or internal server(s)) not being able to "see" the hostname that could produce this error. >> >> Although this "error" appears to be "common" from a variety of sources (none of which are written in LC, as far as I can tell)... I cannot find any "standard" by which a DNS generates this specific message. NSLOOKUP would be the closest candidate but even it doesn't produce this specific error of being "unable to resolve the hostname"... so that leaves LC with the responsibility of the content of the error. >> >> I REALLY want to emphasize that, as far as I am concerned, this is not a problem with LC, in any manner... but I need to find out where and why LC generates this message. >> >> I am not sure what or where to search for this error or what generates it from with the LC components but if someone could help me "find" a starting point, I should be able to reverse-engineer the logic. >> >> The overall situation is fairly complex but I'd be very open to providing more details if anyone feels it is warranted. >> >> Whatever help could be provided will be very, very appreciated! >> >> Douglas Ruisaard >> Trilogy Software >> (250) 573-3935 >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 18 11:37:23 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 18 Jul 2019 15:37:23 +0000 Subject: source of a socket error message In-Reply-To: <3C997C20-2701-41FB-BD01-0F0BA019A143@swcp.com> References: <0da701d53cff$a8787010$f9695030$@net> <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> <3C997C20-2701-41FB-BD01-0F0BA019A143@swcp.com> Message-ID: Not to put too fine a point on it but that gives me the heebie jeebies. There are ~5000 instances of the app. The dev can't control what the ISP of the server does, or if the hosting company goes out of business or gets bought out. Although rare, an ISP CAN alter the public IP subnet. It happened to me twice, a long time ago admittedly. Once for my homw ISP and one for a business ISP. Using IP addresses is like using pointers in app development. Bob S > On Jul 18, 2019, at 08:11 , dsc--- via use-livecode wrote: > > If you have control over the server and know the IP address will never change, you can skip the name lookup and just use the IP address. From ahsoftware at sonic.net Thu Jul 18 11:46:05 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 18 Jul 2019 08:46:05 -0700 Subject: source of a socket error message In-Reply-To: <3C997C20-2701-41FB-BD01-0F0BA019A143@swcp.com> References: <0da701d53cff$a8787010$f9695030$@net> <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> <3C997C20-2701-41FB-BD01-0F0BA019A143@swcp.com> Message-ID: On 7/18/19 8:11 AM, dsc--- via use-livecode wrote: > Also... > > If you have control of these sites and even if you use an ISP DNS service, you can add a secondary DNS IP address, perhaps a public recursive name server such as the Google Public DNS (8.8.8.8). This will add a robustness without upgrading the software. > > If you don't manage those, you can you can upgrade the software to access a public name server directly with TLS, or use DNS over HTTPS. DNS over HTTPS is not as easy as it sounds, but should be doable. It is available without filtering from Google, Quad9 (use 9.9.9.10 for no filtering), or (if you don't use Cisco) Cloudflare 1.1.1.1. DoH is getting easier to use all the time but still hasn't reached a level of plug-and-play availability. I set up a Raspberry pi on our LAN running a DoH service that hooks into Cloudflare on the backend and it's transparent and painless (if I'm allowed to mix metaphors). Normally I'd agree with you on this, but what has me worried about the problem situation is "occasionally I get a "mass" of errors (50 or 60) within a 1 hour period of time from a large variety of different external sites". So it's not a DNS outage from a single location, That said, last week I had a maddeningly similar thing occur here... I suddenly couldn't resolve addresses, and worse, couldn't even ping numeric addresses outside our ISP's gateway. After working with our ISP's tech support, rebooting our router got us a new IP address in the router's routing table and that fixed the problem. Possibly some problem with fiber DHCP refreshing, and I hesitate to suggest that something similar is at work here, but strange things happen. > > You might want to add some network diagnostics, where you can log or otherwise report the results. This will help solidify your analysis. > > If you have control over the server and know the IP address will never change, you can skip the name lookup and just use the IP address. That or your excellent suggestion of cacheing the address once it's originally resolved. -- Mark Wieder ahsoftware at gmail.com From harrison at all-auctions.com Thu Jul 18 12:45:57 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 18 Jul 2019 12:45:57 -0400 Subject: Time-outs in LC Server? In-Reply-To: References: <0da701d53cff$a8787010$f9695030$@net> <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> Message-ID: I was playing around with Send In Time with LC Server. It?s throwing an error at me after it?s supposed to be all done executing. The reason I was playing with such things is I want to be able to logoff any user that hasn?t been using the website for a few minutes when the system times out. How are you handling such things in LC Server? I did come across a Javascript that might work, but I?d rather use LC for the task if possible. Suggestions? Thanks in advance! Rick From alex at tweedly.net Thu Jul 18 18:55:52 2019 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 18 Jul 2019 23:55:52 +0100 Subject: Time-outs in LC Server? In-Reply-To: References: <0da701d53cff$a8787010$f9695030$@net> <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> Message-ID: You should never use 'send in time' or 'wait with messages' in LCServer. Each http request starts up your LC server script anew - and you need that request to be handled and the server-instance shut down as quickly as possible. And the next http request will start up another, entirely separate, instance; so you need to be storing some status info between requests. If a user doesn't do anything on the site for a few minutes, then you can use a flow something (vaguely) like : (at start of the script): ?- check if user is logged in (if not, prompt them to login / register / ...) ?- check a database entry for when they were last active (up to you whether that's per-user, per user/per-IP address, or per-some-cookie, or ...) ?- if time-since-last-action is too long - log them out, and as appropriate, either ????? a.? apologise :-), and go to login screen ????? b. return a "not logged in" error ?- if it is still within time, then update the "last active" database entry ?- then do the rest of the current request Alex. On 18/07/2019 17:45, Rick Harrison via use-livecode wrote: > I was playing around with Send In Time > with LC Server. It?s throwing an error > at me after it?s supposed to be all done > executing. > > The reason I was playing with such things > is I want to be able to logoff any user that > hasn?t been using the website for a few > minutes when the system times out. > > How are you handling such things in > LC Server? > > I did come across a Javascript that > might work, but I?d rather use LC > for the task if possible. > > Suggestions? > > Thanks in advance! > > 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 Jul 19 09:28:28 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 19 Jul 2019 09:28:28 -0400 Subject: Time-outs in LC Server? In-Reply-To: References: <0da701d53cff$a8787010$f9695030$@net> <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> Message-ID: <3F064DC3-D8C4-43F4-9A2F-FEC42B375C73@all-auctions.com> Hi Alex, > On Jul 18, 2019, at 6:55 PM, Alex Tweedly via use-livecode wrote: > > You should never use 'send in time' or 'wait with messages' in LCServer. > > Each http request starts up your LC server script anew - and you need that request to be handled and the server-instance shut down as quickly as possible. And the next http request will start up another, entirely separate, instance; so you need to be storing some status info between requests. > > If a user doesn't do anything on the site for a few minutes, then you can use a flow something (vaguely) like : > > (at start of the script): > > - check if user is logged in (if not, prompt them to login / register / ?) I already check if the user is logged in so that part isn?t an issue. > > - check a database entry for when they were last active (up to you whether that's per-user, per user/per-IP address, or per-some-cookie, or ...) > > - if time-since-last-action is too long - log them out, and as appropriate, either > a. apologise :-), and go to login screen > b. return a "not logged in" error > > - if it is still within time, then update the "last active" database entry > > - then do the rest of the current request I was hoping there was some global server value I could check or if there was an LC message like ?on Idle? that would work. Perhaps setting a session variable and the sessionLifetime to a particular duration. When the variable expires log the show a sorry message due to timeout and have the next button shown with the message log them out. The following is a link to the javascript stuff I had referred to before. I just want a clean LC way to do the same thing. https://stackoverflow.com/questions/9564602/how-to-know-browser-idle-time?noredirect=1&lq=1 Thanks, Rick From dsc at swcp.com Fri Jul 19 11:23:34 2019 From: dsc at swcp.com (Dar Scott) Date: Fri, 19 Jul 2019 09:23:34 -0600 Subject: source of a socket error message In-Reply-To: References: <0da701d53cff$a8787010$f9695030$@net> <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> <3C997C20-2701-41FB-BD01-0F0BA019A143@swcp.com> Message-ID: <1493F4F4-C0B3-4DCE-9EA3-A54531F5E528@swcp.com> It might be we are overcomplicating things. Maybe this just needs a support note to check the Internet connection. I am having a little trouble picturing the situation here. And like you, I wonder about the description. Since one city was mentioned, I thought there was a possibility of a single ISP having trouble with DNS. I can't tell if this is WAN or Internet, controlled sites or customer devices, ... Filtering... Another thing I thought about is filtering. I have seen evil filtering based on the URL that returns an IP address that returns a page with ads based on the contents of the URL. That would not return an error, but could mess up code trying to parse the result. I suppose that a filtering name server might return a lookup error for either a URL or an IP. The latter is goofy, but if that happens, bad neighbors could cause a loss of name service for the app's server. Or if the URL is accidentally, temporarily or maliciously put on Santa's naughty list for an hour, DNS for it might be unavailable. Quad9 (9.9.9.9) will reply with a NXDOMAIN (non-existent domain) if a site is blocked. The solution might be a support note to avoid filtering if it is not otherwise needed. (Long ago, before we had our own LiveCode function, I made a small DNS client library. About the same time I got a new DSL router. The library was inconsistent in getting a lookup error. I was frustrated trying to debug this, but I figured it out. At boot, the router kept changing the name service IP address to one that pointed a site that returned an IP that generated ads, even though I had saved a different IP. I don't remember how I fixed that.) > On Jul 18, 2019, at 9:46 AM, Mark Wieder via use-livecode wrote: > > On 7/18/19 8:11 AM, dsc--- via use-livecode wrote: >> Also... >> If you have control of these sites and even if you use an ISP DNS service, you can add a secondary DNS IP address, perhaps a public recursive name server such as the Google Public DNS (8.8.8.8). This will add a robustness without upgrading the software. >> If you don't manage those, you can you can upgrade the software to access a public name server directly with TLS, or use DNS over HTTPS. DNS over HTTPS is not as easy as it sounds, but should be doable. It is available without filtering from Google, Quad9 (use 9.9.9.10 for no filtering), or (if you don't use Cisco) Cloudflare 1.1.1.1. > > DoH is getting easier to use all the time but still hasn't reached a level of plug-and-play availability. I set up a Raspberry pi on our LAN running a DoH service that hooks into Cloudflare on the backend and it's transparent and painless (if I'm allowed to mix metaphors). > > Normally I'd agree with you on this, but what has me worried about the problem situation is "occasionally I get a "mass" of errors (50 or 60) within a 1 hour period of time from a large variety of different external sites". So it's not a DNS outage from a single location, > > That said, last week I had a maddeningly similar thing occur here... I suddenly couldn't resolve addresses, and worse, couldn't even ping numeric addresses outside our ISP's gateway. After working with our ISP's tech support, rebooting our router got us a new IP address in the router's routing table and that fixed the problem. Possibly some problem with fiber DHCP refreshing, and I hesitate to suggest that something similar is at work here, but strange things happen. > >> You might want to add some network diagnostics, where you can log or otherwise report the results. This will help solidify your analysis. >> If you have control over the server and know the IP address will never change, you can skip the name lookup and just use the IP address. > > That or your excellent suggestion of cacheing the address once it's originally resolved. > > -- > 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 bobsneidar at iotecdigital.com Fri Jul 19 14:04:46 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 19 Jul 2019 18:04:46 +0000 Subject: SE crash possible vector Message-ID: <4BB2F5D9-40EE-4263-AC3C-E61D5475172F@iotecdigital.com> I may have a possible vector for the script editor crash bug. I was editing a script but had the Documentation tab open. I clicked somewhere at or towards the end of a line and it immediately crashed to the desktop. I'm wondering if the dictionary lookup is getting some bad data at the click? Bob S From dougr at telus.net Fri Jul 19 15:10:09 2019 From: dougr at telus.net (Douglas Ruisaard) Date: Fri, 19 Jul 2019 12:10:09 -0700 Subject: source of a socket error message In-Reply-To: References: Message-ID: <0e7001d53e65$973ec530$c5bc4f90$@net> I *REALLY* appreciate the responses! Beyond where (exactly) LC actually generates this message (I can see it in the LC executable in a large "look-up" table), I was hoping I could find it in a "read-able" script so I could trace the logic. I'm trying NOT to exceed the scope of a subject related to this list-group and do not expect an actual solution to the issue. By the way, there REALLY are 5,000+ installations of the remote LC app spread all across the province of Ontario... which, if you're unfamiliar with Canada is worth look at on a map to see the geographic distribution "scope". It's taken over 10 years to implement that number of sites for the very large medical information provider I contract to. That's why Bob's "heebie jeebies" comment is SO relevant! But, to wrap up the "story"... my ultimate goal, in regard to this request, is to avoid "allowing" my customer to dismiss the issues (which occur on a regular but erratic basis) as a remote ISP/DNS cause ... if at all possible. I'd like them to exhaust any in-house possibilities or causes before they (and I) concede that the events are beyond their control or influence. By eliminating any possibility that the connection issues are LC-related, I can honestly push the problem back into the customer's lap. I will request that they now "map" even some of the affected sites with regard to the remote sites' ISP's. One other relevant piece of information.. when this situation occurs... only a small percentage of the connecting sites are affected. In the last incident (a few days ago)... over 1,000 site successfully connected in the same 1 hour time-window as the 50 site which exhibited the error! "Normally" (however), any 1 hour period of time has fewer than 5 sites which may have encounter this "can't resolve hostname" error... THAT's acceptable... 50 in 1 hour is NOT. Again.. thanks so much ... as always I can depend on this group for a very informed and helpful set of responses. Cheers! Douglas Ruisaard Trilogy Software (250) 573-3935 > Date: Thu, 18 Jul 2019 15:37:23 +0000 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: source of a socket error message > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > Not to put too fine a point on it but that gives me the heebie jeebies. There are ~5000 instances of > the app. The dev can't control what the ISP of the server does, or if the hosting company goes out of > business or gets bought out. Although rare, an ISP CAN alter the public IP subnet. It happened to me > twice, a long time ago admittedly. Once for my homw ISP and one for a business ISP. > > Using IP addresses is like using pointers in app development. > > Bob S > > > > On Jul 18, 2019, at 08:11 , dsc--- via use-livecode wrote: > > > > If you have control over the server and know the IP address will never change, you can skip the name > lookup and just use the IP address. > > > > > ------------------------------ > > Message: 3 > Date: Thu, 18 Jul 2019 08:46:05 -0700 > From: Mark Wieder > To: dsc--- via use-livecode > Subject: Re: source of a socket error message > Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed > > On 7/18/19 8:11 AM, dsc--- via use-livecode wrote: > > Also... > > > > If you have control of these sites and even if you use an ISP DNS service, you can add a secondary > DNS IP address, perhaps a public recursive name server such as the Google Public DNS (8.8.8.8). This > will add a robustness without upgrading the software. > > > > If you don't manage those, you can you can upgrade the software to access a public name server > directly with TLS, or use DNS over HTTPS. DNS over HTTPS is not as easy as it sounds, but should be > doable. It is available without filtering from Google, Quad9 (use 9.9.9.10 for no filtering), or (if > you don't use Cisco) Cloudflare 1.1.1.1. > > DoH is getting easier to use all the time but still hasn't reached a level of plug-and-play > availability. I set up a Raspberry pi on our LAN running a DoH service that hooks into Cloudflare on > the backend and it's transparent and painless (if I'm allowed to mix metaphors). > > Normally I'd agree with you on this, but what has me worried about the problem situation is > "occasionally I get a "mass" of errors (50 or 60) within a 1 hour period of time from a large variety > of different external sites". So it's not a DNS outage from a single location, > > That said, last week I had a maddeningly similar thing occur here... I suddenly couldn't resolve > addresses, and worse, couldn't even ping numeric addresses outside our ISP's gateway. After working > with our ISP's tech support, rebooting our router got us a new IP address in the router's routing > table and that fixed the problem. Possibly some problem with fiber DHCP refreshing, and I hesitate to > suggest that something similar is at work here, but strange things happen. > > > > > You might want to add some network diagnostics, where you can log or otherwise report the results. > This will help solidify your analysis. > > > > If you have control over the server and know the IP address will never change, you can skip the name > lookup and just use the IP address. > > That or your excellent suggestion of cacheing the address once it's originally resolved. > > -- > Mark Wieder > ahsoftware at gmail.com > From matthias_livecode_150811 at m-r-d.de Fri Jul 19 15:24:28 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 19 Jul 2019 21:24:28 +0200 Subject: New lesson about codesigning an app, creating codesgined DMG and Notarize it for distribution outside of the Mac App Store Message-ID: Hi, some days ago i?ve published a lesson to Livecode?s Lesson area. The lesson can be found here . The lesson covers how to prepare an app/dmg for distribution outside the Mac Appstore for the upcoming Mac OS 10.15 Mojave. - codesigning an app using shell - creating DMG using hdiutil or the dropdmg command line tool - codesigning dmg using shell - notarizing and stapling the DMG using the shell - there are also all needed prerequisites described including how to create certificates and app-specific passwords and so on. I?ve also added a stack which does the basic steps like app codesgning (including some preparations before the signing) and creating and codesigning the DMG. So with the stack only notarizing and stapling has to be done manually. I am currently working on a stack which will do also the complete notarizing/stapling process. I tried to describe all the needed steps as detailed as possible. Maybe this lesson is useful for the one or other. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From tom at makeshyft.com Fri Jul 19 15:56:39 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 19 Jul 2019 15:56:39 -0400 Subject: New lesson about codesigning an app, creating codesgined DMG and Notarize it for distribution outside of the Mac App Store In-Reply-To: References: Message-ID: Thank you Matthias I will be checking that out very soon. On Fri, Jul 19, 2019 at 3:24 PM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > some days ago i?ve published a lesson to Livecode?s Lesson area. > The lesson can be found here < > http://lessons.livecode.com/m/4071/l/1120307-codesigning-and-notarizing-your-lc-standalone-as-dmg-for-distribution-outside-the-mac-appstore > >. > > The lesson covers how to prepare an app/dmg for distribution outside the > Mac Appstore for the upcoming Mac OS 10.15 Mojave. > - codesigning an app using shell > - creating DMG using hdiutil or the dropdmg command line tool > - codesigning dmg using shell > - notarizing and stapling the DMG using the shell > - there are also all needed prerequisites described including how to > create certificates and app-specific passwords and so on. > > I?ve also added a stack which does the basic steps like app codesgning > (including some preparations before the signing) and creating and > codesigning the DMG. So with the stack only notarizing and stapling has to > be done manually. > > I am currently working on a stack which will do also the complete > notarizing/stapling process. > > I tried to describe all the needed steps as detailed as possible. > > Maybe this lesson is useful for the one or other. > > 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 jacque at hyperactivesw.com Fri Jul 19 15:57:28 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Jul 2019 14:57:28 -0500 Subject: SE crash possible vector In-Reply-To: <4BB2F5D9-40EE-4263-AC3C-E61D5475172F@iotecdigital.com> References: <4BB2F5D9-40EE-4263-AC3C-E61D5475172F@iotecdigital.com> Message-ID: <1ae20241-771d-2fbc-5486-2b91be65ad77@hyperactivesw.com> I thought I'd narrowed it down to the tree view in the variable watcher pane. I've been leaving LC set to show the Documentation tab just in case, but that doesn't help because when you debug, LC switches to the Variables tab automatically. So I tried pulling down the divider until the debugging panes didn't show at all. That makes debugging difficult but I can point to variables to see the values, though I can't examine arrays very well. I'm still crashing, I just haven't uploaded my current collection of logs yet. I'm not sure LC needs more than 30 logs anyway. On 7/19/19 1:04 PM, Bob Sneidar via use-livecode wrote: > I may have a possible vector for the script editor crash bug. I was editing a script but had the Documentation tab open. I clicked somewhere at or towards the end of a line and it immediately crashed to the desktop. I'm wondering if the dictionary lookup is getting some bad data at the click? > > Bob S -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jul 19 15:59:13 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Jul 2019 14:59:13 -0500 Subject: SE crash possible vector In-Reply-To: <4BB2F5D9-40EE-4263-AC3C-E61D5475172F@iotecdigital.com> References: <4BB2F5D9-40EE-4263-AC3C-E61D5475172F@iotecdigital.com> Message-ID: Oh, and btw, I haven't crashed while editing a script. Only when debugging and stepping through one. But yours may be related. The editor seems fragile right now. On 7/19/19 1:04 PM, Bob Sneidar via use-livecode wrote: > I may have a possible vector for the script editor crash bug. I was editing a script but had the Documentation tab open. I clicked somewhere at or towards the end of a line and it immediately crashed to the desktop. I'm wondering if the dictionary lookup is getting some bad data at the click? > > Bob S > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Fri Jul 19 16:28:53 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 19 Jul 2019 16:28:53 -0400 Subject: New lesson about codesigning an app, creating codesgined DMG and Notarize it for distribution outside of the Mac App Store In-Reply-To: References: Message-ID: Hi Matthias, I did the first cursory look at your lesson. Nicely done! It really is starting to make me dread writing any future macOS apps though. What a pain in the ?! I miss the good old days when I could finish my program, zip it, and upload it. Life was so easy by comparison then. Oh well? Thanks again for the lesson! Rick > On Jul 19, 2019, at 3:24 PM, Matthias Rebbe via use-livecode wrote: > > Hi, > > some days ago i?ve published a lesson to Livecode?s Lesson area. > The lesson can be found here >. > > The lesson covers how to prepare an app/dmg for distribution outside the Mac Appstore for the upcoming Mac OS 10.15 Mojave. > - codesigning an app using shell > - creating DMG using hdiutil or the dropdmg command line tool > - codesigning dmg using shell > - notarizing and stapling the DMG using the shell > - there are also all needed prerequisites described including how to create certificates and app-specific passwords and so on. > > I?ve also added a stack which does the basic steps like app codesgning (including some preparations before the signing) and creating and codesigning the DMG. So with the stack only notarizing and stapling has to be done manually. > > I am currently working on a stack which will do also the complete notarizing/stapling process. > > I tried to describe all the needed steps as detailed as possible. > > Maybe this lesson is useful for the one or other. > > Regards, > > Matthias From bobsneidar at iotecdigital.com Fri Jul 19 16:47:48 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 19 Jul 2019 20:47:48 +0000 Subject: SE crash possible vector In-Reply-To: <1ae20241-771d-2fbc-5486-2b91be65ad77@hyperactivesw.com> References: <4BB2F5D9-40EE-4263-AC3C-E61D5475172F@iotecdigital.com> <1ae20241-771d-2fbc-5486-2b91be65ad77@hyperactivesw.com> Message-ID: <1B364384-7C80-440C-9E99-A9FE1C981424@iotecdigital.com> The question then becomes, does the SE populate all the tabs even if they are not showing or are not currently selected? For example, when does the Documentation tab populate? If it does so whenever a dev clicks a command or keyword, regardless whether or not it is visible, then any bug present when visible will be present when not. Bob S > On Jul 19, 2019, at 12:57 , J. Landman Gay via use-livecode wrote: > > I thought I'd narrowed it down to the tree view in the variable watcher pane. I've been leaving LC set to show the Documentation tab just in case, but that doesn't help because when you debug, LC switches to the Variables tab automatically. > > So I tried pulling down the divider until the debugging panes didn't show at all. That makes debugging difficult but I can point to variables to see the values, though I can't examine arrays very well. I'm still crashing, I just haven't uploaded my current collection of logs yet. I'm not sure LC needs more than 30 logs anyway. > > On 7/19/19 1:04 PM, Bob Sneidar via use-livecode wrote: >> I may have a possible vector for the script editor crash bug. I was editing a script but had the Documentation tab open. I clicked somewhere at or towards the end of a line and it immediately crashed to the desktop. I'm wondering if the dictionary lookup is getting some bad data at the click? >> Bob S From scott at elementarysoftware.com Fri Jul 19 17:03:12 2019 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 19 Jul 2019 14:03:12 -0700 Subject: New lesson about codesigning an app, creating codesgined DMG and Notarize it for distribution outside of the Mac App Store In-Reply-To: References: Message-ID: <540BBC5A-0A4D-474E-87C7-6E3595672B32@elementarysoftware.com> Matthias, Thank you so much for this timely work! Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 mobile 360-920-0715 ------------------------------------------------------ > On Jul 19, 2019, at 12:24 PM, Matthias Rebbe via use-livecode wrote: > > Hi, > > some days ago i?ve published a lesson to Livecode?s Lesson area. > The lesson can be found here . > > The lesson covers how to prepare an app/dmg for distribution outside the Mac Appstore for the upcoming Mac OS 10.15 Mojave. > - codesigning an app using shell > - creating DMG using hdiutil or the dropdmg command line tool > - codesigning dmg using shell > - notarizing and stapling the DMG using the shell > - there are also all needed prerequisites described including how to create certificates and app-specific passwords and so on. > > I?ve also added a stack which does the basic steps like app codesgning (including some preparations before the signing) and creating and codesigning the DMG. So with the stack only notarizing and stapling has to be done manually. > > I am currently working on a stack which will do also the complete notarizing/stapling process. > > I tried to describe all the needed steps as detailed as possible. > > Maybe this lesson is useful for the one or other. > > Regards, > > 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 jacque at hyperactivesw.com Fri Jul 19 17:15:39 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Jul 2019 16:15:39 -0500 Subject: Downloading apk Message-ID: <4b8d66d5-4e3e-0e82-f283-b509e370306b@hyperactivesw.com> I'm trying to download an apk update from a server without success. What is the correct URL format? This fails: launch url ("https://www.mydomain.com/myapp.apk") This launches Chrome but stops at whatever web page was previously open. It doesn't even go to the designated domain. The goal is to have Android recognize the file type and offer to install/update. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Fri Jul 19 17:51:17 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 19 Jul 2019 17:51:17 -0400 Subject: Downloading apk In-Reply-To: <4b8d66d5-4e3e-0e82-f283-b509e370306b@hyperactivesw.com> References: <4b8d66d5-4e3e-0e82-f283-b509e370306b@hyperactivesw.com> Message-ID: <004c01d53e7c$1ae17e30$50a47a90$@net> This is harder than I thought.. You need to create intents(different ones for various Android OS versions), add REQUEST_INSTALL_PACKAGES in your manifest and make sure you have permission to external storage. The Browser method will only allow you to download the apk to the download folder and the user will have to browse to it with a file manager and click on it to start the install. Why your browser is not starting the download might be Chrome trying to save you from malicious apps? I can download an apk if I type a url into Chrome. Maybe you can get around this with a page redirect? All in all to make this automatic will be a process. Maybe a stub stack and downloading a new main stack to update might be easier? 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, July 19, 2019 5:16 PM To: LiveCode Mailing List Cc: J. Landman Gay Subject: Downloading apk I'm trying to download an apk update from a server without success. What is the correct URL format? This fails: launch url ("https://www.mydomain.com/myapp.apk") This launches Chrome but stops at whatever web page was previously open. It doesn't even go to the designated domain. The goal is to have Android recognize the file type and offer to install/update. -- 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 Fri Jul 19 20:54:06 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Jul 2019 19:54:06 -0500 Subject: Downloading apk In-Reply-To: <004c01d53e7c$1ae17e30$50a47a90$@net> References: <4b8d66d5-4e3e-0e82-f283-b509e370306b@hyperactivesw.com> <004c01d53e7c$1ae17e30$50a47a90$@net> Message-ID: <16c0cdf23b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks, that settles it. I'll just direct the user to the web site where they can click a link and it installs. After I posted I did find the download in Chrome's download folder but I think that would generate too many support calls, especially since I couldn't find it immediately myself. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 19, 2019 4:51:46 PM Ralph DiMola via use-livecode wrote: > This is harder than I thought.. You need to create intents(different ones > for various Android OS versions), add REQUEST_INSTALL_PACKAGES in your > manifest and make sure you have permission to external storage. > > The Browser method will only allow you to download the apk to the download > folder and the user will have to browse to it with a file manager and click > on it to start the install. > > Why your browser is not starting the download might be Chrome trying to save > you from malicious apps? I can download an apk if I type a url into Chrome. > Maybe you can get around this with a page redirect? > > All in all to make this automatic will be a process. > > Maybe a stub stack and downloading a new main stack to update might be > easier? > > 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, July 19, 2019 5:16 PM > To: LiveCode Mailing List > Cc: J. Landman Gay > Subject: Downloading apk > > I'm trying to download an apk update from a server without success. What is > the correct URL format? This fails: > > launch url ("https://www.mydomain.com/myapp.apk") > > This launches Chrome but stops at whatever web page was previously open. > It doesn't even go to the designated domain. The goal is to have Android > recognize the file type and offer to install/update. > > -- > 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 tom at makeshyft.com Fri Jul 19 21:20:54 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 19 Jul 2019 21:20:54 -0400 Subject: Quote for Signing & Notarizing a LC built application for Windows & Apple Message-ID: Hey, Would love to know what it will cost me to sign an notarize my windows and apple standalone. I will provide application files and digital signature certificate from: https://www.ksoftware.net/code-signing-certificates/ You do the rest, and return signed and submitted applications. Please divide quote into Windows (codesign) and Apple (codesign & notarize) My email is tom at makeshyft.com Thanks, Tom From alex at tweedly.net Fri Jul 19 21:47:05 2019 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 20 Jul 2019 02:47:05 +0100 Subject: Time-outs in LC Server? In-Reply-To: <3F064DC3-D8C4-43F4-9A2F-FEC42B375C73@all-auctions.com> References: <0da701d53cff$a8787010$f9695030$@net> <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> <3F064DC3-D8C4-43F4-9A2F-FEC42B375C73@all-auctions.com> Message-ID: <61fa85b3-3e77-dded-06ad-60d0a9481387@tweedly.net> On 19/07/2019 14:28, Rick Harrison via use-livecode wrote: > The following is a link to the javascript stuff I had referred > to before. I just want a clean LC way to do the same thing. > > https://stackoverflow.com/questions/9564602/how-to-know-browser-idle-time?noredirect=1&lq=1 > Sorry to be the bearer of bad news, but there is no such thing, and indeed, there cannot be! That javascript code runs *in the user's browser", and so can easily keep track of idle time. or remaining time Your LC code can only run on the server. And on the server, all you can do is - at the start of responding to a request - check how long it has been since the previous request from same user. So that requires some storage between requests - whether in a database, or via cookie / session variable. Alex. From jjs at krutt.org Sat Jul 20 04:50:55 2019 From: jjs at krutt.org (JJS) Date: Sat, 20 Jul 2019 10:50:55 +0200 Subject: New lesson about codesigning an app, creating codesgined DMG and Notarize it for distribution outside of the Mac App Store In-Reply-To: <540BBC5A-0A4D-474E-87C7-6E3595672B32@elementarysoftware.com> References: <540BBC5A-0A4D-474E-87C7-6E3595672B32@elementarysoftware.com> Message-ID: <07c5bde8-7ad7-413a-35c4-dda9b69d716a@krutt.org> Very extensive you've done, you help a lot of people with this. Thanks very much! Just FYI the last point 11.14 is missing some text i noticed. schone grussen Op 19-7-2019 om 23:03 schreef scott--- via use-livecode: > Matthias, > > Thank you so much for this timely work! > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-800-615-0867 > mobile 360-920-0715 > ------------------------------------------------------ > >> On Jul 19, 2019, at 12:24 PM, Matthias Rebbe via use-livecode wrote: >> >> Hi, >> >> some days ago i?ve published a lesson to Livecode?s Lesson area. >> The lesson can be found here . >> >> The lesson covers how to prepare an app/dmg for distribution outside the Mac Appstore for the upcoming Mac OS 10.15 Mojave. >> - codesigning an app using shell >> - creating DMG using hdiutil or the dropdmg command line tool >> - codesigning dmg using shell >> - notarizing and stapling the DMG using the shell >> - there are also all needed prerequisites described including how to create certificates and app-specific passwords and so on. >> >> I?ve also added a stack which does the basic steps like app codesgning (including some preparations before the signing) and creating and codesigning the DMG. So with the stack only notarizing and stapling has to be done manually. >> >> I am currently working on a stack which will do also the complete notarizing/stapling process. >> >> I tried to describe all the needed steps as detailed as possible. >> >> Maybe this lesson is useful for the one or other. >> >> Regards, >> >> 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 Sat Jul 20 08:37:10 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 20 Jul 2019 14:37:10 +0200 Subject: New lesson about codesigning an app, creating codesgined DMG and Notarize it for distribution outside of the Mac App Store In-Reply-To: <07c5bde8-7ad7-413a-35c4-dda9b69d716a@krutt.org> References: <540BBC5A-0A4D-474E-87C7-6E3595672B32@elementarysoftware.com> <07c5bde8-7ad7-413a-35c4-dda9b69d716a@krutt.org> Message-ID: <6CD8F97A-52D1-49BB-97FE-38B6EFBF3C82@m-r-d.de> Fixed. ;) Thanks for the note. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 20.07.2019 um 10:50 schrieb JJS via use-livecode >: > > Very extensive you've done, you help a lot of people with this. > > Thanks very much! > Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From ambassador at fourthworld.com Sat Jul 20 15:34:00 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 20 Jul 2019 12:34:00 -0700 Subject: Downloading apk In-Reply-To: <16c0cdf23b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16c0cdf23b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > I'll just direct the user to the web site where > they can click a link and it installs. Wouldn't that require instructing end-users to first turn off critical security features in Android? -- 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 Sat Jul 20 22:17:53 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 20 Jul 2019 21:17:53 -0500 Subject: Downloading apk In-Reply-To: References: <16c0cdf23b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <16c12523080.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On July 20, 2019 2:36:07 PM Richard Gaskin via use-livecode wrote: > J. Landman Gay wrote: > >> I'll just direct the user to the web site where >> they can click a link and it installs. > > Wouldn't that require instructing end-users to first turn off critical > security features in Android? Kind of, sometimes. There is already a message on the web site that users need to enable "Unknown Sources" in order to download. But it does vary by OS. On Android 9 the OS puts up a dialog asking if you want to download and stores your preference per app for future updates. On earlier versions of the OS they need to go into system settings. In any case, users will not be the general public and will be expecting a private download for a specific purpose. After the app is downloaded, they can turn off Unknown Sources if they like. Also, Android's built-in malware scanning works regardless of the system setting, so not all security features are turned off. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Jul 21 17:31:01 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 22 Jul 2019 00:31:01 +0300 Subject: Rocky islands Message-ID: "macOS Catalina gives you more of everything you love about Mac.?Experience music, TV, and podcasts in three all-new Mac apps. Enjoy your favorite iPad apps now on your Mac. Extend your workspace and expand your creativity with iPad and Apple?Pencil. And discover smart new features in the apps you use every day. Now you can take everything you do above and?beyond." Wow: I can translate that into far, far easier language: macOS Catalina gives you more of a plastic bathtoy; an extended gramophone player, TV, fancy telephone and pornogram, and less of what I was brought up to believe a computer really should be. Mind you, the "mene, mene, tekel, up-yours!" was there for all to see when Steve Jobs killed off Hypercard. "Enjoy" . . . Cor! John Calvin was right. Love, Richmond. From jacque at hyperactivesw.com Sun Jul 21 18:43:27 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Jul 2019 17:43:27 -0500 Subject: Rocky islands In-Reply-To: References: Message-ID: On 7/21/19 4:31 PM, Richmond via use-livecode wrote: > "macOS Catalina gives you more of everything you love about > Mac.?Experience music, TV, and podcasts in three all-new Mac apps. Enjoy > your favorite iPad apps now on your Mac. Extend your workspace and > expand your creativity with iPad and Apple?Pencil. And discover smart > new features in the apps you use every day. Now you can take everything > you do above and?beyond." Hm. Sounds like a Chromebook. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephen at barncard.com Sun Jul 21 19:24:01 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 21 Jul 2019 16:24:01 -0700 Subject: Rocky islands In-Reply-To: References: Message-ID: CRAP. Be Afraid. Be very very Afraid. I just went through hours of hell trying to get my desktop and documents back together after trying to NOT use iCloud. Good thing I backed up everything, but still had to reinstall the system. And I haven't had the courage to go beyond High Sierra. My 2010 power probably can't run ... what's the name again? Catalina. at least it's a cat. har har. Now on to try and find a replacement for Siri. she only gets way in the way these days.. It's all or nothing at all and I'm tired of yelling at my phone. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, Jul 21, 2019 at 2:31 PM Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > "macOS Catalina gives you more of everything you love about > Mac. Experience music, TV, and podcasts in three all-new Mac apps. Enjoy > your favorite iPad apps now on your Mac. Extend your workspace and > expand your creativity with iPad and Apple Pencil. And discover smart > new features in the apps you use every day. Now you can take everything > you do above and beyond." > > Wow: I can translate that into far, far easier language: > > macOS Catalina gives you more of a plastic bathtoy; an extended > gramophone player, TV, fancy telephone and pornogram, and less of what I > was brought up to believe a computer really should be. > > Mind you, the "mene, mene, tekel, up-yours!" was there for all to see > when Steve Jobs killed off Hypercard. > > "Enjoy" . . . Cor! John Calvin was right. > > Love, 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 Jul 22 04:51:23 2019 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 22 Jul 2019 11:51:23 +0300 Subject: Rocky islands In-Reply-To: References: Message-ID: That is obviously the last hurrah of the Macintosh as a computer qua computer rather than a bijou entertainment and communication device. Sinking, sinking, sinking. I'll stick with Mojave as have nothing entertaining to produce: unless you find typing in dead Indian languages fun; at which point I pity you. Love, Richmond. On Mon, Jul 22, 2019, 2:24 AM Stephen Barncard via use-livecode < use-livecode at lists.runrev.com> wrote: > CRAP. Be Afraid. Be very very Afraid. > > I just went through hours of hell trying to get my desktop and documents > back together after trying to NOT use iCloud. Good thing I backed up > everything, but still had to reinstall the system. > > And I haven't had the courage to go beyond High Sierra. > > My 2010 power probably can't run ... what's the name again? Catalina. > > at least it's a cat. > > har har. > > Now on to try and find a replacement for Siri. > she only gets way in the way these days.. It's all or nothing at all and > I'm tired of yelling at my phone. > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > > On Sun, Jul 21, 2019 at 2:31 PM Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > "macOS Catalina gives you more of everything you love about > > Mac. Experience music, TV, and podcasts in three all-new Mac apps. Enjoy > > your favorite iPad apps now on your Mac. Extend your workspace and > > expand your creativity with iPad and Apple Pencil. And discover smart > > new features in the apps you use every day. Now you can take everything > > you do above and beyond." > > > > Wow: I can translate that into far, far easier language: > > > > macOS Catalina gives you more of a plastic bathtoy; an extended > > gramophone player, TV, fancy telephone and pornogram, and less of what I > > was brought up to believe a computer really should be. > > > > Mind you, the "mene, mene, tekel, up-yours!" was there for all to see > > when Steve Jobs killed off Hypercard. > > > > "Enjoy" . . . Cor! John Calvin was right. > > > > Love, 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 matthias_livecode_150811 at m-r-d.de Mon Jul 22 08:24:42 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 22 Jul 2019 14:24:42 +0200 Subject: looking for 3 or 5 testers for my Notarizing stack Message-ID: <15061FA9-A74F-4963-8BA8-891338461782@m-r-d.de> Hi, as already posted some days ago i ?ve published a Livecode lesson about codesgigning/notarizing app/dmg for distribution outside the Appstore. The lesson also included a stack which does the all steps except Notarizating and Stapling. I have now added also Notarizing and Stapling functions to the stack. So with it it is possible to do all necessary steps automatically without any user interaction. Before i update my lesson and add the stack it would be good if 3 or 4 users could test it before. I?ve notarized so far 7 different standalones without a problem, but would like to make sure that others can use it also without problems. If you would like to test the stack, please send me a pm to matthias (at) m-r-d.de . To test you?ll need to be a member of Apple?s developer program, a valid Developer ID Application certificate, an AppleID with 2FA and a app-specific password. Regards, Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac From paul at researchware.com Mon Jul 22 08:43:32 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 22 Jul 2019 08:43:32 -0400 Subject: looking for 3 or 5 testers for my Notarizing stack In-Reply-To: <15061FA9-A74F-4963-8BA8-891338461782@m-r-d.de> References: <15061FA9-A74F-4963-8BA8-891338461782@m-r-d.de> Message-ID: <137dc000-7b3b-d9c4-c9dd-9070cd0df44e@researchware.com> On 7/22/2019 8:24 AM, Matthias Rebbe via use-livecode wrote: > To test you?ll need to be a member of Apple?s developer program, a valid Developer ID Application certificate, an AppleID with 2FA and a app-specific password. > What is "2FA"? From matthias_livecode_150811 at m-r-d.de Mon Jul 22 09:13:29 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 22 Jul 2019 15:13:29 +0200 Subject: looking for 3 or 5 testers for my Notarizing stack In-Reply-To: <137dc000-7b3b-d9c4-c9dd-9070cd0df44e@researchware.com> References: <15061FA9-A74F-4963-8BA8-891338461782@m-r-d.de> <137dc000-7b3b-d9c4-c9dd-9070cd0df44e@researchware.com> Message-ID: <61F84ECF-7870-40C0-891B-395B5E62151C@m-r-d.de> Two factor authentication. This can be enabled for your AppleID at https://appleid.apple.com Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 22.07.2019 um 14:43 schrieb Paul Dupuis via use-livecode >: > > On 7/22/2019 8:24 AM, Matthias Rebbe via use-livecode wrote: >> To test you?ll need to be a member of Apple?s developer program, a valid Developer ID Application certificate, an AppleID with 2FA and a app-specific password. >> > What is "2FA"? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 22 10:02:06 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 22 Jul 2019 10:02:06 -0400 Subject: Unicode languages and text selection... Message-ID: <8cfec0d5-95d4-8e87-a8ff-ebfad52b49bd@researchware.com> In moving a commercial application that allows researchers to perform a lot of textual analysis? from LC6.7.11 to LC9.0.x, we have been trying to make sure we take advantage of "Unicode Everywhere". In do in so, we test with text in as many different languages (representative of different glyphs/alphabets and sets of Right-To-Left (RTL) and LTR languages). We certainly do NOT have staff that know even a fraction of the languages. We craft test content using Google Translate. In doing this, we have discovered and reported a few long standing Unicode related bugs in the current release of LiveCode, some going back to LC7.Some examples: https://quality.livecode.com/show_bug.cgi?id=22249 https://quality.livecode.com/show_bug.cgi?id=22213 https://quality.livecode.com/show_bug.cgi?id=22202 ?I trust that all will eventually get fixed, hopefully sooner rather than later. We have now seen another oddity that we can not figure out if it is an intentional behavior of certain languages in Unicode or a bug. ?In certain languages in fields, Arabic for example, when we select portions of the text in a field, certain glyphs and even words seem to change. Not knowing the language, we can't be sure. Has anyone else seen this odd behavior in any language (seems to appear more in RTL languages) and is it a characteristic of Unicode for some languages or some sort of bug? From bobsneidar at iotecdigital.com Mon Jul 22 10:43:57 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 22 Jul 2019 14:43:57 +0000 Subject: Rocky islands In-Reply-To: References: Message-ID: <67DE9E99-61ED-4782-B241-719C6ECFD074@iotecdigital.com> Sounds like you are inferring a lot more into that PR fluff piece than is warranted. I didn't see anywhere in the statement the word, "only". Are you saying that Catalina will ONLY do those things listed in the statement, and nothing else? That seems extreme to me. Bob S > On Jul 21, 2019, at 14:31 , Richmond via use-livecode wrote: > > "macOS Catalina gives you more of everything you love about Mac. Experience music, TV, and podcasts in three all-new Mac apps. Enjoy your favorite iPad apps now on your Mac. Extend your workspace and expand your creativity with iPad and Apple Pencil. And discover smart new features in the apps you use every day. Now you can take everything you do above and beyond." > > Wow: I can translate that into far, far easier language: > > macOS Catalina gives you more of a plastic bathtoy; an extended gramophone player, TV, fancy telephone and pornogram, and less of what I was brought up to believe a computer really should be. > > Mind you, the "mene, mene, tekel, up-yours!" was there for all to see when Steve Jobs killed off Hypercard. > > "Enjoy" . . . Cor! John Calvin was right. > > Love, Richmond. From dsc at swcp.com Mon Jul 22 11:21:37 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Mon, 22 Jul 2019 09:21:37 -0600 Subject: Rocky islands In-Reply-To: <67DE9E99-61ED-4782-B241-719C6ECFD074@iotecdigital.com> References: <67DE9E99-61ED-4782-B241-719C6ECFD074@iotecdigital.com> Message-ID: In trying to take a positive view on this... Voice command and Sidecar might make it easier to step aside in a demo or presentation. Sidecar might be handy as a sketch input. Maybe. You know, like an alternative mouse. Sidecar might be a handy place to put the Message Box or a debug window. Screen Time might be handy for those of us who feel we goof off too much. (I use Qbserve for time management.) Color filter options can help those with color vision deficiencies and help others see problem colors on a broader context. The Notes enhancements look interesting. (I am readying for an electronic lab notebook, but Notes might delay that; I'll try it.) Being able to run some iOS apps on the Mac is cool, but I wish it could run all, transparently. It is frustrating to find just the right app and, oh, it is iOS only. Isolating the system from stuff I try is cool. Metal! However, crowd-sourced Bluetooth locating is scary. And the first time to run an app can take a while, it seems, but maybe that is really a good thing. > On Jul 22, 2019, at 8:43 AM, Bob Sneidar via use-livecode wrote: > > Sounds like you are inferring a lot more into that PR fluff piece than is warranted. I didn't see anywhere in the statement the word, "only". Are you saying that Catalina will ONLY do those things listed in the statement, and nothing else? That seems extreme to me. > > Bob S > > >> On Jul 21, 2019, at 14:31 , Richmond via use-livecode wrote: >> >> "macOS Catalina gives you more of everything you love about Mac. Experience music, TV, and podcasts in three all-new Mac apps. Enjoy your favorite iPad apps now on your Mac. Extend your workspace and expand your creativity with iPad and Apple Pencil. And discover smart new features in the apps you use every day. Now you can take everything you do above and beyond." >> >> Wow: I can translate that into far, far easier language: >> >> macOS Catalina gives you more of a plastic bathtoy; an extended gramophone player, TV, fancy telephone and pornogram, and less of what I was brought up to believe a computer really should be. >> >> Mind you, the "mene, mene, tekel, up-yours!" was there for all to see when Steve Jobs killed off Hypercard. >> >> "Enjoy" . . . Cor! John Calvin was right. >> >> Love, 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 panos.merakos at livecode.com Mon Jul 22 13:00:59 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 22 Jul 2019 20:00:59 +0300 Subject: [ANN] This Week in LiveCode 186 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 #186 here: http://bit.ly/2LzYKE0 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 sean at pidigital.co.uk Mon Jul 22 15:13:09 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 22 Jul 2019 20:13:09 +0100 Subject: [ANN] This Week in LiveCode 186 In-Reply-To: References: Message-ID: Only two contributors this week. Where is everyone? Sean Cole *Pi* From dan at clearvisiontech.com Mon Jul 22 23:01:43 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 23 Jul 2019 03:01:43 +0000 Subject: mobileSetKeyboardDisplay Message-ID: <6371B824-E877-414A-9F22-942F1636D8C4@clearvisiontech.com> First, may I say that mobileSetKeyboardDisplay is a beautiful thing! This is a game-changer in working with data in mobile apps. My applause! My hat's off! Now, with that said... It's not working right. The first time you open a native field with mobileSetKeyboardDisplay set to "pan", it works perfect! The second time however, it doesn?t scroll down far enough. I presume this is related to the same issue that we have with the effective working screenRect. The first time you call this, and the soft keyboard is open, you get the correct rect. The second time you request it, you get an incorrect rect. I have always just saved the first pass at it and used that from then on. But, don't have the option with mobileSetKeyboardDisplay. Can we get this fixed?? Please???? -Dan From monte at appisle.net Tue Jul 23 00:12:15 2019 From: monte at appisle.net (Monte Goulding) Date: Tue, 23 Jul 2019 14:12:15 +1000 Subject: mobileSetKeyboardDisplay In-Reply-To: <6371B824-E877-414A-9F22-942F1636D8C4@clearvisiontech.com> References: <6371B824-E877-414A-9F22-942F1636D8C4@clearvisiontech.com> Message-ID: <81C96F42-9D69-4DF0-91A4-B95AA879DF19@appisle.net> Could you open a report about the issue with an example stack please. Thanks Monte > On 23 Jul 2019, at 1:01 pm, Dan Friedman via use-livecode wrote: > > First, may I say that mobileSetKeyboardDisplay is a beautiful thing! This is a game-changer in working with data in mobile apps. My applause! My hat's off! Now, with that said... > > It's not working right. The first time you open a native field with mobileSetKeyboardDisplay set to "pan", it works perfect! The second time however, it doesn?t scroll down far enough. I presume this is related to the same issue that we have with the effective working screenRect. The first time you call this, and the soft keyboard is open, you get the correct rect. The second time you request it, you get an incorrect rect. I have always just saved the first pass at it and used that from then on. But, don't have the option with mobileSetKeyboardDisplay. Can we get this fixed?? Please???? > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Tue Jul 23 02:40:04 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 23 Jul 2019 06:40:04 +0000 Subject: mobileSetKeyboardDisplay In-Reply-To: <81C96F42-9D69-4DF0-91A4-B95AA879DF19@appisle.net> References: <6371B824-E877-414A-9F22-942F1636D8C4@clearvisiontech.com> <81C96F42-9D69-4DF0-91A4-B95AA879DF19@appisle.net> Message-ID: <6D71B0E6-97D8-4718-A856-7B4C81C20006@clearvisiontech.com> Monte, Done. https://quality.livecode.com/show_bug.cgi?id=22256 Thanks for looking into this! -Dan ?On 7/22/19, 9:14 PM, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: Could you open a report about the issue with an example stack please. Thanks Monte > On 23 Jul 2019, at 1:01 pm, Dan Friedman via use-livecode wrote: > > First, may I say that mobileSetKeyboardDisplay is a beautiful thing! This is a game-changer in working with data in mobile apps. My applause! My hat's off! Now, with that said... > > It's not working right. The first time you open a native field with mobileSetKeyboardDisplay set to "pan", it works perfect! The second time however, it doesn?t scroll down far enough. I presume this is related to the same issue that we have with the effective working screenRect. The first time you call this, and the soft keyboard is open, you get the correct rect. The second time you request it, you get an incorrect rect. I have always just saved the first pass at it and used that from then on. But, don't have the option with mobileSetKeyboardDisplay. Can we get this fixed?? Please???? > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From 1anmldr1 at gmail.com Tue Jul 23 09:04:28 2019 From: 1anmldr1 at gmail.com (Linda Miller, DVM) Date: Tue, 23 Jul 2019 07:04:28 -0600 Subject: HyperCard Message-ID: <443DB71B-FE12-43F7-B9C5-FC9D2F954E0D@gmail.com> Apparently, this author does not know about LiveCode. I did write to him today. http://www.bbc.com/future/story/20190722-the-apple-software-that-inspired-the-internet Linda From sean at pidigital.co.uk Tue Jul 23 09:34:17 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Tue, 23 Jul 2019 14:34:17 +0100 Subject: HyperCard In-Reply-To: <443DB71B-FE12-43F7-B9C5-FC9D2F954E0D@gmail.com> References: <443DB71B-FE12-43F7-B9C5-FC9D2F954E0D@gmail.com> Message-ID: Unbelievable. Some writers just don't do their research. Well done for writing to him. Hopefully, he'll edit his story a bit. Sean Cole *Pi Digital * On Tue, 23 Jul 2019 at 14:04, Linda Miller, DVM via use-livecode < use-livecode at lists.runrev.com> wrote: > Apparently, this author does not know about LiveCode. I did write to him > today. > > > http://www.bbc.com/future/story/20190722-the-apple-software-that-inspired-the-internet > < > http://www.bbc.com/future/story/20190722-the-apple-software-that-inspired-the-internet > > > > Linda > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Tue Jul 23 10:24:03 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 23 Jul 2019 14:24:03 +0000 Subject: 9.5.0 and Icons Message-ID: <71FA5780-924B-4359-B76A-27F3B5E53755@clearvisiontech.com> I have an iOS app where I have supplied an icon file for every phone size in standalone settings. Yet, the icon does not appear on my device (iPhone X). Is this an issue, or could I have done something wrong? -Dan From andrewferguson500 at gmail.com Tue Jul 23 10:34:39 2019 From: andrewferguson500 at gmail.com (Andrew Ferguson) Date: Tue, 23 Jul 2019 15:34:39 +0100 Subject: HyperCard In-Reply-To: References: <443DB71B-FE12-43F7-B9C5-FC9D2F954E0D@gmail.com> Message-ID: Neither did he mention about HyperCard Online , my endeavour to get as many HyperCard stacks as I can running online through in-browser emulation (hosted by the Internet Archive). How did you contact him, Linda? ;) [[Shameless self-plug: you can upload your own stacks at http://hypercardonline.tk/ ]] On Tue, 23 Jul 2019 at 14:34, Sean Cole (Pi) via use-livecode < use-livecode at lists.runrev.com> wrote: > Unbelievable. Some writers just don't do their research. Well done for > writing to him. Hopefully, he'll edit his story a bit. > > Sean Cole > *Pi Digital * > > > On Tue, 23 Jul 2019 at 14:04, Linda Miller, DVM via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Apparently, this author does not know about LiveCode. I did write to him > > today. > > > > > > > http://www.bbc.com/future/story/20190722-the-apple-software-that-inspired-the-internet > > < > > > http://www.bbc.com/future/story/20190722-the-apple-software-that-inspired-the-internet > > > > > > > Linda > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 23 11:00:52 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 23 Jul 2019 15:00:52 +0000 Subject: HyperCard In-Reply-To: References: <443DB71B-FE12-43F7-B9C5-FC9D2F954E0D@gmail.com> Message-ID: <3185BDDF-ACAB-489A-A119-F8FB7BAA8BCC@iotecdigital.com> I posted a positive comment on BBC myself. Bob S > On Jul 23, 2019, at 06:34 , Sean Cole (Pi) via use-livecode wrote: > > Unbelievable. Some writers just don't do their research. Well done for > writing to him. Hopefully, he'll edit his story a bit. > > Sean Cole > *Pi Digital * > > From ambassador at fourthworld.com Tue Jul 23 13:43:01 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Jul 2019 10:43:01 -0700 Subject: Downloading apk In-Reply-To: <16c12523080.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16c12523080.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <6fb01ddf-08a0-0207-5fba-c7d36a05eb79@fourthworld.com> J. Landman Gay wrote: > On July 20, 2019 2:36:07 PM Richard Gaskin via use-livecode > wrote: > >> J. Landman Gay wrote: >> >>> I'll just direct the user to the web site where >>> they can click a link and it installs. >> >> Wouldn't that require instructing end-users to first turn off >> critical security features in Android? > > Kind of, sometimes. There is already a message on the web site that > users need to enable "Unknown Sources" in order to download. But it > does vary by OS. On Android 9 the OS puts up a dialog asking if you > want to download and stores your preference per app for future > updates. On earlier versions of the OS they need to go into system > settings. > > In any case, users will not be the general public and will be > expecting a private download for a specific purpose. After the app is > downloaded, they can turn off Unknown Sources if they like. Also, > Android's built-in malware scanning works regardless of the system > setting, so not all security features are turned off. If it's a very small audience comprised of security professionals or advanced developers who have the background to appreciate the implications of turning off that security feature, it may be no problem. Security is built around belt-AND-suspenders for good reason; each layer has its own strengths, and its own weaknesses. If no other means of distributing this module is possible, perhaps at a minimum the page could include a notice in large, bold, red type reminding them to turn the security feature back on immediately after downloading. -- 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 Tue Jul 23 18:27:18 2019 From: General.2018 at outlook.com (General 2018) Date: Tue, 23 Jul 2019 22:27:18 +0000 Subject: PDF Colour Message-ID: Hi , I have flds with different colour texts on various lines , if I look at the Fld properties it?s contents has the correct / same text colours. The contents are then printed to pdf , but end up black and white. Is it possible to save pdf with the colours ? Regards Cam Regards EasyObd From scott at elementarysoftware.com Tue Jul 23 19:30:16 2019 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 23 Jul 2019 16:30:16 -0700 Subject: HyperCard In-Reply-To: <3185BDDF-ACAB-489A-A119-F8FB7BAA8BCC@iotecdigital.com> References: <443DB71B-FE12-43F7-B9C5-FC9D2F954E0D@gmail.com> <3185BDDF-ACAB-489A-A119-F8FB7BAA8BCC@iotecdigital.com> Message-ID: <807C76F8-3790-4C25-AAC4-A58AB2C534B5@elementarysoftware.com> I thought that was a good idea, Bob. I did likewise (and of course mentioned livecode.) Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 mobile 360-920-0715 ------------------------------------------------------ > On Jul 23, 2019, at 8:00 AM, Bob Sneidar via use-livecode wrote: > > I posted a positive comment on BBC myself. > > Bob S > > >> On Jul 23, 2019, at 06:34 , Sean Cole (Pi) via use-livecode wrote: >> >> Unbelievable. Some writers just don't do their research. Well done for >> writing to him. Hopefully, he'll edit his story a bit. >> >> Sean Cole >> *Pi Digital * >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Wed Jul 24 01:47:02 2019 From: smudge.andy at googlemail.com (AndyP) Date: Wed, 24 Jul 2019 00:47:02 -0500 (CDT) Subject: HyperCard In-Reply-To: <443DB71B-FE12-43F7-B9C5-FC9D2F954E0D@gmail.com> References: <443DB71B-FE12-43F7-B9C5-FC9D2F954E0D@gmail.com> Message-ID: <1563947222252-0.post@n4.nabble.com> BBC article about HyperCard, history and lack of successor, omitting any mention of Livecode! This is the Twitter link for the article. Add a retweet, comment, let's help get Livecode noticed. https://twitter.com/BBC_Future/status/1153726503059746822?s=09 ----- 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 mkoob at rogers.com Wed Jul 24 10:45:21 2019 From: mkoob at rogers.com (Martin Koob) Date: Wed, 24 Jul 2019 10:45:21 -0400 Subject: HyperCard In-Reply-To: <1563947222252-0.post@n4.nabble.com> References: <443DB71B-FE12-43F7-B9C5-FC9D2F954E0D@gmail.com> <1563947222252-0.post@n4.nabble.com> Message-ID: <718607A4-1DCB-45B3-8187-ECA886A68EC4@rogers.com> Hi I retweeted and added a comment but I don?t use twitter a lot so not many followers. Good idea though for every one who does have a decent twitter following to jump on and comment. Maybe some of those who were featured in the Develop Yourself initiative could tweet and link to their own story. Martin Sent from my iPhone > On Jul 24, 2019, at 1:47 AM, AndyP via use-livecode wrote: > > BBC article about HyperCard, history and lack of successor, omitting any > mention of Livecode! > > This is the Twitter link for the article. Add a retweet, comment, let's help > get Livecode noticed. > > > https://twitter.com/BBC_Future/status/1153726503059746822?s=09 > > > > > ----- > 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 dan at clearvisiontech.com Wed Jul 24 11:29:35 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 24 Jul 2019 15:29:35 +0000 Subject: ITMS-90546: Missing Asset Catalog Message-ID: <5CCE35D9-B7F8-4D50-9D60-04DF31C08CA6@clearvisiontech.com> Using LC 9.5.0 (dp 1), I uploaded my app to Apple. I got this back from them: ITMS-90546: Missing Asset Catalog - Your app is missing the asset catalog file in yourApp.app'. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7. A "Asset Catalog" doesn't sound like something I should be adding manually. Could this be an issue with LC when building the standalone? -Dan From panos.merakos at livecode.com Wed Jul 24 11:48:31 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 24 Jul 2019 18:48:31 +0300 Subject: [ANN] Release 9.5.0 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.5.0 RC-1. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.5.0 RC-1 comes with more than 10 bugfixes and new features, including support for building 64bit Android apps with target SDK version 28. This is now a requirement for new apps submitted to the Google Play Store, starting from the 1st of August. Moreover, dozens of Dictionary entries have been corrected and enhanced. Additionally, several LC 9.0.x bugfixes have been merged into 9.5.0 RC-1, including: - some long standing problems with serial port commands are now fixed - the autoupdater on Mac is now 64bit, so you will no longer get warnings about LC being "unoptimised" on MacOS Mojave and above - the date/time picker on Android now uses the native theme of the device. Last, but not least, the Android Barcode Library and the Android Barcode Scanner widget are now moved from the Business Edition into the Indy Edition. Known issues ================ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04+ 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_rc_1.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From panos.merakos at livecode.com Wed Jul 24 11:57:08 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 24 Jul 2019 18:57:08 +0300 Subject: ITMS-90546: Missing Asset Catalog In-Reply-To: <5CCE35D9-B7F8-4D50-9D60-04DF31C08CA6@clearvisiontech.com> References: <5CCE35D9-B7F8-4D50-9D60-04DF31C08CA6@clearvisiontech.com> Message-ID: Hello Dan, Yes, the standalone builder creates this for you (you need to supply correct icons and splash screens for all supported devices). Does the standalone app bundle contain a file called "Assets.car"? Best, Panos -- On Wed, 24 Jul 2019 at 18:29, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Using LC 9.5.0 (dp 1), I uploaded my app to Apple. I got this back from > them: > > ITMS-90546: Missing Asset Catalog - Your app is missing the asset catalog > file in yourApp.app'. For more information see > http://help.apple.com/xcode/mac/current/#/dev10510b1f7. > > A "Asset Catalog" doesn't sound like something I should be adding > manually. Could this be an issue with LC when building the standalone? > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From dan at clearvisiontech.com Wed Jul 24 12:08:31 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 24 Jul 2019 16:08:31 +0000 Subject: ITMS-90546: Missing Asset Catalog In-Reply-To: References: <5CCE35D9-B7F8-4D50-9D60-04DF31C08CA6@clearvisiontech.com> Message-ID: Panos, I did include all icons and splash screens. No, there is not a "Assets.car" in the app bundle. Here's what's in the bundle: _CodeSignature > CodeResources AppIcon60x60 at 2x.png ca-bundle.crt Default-568h at 2x.png Default-667h at 2x.png Default-736h at 3x.png Default-812h at 3x.png Default-896h at 2x.png Default-896h at 3x.png Default.png Default at 2x.png embedded.mobileprovision Info.plist PkgInfo myApp -Dan ?On 7/24/19, 8:58 AM, "use-livecode on behalf of panagiotis merakos via use-livecode" wrote: Hello Dan, Yes, the standalone builder creates this for you (you need to supply correct icons and splash screens for all supported devices). Does the standalone app bundle contain a file called "Assets.car"? Best, Panos -- On Wed, 24 Jul 2019 at 18:29, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Using LC 9.5.0 (dp 1), I uploaded my app to Apple. I got this back from > them: > > ITMS-90546: Missing Asset Catalog - Your app is missing the asset catalog > file in yourApp.app'. For more information see > http://help.apple.com/xcode/mac/current/#/dev10510b1f7. > > A "Asset Catalog" doesn't sound like something I should be adding > manually. Could this be an issue with LC when building the standalone? > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Jul 24 12:23:49 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 24 Jul 2019 09:23:49 -0700 Subject: [ANN] Release 9.5.0 RC-1 In-Reply-To: References: Message-ID: On 7/24/19 8:48 AM, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.5.0 RC-1. ...and ...backdrop now works properly on linux. -- Mark Wieder ahsoftware at gmail.com From dan at clearvisiontech.com Wed Jul 24 12:30:24 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 24 Jul 2019 16:30:24 +0000 Subject: ITMS-90546: Missing Asset Catalog In-Reply-To: References: <5CCE35D9-B7F8-4D50-9D60-04DF31C08CA6@clearvisiontech.com> Message-ID: <2A5EC618-2536-4184-B2AD-27DE88C0528B@clearvisiontech.com> Panos, My app does not support landscape and I have "Portrait" selected in the "iPhone Initial Orentation". For this reason, I did not include Landscape spash screens. Could this be the issue? -Dan ?On 7/24/19, 9:09 AM, "use-livecode on behalf of Dan Friedman via use-livecode" wrote: Panos, I did include all icons and splash screens. No, there is not a "Assets.car" in the app bundle. Here's what's in the bundle: _CodeSignature > CodeResources AppIcon60x60 at 2x.png ca-bundle.crt Default-568h at 2x.png Default-667h at 2x.png Default-736h at 3x.png Default-812h at 3x.png Default-896h at 2x.png Default-896h at 3x.png Default.png Default at 2x.png embedded.mobileprovision Info.plist PkgInfo myApp -Dan On 7/24/19, 8:58 AM, "use-livecode on behalf of panagiotis merakos via use-livecode" wrote: Hello Dan, Yes, the standalone builder creates this for you (you need to supply correct icons and splash screens for all supported devices). Does the standalone app bundle contain a file called "Assets.car"? Best, Panos -- On Wed, 24 Jul 2019 at 18:29, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Using LC 9.5.0 (dp 1), I uploaded my app to Apple. I got this back from > them: > > ITMS-90546: Missing Asset Catalog - Your app is missing the asset catalog > file in yourApp.app'. For more information see > http://help.apple.com/xcode/mac/current/#/dev10510b1f7. > > A "Asset Catalog" doesn't sound like something I should be adding > manually. Could this be an issue with LC when building the standalone? > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Wed Jul 24 13:28:04 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 24 Jul 2019 20:28:04 +0300 Subject: [ANN] Release 9.5.0 RC-1 In-Reply-To: References: Message-ID: Yeap, thanks Mark Wieder for that :) On Wed, Jul 24, 2019, 19:24 Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 7/24/19 8:48 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.5.0 RC-1. > > ...and ...backdrop now works properly on linux. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Wed Jul 24 13:29:34 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 24 Jul 2019 20:29:34 +0300 Subject: ITMS-90546: Missing Asset Catalog In-Reply-To: <2A5EC618-2536-4184-B2AD-27DE88C0528B@clearvisiontech.com> References: <5CCE35D9-B7F8-4D50-9D60-04DF31C08CA6@clearvisiontech.com> <2A5EC618-2536-4184-B2AD-27DE88C0528B@clearvisiontech.com> Message-ID: Nope, I don't think this would cause a problem. It is strange this file is not created for you. What is the xcode version you use? On Wed, Jul 24, 2019, 19:30 Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos, > > My app does not support landscape and I have "Portrait" selected in the > "iPhone Initial Orentation". For this reason, I did not include Landscape > spash screens. Could this be the issue? > > -Dan > > > ?On 7/24/19, 9:09 AM, "use-livecode on behalf of Dan Friedman via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Panos, > > I did include all icons and splash screens. No, there is not a > "Assets.car" in the app bundle. Here's what's in the bundle: > _CodeSignature > > CodeResources > AppIcon60x60 at 2x.png > ca-bundle.crt > Default-568h at 2x.png > Default-667h at 2x.png > Default-736h at 3x.png > Default-812h at 3x.png > Default-896h at 2x.png > Default-896h at 3x.png > Default.png > Default at 2x.png > embedded.mobileprovision > Info.plist > PkgInfo > myApp > > -Dan > > On 7/24/19, 8:58 AM, "use-livecode on behalf of panagiotis merakos via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Hello Dan, > > Yes, the standalone builder creates this for you (you need to > supply > correct icons and splash screens for all supported devices). > > Does the standalone app bundle contain a file called "Assets.car"? > > Best, > Panos > -- > > On Wed, 24 Jul 2019 at 18:29, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Using LC 9.5.0 (dp 1), I uploaded my app to Apple. I got this > back from > > them: > > > > ITMS-90546: Missing Asset Catalog - Your app is missing the > asset catalog > > file in yourApp.app'. For more information see > > http://help.apple.com/xcode/mac/current/#/dev10510b1f7. > > > > A "Asset Catalog" doesn't sound like something I should be adding > > manually. Could this be an issue with LC when building the > standalone? > > > > -Dan > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > Panagiotis Merakos > LiveCode Software Developer > > Everyone Can Create Apps > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Wed Jul 24 13:41:23 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 24 Jul 2019 17:41:23 +0000 Subject: ITMS-90546: Missing Asset Catalog In-Reply-To: References: <5CCE35D9-B7F8-4D50-9D60-04DF31C08CA6@clearvisiontech.com> <2A5EC618-2536-4184-B2AD-27DE88C0528B@clearvisiontech.com> Message-ID: <82F647E1-907B-472A-95DF-720B2D0C74DA@clearvisiontech.com> Panos, XCode 10.3 LC 9.5.0 (dp 1) macOS 10.14.3 Thanks! -Dan From: panagiotis merakos Date: Wednesday, July 24, 2019 at 10:29 AM To: How to use LiveCode Cc: Dan Friedman Subject: Re: ITMS-90546: Missing Asset Catalog Nope, I don't think this would cause a problem. It is strange this file is not created for you. What is the xcode version you use? On Wed, Jul 24, 2019, 19:30 Dan Friedman via use-livecode > wrote: Panos, My app does not support landscape and I have "Portrait" selected in the "iPhone Initial Orentation". For this reason, I did not include Landscape spash screens. Could this be the issue? -Dan On 7/24/19, 9:09 AM, "use-livecode on behalf of Dan Friedman via use-livecode" on behalf of use-livecode at lists.runrev.com> wrote: Panos, I did include all icons and splash screens. No, there is not a "Assets.car" in the app bundle. Here's what's in the bundle: _CodeSignature > CodeResources AppIcon60x60 at 2x.png ca-bundle.crt Default-568h at 2x.png Default-667h at 2x.png Default-736h at 3x.png Default-812h at 3x.png Default-896h at 2x.png Default-896h at 3x.png Default.png Default at 2x.png embedded.mobileprovision Info.plist PkgInfo myApp -Dan On 7/24/19, 8:58 AM, "use-livecode on behalf of panagiotis merakos via use-livecode" on behalf of use-livecode at lists.runrev.com> wrote: Hello Dan, Yes, the standalone builder creates this for you (you need to supply correct icons and splash screens for all supported devices). Does the standalone app bundle contain a file called "Assets.car"? Best, Panos -- On Wed, 24 Jul 2019 at 18:29, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Using LC 9.5.0 (dp 1), I uploaded my app to Apple. I got this back from > them: > > ITMS-90546: Missing Asset Catalog - Your app is missing the asset catalog > file in yourApp.app'. For more information see > http://help.apple.com/xcode/mac/current/#/dev10510b1f7. > > A "Asset Catalog" doesn't sound like something I should be adding > manually. Could this be an issue with LC when building the standalone? > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Panagiotis Merakos > LiveCode Software Developer Everyone Can Create Apps _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Wed Jul 24 13:46:39 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 24 Jul 2019 20:46:39 +0300 Subject: ITMS-90546: Missing Asset Catalog In-Reply-To: <82F647E1-907B-472A-95DF-720B2D0C74DA@clearvisiontech.com> References: <5CCE35D9-B7F8-4D50-9D60-04DF31C08CA6@clearvisiontech.com> <2A5EC618-2536-4184-B2AD-27DE88C0528B@clearvisiontech.com> <82F647E1-907B-472A-95DF-720B2D0C74DA@clearvisiontech.com> Message-ID: Hello Dan, You need xcode 10.1. Xcode 10.2 or 10.3 are not supported. In fact you should not be able to build a standalone with xcode 10.3. Best, Panos On Wed, Jul 24, 2019, 20:41 Dan Friedman wrote: > Panos, > > > > XCode 10.3 > > LC 9.5.0 (dp 1) > > macOS 10.14.3 > > > > Thanks! > > -Dan > > > > > > *From: *panagiotis merakos > *Date: *Wednesday, July 24, 2019 at 10:29 AM > *To: *How to use LiveCode > *Cc: *Dan Friedman > *Subject: *Re: ITMS-90546: Missing Asset Catalog > > > > Nope, I don't think this would cause a problem. It is strange this file is > not created for you. What is the xcode version you use? > > > > On Wed, Jul 24, 2019, 19:30 Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Panos, > > My app does not support landscape and I have "Portrait" selected in the > "iPhone Initial Orentation". For this reason, I did not include Landscape > spash screens. Could this be the issue? > > -Dan > > > On 7/24/19, 9:09 AM, "use-livecode on behalf of Dan Friedman via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Panos, > > I did include all icons and splash screens. No, there is not a > "Assets.car" in the app bundle. Here's what's in the bundle: > _CodeSignature > > CodeResources > AppIcon60x60 at 2x.png > ca-bundle.crt > Default-568h at 2x.png > Default-667h at 2x.png > Default-736h at 3x.png > Default-812h at 3x.png > Default-896h at 2x.png > Default-896h at 3x.png > Default.png > Default at 2x.png > embedded.mobileprovision > Info.plist > PkgInfo > myApp > > -Dan > > On 7/24/19, 8:58 AM, "use-livecode on behalf of panagiotis merakos via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Hello Dan, > > Yes, the standalone builder creates this for you (you need to > supply > correct icons and splash screens for all supported devices). > > Does the standalone app bundle contain a file called "Assets.car"? > > Best, > Panos > -- > > On Wed, 24 Jul 2019 at 18:29, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Using LC 9.5.0 (dp 1), I uploaded my app to Apple. I got this > back from > > them: > > > > ITMS-90546: Missing Asset Catalog - Your app is missing the > asset catalog > > file in yourApp.app'. For more information see > > http://help.apple.com/xcode/mac/current/#/dev10510b1f7. > > > > A "Asset Catalog" doesn't sound like something I should be adding > > manually. Could this be an issue with LC when building the > standalone? > > > > -Dan > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > Panagiotis Merakos > LiveCode Software Developer > > Everyone Can Create Apps > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 24 14:52:34 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 24 Jul 2019 11:52:34 -0700 Subject: Error description: Stack: stack is password protected Message-ID: <9AF25CA6-2271-4B11-9970-7C4D2C01EC1D@gmail.com> I have never seen this before, and the stacks (and routine) involved are a few years old! The procedure dhDevBldFlds loops through my source stacks and finds controls that need to be handled for output, and sets appropriate attributes. All of a sudden, it?s bombing with Message execution error: Error description: Stack: stack is password protected Hint: It has processed *several* cards by the time it hits the control where it does this (I set a property of my main stack with the control being processed.) While the stack does have a password, it has long been unlocked by the time this is done. ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From dan at clearvisiontech.com Wed Jul 24 16:09:29 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 24 Jul 2019 20:09:29 +0000 Subject: ITMS-90546: Missing Asset Catalog In-Reply-To: References: <5CCE35D9-B7F8-4D50-9D60-04DF31C08CA6@clearvisiontech.com> <2A5EC618-2536-4184-B2AD-27DE88C0528B@clearvisiontech.com> <82F647E1-907B-472A-95DF-720B2D0C74DA@clearvisiontech.com> Message-ID: <594101AC-1A15-44D1-B150-03C6054FF1F7@clearvisiontech.com> Panos, Ok? Installed 10.1, rebuilt app and uploaded. That worked. THANK YOU for the quick assistance. This also resolved this issue: http://lists.runrev.com/pipermail/use-livecode/2019-July/255327.html Thank you! Dan Friedman CEO, ClearVision Technologies, LLC Voice: 909/484-2052 http://www.clearvisiontech.com From: panagiotis merakos Date: Wednesday, July 24, 2019 at 10:46 AM To: Dan Friedman Cc: How to use LiveCode Subject: Re: ITMS-90546: Missing Asset Catalog Hello Dan, You need xcode 10.1. Xcode 10.2 or 10.3 are not supported. In fact you should not be able to build a standalone with xcode 10.3. Best, Panos On Wed, Jul 24, 2019, 20:41 Dan Friedman > wrote: Panos, XCode 10.3 LC 9.5.0 (dp 1) macOS 10.14.3 Thanks! -Dan From: panagiotis merakos > Date: Wednesday, July 24, 2019 at 10:29 AM To: How to use LiveCode > Cc: Dan Friedman > Subject: Re: ITMS-90546: Missing Asset Catalog Nope, I don't think this would cause a problem. It is strange this file is not created for you. What is the xcode version you use? On Wed, Jul 24, 2019, 19:30 Dan Friedman via use-livecode > wrote: Panos, My app does not support landscape and I have "Portrait" selected in the "iPhone Initial Orentation". For this reason, I did not include Landscape spash screens. Could this be the issue? -Dan On 7/24/19, 9:09 AM, "use-livecode on behalf of Dan Friedman via use-livecode" on behalf of use-livecode at lists.runrev.com> wrote: Panos, I did include all icons and splash screens. No, there is not a "Assets.car" in the app bundle. Here's what's in the bundle: _CodeSignature > CodeResources AppIcon60x60 at 2x.png ca-bundle.crt Default-568h at 2x.png Default-667h at 2x.png Default-736h at 3x.png Default-812h at 3x.png Default-896h at 2x.png Default-896h at 3x.png Default.png Default at 2x.png embedded.mobileprovision Info.plist PkgInfo myApp -Dan On 7/24/19, 8:58 AM, "use-livecode on behalf of panagiotis merakos via use-livecode" on behalf of use-livecode at lists.runrev.com> wrote: Hello Dan, Yes, the standalone builder creates this for you (you need to supply correct icons and splash screens for all supported devices). Does the standalone app bundle contain a file called "Assets.car"? Best, Panos -- On Wed, 24 Jul 2019 at 18:29, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Using LC 9.5.0 (dp 1), I uploaded my app to Apple. I got this back from > them: > > ITMS-90546: Missing Asset Catalog - Your app is missing the asset catalog > file in yourApp.app'. For more information see > http://help.apple.com/xcode/mac/current/#/dev10510b1f7. > > A "Asset Catalog" doesn't sound like something I should be adding > manually. Could this be an issue with LC when building the standalone? > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Panagiotis Merakos > LiveCode Software Developer Everyone Can Create Apps _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Jul 25 12:12:27 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 25 Jul 2019 12:12:27 -0400 Subject: Time-outs in LC Server? In-Reply-To: <61fa85b3-3e77-dded-06ad-60d0a9481387@tweedly.net> References: <0da701d53cff$a8787010$f9695030$@net> <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> <3F064DC3-D8C4-43F4-9A2F-FEC42B375C73@all-auctions.com> <61fa85b3-3e77-dded-06ad-60d0a9481387@tweedly.net> Message-ID: Hi Alex, The solution turned out to be easier with no time checks involved. I noticed that one of my variables ends up being blank when the server times out. So when the user attempts to do something, the destination webpage performs a check at the beginning of the code to see if the variable is blank. If it?s blank, I have alternate code appear that tells the user they have been logged out due to inactivity, and offers a dismiss message button that links back to the login page. It works quite nicely, and I don?t have to check for every transaction in every format file. Enjoy your day! Rick > On Jul 19, 2019, at 9:47 PM, Alex Tweedly via use-livecode wrote: > > > On 19/07/2019 14:28, Rick Harrison via use-livecode wrote: >> The following is a link to the javascript stuff I had referred >> to before. I just want a clean LC way to do the same thing. >> >> https://stackoverflow.com/questions/9564602/how-to-know-browser-idle-time?noredirect=1&lq=1 >> > Sorry to be the bearer of bad news, but there is no such thing, and indeed, there cannot be! > > That javascript code runs *in the user's browser", and so can easily keep track of idle time. or remaining time > > Your LC code can only run on the server. And on the server, all you can do is - at the start of responding to a request - check how long it has been since the previous request from same user. > > So that requires some storage between requests - whether in a database, or via cookie / session variable. > > 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 ambassador at fourthworld.com Thu Jul 25 12:47:15 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Jul 2019 09:47:15 -0700 Subject: [ANN] Release 9.5.0 RC-1 In-Reply-To: References: Message-ID: <5c2bc7ef-87c9-5e4d-a401-5fa62ad957ea@fourthworld.com> Panos wrote: > We are pleased to announce the release of LiveCode 9.5.0 RC-1. ... > - some long standing problems with serial port commands are now fixed Super - thanks! > Last, but not least, the Android Barcode Library and the Android > Barcode Scanner widget are now moved from the Business Edition > into the Indy Edition. Excellent move, much appreciated by Indy licensees. Thanks. -- 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 jjs at krutt.org Thu Jul 25 11:47:41 2019 From: jjs at krutt.org (JJS) Date: Thu, 25 Jul 2019 17:47:41 +0200 Subject: [ANN] Release 9.5.0 RC-1 In-Reply-To: <5c2bc7ef-87c9-5e4d-a401-5fa62ad957ea@fourthworld.com> References: <5c2bc7ef-87c9-5e4d-a401-5fa62ad957ea@fourthworld.com> Message-ID: Indeed! I love it. Thanks. Jerry Op 25-7-2019 om 18:47 schreef Richard Gaskin via use-livecode: > Panos wrote: > > > We are pleased to announce the release of LiveCode 9.5.0 RC-1. > ... > > - some long standing problems with serial port commands are now fixed > > ?Super - thanks! > > > > Last, but not least, the Android Barcode Library and the Android > > Barcode Scanner widget are now moved from the Business Edition > > into the Indy Edition. > > Excellent move, much appreciated by Indy licensees. Thanks. > From sean at pidigital.co.uk Thu Jul 25 16:53:50 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 25 Jul 2019 21:53:50 +0100 Subject: [ANN] Release 9.5.0 RC-1 In-Reply-To: <5c2bc7ef-87c9-5e4d-a401-5fa62ad957ea@fourthworld.com> References: <5c2bc7ef-87c9-5e4d-a401-5fa62ad957ea@fourthworld.com> Message-ID: <4CA1A099-5A90-42B3-B6B5-53B8ECB6012F@pidigital.co.uk> > > > Last, but not least, the Android Barcode Library and the Android > > Barcode Scanner widget are now moved from the Business Edition > > into the Indy Edition. > > Excellent move, much appreciated by Indy licensees. Thanks. Indeed. I naturally assumed it was a typo or genuine mistake to make it Business Ed only. And a big thank you to Monte for all the work he?s put into these libraries for us. Barcode scanning for android is a very welcome addition. > -- > Richard Gaskin > Fourth World Systems From paul at researchware.com Thu Jul 25 17:05:22 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 25 Jul 2019 17:05:22 -0400 Subject: OSX High Sierra and Mojave Double Titlebars or Menubars? Message-ID: <6a44b865-6d91-aef8-d820-a2fffa77ff36@researchware.com> I recall a recent (last year/this year - I think) bug where under OSX High Sierra or Mojave you could end up with double titlebars in your windows or perhaps it was double menubars? I have spent a big chunk of time searching the Livecode Quality Center and can not find this bug. Am I delusional, or was there such a bug and if, so can someone point me to it? From dochawk at gmail.com Thu Jul 25 17:23:23 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 25 Jul 2019 14:23:23 -0700 Subject: breakpoint conditions scrambled? Message-ID: <3FE3C3C5-1CD4-4B6F-82CB-E0FE6D24036E@gmail.com> This is in 9.5-rc1. I?ve braved tried to use some conditional breakpoints. However, when it opens one, it seems to show a previously used condition, and when I replace it, it seems to not get saved, instead remaining blank when I reopen, and not breaking at all. Do other people see this? ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From dsc at swcp.com Thu Jul 25 17:59:27 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 25 Jul 2019 15:59:27 -0600 Subject: [ANN] Release 9.5.0 RC-1 In-Reply-To: References: <5c2bc7ef-87c9-5e4d-a401-5fa62ad957ea@fourthworld.com> Message-ID: Yes. Yes. > On Jul 25, 2019, at 9:47 AM, JJS via use-livecode wrote: > > Indeed! I love it. > > Thanks. > > Jerry > > Op 25-7-2019 om 18:47 schreef Richard Gaskin via use-livecode: >> Panos wrote: >> >>> We are pleased to announce the release of LiveCode 9.5.0 RC-1. >> ... >>> - some long standing problems with serial port commands are now fixed >> >> Super - thanks! >> >> >>> Last, but not least, the Android Barcode Library and the Android >>> Barcode Scanner widget are now moved from the Business Edition >>> into the Indy Edition. >> >> Excellent move, much appreciated by Indy licensees. Thanks. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Thu Jul 25 18:10:33 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 26 Jul 2019 08:10:33 +1000 Subject: [ANN] Release 9.5.0 RC-1 In-Reply-To: <4CA1A099-5A90-42B3-B6B5-53B8ECB6012F@pidigital.co.uk> References: <5c2bc7ef-87c9-5e4d-a401-5fa62ad957ea@fourthworld.com> <4CA1A099-5A90-42B3-B6B5-53B8ECB6012F@pidigital.co.uk> Message-ID: <1BBB851F-D851-41DB-A857-8579F4F4705E@appisle.net> > On 26 Jul 2019, at 6:53 am, Pi Digital via use-livecode wrote: > > And a big thank you to Monte for all the work he?s put into these libraries for us. Barcode scanning for android is a very welcome addition. Actually thank Michael for this one ;-) Cheers Monte From matthias_livecode_150811 at m-r-d.de Thu Jul 25 18:33:33 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 26 Jul 2019 00:33:33 +0200 Subject: [ANN] Release 9.5.0 RC-1 In-Reply-To: <1BBB851F-D851-41DB-A857-8579F4F4705E@appisle.net> References: <5c2bc7ef-87c9-5e4d-a401-5fa62ad957ea@fourthworld.com> <4CA1A099-5A90-42B3-B6B5-53B8ECB6012F@pidigital.co.uk> <1BBB851F-D851-41DB-A857-8579F4F4705E@appisle.net> Message-ID: or... as always a great team effort. ;) Matthias Rebbe > Am 26.07.2019 um 00:10 schrieb Monte Goulding via use-livecode >: > > > >> On 26 Jul 2019, at 6:53 am, Pi Digital via use-livecode > wrote: >> >> And a big thank you to Monte for all the work he?s put into these libraries for us. Barcode scanning for android is a very welcome addition. > > Actually thank Michael for this one ;-) > > Cheers > > 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 alex at tweedly.net Fri Jul 26 03:03:45 2019 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 26 Jul 2019 08:03:45 +0100 Subject: Time-outs in LC Server? In-Reply-To: References: <0da701d53cff$a8787010$f9695030$@net> <59B18275-6ECA-498A-8DFC-1C3A8347C946@swcp.com> <3F064DC3-D8C4-43F4-9A2F-FEC42B375C73@all-auctions.com> <61fa85b3-3e77-dded-06ad-60d0a9481387@tweedly.net> Message-ID: Great! So glad you got to a successful conclusion. Alex Sent from my iPhone > On 25 Jul 2019, at 17:12, Rick Harrison via use-livecode wrote: > > Hi Alex, > > The solution turned out to be easier with no time checks involved. > > I noticed that one of my variables ends up being blank when the > server times out. So when the user attempts to do something, > the destination webpage performs a check at the beginning of > the code to see if the variable is blank. If it?s blank, I have > alternate code appear that tells the user they have been logged > out due to inactivity, and offers a dismiss message button that > links back to the login page. It works quite nicely, and > I don?t have to check for every transaction in every format file. > > Enjoy your day! > > Rick > > > >> On Jul 19, 2019, at 9:47 PM, Alex Tweedly via use-livecode wrote: >> >> >>> On 19/07/2019 14:28, Rick Harrison via use-livecode wrote: >>> The following is a link to the javascript stuff I had referred >>> to before. I just want a clean LC way to do the same thing. >>> >>> https://stackoverflow.com/questions/9564602/how-to-know-browser-idle-time?noredirect=1&lq=1 >>> >> Sorry to be the bearer of bad news, but there is no such thing, and indeed, there cannot be! >> >> That javascript code runs *in the user's browser", and so can easily keep track of idle time. or remaining time >> >> Your LC code can only run on the server. And on the server, all you can do is - at the start of responding to a request - check how long it has been since the previous request from same user. >> >> So that requires some storage between requests - whether in a database, or via cookie / session variable. >> >> 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 lists at mangomultimedia.com Fri Jul 26 00:17:35 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 25 Jul 2019 23:17:35 -0500 Subject: OSX High Sierra and Mojave Double Titlebars or Menubars? In-Reply-To: <6a44b865-6d91-aef8-d820-a2fffa77ff36@researchware.com> References: <6a44b865-6d91-aef8-d820-a2fffa77ff36@researchware.com> Message-ID: On Thu, Jul 25, 2019 at 4:05 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > I recall a recent (last year/this year - I think) bug where under OSX > High Sierra or Mojave you could end up with double titlebars in your > windows or perhaps it was double menubars? > > I have spent a big chunk of time searching the Livecode Quality Center > and can not find this bug. > > Am I delusional, or was there such a bug and if, so can someone point me > to it? > This? https://quality.livecode.com/show_bug.cgi?id=20923 -- Trevor DeVore ScreenSteps www.screensteps.com From paul at researchware.com Fri Jul 26 10:14:14 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 26 Jul 2019 10:14:14 -0400 Subject: OSX High Sierra and Mojave Double Titlebars or Menubars? In-Reply-To: References: <6a44b865-6d91-aef8-d820-a2fffa77ff36@researchware.com> Message-ID: <2fcef526-867d-02f9-51a8-ddd15a925c97@researchware.com> On 7/26/2019 12:17 AM, Trevor DeVore via use-livecode wrote: > On Thu, Jul 25, 2019 at 4:05 PM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I recall a recent (last year/this year - I think) bug where under OSX >> High Sierra or Mojave you could end up with double titlebars in your >> windows or perhaps it was double menubars? >> >> I have spent a big chunk of time searching the Livecode Quality Center >> and can not find this bug. >> >> Am I delusional, or was there such a bug and if, so can someone point me >> to it? >> > This? https://quality.livecode.com/show_bug.cgi?id=20923 > Yes, thank you. In LiveCode 905rc1 in Standalones on OSX High Sierra we are seeing an odd behavior where -- something happens -- and the mouse position in a window (or a multi-window standalone) is displaced vertically. When you click or drag, LiveCode thinks - just in the window - that the mouse is about 20-30 px above where it currently is. If you move the mouse out of the affected window to another window, it is fine. But if you move it back into the effected window, it is still displaced. If you move the window (aligned by default just under the menubar) down by the displacement amount, the displacement goes away. Move the window back up, the displacement returns. Restart the app and it goes away -- until it occurs again. It is not in our code and happen in different windows at different times. It is definitely an LiveCode bug, but we can not create/discover a recipe for what triggers the bug. It has been suggested that it might be related to the double titlebars bug or to a bug where the LiveCode IDE menubar/pallete cause an similar displacement in the IDE. However, this is in a standalone. It's driving us batty since we can't ship our app with this bug and can't get LiveCode to even consider fixing it until we can produce a test stack with a recipe to reproduce it! From lists at mangomultimedia.com Fri Jul 26 11:22:19 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 26 Jul 2019 10:22:19 -0500 Subject: OSX High Sierra and Mojave Double Titlebars or Menubars? In-Reply-To: <2fcef526-867d-02f9-51a8-ddd15a925c97@researchware.com> References: <6a44b865-6d91-aef8-d820-a2fffa77ff36@researchware.com> <2fcef526-867d-02f9-51a8-ddd15a925c97@researchware.com> Message-ID: On Fri, Jul 26, 2019 at 9:14 AM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > > Yes, thank you. In LiveCode 905rc1 in Standalones on OSX High Sierra we > are seeing an odd behavior where -- something happens -- and the mouse > position in a window (or a multi-window standalone) is displaced > vertically. When you click or drag, LiveCode thinks - just in the window > - that the mouse is about 20-30 px above where it currently is. Do you know if the window opens up with the vertical displacement issue or is the user interacting with the window without issue and then the vertical displacement is somehow triggered? -- Trevor DeVore ScreenSteps > From jacque at hyperactivesw.com Fri Jul 26 11:38:23 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Jul 2019 10:38:23 -0500 Subject: OSX High Sierra and Mojave Double Titlebars or Menubars? In-Reply-To: <2fcef526-867d-02f9-51a8-ddd15a925c97@researchware.com> References: <6a44b865-6d91-aef8-d820-a2fffa77ff36@researchware.com> <2fcef526-867d-02f9-51a8-ddd15a925c97@researchware.com> Message-ID: <16c2eeeddb0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I don't see the problem either but my client does. She can't work with our stacks and we probably shouldn't ship if it's a widespread issue. Her symptoms are identical to what you describe. Please write up a bug report and if I can get more info from her I'll add to it. We have a hard deadline in about 3 weeks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 26, 2019 9:16:10 AM Paul Dupuis via use-livecode wrote: > On 7/26/2019 12:17 AM, Trevor DeVore via use-livecode wrote: >> On Thu, Jul 25, 2019 at 4:05 PM Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> I recall a recent (last year/this year - I think) bug where under OSX >>> High Sierra or Mojave you could end up with double titlebars in your >>> windows or perhaps it was double menubars? >>> >>> I have spent a big chunk of time searching the Livecode Quality Center >>> and can not find this bug. >>> >>> Am I delusional, or was there such a bug and if, so can someone point me >>> to it? >>> >> This? https://quality.livecode.com/show_bug.cgi?id=20923 >> > > Yes, thank you. In LiveCode 905rc1 in Standalones on OSX High Sierra we > are seeing an odd behavior where -- something happens -- and the mouse > position in a window (or a multi-window standalone) is displaced > vertically. When you click or drag, LiveCode thinks - just in the window > - that the mouse is about 20-30 px above where it currently is. > > If you move the mouse out of the affected window to another window, it > is fine. But if you move it back into the effected window, it is still > displaced. If you move the window (aligned by default just under the > menubar) down by the displacement amount, the displacement goes away. > Move the window back up, the displacement returns. > > Restart the app and it goes away -- until it occurs again. > > It is not in our code and happen in different windows at different > times. It is definitely an LiveCode bug, but we can not create/discover > a recipe for what triggers the bug. It has been suggested that it might > be related to the double titlebars bug or to a bug where the LiveCode > IDE menubar/pallete cause an similar displacement in the IDE. However, > this is in a standalone. > > It's driving us batty since we can't ship our app with this bug and > can't get LiveCode to even consider fixing it until we can produce a > test stack with a recipe to reproduce 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 paul at researchware.com Fri Jul 26 12:19:09 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 26 Jul 2019 12:19:09 -0400 Subject: OSX High Sierra and Mojave Double Titlebars or Menubars? In-Reply-To: References: <6a44b865-6d91-aef8-d820-a2fffa77ff36@researchware.com> <2fcef526-867d-02f9-51a8-ddd15a925c97@researchware.com> Message-ID: <3a8319c1-48f1-de8f-bb72-374866905471@researchware.com> On 7/26/2019 11:22 AM, Trevor DeVore via use-livecode wrote: > On Fri, Jul 26, 2019 at 9:14 AM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Yes, thank you. In LiveCode 905rc1 in Standalones on OSX High Sierra we >> are seeing an odd behavior where -- something happens -- and the mouse >> position in a window (or a multi-window standalone) is displaced >> vertically. When you click or drag, LiveCode thinks - just in the window >> - that the mouse is about 20-30 px above where it currently is. > > Do you know if the window opens up with the vertical displacement issue or > is the user interacting with the window without issue and then the vertical > displacement is somehow triggered? > The windows are open and then the problem is some how triggered. Sometime it happens soon after a window is open and sometime much later. From paul at researchware.com Fri Jul 26 12:27:28 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 26 Jul 2019 12:27:28 -0400 Subject: OSX High Sierra and Mojave Double Titlebars or Menubars? In-Reply-To: <16c2eeeddb0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6a44b865-6d91-aef8-d820-a2fffa77ff36@researchware.com> <2fcef526-867d-02f9-51a8-ddd15a925c97@researchware.com> <16c2eeeddb0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4bce3795-91a4-f030-b4a0-a93eb09dfd62@researchware.com> https://quality.livecode.com/show_bug.cgi?id=22267 We have a screen recording showing the issue (but not what triggered it!) that, when I can get it form the QA person who recorded it, I will post to the bug report. In a strange way it is comforting to know some one else is seeing this issue too. On 7/26/2019 11:38 AM, J. Landman Gay via use-livecode wrote: > I don't see the problem either but my client does. She can't work with > our stacks and we probably shouldn't ship if it's a widespread issue. > Her symptoms are identical to what you describe. > > Please write up a bug report and if I can get more info from her I'll > add to it. We have a hard deadline in about 3 weeks. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 26, 2019 9:16:10 AM Paul Dupuis via use-livecode > wrote: > >> On 7/26/2019 12:17 AM, Trevor DeVore via use-livecode wrote: >>> On Thu, Jul 25, 2019 at 4:05 PM Paul Dupuis via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> I recall a recent (last year/this year - I think) bug where under OSX >>>> High Sierra or Mojave you could end up with double titlebars in your >>>> windows or perhaps it was double menubars? >>>> >>>> I have spent a big chunk of time searching the Livecode Quality Center >>>> and can not find this bug. >>>> >>>> Am I delusional, or was there such a bug and if, so can someone >>>> point me >>>> to it? >>>> >>> This? https://quality.livecode.com/show_bug.cgi?id=20923 >>> >> >> Yes, thank you. In LiveCode 905rc1 in Standalones on OSX High Sierra we >> are seeing an odd behavior where -- something happens -- and the mouse >> position in a window (or a multi-window standalone) is displaced >> vertically. When you click or drag, LiveCode thinks - just in the window >> - that the mouse is about 20-30 px above where it currently is. >> >> If you move the mouse out of the affected window to another window, it >> is fine. But if you move it back into the effected window, it is still >> displaced. If you move the window (aligned by default just under the >> menubar) down by the displacement amount, the displacement goes away. >> Move the window back up, the displacement returns. >> >> Restart the app and it goes away -- until it occurs again. >> >> It is not in our code and happen in different windows at different >> times. It is definitely an LiveCode bug, but we can not create/discover >> a recipe for what triggers the bug. It has been suggested that it might >> be related to the double titlebars bug or to a bug where the LiveCode >> IDE menubar/pallete cause an similar displacement in the IDE. However, >> this is in a standalone. >> >> It's driving us batty since we can't ship our app with this bug and >> can't get LiveCode to even consider fixing it until we can produce a >> test stack with a recipe to reproduce 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From smaclean at madmansoft.com Fri Jul 26 13:00:22 2019 From: smaclean at madmansoft.com (Stephen MacLean) Date: Fri, 26 Jul 2019 13:00:22 -0400 Subject: 9.5 rc1 copy file lag Message-ID: <7BAE963B-FDEC-4C15-B46C-37A4D55FD967@madmansoft.com> Hi All, Just downloaded the LC 9.5 RC1 (Business) 64 bit yesterday and am now seeing a lot of lagging or hanging when using revCopyFile that I haven?t seen in past releases. It?s really noticeable when I have this running in the background in the IDE, and doing something else in the foreground. Once the current run is complete, I?ll try 9.05 RC1 as well. This wasn?t an issue with 9.02. If you?ve seen this as well, please let me know. Best, Steve MacLean From dsc at swcp.com Fri Jul 26 13:37:56 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 26 Jul 2019 11:37:56 -0600 Subject: 9.5 rc1 copy file lag In-Reply-To: <7BAE963B-FDEC-4C15-B46C-37A4D55FD967@madmansoft.com> References: <7BAE963B-FDEC-4C15-B46C-37A4D55FD967@madmansoft.com> Message-ID: <72B8FC5B-E386-4CC6-950C-7AEAB49EE8D1@swcp.com> I seem to be getting silent failures with externals and "unexpected libffi error" with LiveCode Builder libraries that use foreign functions. I wonder if we are doing something wrong with 64-bit LiveCode. > On Jul 26, 2019, at 11:00 AM, Stephen MacLean via use-livecode wrote: > > Hi All, > > Just downloaded the LC 9.5 RC1 (Business) 64 bit yesterday and am now seeing a lot of lagging or hanging when using revCopyFile that I haven?t seen in past releases. It?s really noticeable when I have this running in the background in the IDE, and doing something else in the foreground. > > Once the current run is complete, I?ll try 9.05 RC1 as well. This wasn?t an issue with 9.02. > > If you?ve seen this as well, please let me know. > > Best, > > Steve MacLean > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 26 15:08:07 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 26 Jul 2019 15:08:07 -0400 Subject: Purge a stack from memory Message-ID: <0321141d-d297-bf51-339e-56e68c1c0103@researchware.com> I know this comes up again and again, is there some counterpart to "revLoadedStacks(application)" that can PURGE a stack from memory? If you have a stack open, say stack "A" and you open a different stack file with a stack called "A", the IDE presents a message about stacks with the same name and what do you want to do with essentially "Cancel" (opening the new stack) or "Purge" (the old stack without saving) or "Save" (the old stack and purge) What does the IDE do to purge a stack? I ask as I have the following case: I have a stack open in the IDE (Call it "A") that uses another stack (not a substack), call it "X" as a library stack. That stack needs to make a scripted change to another mainstack (call it "B") with a substack, also? it "X", with the same name as the library stack (yes, the naming could have been better, but these are old stack made by different people and renaming stuff would be a real pain in the butt) I have tried: stop using stack "X" set the destroyStack of stack "X" to true close stack "X" wait 0 with messages -- give time to close and remove the stack from memory -- then open the other stack "X" -- and do what I need Yet when I try this, I get the IDE message about stacks of the same name. Any tips on how to positively, absolutely purge a stack from memory? From jacque at hyperactivesw.com Fri Jul 26 16:25:27 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Jul 2019 15:25:27 -0500 Subject: Purge a stack from memory In-Reply-To: <0321141d-d297-bf51-339e-56e68c1c0103@researchware.com> References: <0321141d-d297-bf51-339e-56e68c1c0103@researchware.com> Message-ID: <16c2ff5b2d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The word you want is "delete" but you will have to be careful. If you delete an open mainstack, it is purged from memory without saving, but the file remains intact on disk. However if you delete a substack, it is removed from the mainstack and if you subsequently save its mainstack the substack is gone forever. So you will need to delete the mainstack first before opening the mainstack B that contains substack X. If they are both open at the same time who knows which one will be targeted for deletion. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 26, 2019 2:09:59 PM Paul Dupuis via use-livecode wrote: > I know this comes up again and again, is there some counterpart to > "revLoadedStacks(application)" that can PURGE a stack from memory? > > If you have a stack open, say stack "A" and you open a different stack > file with a stack called "A", the IDE presents a message about stacks > with the same name and what do you want to do with essentially "Cancel" > (opening the new stack) or "Purge" (the old stack without saving) or > "Save" (the old stack and purge) > > What does the IDE do to purge a stack? > > I ask as I have the following case: > > I have a stack open in the IDE (Call it "A") that uses another stack > (not a substack), call it "X" as a library stack. That stack needs to > make a scripted change to another mainstack (call it "B") with a > substack, also it "X", with the same name as the library stack (yes, > the naming could have been better, but these are old stack made by > different people and renaming stuff would be a real pain in the butt) > > I have tried: > stop using stack "X" > set the destroyStack of stack "X" to true > close stack "X" > wait 0 with messages -- give time to close and remove the stack from memory > > -- then open the other stack "X" > -- and do what I need > > Yet when I try this, I get the IDE message about stacks of the same name. > > Any tips on how to positively, absolutely purge a stack from memory? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 26 18:40:18 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 26 Jul 2019 22:40:18 +0000 Subject: Purge a stack from memory In-Reply-To: <16c2ff5b2d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0321141d-d297-bf51-339e-56e68c1c0103@researchware.com> <16c2ff5b2d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <40B9389C-A321-41F9-BE23-281C3C091231@iotecdigital.com> EEEEK! Bob S > On Jul 26, 2019, at 13:25 , J. Landman Gay via use-livecode wrote: > > The word you want is "delete" but you will have to be careful. If you delete an open mainstack, it is purged from memory without saving, but the file remains intact on disk. However if you delete a substack, it is removed from the mainstack and if you subsequently save its mainstack the substack is gone forever. So you will need to delete the mainstack first before opening the mainstack B that contains substack X. > > If they are both open at the same time who knows which one will be targeted for deletion. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Fri Jul 26 19:20:56 2019 From: dochawk at gmail.com (doc hawk) Date: Fri, 26 Jul 2019 16:20:56 -0700 Subject: Purge a stack from memory In-Reply-To: <40B9389C-A321-41F9-BE23-281C3C091231@iotecdigital.com> References: <0321141d-d297-bf51-339e-56e68c1c0103@researchware.com> <16c2ff5b2d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <40B9389C-A321-41F9-BE23-281C3C091231@iotecdigital.com> Message-ID: <56B99D8E-C627-47CB-8C61-BC554ABB6CD9@gmail.com> On Jul 26, 2019, at 3:40 PM, Bob Sneidar via use-livecode wrote: > > EEEEK! Don?t be scared. Be *very* scared . . . There is something wonky about the whole in and out of memory thing. My project is (during development) a bunch of main s tacks, with an mcp to rule them all . . . Anyway, when I bump the version of one of them that has already been used, something seems to stick around, so that I get an endless cycle of the two stacks causing popups asking what to do with the other. I?ve taking to quitting livecode after bumping and just plain reloading . . . From dan at clearvisiontech.com Sat Jul 27 17:46:04 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 27 Jul 2019 21:46:04 +0000 Subject: DataGrid height? Message-ID: <0AEA9B6D-30C0-4E5A-A2F0-C9597B8C15C5@clearvisiontech.com> Hello! I'm working with the dataGrid for the first time (LC 9.5). Pretty cool! But I'm having an issue... Following this lesson, http://lessons.livecode.com/m/datagrid/l/9850-how-do-i-create-rows-that-can-expand-contract, I created a dataGrid with expanding/collapsing rows. The expanding/collapsing part is working fine, and the entire dataGrid looks perfect. But when it expands a row, some rows below are pushed too far down - leaving a big white space. If I then collapse the row and then expand it again, it works correctly (for that row). A little detail... When the row is created, I am resizing the height of a text field (with the formattedHeight) so that the content fits. This, of course, is altering the height of the row - which is exactly what I want. Also, when I try this on a phone, there is no scroller (there is also no scrollbar on desktop). I have another dataGrid in this project (that isn't calling for dynamic row heights) and it seems to have a scroller automatically (which is WAY cool!). Any thoughts as to (1) why it's not expanding correctly, and (2) why there is no scroller on mobile (or desktop)? My guess is that since I am changing the height of the row on the fly, I need to update some dataGrid property that I am unaware of. Any insight would be appreciated! -Dan From jjs at krutt.org Sun Jul 28 04:28:39 2019 From: jjs at krutt.org (JJS) Date: Sun, 28 Jul 2019 10:28:39 +0200 Subject: DataGrid height? In-Reply-To: <0AEA9B6D-30C0-4E5A-A2F0-C9597B8C15C5@clearvisiontech.com> References: <0AEA9B6D-30C0-4E5A-A2F0-C9597B8C15C5@clearvisiontech.com> Message-ID: <6a89734a-3fb4-88a6-ffa3-bf365228991f@krutt.org> i don't know. Only for the scroller i can tell that for mobile it is created automatically as of LC9.x.x, you don't need to create it anymore. Set the mode to scroller or dynamic for table and container for Form type DG Maybe you need to reset/refresh the DG after you changed the height Op 27-7-2019 om 23:46 schreef Dan Friedman via use-livecode: > Hello! I'm working with the dataGrid for the first time (LC 9.5). Pretty cool! But I'm having an issue... > > Following this lesson, http://lessons.livecode.com/m/datagrid/l/9850-how-do-i-create-rows-that-can-expand-contract, I created a dataGrid with expanding/collapsing rows. The expanding/collapsing part is working fine, and the entire dataGrid looks perfect. But when it expands a row, some rows below are pushed too far down - leaving a big white space. If I then collapse the row and then expand it again, it works correctly (for that row). > > A little detail... When the row is created, I am resizing the height of a text field (with the formattedHeight) so that the content fits. This, of course, is altering the height of the row - which is exactly what I want. Also, when I try this on a phone, there is no scroller (there is also no scrollbar on desktop). I have another dataGrid in this project (that isn't calling for dynamic row heights) and it seems to have a scroller automatically (which is WAY cool!). > > Any thoughts as to (1) why it's not expanding correctly, and (2) why there is no scroller on mobile (or desktop)? My guess is that since I am changing the height of the row on the fly, I need to update some dataGrid property that I am unaware of. > > Any insight would be appreciated! > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at harryscollar.com Sun Jul 28 05:04:42 2019 From: alex at harryscollar.com (Alex Shaw) Date: Sun, 28 Jul 2019 19:04:42 +1000 Subject: Problem with searching dictionary In-Reply-To: References: Message-ID: Using LC9.0.4 (but tried other versions) and just tried searching for the string "sftp". Nothing comes up. Yet, if I manually go to a function like "tsNetUploadFile", I can see the string "sftp" a few times. Is there a preference setting I've somehow unset to stop it searching deeper or is there a better way to search the dictionary? regards alex From tom at makeshyft.com Sun Jul 28 11:47:37 2019 From: tom at makeshyft.com (Tom Glod) Date: Sun, 28 Jul 2019 11:47:37 -0400 Subject: Problem with searching dictionary In-Reply-To: References: Message-ID: looks like the search algo is not searching the body of the section just the title. Makes sense why, but there ought to be a checkbox somewhere to enable a deeper search. try searching for "tiny lc" dictionary somewhere, one one our users here made an alternative application for the dictionary. Also there is a version of the lc dictionary that goes with ......a 'documentation' application whose name I cannot remember... I think I almost helped :D On Sun, Jul 28, 2019 at 5:05 AM Alex Shaw via use-livecode < use-livecode at lists.runrev.com> wrote: > Using LC9.0.4 (but tried other versions) and just tried searching for > the string "sftp". Nothing comes up. > > Yet, if I manually go to a function like "tsNetUploadFile", I can see > the string "sftp" a few times. > > Is there a preference setting I've somehow unset to stop it searching > deeper or is there a better way to search the dictionary? > > regards > 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 m.schonewille at economy-x-talk.com Sun Jul 28 18:17:11 2019 From: m.schonewille at economy-x-talk.com (Drs Mark Schonewille) Date: Mon, 29 Jul 2019 00:17:11 +0200 Subject: test Message-ID: tst From m.schonewille at economy-x-talk.com Sun Jul 28 18:21:02 2019 From: m.schonewille at economy-x-talk.com (Drs Mark Schonewille) Date: Mon, 29 Jul 2019 00:21:02 +0200 Subject: test In-Reply-To: References: Message-ID: <51aa7991-3a41-d48c-b41d-87958e00d973@economy-x-talk.com> Sorry for the somewhat anapproprate e-mail. After being unable to send e-mail to the use list for about year, and apparently LiveCode.com being unable to solve the problem, I suddenly seem to be able to connect to the community again. Op 29-7-2019 om 00:17 schreef Drs Mark Schonewille via use-livecode: > tst > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sun Jul 28 18:51:08 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 29 Jul 2019 00:51:08 +0200 Subject: test In-Reply-To: <51aa7991-3a41-d48c-b41d-87958e00d973@economy-x-talk.com> References: <51aa7991-3a41-d48c-b41d-87958e00d973@economy-x-talk.com> Message-ID: <792EE567-6CCB-4C21-9460-B31EBEC2B477@m-r-d.de> Welcome back. ;) Matthias Rebbe > Am 29.07.2019 um 00:21 schrieb Drs Mark Schonewille via use-livecode >: > > Sorry for the somewhat anapproprate e-mail. After being unable to send e-mail to the use list for about year, and apparently LiveCode.com being unable to solve the problem, I suddenly seem to be able to connect to the community again. > > Op 29-7-2019 om 00:17 schreef Drs Mark Schonewille via use-livecode: >> tst >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 29 09:14:17 2019 From: dunbarx at aol.com (dunbarxx) Date: Mon, 29 Jul 2019 08:14:17 -0500 (CDT) Subject: breakpoint conditions scrambled In-Reply-To: <3FE3C3C5-1CD4-4B6F-82CB-E0FE6D24036E@gmail.com> References: <3FE3C3C5-1CD4-4B6F-82CB-E0FE6D24036E@gmail.com> Message-ID: <1564406057094-0.post@n4.nabble.com> Hi. Do you mean that if you have: if then breakpoint does not fire? The handler proceeds past that line without stopping? Have you made sure the conditional is valid: if then answer 'XYZ" if then breakpoint Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From panos.merakos at livecode.com Mon Jul 29 10:24:53 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 29 Jul 2019 17:24:53 +0300 Subject: [ANN] This Week in LiveCode 187 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 #187 here: http://bit.ly/2Mnylcc 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 Jul 29 10:59:32 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 29 Jul 2019 14:59:32 +0000 Subject: Purge a stack from memory In-Reply-To: <56B99D8E-C627-47CB-8C61-BC554ABB6CD9@gmail.com> References: <0321141d-d297-bf51-339e-56e68c1c0103@researchware.com> <16c2ff5b2d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <40B9389C-A321-41F9-BE23-281C3C091231@iotecdigital.com> <56B99D8E-C627-47CB-8C61-BC554ABB6CD9@gmail.com> Message-ID: <72F75437-29A6-4E99-BB6A-DFC064B3C95B@iotecdigital.com> Yes long standing issue ever since v9 I believe. Might have been since v7. I have to do the same thing. Apparently copies of things like library stacks (not the originals, but the COPIES created when building a standalone) are left open in memory. Not sure why they do that. Anything opened in the build process that was not open already should be closed, and everything already open before the process should be re-opened. Bob S > On Jul 26, 2019, at 16:20 , doc hawk via use-livecode wrote: > > On Jul 26, 2019, at 3:40 PM, Bob Sneidar via use-livecode wrote: >> >> EEEEK! > > Don?t be scared. > > Be *very* scared . . . > > There is something wonky about the whole in and out of memory thing. > > My project is (during development) a bunch of main s tacks, with an mcp to rule them all . . . > > Anyway, when I bump the version of one of them that has already been used, something seems to stick around, so that I get an endless cycle of the two stacks causing popups asking what to do with the other. > > I?ve taking to quitting livecode after bumping and just plain reloading . . . From bobsneidar at iotecdigital.com Mon Jul 29 11:00:57 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 29 Jul 2019 15:00:57 +0000 Subject: breakpoint conditions scrambled In-Reply-To: <1564406057094-0.post@n4.nabble.com> References: <3FE3C3C5-1CD4-4B6F-82CB-E0FE6D24036E@gmail.com> <1564406057094-0.post@n4.nabble.com> Message-ID: <6887F45D-79EC-4707-9F30-ECEC9ED3A27D@iotecdigital.com> A long time ago I forget which version there was a bug where debug was randomly turned off and script execution would proceed past hard breakpoints. I haven't seen that in ages though. Bob S > On Jul 29, 2019, at 06:14 , dunbarxx via use-livecode wrote: > > Hi. > > Do you mean that if you have: > > if then breakpoint > > does not fire? The handler proceeds past that line without stopping? Have > you made sure the conditional is valid: > > if then answer 'XYZ" > if then breakpoint > > Craig From dochawk at gmail.com Mon Jul 29 15:33:46 2019 From: dochawk at gmail.com (doc hawk) Date: Mon, 29 Jul 2019 12:33:46 -0700 Subject: breakpoint conditions scrambled In-Reply-To: <1564406057094-0.post@n4.nabble.com> References: <3FE3C3C5-1CD4-4B6F-82CB-E0FE6D24036E@gmail.com> <1564406057094-0.post@n4.nabble.com> Message-ID: <4F2DE835-5E8A-4C32-BAEE-6F4859E19212@gmail.com> On Jul 29, 2019, at 6:14 AM, dunbarxx via use-livecode wrote: > > Do you mean that if you have: > > if then breakpoint No. I mean if I set a condition on the pirate code dots. The first one or two I set work, at least for the moment, but then they seem to start scarfing up one another?s code. I used to make *extensive* use of the ask/breakpoint pair you mention, but recent versions seem to almost always honor the breakpoint, making it unnecessary. From jjs at krutt.org Tue Jul 30 03:09:23 2019 From: jjs at krutt.org (JJS) Date: Tue, 30 Jul 2019 09:09:23 +0200 Subject: signature widget Message-ID: Hi, who else is seeing the Signature Widget in Indy? It's a usefull tool for many solutions. It works, but that's it. I can not access the data. In the dictionary it is said that it's Business only. But it's here. Now either it should no be in Indy or the dictionary is wrong. I think the first because no access to data. Cheers, Sphere From hh at hyperhh.de Tue Jul 30 05:27:49 2019 From: hh at hyperhh.de (hh) Date: Tue, 30 Jul 2019 11:27:49 +0200 Subject: signature widget Message-ID: Dictionary > widget.signature (use Bernd's tinyDict): The pathData is a numerically indexed array of path info elements. Each path info element contains three keys: - path - SVG path instructions - color - the color to paint the path with - width - the line width of the path It is now part of Indy. From jjs at krutt.org Tue Jul 30 06:00:03 2019 From: jjs at krutt.org (JJS) Date: Tue, 30 Jul 2019 12:00:03 +0200 Subject: signature widget (solved) In-Reply-To: References: Message-ID: Ah thanks Hermann. no wonder it's not answering data, it's an array. i have to specify a key. Nice! Op 30-7-2019 om 11:27 schreef hh via use-livecode: > Dictionary > widget.signature > (use Bernd's tinyDict): > > The pathData is a numerically indexed array of path info elements. > Each path info element contains three keys: > > - path - SVG path instructions > - color - the color to paint the path with > - width - the line width of the path > > It is now part of Indy. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Tue Jul 30 06:09:24 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 30 Jul 2019 13:09:24 +0300 Subject: [ANN] Release 9.5.0 RC-2 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.5.0 RC-2. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.5.0 RC-2 comes with 2 regression fixes: 22261 Build error on Windows when barcode scanner widget is included 22269 Sqlite Connection failed on Windows x86-64 standalone Known issues ================ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04+ 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_rc_2.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From jjs at krutt.org Tue Jul 30 06:30:17 2019 From: jjs at krutt.org (JJS) Date: Tue, 30 Jul 2019 12:30:17 +0200 Subject: [ANN] Release 9.5.0 RC-2 In-Reply-To: References: Message-ID: <6101b97a-aee5-a778-100b-3e8dded2db9d@krutt.org> Ok nice, that's fast! Op 30-7-2019 om 12:09 schreef panagiotis merakos via use-livecode: > Dear list members, > > We are pleased to announce the release of LiveCode 9.5.0 RC-2. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 9.5.0 RC-2 comes with 2 regression fixes: > > 22261 Build error on Windows when barcode scanner widget is included > 22269 Sqlite Connection failed on Windows x86-64 standalone > > > Known issues > ================ > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04+ 64 bit > LTS yet. > > The full release notes are available from: > > http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_rc_2.pdf > > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Jul 30 13:03:59 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Jul 2019 17:03:59 +0000 Subject: v 9.5 RC2 Message-ID: <04E4114A-5690-40A0-ACAF-78818CDD668A@iotecdigital.com> Before I open a stack in 9.5 rc2, are there any structural changes made to the stacks? Bob S From dsc at swcp.com Tue Jul 30 13:32:11 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Tue, 30 Jul 2019 11:32:11 -0600 Subject: darzTimer Message-ID: The ancient (but free) darzTimer plugin for precision performance timing does not work on LiveCode 9.5.0 RC 1 64-bit on Windows 10. It uses an embedded external for Windows timing and that might be where the problem is. It still works on 9.0.5. It is due for a redesign. I think another digit can be squeezed out for macOS and jitter can be reduced slightly for both Mac and Windows. I don't know when or if that will happen. From mark at livecode.com Tue Jul 30 13:35:56 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 30 Jul 2019 19:35:56 +0200 Subject: darzTimer In-Reply-To: References: Message-ID: On 2019-07-30 19:32, Dar Scott Consulting via use-livecode wrote: > The ancient (but free) darzTimer plugin for precision performance > timing does not work on LiveCode 9.5.0 RC 1 64-bit on Windows 10. It > uses an embedded external for Windows timing and that might be where > the problem is. It will be - as it won't be built for 64-bit... Whilst 64-bit OSes can run 32-bit applications still - processes can only load shared libraries which have been compiled with the same bitness. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From dsc at swcp.com Tue Jul 30 13:45:23 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Tue, 30 Jul 2019 11:45:23 -0600 Subject: darzTimer In-Reply-To: References: Message-ID: <09A9D9A0-E690-4410-BA40-9F657A0FFA76@swcp.com> Thanks! That is helpful. It makes sense. Does this impact LiveCode Builder and foreign routines? > On Jul 30, 2019, at 11:35 AM, Mark Waddingham via use-livecode wrote: > > On 2019-07-30 19:32, Dar Scott Consulting via use-livecode wrote: >> The ancient (but free) darzTimer plugin for precision performance >> timing does not work on LiveCode 9.5.0 RC 1 64-bit on Windows 10. It >> uses an embedded external for Windows timing and that might be where >> the problem is. > > It will be - as it won't be built for 64-bit... > > Whilst 64-bit OSes can run 32-bit applications still - processes can only > load shared libraries which have been compiled with the same bitness. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Wed Jul 31 11:16:28 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 31 Jul 2019 11:16:28 -0400 Subject: signature widget In-Reply-To: References: Message-ID: How and why would you use this widget? On Tue, Jul 30, 2019 at 5:28 AM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > Dictionary > widget.signature > (use Bernd's tinyDict): > > The pathData is a numerically indexed array of path info elements. > Each path info element contains three keys: > > - path - SVG path instructions > - color - the color to paint the path with > - width - the line width of the path > > It is now part of Indy. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david.bovill at gmail.com Wed Jul 31 11:24:38 2019 From: david.bovill at gmail.com (David Bovill) Date: Wed, 31 Jul 2019 16:24:38 +0100 Subject: Launching a cli server as background process in OSX In-Reply-To: References: Message-ID: I have a server that I would like launch from Livecode. I've tried shell(), launch, open process, and then creatign bash scripts ending with "&" or using screen... no joy so far... In the terminal I run: hugo server and a little go server runs and does it's magic. But try as I can nothing I do let's me launch the server from Livecode - without the script waiting for the never ending process to end and interface freezing. Was about to launch into the world of tmux, or trying Applescript :( Any ideas? From panos.merakos at livecode.com Wed Jul 31 11:52:59 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 31 Jul 2019 18:52:59 +0300 Subject: [ANN] Release 9.5.0 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.5.0 STABLE. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.5.0 STABLE comes with more than 100 bugfixes, compared to the previous STABLE version. Moreover, another 100+ bugfixes, including several memory leak fixes, that were fixed in LiveCode 9.0.x, are now merged into LiveCode 9.5.0. In addition, LiveCode 9.5.0 includes several amazing new features: - New Android Architectures (32/64bit) + support for the latest Google Play Store requirements - Windows 64 bit IDE & deployment support - Static linked code libraries for iOS device builds - Real boolean constants, Infinity constant - Math operation refactor - New container layer mode - New log command and logMessage property - Implement filter where clause - Progress, isSecure and allowUserInteraction features added to browser widget - New returnKeyType & keyboardType field property - Improved sort international to support lots of additional locales - Updated SQLite lib to the latest version - Added support for URI filenames and JSON storage/retrieval in SQLite DBs - Implemented modifier key state access for LCB (e.g. "key is down") - Implemented clip to path for LCB - Several enhancements to Tree View Widget - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers - mobileSetKeyboardReturnKey on android - PDF Widget (Business Edition) - Android Barcode Scanner widget (Business Edition) - Mac status menu library Known issues ================ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From matthias_livecode_150811 at m-r-d.de Wed Jul 31 11:53:27 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 31 Jul 2019 17:53:27 +0200 Subject: Launching a cli server as background process in OSX In-Reply-To: References: Message-ID: Hi, what about using "open process" instead of using shell()? Does that work? Regards, Matthiass Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 31.07.2019 um 17:24 schrieb David Bovill via use-livecode >: > > I have a server that I would like launch from Livecode. I've tried shell(), > launch, open process, and then creatign bash scripts ending with "&" or > using screen... no joy so far... > > In the terminal I run: > > hugo server > > and a little go server runs and does it's magic. But try as I can nothing I > do let's me launch the server from Livecode - without the script waiting > for the never ending process to end and interface freezing. > > Was about to launch into the world of tmux, or trying Applescript :( Any > ideas? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Jul 31 11:59:02 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 31 Jul 2019 17:59:02 +0200 Subject: signature widget In-Reply-To: References: Message-ID: I am not JJS, but i am working on a mobile app for craftsman. After finishing their work at the customers place, they let the customer sign a paper to confirm they?ve done work for them. The paper lists all work they?ve done, all materials they used and any product they left their. The mobile app will replace the paper stuff. Regards, Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 31.07.2019 um 17:16 schrieb Tom Glod via use-livecode >: > > How and why would you use this widget? > > On Tue, Jul 30, 2019 at 5:28 AM hh via use-livecode < > use-livecode at lists.runrev.com > wrote: > >> Dictionary > widget.signature >> (use Bernd's tinyDict): >> >> The pathData is a numerically indexed array of path info elements. >> Each path info element contains three keys: >> >> - path - SVG path instructions >> - color - the color to paint the path with >> - width - the line width of the path >> >> It is now part of Indy. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Jul 31 12:01:13 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 31 Jul 2019 18:01:13 +0200 Subject: signature widget In-Reply-To: References: Message-ID: Ups, should have been ".... left there." Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 31.07.2019 um 17:59 schrieb Matthias Rebbe via use-livecode >: > > > I am not JJS, but i am working on a mobile app for craftsman. After finishing their work at the customers place, they let the customer sign a paper to confirm they?ve done work for them. The paper lists all work they?ve done, all materials they used and any product they left their. > > The mobile app will replace the paper stuff. > > Regards, > > Matthias > > Matthias Rebbe > > free tools for Livecoders: > InstaMaker > > WinSignMaker Mac > > >> Am 31.07.2019 um 17:16 schrieb Tom Glod via use-livecode >>: >> >> How and why would you use this widget? >> >> On Tue, Jul 30, 2019 at 5:28 AM hh via use-livecode < >> use-livecode at lists.runrev.com >> wrote: >> >>> Dictionary > widget.signature >>> (use Bernd's tinyDict): >>> >>> The pathData is a numerically indexed array of path info elements. >>> Each path info element contains three keys: >>> >>> - path - SVG path instructions >>> - color - the color to paint the path with >>> - width - the line width of the path >>> >>> It is now part of Indy. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Jul 31 12:23:59 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 31 Jul 2019 12:23:59 -0400 Subject: signature widget In-Reply-To: References: Message-ID: Oh ok thanks........, so the person can use their finger stylus to sign in the field. So its literally what it says ..... a signature widget.lol...thats useful. On Wed, Jul 31, 2019 at 12:01 PM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Ups, should have been ".... left there." > > Matthias Rebbe > > free tools for Livecoders: > InstaMaker > WinSignMaker Mac > > > Am 31.07.2019 um 17:59 schrieb Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com >: > > > > > > I am not JJS, but i am working on a mobile app for craftsman. After > finishing their work at the customers place, they let the customer sign a > paper to confirm they?ve done work for them. The paper lists all work > they?ve done, all materials they used and any product they left their. > > > > The mobile app will replace the paper stuff. > > > > Regards, > > > > Matthias > > > > Matthias Rebbe > > > > free tools for Livecoders: > > InstaMaker https://instamaker.dermattes.de/>> > > WinSignMaker Mac https://winsignhelper.dermattes.de/>> > > > >> Am 31.07.2019 um 17:16 schrieb Tom Glod via use-livecode < > use-livecode at lists.runrev.com > use-livecode at lists.runrev.com>>>: > >> > >> How and why would you use this widget? > >> > >> On Tue, Jul 30, 2019 at 5:28 AM hh via use-livecode < > >> use-livecode at lists.runrev.com > use-livecode at lists.runrev.com>>> wrote: > >> > >>> Dictionary > widget.signature > >>> (use Bernd's tinyDict): > >>> > >>> The pathData is a numerically indexed array of path info elements. > >>> Each path info element contains three keys: > >>> > >>> - path - SVG path instructions > >>> - color - the color to paint the path with > >>> - width - the line width of the path > >>> > >>> It is now part of Indy. > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > use-livecode at lists.runrev.com>> > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode < > http://lists.runrev.com/mailman/listinfo/use-livecode> > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > use-livecode at lists.runrev.com>> > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode < > http://lists.runrev.com/mailman/listinfo/use-livecode> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 31 12:38:39 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 31 Jul 2019 12:38:39 -0400 Subject: ANSWER: OSX High Sierra and Mojave Double Titlebars or Menubars? In-Reply-To: <4bce3795-91a4-f030-b4a0-a93eb09dfd62@researchware.com> References: <6a44b865-6d91-aef8-d820-a2fffa77ff36@researchware.com> <2fcef526-867d-02f9-51a8-ddd15a925c97@researchware.com> <16c2eeeddb0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4bce3795-91a4-f030-b4a0-a93eb09dfd62@researchware.com> Message-ID: This was a tough bug to pin down, but it is a bug in LC901 through 905rc1 and perhaps earlier with the moveStack handler not always redrawing a stack whose position is adjusted by the handler under OSX (tested on El Capitan and High Sierra) Test stack and recipe reproducing the problem posted to the Quality Center bug: https://quality.livecode.com/show_bug.cgi?id=22267 On 7/26/2019 12:27 PM, Paul Dupuis via use-livecode wrote: > https://quality.livecode.com/show_bug.cgi?id=22267 > > We have a screen recording showing the issue (but not what triggered > it!) that, when I can get it form the QA person who recorded it, I > will post to the bug report. > > In a strange way it is comforting to know some one else is seeing this > issue too. > > > On 7/26/2019 11:38 AM, J. Landman Gay via use-livecode wrote: >> I don't see the problem either but my client does. She can't work >> with our stacks and we probably shouldn't ship if it's a widespread >> issue. Her symptoms are identical to what you describe. >> >> Please write up a bug report and if I can get more info from her I'll >> add to it. We have a hard deadline in about 3 weeks. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On July 26, 2019 9:16:10 AM Paul Dupuis via use-livecode >> wrote: >> >>> On 7/26/2019 12:17 AM, Trevor DeVore via use-livecode wrote: >>>> On Thu, Jul 25, 2019 at 4:05 PM Paul Dupuis via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> I recall a recent (last year/this year - I think) bug where under OSX >>>>> High Sierra or Mojave you could end up with double titlebars in your >>>>> windows or perhaps it was double menubars? >>>>> >>>>> I have spent a big chunk of time searching the Livecode Quality >>>>> Center >>>>> and can not find this bug. >>>>> >>>>> Am I delusional, or was there such a bug and if, so can someone >>>>> point me >>>>> to it? >>>>> >>>> This? https://quality.livecode.com/show_bug.cgi?id=20923 >>>> >>> >>> Yes, thank you. In LiveCode 905rc1 in Standalones on OSX High Sierra we >>> are seeing an odd behavior where -- something happens -- and the mouse >>> position in a window (or a multi-window standalone) is displaced >>> vertically. When you click or drag, LiveCode thinks - just in the >>> window >>> - that the mouse is about 20-30 px above where it currently is. >>> >>> If you move the mouse out of the affected window to another window, it >>> is fine. But if you move it back into the effected window, it is still >>> displaced. If you move the window (aligned by default just under the >>> menubar) down by the displacement amount, the displacement goes away. >>> Move the window back up, the displacement returns. >>> >>> Restart the app and it goes away -- until it occurs again. >>> >>> It is not in our code and happen in different windows at different >>> times. It is definitely an LiveCode bug, but we can not create/discover >>> a recipe for what triggers the bug. It has been suggested that it might >>> be related to the double titlebars bug or to a bug where the LiveCode >>> IDE menubar/pallete cause an similar displacement in the IDE. However, >>> this is in a standalone. >>> >>> It's driving us batty since we can't ship our app with this bug and >>> can't get LiveCode to even consider fixing it until we can produce a >>> test stack with a recipe to reproduce 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 >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 31 12:45:00 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 31 Jul 2019 16:45:00 +0000 Subject: BLOB Storage Errors Message-ID: Hi all. Those familiar with storing file data in SQL blob columns please chime in if you have any ideas. I have added a File Storage module to my SQL based app. Mostly it works a peach, but every now and then I encounter a file that generates some kind of error. I get "mySQL Server has gone away" when I attempt to insert the file. I open the files for binary read so it's the raw file data unadulterated when I insert it. The nature of the files are typically backup information from copiers, so it's likely they contain encryption hashes. They may also contain other data that mySQL does not like. Any ideas? Should I be encoding the data somehow before inserting? Bob S From bobsneidar at iotecdigital.com Wed Jul 31 12:47:16 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 31 Jul 2019 16:47:16 +0000 Subject: ANSWER: OSX High Sierra and Mojave Double Titlebars or Menubars? In-Reply-To: References: <6a44b865-6d91-aef8-d820-a2fffa77ff36@researchware.com> <2fcef526-867d-02f9-51a8-ddd15a925c97@researchware.com> <16c2eeeddb0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4bce3795-91a4-f030-b4a0-a93eb09dfd62@researchware.com> Message-ID: <8057B0CA-5891-4567-AF3C-4BBC3BCD7DC1@iotecdigital.com> This is probably why when I save the location of a stack before closing it, then restore it when I open it, the stack is never exactly where it was before. It shifts down and to the left by the same amount in both directions. Bob S > On Jul 31, 2019, at 09:38 , Paul Dupuis via use-livecode wrote: > > This was a tough bug to pin down, but it is a bug in LC901 through 905rc1 and perhaps earlier with the moveStack handler not always redrawing a stack whose position is adjusted by the handler under OSX (tested on El Capitan and High Sierra) > > Test stack and recipe reproducing the problem posted to the Quality Center bug: https://quality.livecode.com/show_bug.cgi?id=22267 From tom at makeshyft.com Wed Jul 31 13:41:26 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 31 Jul 2019 13:41:26 -0400 Subject: BLOB Storage Errors In-Reply-To: References: Message-ID: I've always avoided using blobs, and have recently been reconsidering (trying to improve performance by not having to baseencode) it..... but now I'm back to not wanting to use blobs. I hope someone here can finally clear this up once and for all.....how and if to use blobs correctly. Thanks Bob :) On Wed, Jul 31, 2019 at 12:45 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all. > > Those familiar with storing file data in SQL blob columns please chime in > if you have any ideas. I have added a File Storage module to my SQL based > app. Mostly it works a peach, but every now and then I encounter a file > that generates some kind of error. I get "mySQL Server has gone away" when > I attempt to insert the file. I open the files for binary read so it's the > raw file data unadulterated when I insert it. > > The nature of the files are typically backup information from copiers, so > it's likely they contain encryption hashes. They may also contain other > data that mySQL does not like. Any ideas? Should I be encoding the data > somehow before inserting? > > 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 jjs at krutt.org Wed Jul 31 15:25:42 2019 From: jjs at krutt.org (JJS) Date: Wed, 31 Jul 2019 21:25:42 +0200 Subject: signature widget In-Reply-To: References: Message-ID: Yes indeed. That was my intention too to use it for such idea. But probably that's where it only will be used for, a proof of sign. Op 31-7-2019 om 18:23 schreef Tom Glod via use-livecode: > Oh ok thanks........, so the person can use their finger stylus to sign in > the field. > > So its literally what it says ..... a signature widget.lol...thats useful. > > On Wed, Jul 31, 2019 at 12:01 PM Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Ups, should have been ".... left there." >> >> Matthias Rebbe >> >> free tools for Livecoders: >> InstaMaker >> WinSignMaker Mac >> >>> Am 31.07.2019 um 17:59 schrieb Matthias Rebbe via use-livecode < >> use-livecode at lists.runrev.com >: >>> >>> I am not JJS, but i am working on a mobile app for craftsman. After >> finishing their work at the customers place, they let the customer sign a >> paper to confirm they?ve done work for them. The paper lists all work >> they?ve done, all materials they used and any product they left their. >>> The mobile app will replace the paper stuff. >>> >>> Regards, >>> >>> Matthias >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >>> InstaMaker > https://instamaker.dermattes.de/>> >>> WinSignMaker Mac > https://winsignhelper.dermattes.de/>> >>>> Am 31.07.2019 um 17:16 schrieb Tom Glod via use-livecode < >> use-livecode at lists.runrev.com >> > use-livecode at lists.runrev.com>>>: >>>> How and why would you use this widget? >>>> >>>> On Tue, Jul 30, 2019 at 5:28 AM hh via use-livecode < >>>> use-livecode at lists.runrev.com >> > use-livecode at lists.runrev.com>>> wrote: >>>>> Dictionary > widget.signature >>>>> (use Bernd's tinyDict): >>>>> >>>>> The pathData is a numerically indexed array of path info elements. >>>>> Each path info element contains three keys: >>>>> >>>>> - path - SVG path instructions >>>>> - color - the color to paint the path with >>>>> - width - the line width of the path >>>>> >>>>> It is now part of Indy. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >> > use-livecode at lists.runrev.com>> >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode < >> http://lists.runrev.com/mailman/listinfo/use-livecode> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >> > use-livecode at lists.runrev.com>> >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode < >> http://lists.runrev.com/mailman/listinfo/use-livecode> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Jul 31 15:37:21 2019 From: jjs at krutt.org (JJS) Date: Wed, 31 Jul 2019 21:37:21 +0200 Subject: BLOB Storage Errors In-Reply-To: References: Message-ID: *i use something like this: * * * *put base64encode(image "productphoto") into tGT* *put URLencode(tGT) into tPrdFt put "phototable=" & tT & "&id=" & gId & "&productphoto=" & tPrdFt into varSendData put? "https://yoursite.com/uploadphoto.php" into tThis post varSendData to URL tThis* *Note that i used php as middleware to my db * * * Op 31-7-2019 om 19:41 schreef Tom Glod via use-livecode: > I've always avoided using blobs, and have recently been reconsidering > (trying to improve performance by not having to baseencode) it..... > > but now I'm back to not wanting to use blobs. > > I hope someone here can finally clear this up once and for all.....how and > if to use blobs correctly. > > Thanks Bob :) > > On Wed, Jul 31, 2019 at 12:45 PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all. >> >> Those familiar with storing file data in SQL blob columns please chime in >> if you have any ideas. I have added a File Storage module to my SQL based >> app. Mostly it works a peach, but every now and then I encounter a file >> that generates some kind of error. I get "mySQL Server has gone away" when >> I attempt to insert the file. I open the files for binary read so it's the >> raw file data unadulterated when I insert it. >> >> The nature of the files are typically backup information from copiers, so >> it's likely they contain encryption hashes. They may also contain other >> data that mySQL does not like. Any ideas? Should I be encoding the data >> somehow before inserting? >> >> 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 francois.chaplais at mines-paristech.fr Wed Jul 31 16:15:07 2019 From: francois.chaplais at mines-paristech.fr (mines-imap) Date: Wed, 31 Jul 2019 22:15:07 +0200 Subject: Launching a cli server as background process in OSX In-Reply-To: References: Message-ID: If i remember correctly, shell() launches a new shell environment. It is possible that your executable is not in the current PATH. I have had this problem to execute pdftex from livecode. Best regards Fran?ois > Le 31 juil. 2019 ? 17:24, David Bovill via use-livecode a ?crit : > > I have a server that I would like launch from Livecode. I've tried shell(), > launch, open process, and then creatign bash scripts ending with "&" or > using screen... no joy so far... > > In the terminal I run: > > hugo server > > and a little go server runs and does it's magic. But try as I can nothing I > do let's me launch the server from Livecode - without the script waiting > for the never ending process to end and interface freezing. > > Was about to launch into the world of tmux, or trying Applescript :( Any > ideas? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 31 16:17:32 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 31 Jul 2019 20:17:32 +0000 Subject: Buttons and DragDrop Message-ID: Buttons respond to drag/drop messages now??? Yer beautiful! Bob S From bobsneidar at iotecdigital.com Wed Jul 31 16:27:51 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 31 Jul 2019 20:27:51 +0000 Subject: Buttons and DragDrop In-Reply-To: References: Message-ID: <6D5833E3-232A-49A8-A2B9-B9A80ACB1D05@iotecdigital.com> Spoke too soon. Tabbed buttons respond to dragEnter but not dragDrop. Why is the dragDrop handler listed in the left pane as a possible handler then? Bob S > On Jul 31, 2019, at 13:17 , Bob Sneidar via use-livecode wrote: > > Buttons respond to drag/drop messages now??? Yer beautiful! > > Bob S From jjs at krutt.org Wed Jul 31 16:59:05 2019 From: jjs at krutt.org (JJS) Date: Wed, 31 Jul 2019 22:59:05 +0200 Subject: BLOB Storage Errors In-Reply-To: References: Message-ID: <8853f745-4efa-79a8-6fe4-99799e4dc055@krutt.org> wel copying the piece of scipt did not go flawless Also i blindly assumed you talked about storing images as BLOB Op 31-7-2019 om 21:37 schreef JJS via use-livecode: > *i use something like this: > * > > * > * > > *put base64encode(image "productphoto") into tGT* > > *put URLencode(tGT) into tPrdFt > put "phototable=" & tT & "&id=" & gId & "&productphoto=" & tPrdFt into > varSendData > put? "https://yoursite.com/uploadphoto.php" into tThis > post varSendData to URL tThis* > > *Note that i used php as middleware to my db > * > > * > * > > Op 31-7-2019 om 19:41 schreef Tom Glod via use-livecode: >> I've always avoided using blobs, and have recently been reconsidering >> (trying to improve performance by not having to baseencode) it..... >> >> but now I'm back to not wanting to use blobs. >> >> I hope someone here can finally clear this up once and for >> all.....how and >> if to use blobs correctly. >> >> Thanks Bob :) >> >> On Wed, Jul 31, 2019 at 12:45 PM Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hi all. >>> >>> Those familiar with storing file data in SQL blob columns please >>> chime in >>> if you have any ideas. I have added a File Storage module to my SQL >>> based >>> app. Mostly it works a peach, but every now and then I encounter a file >>> that generates some kind of error. I get "mySQL Server has gone >>> away" when >>> I attempt to insert the file. I open the files for binary read so >>> it's the >>> raw file data unadulterated when I insert it. >>> >>> The nature of the files are typically backup information from >>> copiers, so >>> it's likely they contain encryption hashes. They may also contain other >>> data that mySQL does not like. Any ideas? Should I be encoding the data >>> somehow before inserting? >>> >>> Bob S >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Jul 31 17:02:05 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 31 Jul 2019 23:02:05 +0200 Subject: Buttons and DragDrop In-Reply-To: <6D5833E3-232A-49A8-A2B9-B9A80ACB1D05@iotecdigital.com> References: <6D5833E3-232A-49A8-A2B9-B9A80ACB1D05@iotecdigital.com> Message-ID: Hi Bob, > Am 31.07.2019 um 22:27 schrieb Bob Sneidar via use-livecode : > > Spoke too soon. Tabbed buttons respond to dragEnter but not dragDrop. Why is the dragDrop handler listed in the left pane as a possible handler then? > > Bob S just made a quick gtest with LC 9.5 on my Mac. These scripts in a TABbed button works as exspected: ---------------------------------------------- on dragEnter set the dragaction to "copy" end dragEnter on dragDrop put the dragdata["files"] into fld 1 end dragDrop ---------------------------------------------- Or did I misunderstand your problem? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Wed Jul 31 17:10:57 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 31 Jul 2019 21:10:57 +0000 Subject: V9.5 may still have issues Message-ID: <7EE8BC8F-CC91-498C-8DCF-B28C47DFD8EB@iotecdigital.com> Hi all. I've been using v9.5 in some form, rc1, rc2 and I regularly crash to desktop about once every hour or two. This last time I wasn't doing anything unusual just adding files to the sql database. I've been doing the same thing over and over, dragging files to a field, and using dragDrop to process them and insert the binary data into a table. I also noticed that the fan on my laptop had been spinning fast for some reason, but after the crash it slowed right down. I'll try to get more vectors, but I think there is sitll something wonky here. Bob S From bobsneidar at iotecdigital.com Wed Jul 31 17:15:07 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 31 Jul 2019 21:15:07 +0000 Subject: BLOB Storage Errors In-Reply-To: <8853f745-4efa-79a8-6fe4-99799e4dc055@krutt.org> References: <8853f745-4efa-79a8-6fe4-99799e4dc055@krutt.org> Message-ID: <0C4C86A7-358A-402F-AD66-162AF5D94A11@iotecdigital.com> It's okay, it's not something I can implement right away. Besides none of the files I really care about are having an issue, but someone is going to try and insert one of these problem files in the future and it's going to crash a standalone. I'll look into it later. I'll just open a file for binary read, read until EOF, base64encode it, base65devoce it, write it binary back to the disk and see if it survives intact. Bob S > On Jul 31, 2019, at 13:59 , JJS via use-livecode wrote: > > wel copying the piece of scipt did not go flawless > > Also i blindly assumed you talked about storing images as BLOB From bobsneidar at iotecdigital.com Wed Jul 31 17:16:04 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 31 Jul 2019 21:16:04 +0000 Subject: V9.5 may still have issues In-Reply-To: <7EE8BC8F-CC91-498C-8DCF-B28C47DFD8EB@iotecdigital.com> References: <7EE8BC8F-CC91-498C-8DCF-B28C47DFD8EB@iotecdigital.com> Message-ID: <4AA902AE-8B4A-4B9A-9653-5560E8C0C738@iotecdigital.com> The speeding fan is because I am downloading LC9.5 Stable so belay that bit. > On Jul 31, 2019, at 14:10 , Bob Sneidar via use-livecode wrote: > > I also noticed that the fan on my laptop had been spinning fast for some reason, but after the crash it slowed right down. From bobsneidar at iotecdigital.com Wed Jul 31 17:26:59 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 31 Jul 2019 21:26:59 +0000 Subject: Buttons and DragDrop In-Reply-To: References: <6D5833E3-232A-49A8-A2B9-B9A80ACB1D05@iotecdigital.com> Message-ID: Klaus, thanks for that. Fields do not require setting the dragAction, and that is what I have been using, so I kept getting the grey stop icon (circle with diagonal line). Your solution works great! I also have a feature called Landing Pad, where I drop something like a complete name and address onto a field and it parses the address into the different fields on the form. Having a nice looking button with a graphic instead of using a field is going to be a nice addition! Thank again! Bob S > On Jul 31, 2019, at 14:02 , Klaus major-k via use-livecode wrote: > > just made a quick gtest with LC 9.5 on my Mac. > These scripts in a TABbed button works as exspected: > ---------------------------------------------- > on dragEnter > set the dragaction to "copy" > end dragEnter > > on dragDrop > put the dragdata["files"] into fld 1 > end dragDrop > ---------------------------------------------- > Or did I misunderstand your problem? > > > Best > > Klaus > > -- > Klaus Major From iphonelagi at gmail.com Wed Jul 31 17:38:09 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 31 Jul 2019 22:38:09 +0100 Subject: V9.5 may still have issues In-Reply-To: <7EE8BC8F-CC91-498C-8DCF-B28C47DFD8EB@iotecdigital.com> References: <7EE8BC8F-CC91-498C-8DCF-B28C47DFD8EB@iotecdigital.com> Message-ID: I crash to desktop within 30 minutes , without too many line changes - probably 25 lines and about 5 debugger breakpoints each time windows 9.5 rc2 I don't think they would have fixed that in a couple of days. I still have a problem Houston .... Lagi On Wed, 31 Jul 2019 at 22:11, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all. > > I've been using v9.5 in some form, rc1, rc2 and I regularly crash to > desktop about once every hour or two. This last time I wasn't doing > anything unusual just adding files to the sql database. I've been doing the > same thing over and over, dragging files to a field, and using dragDrop to > process them and insert the binary data into a table. > > I also noticed that the fan on my laptop had been spinning fast for some > reason, but after the crash it slowed right down. > > I'll try to get more vectors, but I think there is sitll something wonky > here. > > 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 david.bovill at gmail.com Wed Jul 31 18:49:20 2019 From: david.bovill at gmail.com (David Bovill) Date: Wed, 31 Jul 2019 23:49:20 +0100 Subject: Launching a cli server as background process in OSX In-Reply-To: References: Message-ID: Hi Matthias - no open process does not work for OSX unix processes: *Note:* On OS X systems, you can use the open process command to start up an application, but not a Unix process. To work with a Unix process, use the shell func instead. These are all the things I've tried: - *put shell ("hugo server")* - *get shell ("nohup hugo server >&/dev/null")* - *get shell ("screen hugo server")* *I've tried various combinations of this in a bash script:* #!/bin/bash > hugo server > wait > echo "All processes done!" - *get shell ("bash bg_hugo_server.sh")* - *open* process "bash bg_hugo_server.sh" - *launch "bg_hugo_server.sh"* I can't get any of them to work. I tried them with versions that use Livecodes send in time - but still no joy. Pretty sure some combination of bash and Livecode should work - but it's not easy - any ideas? On Wed, 31 Jul 2019 at 21:16, mines-imap via use-livecode < use-livecode at lists.runrev.com> wrote: > If i remember correctly, shell() launches a new shell environment. It is > possible that your executable is not in the current PATH. I have had this > problem to execute pdftex from livecode. > Best regards > Fran?ois > > > Le 31 juil. 2019 ? 17:24, David Bovill via use-livecode < > use-livecode at lists.runrev.com> a ?crit : > > > > I have a server that I would like launch from Livecode. I've tried > shell(), > > launch, open process, and then creatign bash scripts ending with "&" or > > using screen... no joy so far... > > > > In the terminal I run: > > > > hugo server > > > > and a little go server runs and does it's magic. But try as I can > nothing I > > do let's me launch the server from Livecode - without the script waiting > > for the never ending process to end and interface freezing. > > > > Was about to launch into the world of tmux, or trying Applescript :( Any > > ideas? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Wed Jul 31 18:56:05 2019 From: david.bovill at gmail.com (David Bovill) Date: Wed, 31 Jul 2019 23:56:05 +0100 Subject: Launching a cli server as background process in OSX In-Reply-To: References: Message-ID: Thanks Francois - but this is not the issue as the shell function works in that the server is launched via: *put shell ("hugo server")* The issue is that as the shell command runs until you forcibly exit - the Livecode handler freezes and no other scripts or user actions can run - so I want to run the server in the background. See thee links for tutorials that I've looked into for how to run bash scrips in the background: - https://www.one-tab.com/page/Ti44-ap4R--XpgYnFYBoqA On Wed, 31 Jul 2019 at 21:16, mines-imap via use-livecode < use-livecode at lists.runrev.com> wrote: > If i remember correctly, shell() launches a new shell environment. It is > possible that your executable is not in the current PATH. I have had this > problem to execute pdftex from livecode. > Best regards > Fran?ois > > > Le 31 juil. 2019 ? 17:24, David Bovill via use-livecode < > use-livecode at lists.runrev.com> a ?crit : > > > > I have a server that I would like launch from Livecode. I've tried > shell(), > > launch, open process, and then creatign bash scripts ending with "&" or > > using screen... no joy so far... > > > > In the terminal I run: > > > > hugo server > > > > and a little go server runs and does it's magic. But try as I can > nothing I > > do let's me launch the server from Livecode - without the script waiting > > for the never ending process to end and interface freezing. > > > > Was about to launch into the world of tmux, or trying Applescript :( Any > > ideas? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 31 19:00:34 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 31 Jul 2019 23:00:34 +0000 Subject: Play command not working? Message-ID: When I play sounds from the MacOS /system/library/sounds/ folder all I get is noiss. They are aiff files. ?? Bob S From bobsneidar at iotecdigital.com Wed Jul 31 19:04:54 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 31 Jul 2019 23:04:54 +0000 Subject: Play command not working? In-Reply-To: References: Message-ID: Looks like only uncompressed aiff sounds are supported. Doesn't it seem odd that Livecode cannot play sounds native to the Mac OS?? Bob S > On Jul 31, 2019, at 16:00 , Bob Sneidar via use-livecode wrote: > > When I play sounds from the MacOS /system/library/sounds/ folder all I get is noiss. They are aiff files. ?? > > Bob S From bobsneidar at iotecdigital.com Wed Jul 31 19:17:38 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 31 Jul 2019 23:17:38 +0000 Subject: Play command not working? In-Reply-To: References: Message-ID: <1B760357-ED85-47CC-9C1C-4FB8065224E8@iotecdigital.com> NVM I just bought simple converter and converted it to a wav file, then imported it. Works fine. Bob S > On Jul 31, 2019, at 16:04 , Bob Sneidar via use-livecode wrote: > > Looks like only uncompressed aiff sounds are supported. Doesn't it seem odd that Livecode cannot play sounds native to the Mac OS?? > > Bob S From ambassador at fourthworld.com Wed Jul 31 20:47:13 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jul 2019 17:47:13 -0700 Subject: V9.5 may still have issues In-Reply-To: <7EE8BC8F-CC91-498C-8DCF-B28C47DFD8EB@iotecdigital.com> References: <7EE8BC8F-CC91-498C-8DCF-B28C47DFD8EB@iotecdigital.com> Message-ID: <5c2d6374-9015-a1c0-f8cf-e78a9a1115f3@fourthworld.com> Ya' think? ;) -- 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 dsc at swcp.com Wed Jul 31 21:01:09 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Wed, 31 Jul 2019 19:01:09 -0600 Subject: Launching a cli server as background process in OSX In-Reply-To: References: Message-ID: <3885B3A9-3D06-4D91-8BF6-CC427E0642F9@swcp.com> Random thoughts, all untested, most goofy, some incoherent: telnet or ssh shell() open a customized terminal app window group that has a script do ???? as applescript enhance/repair open process launch service at startup, but tweak parameters elsehow Use a tool to turn a shell script into an app and use open process use a command-line tool to launch the service as a demon > On Jul 31, 2019, at 9:24 AM, David Bovill via use-livecode wrote: > > I have a server that I would like launch from Livecode. I've tried shell(), > launch, open process, and then creatign bash scripts ending with "&" or > using screen... no joy so far... > > In the terminal I run: > > hugo server > > and a little go server runs and does it's magic. But try as I can nothing I > do let's me launch the server from Livecode - without the script waiting > for the never ending process to end and interface freezing. > > Was about to launch into the world of tmux, or trying Applescript :( Any > ideas? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 31 21:04:41 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jul 2019 18:04:41 -0700 Subject: Launching a cli server as background process in OSX In-Reply-To: References: Message-ID: <91fe8e9d-16d0-0927-f8dc-8336991d7031@fourthworld.com> What works in Terminal generally works in LC's shell function. Does this work as expected in Terminal but not in LC's shell?: hugo server & Maybe a bug report for that. Does this work?: open process "hugo server" for neither -- 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 Wed Jul 31 22:09:43 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Jul 2019 21:09:43 -0500 Subject: ANSWER: OSX High Sierra and Mojave Double Titlebars or Menubars? In-Reply-To: <8057B0CA-5891-4567-AF3C-4BBC3BCD7DC1@iotecdigital.com> References: <6a44b865-6d91-aef8-d820-a2fffa77ff36@researchware.com> <2fcef526-867d-02f9-51a8-ddd15a925c97@researchware.com> <16c2eeeddb0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4bce3795-91a4-f030-b4a0-a93eb09dfd62@researchware.com> <8057B0CA-5891-4567-AF3C-4BBC3BCD7DC1@iotecdigital.com> Message-ID: <9a580f29-5b51-a51d-1df8-aa8c98d0a77d@hyperactivesw.com> My client's copy doesn't save the position and size of the script editor. Every time she opens it, it appears in the default configuration. Might be related. On 7/31/19 11:47 AM, Bob Sneidar via use-livecode wrote: > This is probably why when I save the location of a stack before closing it, then restore it when I open it, the stack is never exactly where it was before. It shifts down and to the left by the same amount in both directions. > > Bob S > > >> On Jul 31, 2019, at 09:38 , Paul Dupuis via use-livecode wrote: >> >> This was a tough bug to pin down, but it is a bug in LC901 through 905rc1 and perhaps earlier with the moveStack handler not always redrawing a stack whose position is adjusted by the handler under OSX (tested on El Capitan and High Sierra) >> >> Test stack and recipe reproducing the problem posted to the Quality Center bug: https://quality.livecode.com/show_bug.cgi?id=22267 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ahsoftware at sonic.net Wed Jul 31 22:16:12 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 31 Jul 2019 19:16:12 -0700 Subject: Launching a cli server as background process in OSX In-Reply-To: <91fe8e9d-16d0-0927-f8dc-8336991d7031@fourthworld.com> References: <91fe8e9d-16d0-0927-f8dc-8336991d7031@fourthworld.com> Message-ID: <774e54ac-0531-2b79-6cbd-490fcc560ecc@sonic.net> On 7/31/19 6:04 PM, Richard Gaskin via use-livecode wrote: > What works in Terminal generally works in LC's shell function. But not always. It's not a login shell, so the environment variables may well be different. David - did you brew-install hugo? If so then my guess is that you need to provide access to brew for the shell command. Maybe something like set the shellcommand to "/bin/bash" get shell("source ~/.bash_profile ; hugo server ") -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Jul 31 22:26:05 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Jul 2019 21:26:05 -0500 Subject: V9.5 may still have issues In-Reply-To: <7EE8BC8F-CC91-498C-8DCF-B28C47DFD8EB@iotecdigital.com> References: <7EE8BC8F-CC91-498C-8DCF-B28C47DFD8EB@iotecdigital.com> Message-ID: <9522f080-1b37-8770-3f15-311cb357b07f@hyperactivesw.com> On 7/31/19 4:10 PM, Bob Sneidar via use-livecode wrote: > I regularly crash to desktop about once every hour or two. Only once an hour? ;) Yeah, something is off. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com