From heather at livecode.com Mon Mar 2 05:04:50 2020 From: heather at livecode.com (Heather Laine) Date: Mon, 2 Mar 2020 10:04:50 +0000 Subject: test - ignore Message-ID: List restored again? Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From ludovic.thebault at laposte.net Mon Mar 2 08:22:24 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Mon, 2 Mar 2020 14:22:24 +0100 Subject: Mysql library Message-ID: <3033DE2F-7D48-4A7A-8E33-B4DD0FABD423@laposte.net> Hello, I need to connect to a remote mysql database which need a client that support authentication protocol. I cannot tell the server to use the older password hashing algorithm. How do it ? (I?ve Livecode 9.6 indy). Thanks ! Ludovic From michael-kristensen at dsa-net.dk Mon Mar 2 09:01:55 2020 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Mon, 2 Mar 2020 15:01:55 +0100 Subject: Demo of bending a polygon Message-ID: Hi there I have put a demo of bending a polygon here https://forums.livecode.com/viewtopic.php?f=8&t=33750 Michael From bobsneidar at iotecdigital.com Mon Mar 2 10:35:36 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 2 Mar 2020 15:35:36 +0000 Subject: test - ignore In-Reply-To: References: Message-ID: <4FF95B41-CB4F-42BE-A505-2A2DBC3F5AC9@iotecdigital.com> Jes. Bob S > On Mar 2, 2020, at 02:04 , Heather Laine via use-livecode wrote: > > List restored again? > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Mar 2 11:44:24 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 2 Mar 2020 17:44:24 +0100 Subject: Mysql library In-Reply-To: <3033DE2F-7D48-4A7A-8E33-B4DD0FABD423@laposte.net> References: <3033DE2F-7D48-4A7A-8E33-B4DD0FABD423@laposte.net> Message-ID: <6D62AA27-DD2E-493A-8DF1-300DEB9569CD@m-r-d.de> Hi, the people at HostM created a free API solution which allows a LC Desktop or Mobile app to communicate over https with a Maria DB (compatible with MySQL) using Livecode Server. You can download their api solution here Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 02.03.2020 um 14:22 schrieb Ludovic THEBAULT via use-livecode : > > Hello, > > I need to connect to a remote mysql database which need a client that support authentication protocol. I cannot tell the server to use the older password hashing algorithm. > > How do it ? (I?ve Livecode 9.6 indy). > > Thanks ! > > Ludovic > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ludovic.thebault at laposte.net Mon Mar 2 12:08:28 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Mon, 2 Mar 2020 18:08:28 +0100 Subject: Mysql library In-Reply-To: <6D62AA27-DD2E-493A-8DF1-300DEB9569CD@m-r-d.de> References: <3033DE2F-7D48-4A7A-8E33-B4DD0FABD423@laposte.net> <6D62AA27-DD2E-493A-8DF1-300DEB9569CD@m-r-d.de> Message-ID: > Le 2 mars 2020 ? 17:44, matthias rebbe via use-livecode a ?crit : > > Hi, > > the people at HostM created a free API solution which allows a LC Desktop or Mobile app to communicate over https with a Maria DB (compatible with MySQL) using Livecode Server. > > You can download their api solution here Thanks ! From panos.merakos at livecode.com Mon Mar 2 12:35:26 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 2 Mar 2020 19:35:26 +0200 Subject: [ANN] This Week in LiveCode 215 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 #215 here: http://bit.ly/39hb2JJ 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 paul at researchware.com Mon Mar 2 16:04:49 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 2 Mar 2020 16:04:49 -0500 Subject: Powerpoint to LiveCode Message-ID: Out of curiosity, has anyone created a library that will import? - the parts of a Powerpoint presentation that can be recreated in Livecode -? into a LiveCode stack? Of course .pptx files are actuall just ZIP archives with assorted XML files inside, while there is a path to importing .pptx files, it is not simple. Use revZIP to open the .pptx file, use revXML (or your howm grown xml parser) to extract the XML for each slide (each a separate file in the archive) and rectreate those slide elements support in LiveCode. So, I know HOW to do it. I am asking if any one has already built such a library (or even started it)? From bobsneidar at iotecdigital.com Mon Mar 2 16:57:00 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 2 Mar 2020 21:57:00 +0000 Subject: Powerpoint to LiveCode In-Reply-To: References: Message-ID: <1E15E4A8-BFD4-426D-99E4-D038A04374F9@iotecdigital.com> The XML parser is going to be the pig. Bob S > On Mar 2, 2020, at 13:04 , Paul Dupuis via use-livecode wrote: > > Out of curiosity, has anyone created a library that will import - the parts of a Powerpoint presentation that can be recreated in Livecode - into a LiveCode stack? > > Of course .pptx files are actuall just ZIP archives with assorted XML files inside, while there is a path to importing .pptx files, it is not simple. Use revZIP to open the .pptx file, use revXML (or your howm grown xml parser) to extract the XML for each slide (each a separate file in the archive) and rectreate those slide elements support in LiveCode. > > So, I know HOW to do it. > > I am asking if any one has already built such a library (or even started it)? From harrison at all-auctions.com Mon Mar 2 19:39:00 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 2 Mar 2020 19:39:00 -0500 Subject: Powerpoint to LiveCode In-Reply-To: References: Message-ID: Hi Paul, If you had access to a Mac you could import your Powerpoint presentation to Keynote, make whatever changes you want and then Export it as HTML. It?s really cool how it works. Keynote can also Export to Powerpoint too, as well as PDFs. Then import into LiveCode? Just my 2 cents. Rick > On Mar 2, 2020, at 4:04 PM, Paul Dupuis via use-livecode wrote: > > Out of curiosity, has anyone created a library that will import - the parts of a Powerpoint presentation that can be recreated in Livecode - into a LiveCode stack? > > Of course .pptx files are actuall just ZIP archives with assorted XML files inside, while there is a path to importing .pptx files, it is not simple. Use revZIP to open the .pptx file, use revXML (or your howm grown xml parser) to extract the XML for each slide (each a separate file in the archive) and rectreate those slide elements support in LiveCode. > > So, I know HOW to do it. > > I am asking if any one has already built such a library (or even started 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 Mon Mar 2 20:28:39 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 2 Mar 2020 20:28:39 -0500 Subject: Powerpoint to LiveCode In-Reply-To: References: Message-ID: Hi Rick, Powerpoint can export to HTML, and while I have not looked at Keynote's HTML export, I think you would be just trading one problem at file parsing for another. Tools like PowerPoint and Keynote export to HTML with CSS, so you can't just: set the htmlText of field x to URL tPresentationFile You'd still have to parse the HTML/CSS into something LiveCode can understand. Again, I know how to do this. My questions is: Has someone already done it or even part of it? On 3/2/2020 7:39 PM, Rick Harrison via use-livecode wrote: > Hi Paul, > > If you had access to a Mac you could import > your Powerpoint presentation to Keynote, make > whatever changes you want and then Export it > as HTML. It?s really cool how it works. > > Keynote can also Export to Powerpoint too, as > well as PDFs. > > Then import into LiveCode? > > Just my 2 cents. > > Rick > >> On Mar 2, 2020, at 4:04 PM, Paul Dupuis via use-livecode wrote: >> >> Out of curiosity, has anyone created a library that will import - the parts of a Powerpoint presentation that can be recreated in Livecode - into a LiveCode stack? >> >> Of course .pptx files are actuall just ZIP archives with assorted XML files inside, while there is a path to importing .pptx files, it is not simple. Use revZIP to open the .pptx file, use revXML (or your howm grown xml parser) to extract the XML for each slide (each a separate file in the archive) and rectreate those slide elements support in LiveCode. >> >> So, I know HOW to do it. >> >> I am asking if any one has already built such a library (or even started 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 ambassador at fourthworld.com Mon Mar 2 21:52:04 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 2 Mar 2020 18:52:04 -0800 Subject: Powerpoint to LiveCode In-Reply-To: <1E15E4A8-BFD4-426D-99E4-D038A04374F9@iotecdigital.com> References: <1E15E4A8-BFD4-426D-99E4-D038A04374F9@iotecdigital.com> Message-ID: <8608653c-75c4-0b39-0fcd-072bd5038009@fourthworld.com> Bob Sneidar wrote: > The XML parser is going to be the pig. Would it? I've found the revXML external to be pretty nice. I was able to use it with the revZip external to transform Word/odoc into an LC styledText array in an afternoon (at least the basics I needed at the time). -- 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 terry.judd at unimelb.edu.au Mon Mar 2 21:56:58 2020 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 3 Mar 2020 02:56:58 +0000 Subject: Powerpoint to LiveCode In-Reply-To: References: Message-ID: Hi Paul - I haven't done it although I have gone the other way, creating content/media with LiveCode and merging it (text, images, audio files) into a PPT template file (which is then converted to Keynote and exported as a video). Anyway, getting access to the screen content/media for each PPT screen is like you say relatively straightforward, not sure about parsing the slideX.xml files once you get it into an LC array though, like most MS generated files that structure looks very messy. Terry... ?On 3/3/20, 12:29 pm, "use-livecode on behalf of Paul Dupuis via use-livecode" wrote: Hi Rick, Powerpoint can export to HTML, and while I have not looked at Keynote's HTML export, I think you would be just trading one problem at file parsing for another. Tools like PowerPoint and Keynote export to HTML with CSS, so you can't just: set the htmlText of field x to URL tPresentationFile You'd still have to parse the HTML/CSS into something LiveCode can understand. Again, I know how to do this. My questions is: Has someone already done it or even part of it? On 3/2/2020 7:39 PM, Rick Harrison via use-livecode wrote: > Hi Paul, > > If you had access to a Mac you could import > your Powerpoint presentation to Keynote, make > whatever changes you want and then Export it > as HTML. It?s really cool how it works. > > Keynote can also Export to Powerpoint too, as > well as PDFs. > > Then import into LiveCode? > > Just my 2 cents. > > Rick > >> On Mar 2, 2020, at 4:04 PM, Paul Dupuis via use-livecode wrote: >> >> Out of curiosity, has anyone created a library that will import - the parts of a Powerpoint presentation that can be recreated in Livecode - into a LiveCode stack? >> >> Of course .pptx files are actuall just ZIP archives with assorted XML files inside, while there is a path to importing .pptx files, it is not simple. Use revZIP to open the .pptx file, use revXML (or your howm grown xml parser) to extract the XML for each slide (each a separate file in the archive) and rectreate those slide elements support in LiveCode. >> >> So, I know HOW to do it. >> >> I am asking if any one has already built such a library (or even started 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 paul at researchware.com Tue Mar 3 08:14:45 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 3 Mar 2020 08:14:45 -0500 Subject: Powerpoint to LiveCode In-Reply-To: References: Message-ID: <49e6547f-1d39-10e9-1d19-71d2431ef16a@researchware.com> On 3/2/2020 4:04 PM, Paul Dupuis via use-livecode wrote: > Out of curiosity, has anyone created a library that will import? - the > parts of a Powerpoint presentation that can be recreated in Livecode > -? into a LiveCode stack? > > Of course .pptx files are actuall just ZIP archives with assorted XML > files inside, while there is a path to importing .pptx files, it is > not simple. Use revZIP to open the .pptx file, use revXML (or your > howm grown xml parser) to extract the XML for each slide (each a > separate file in the archive) and rectreate those slide elements > support in LiveCode. > > So, I know HOW to do it. > > I am asking if any one has already built such a library (or even > started it)? I should preemptively add that I am not looking for the slides to be imported as images. The whole purpose of parsing the pptx file's XML is to convert the presentation into LiveCode elements (imported objects like 'image' for any art work, 'graphic' for all line drawing, and 'field' for any text, so that the LC object are then manipulable in LC. The work is not in revZip - I've worked with it a lot. And, as Richard said, the work is not with revXML - I've used that a lot too and it work very nicely for parsing XML quickly. The work is entirely in mapping those Microsoft XML for Powerpoint elements that can be mapped to corresponding? LC elements and mapping all the properties (colors, sizes, etc.) and coding those mapping. A lot of Microsoft stuff can be thrown away. I don't need it as a presentation, just the information in the file. So transitions, effects, presentation timings, etc, can all be ignored. I hate reinventing the wheel. Which is why I was asking if anyone out there may have done such a library or even started such a library. I would rather build on something existing. It you have such a library and do not want to give it away, I'd like to discuss possible licensing. If you have such a library but it is only partially complete, I'd like to discuss a collaboration. However, if nothing has been started or no library exists, I'll just do it in-house, if we go ahead and do a library at all.. From bobsneidar at iotecdigital.com Tue Mar 3 10:42:10 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 3 Mar 2020 15:42:10 +0000 Subject: Powerpoint to LiveCode In-Reply-To: <8608653c-75c4-0b39-0fcd-072bd5038009@fourthworld.com> References: <1E15E4A8-BFD4-426D-99E4-D038A04374F9@iotecdigital.com> <8608653c-75c4-0b39-0fcd-072bd5038009@fourthworld.com> Message-ID: Maybe it's just me, but I read through the XML library and I couldn't come up with a method for parsing an XML file produced by one of our copier vendors. Granted, the XML was really complex. But just the process of drilling down into the XML seemed so onerous, I gave up. I suppose too that understanding the structure of the specific XML is important, and the structure of the file I was parsing is almost hopelessly complex. I looked at the XML lesson, but it is really basic. If anyone has an XML parser that can convert to text or even better an array, in a format that can be easily converted back to the exact same XML that produced it, that would go a long way to getting me up to speed on it. I suppose if I understood the constraints of XML I could do better. Bob S > On Mar 2, 2020, at 18:52 , Richard Gaskin via use-livecode wrote: > > Bob Sneidar wrote: > > > The XML parser is going to be the pig. > > Would it? I've found the revXML external to be pretty nice. > > I was able to use it with the revZip external to transform Word/odoc into an LC styledText array in an afternoon (at least the basics I needed at the time). > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From ambassador at fourthworld.com Tue Mar 3 10:49:56 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 3 Mar 2020 07:49:56 -0800 Subject: directory tree -> array In-Reply-To: <0C9BC3FB-C81E-4FDB-9064-BEA13FBDC515@mail.com> References: <0C9BC3FB-C81E-4FDB-9064-BEA13FBDC515@mail.com> Message-ID: <7cc60850-af7a-6d53-e3c5-4199889da2d2@fourthworld.com> Support has restored the thread - you can find it in the "Talking LiveCode" section of the forums: https://forums.livecode.com/viewtopic.php?f=135&t=33565 -- Richard Gaskin Fourth World Systems Dick Kriesel wrote: >> On Jan 22, 2020, at 10:17 AM, Richard Gaskin via use-livecode wrote: >> >> I stumbled across a code challenge for y'all, one that seems seductively simple but I don't think it is: >> >> What is the simplest way to build an array that reflects the files and folders within a given folder? >> >> There's a discussion about this here: >> >> https://forums.livecode.com/viewtopic.php?f=7&t=33565 >> >> >> On Jan 22, 2020, at 10:26 AM, Richard Gaskin via use-livecode wrote: > >> >> We have many handlers that deliver directory trees as lists, but arrays are a different beast. Because the depth is both unknowable and varied, I can't think of a way to do this without resorting to "do". > > > > Since that thread vanished last week, and hasn?t returned, I'm offering help here instead. > > The list of full paths contains enough information to build an array representation of the directory tree. > > > /** > > Summary: Given a list of full paths, and given the partial path they share, build an array representing the directory structure > > pPaths: a return-delimited list of full paths > > pPath: the path that was used to generate the list of full paths > > Returns (array): A array with a branch node for each folder and a leaf node for each file > > Description: Eliminate pPath from every line of pPaths. Then insert each line into an array. > > email subject "directory tree -> array" > > forum topic "f=7&t=33565" > > */ > > > function arrayFromPaths pPaths, pPath -- a list of full paths, and the path that was used to generate the list > > local tPaths, tFile, tArray > > set the itemDelimiter to "/" > > > put char 2 to -1 of replaceText( cr & pPaths, cr & pPath & slash, cr ) into tPaths -- eliminate pPath from every full path > > repeat for each line tPath in tPaths -- insert each file name into the array > > put the last item of tPath into tFile > > delete the last item of tPath > > if tPath is empty then -- the file is in folder pPath > > put "true" into tArray[ tFile ] > > else -- the file is in a folder in folder pPath > > split tPath by slash > > put "true" into tArray[ tPath ][ tFile ] > > end if > > end repeat > > > return tArray > > end arrayFromPaths > > > on mouseUp > > local tPaths = "a/b/c,a/b/d/e,a/b/d/f" -- folder a/b contains file c and folder d, which contains files e and f > > local tPath = "a/b" -- the shared partial path > > replace comma with cr in tPaths > > > get arrayFromPaths( tPaths, tPath ) > > > breakpoint > > end mouseUp > > > > > If the topic reappears soon, I?ll repost there because reading code is easier there. > > By, the way, thanks to RG for the bug report on my earlier posting in the now-vanished thread. > > ? Dick > From rdimola at evergreeninfo.net Tue Mar 3 11:14:37 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 3 Mar 2020 11:14:37 -0500 Subject: iOS background behavior In-Reply-To: <17087c19a28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <005901d5ecff$7adc4810$7094d830$@net> <17085036488.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <06402F00-090D-4DD8-9731-0B20252CBCB6@m-r-d.de> <17087c19a28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <003f01d5f176$d94ee940$8becbbc0$@net> I guess there's no solution for older devices. I can't test on a device anymore unless I buy an new device. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Thursday, February 27, 2020 12:46 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: iOS background behavior Thanks for finding that, Matthias. I guess standalone settings should remove that key now. That does bring up the problem of what we can do for users of older versions of iOS to prevent a relaunch of the app. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 27, 2020 2:18:19 AM matthias rebbe via use-livecode wrote: > Regarding to this forum post from the 18th of January here > nvalid-key-uiapplicationexitsonsuspend/> > Apple Transporter returns the following error when that key is > included > > > ERROR ITMS-90339: "This bundle is invalid. The Info.plist contains an > invalid key 'UIApplicationExitsOnSuspend' in bundle xxx [xxx.app]" > Return status of iTunes Transporter was 1: ERROR ITMS-90339: "This > bundle is invalid. The Info.plist contains an invalid key > 'UIApplicationExitsOnSuspend' in bundle xxx [xxx.app]" > > was changed in January. > > If i remember right then before that iTunes Transporter returned that > message when the key was included > > ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key > 'UIApplicationExitsOnSuspend' in bundle xxx [xxx.app] that will soon > be unsupported. Remove the key, rebuild your app and resubmit. > > So it seems Apple changed that in January or so. > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 27.02.2020 um 05:59 schrieb J. Landman Gay via use-livecode >> : >> >> I'm not sure, I haven't actually submitted the app yet. I happened to >> see a comment somewhere (stackOverflow maybe?) that said his app was >> rejected because of that key inclusion. Maybe he really only got a >> warning, and just said it was rejected. The error does say the bundle is invalid. >> >> I'll keep the key and see what happens soon when I do submit. It's >> encouraging that yours was accepted recently. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive >> Software | http://www.hyperactivesw.com On February 26, 2020 5:48:24 >> PM Ralph DiMola via use-livecode >> wrote: >> >>> Is it a rejection or a warning. I just submitted an app in January >>> and received a warning and was approved. Are apps now being rejected >>> if the 'UIApplicationExitsOnSuspend key is included? What about >>> devices not running iOS 13. I test on an iPad mini running iOS >>> 12.4.5. If this key is eliminated then older devices or devices not >>> updated to iOS 13 will shut the app down when losing focus even if iOS 13 enables background execution by default. >>> >>> 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, February 26, 2020 5:55 PM >>> To: LiveCode Mailing List >>> Cc: J. Landman Gay >>> Subject: iOS background behavior >>> >>> In iOS 13 I thought all apps run in the background automatically. >>> Mine isn't, you end up on the login screen every time you switch >>> apps or answer a phone call. >>> >>> We used to be able to turn on "enable background execution" in >>> standalone settings but as I understand it, Apple now rejects apps >>> that use that. How would I get my app to stop shutting down every >>> time you leave it? Or am I wrong about the background option in standalone settings? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Mar 3 11:30:09 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Mar 2020 10:30:09 -0600 Subject: iOS background behavior In-Reply-To: <003f01d5f176$d94ee940$8becbbc0$@net> References: <005901d5ecff$7adc4810$7094d830$@net> <17085036488.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <06402F00-090D-4DD8-9731-0B20252CBCB6@m-r-d.de> <17087c19a28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <003f01d5f176$d94ee940$8becbbc0$@net> Message-ID: <170a13bb268.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You can test, the app runs fine. You just can't submit to the App Store with that key in the plist. I have the same problem. All our users who can't update to iOS 13 will be stuck back at the login screen after every phone call. Apple is being very short sighted about this. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 3, 2020 10:13:00 AM Ralph DiMola via use-livecode wrote: > I guess there's no solution for older devices. I can't test on a device > anymore unless I buy an new device. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of J. Landman Gay via use-livecode > Sent: Thursday, February 27, 2020 12:46 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: iOS background behavior > > Thanks for finding that, Matthias. I guess standalone settings should remove > that key now. > > That does bring up the problem of what we can do for users of older versions > of iOS to prevent a relaunch of the app. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | > http://www.hyperactivesw.com On February 27, 2020 2:18:19 AM matthias rebbe > via use-livecode wrote: > >> Regarding to this forum post from the 18th of January here >> > nvalid-key-uiapplicationexitsonsuspend/> >> Apple Transporter returns the following error when that key is >> included >> >> >> ERROR ITMS-90339: "This bundle is invalid. The Info.plist contains an >> invalid key 'UIApplicationExitsOnSuspend' in bundle xxx [xxx.app]" >> Return status of iTunes Transporter was 1: ERROR ITMS-90339: "This >> bundle is invalid. The Info.plist contains an invalid key >> 'UIApplicationExitsOnSuspend' in bundle xxx [xxx.app]" >> >> was changed in January. >> >> If i remember right then before that iTunes Transporter returned that >> message when the key was included >> >> ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key >> 'UIApplicationExitsOnSuspend' in bundle xxx [xxx.app] that will soon >> be unsupported. Remove the key, rebuild your app and resubmit. >> >> So it seems Apple changed that in January or so. >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 27.02.2020 um 05:59 schrieb J. Landman Gay via use-livecode >>> : >>> >>> I'm not sure, I haven't actually submitted the app yet. I happened to >>> see a comment somewhere (stackOverflow maybe?) that said his app was >>> rejected because of that key inclusion. Maybe he really only got a >>> warning, and just said it was rejected. The error does say the bundle is > invalid. >>> >>> I'll keep the key and see what happens soon when I do submit. It's >>> encouraging that yours was accepted recently. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive >>> Software | http://www.hyperactivesw.com On February 26, 2020 5:48:24 >>> PM Ralph DiMola via use-livecode >>> wrote: >>> >>>> Is it a rejection or a warning. I just submitted an app in January >>>> and received a warning and was approved. Are apps now being rejected >>>> if the 'UIApplicationExitsOnSuspend key is included? What about >>>> devices not running iOS 13. I test on an iPad mini running iOS >>>> 12.4.5. If this key is eliminated then older devices or devices not >>>> updated to iOS 13 will shut the app down when losing focus even if iOS > 13 enables background execution by default. >>>> >>>> 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, February 26, 2020 5:55 PM >>>> To: LiveCode Mailing List >>>> Cc: J. Landman Gay >>>> Subject: iOS background behavior >>>> >>>> In iOS 13 I thought all apps run in the background automatically. >>>> Mine isn't, you end up on the login screen every time you switch >>>> apps or answer a phone call. >>>> >>>> We used to be able to turn on "enable background execution" in >>>> standalone settings but as I understand it, Apple now rejects apps >>>> that use that. How would I get my app to stop shutting down every >>>> time you leave it? Or am I wrong about the background option in > standalone settings? >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription >>>> preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Tue Mar 3 11:46:33 2020 From: mark at livecode.com (Mark Waddingham) Date: Tue, 03 Mar 2020 16:46:33 +0000 Subject: iOS background behavior In-Reply-To: <170a13bb268.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <005901d5ecff$7adc4810$7094d830$@net> <17085036488.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <06402F00-090D-4DD8-9731-0B20252CBCB6@m-r-d.de> <17087c19a28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <003f01d5f176$d94ee940$8becbbc0$@net> <170a13bb268.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4e3f8a647cc1c310a0a146f918f4d0ae@livecode.com> On 2020-03-03 16:30, J. Landman Gay via use-livecode wrote: > You can test, the app runs fine. You just can't submit to the App > Store with that key in the plist. > > I have the same problem. All our users who can't update to iOS 13 will > be stuck back at the login screen after every phone call. Apple is > being very short sighted about this. Brief google searches seem to suggest that since a-not-yet-determined version of iOS the lack of the relevant plist key (exits-on-suspend) means that the app will not exit on suspend... I found a reference to saying this change happened in iOS11 onwards - but couldn't find an explicit reference to it. So, in theory, that means that not having the key will mean your app should work the same on iOS11+ (again, this isn't anything I've tested myself, just info gleaned from google). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From dan at clearvisiontech.com Tue Mar 3 13:18:29 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 3 Mar 2020 18:18:29 +0000 Subject: mobileGetDeviceToken Message-ID: Greeting! On iOS, prior to LC 9.6, mobileGetDeviceToken() would return something like this: <965b251c 6cb1926d e3cb366f dfb16ddd e6b9086a 8a3cac9e 5f857679 376eab7C> However, with LC 9.6, I'm getting this: {length=32,bytes=0xd923cbf42faacfae79b44e252fc64fc3...6c57203f87b56e10} Anyone know how to extract a valid token from this?? From what I read here, https://nshipster.com/apns-device-tokens/, LC isn't returning what we need -- the token. -Dan From mark at livecode.com Tue Mar 3 13:32:27 2020 From: mark at livecode.com (Mark Waddingham) Date: Tue, 03 Mar 2020 18:32:27 +0000 Subject: mobileGetDeviceToken In-Reply-To: References: Message-ID: On 2020-03-03 18:18, Dan Friedman via use-livecode wrote: > Greeting! On iOS, prior to LC 9.6, mobileGetDeviceToken() would > return something like this: > > <965b251c 6cb1926d e3cb366f dfb16ddd e6b9086a 8a3cac9e 5f857679 > 376eab7C> > > However, with LC 9.6, I'm getting this: > > {length=32,bytes=0xd923cbf42faacfae79b44e252fc64fc3...6c57203f87b56e10} > > Anyone know how to extract a valid token from this?? Unfortunately you cannot. The problem occurred because we are now building against the iOS13 SDK... Apple decided to change the return value of an internal call used to turn the binary id into a string :| A fix for this has already been merged, and will appear in 9.6-DP-3: QCC Report: Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From dan at clearvisiontech.com Tue Mar 3 13:43:45 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 3 Mar 2020 18:43:45 +0000 Subject: mobileGetDeviceToken In-Reply-To: References: Message-ID: Mark, Yes, I realized that the issue is a change in iOS 13 after I posted. Thank you for the news of pending the update. Do you know when will DP3 be available? I have apps that are failing as we speak. -Dan ?On 3/3/20, 10:32 AM, "Mark Waddingham via use-livecode" wrote: On 2020-03-03 18:18, Dan Friedman via use-livecode wrote: > Greeting! On iOS, prior to LC 9.6, mobileGetDeviceToken() would > return something like this: > > <965b251c 6cb1926d e3cb366f dfb16ddd e6b9086a 8a3cac9e 5f857679 > 376eab7C> > > However, with LC 9.6, I'm getting this: > > {length=32,bytes=0xd923cbf42faacfae79b44e252fc64fc3...6c57203f87b56e10} > > Anyone know how to extract a valid token from this?? Unfortunately you cannot. The problem occurred because we are now building against the iOS13 SDK... Apple decided to change the return value of an internal call used to turn the binary id into a string :| A fix for this has already been merged, and will appear in 9.6-DP-3: QCC Report: 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 jacque at hyperactivesw.com Tue Mar 3 15:39:35 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 3 Mar 2020 14:39:35 -0600 Subject: iOS background behavior In-Reply-To: <4e3f8a647cc1c310a0a146f918f4d0ae@livecode.com> References: <005901d5ecff$7adc4810$7094d830$@net> <17085036488.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <06402F00-090D-4DD8-9731-0B20252CBCB6@m-r-d.de> <17087c19a28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <003f01d5f176$d94ee940$8becbbc0$@net> <170a13bb268.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4e3f8a647cc1c310a0a146f918f4d0ae@livecode.com> Message-ID: <6cf80380-6f8c-45f9-5c46-b94b803eb94b@hyperactivesw.com> On 3/3/20 10:46 AM, Mark Waddingham via use-livecode wrote: > On 2020-03-03 16:30, J. Landman Gay via use-livecode wrote: >> You can test, the app runs fine. You just can't submit to the App >> Store with that key in the plist. >> >> I have the same problem. All our users who can't update to iOS 13 will >> be stuck back at the login screen after every phone call. Apple is >> being very short sighted about this. > > Brief google searches seem to suggest that since a-not-yet-determined > version of iOS the lack of the relevant plist key (exits-on-suspend) > means that the app will not exit on suspend... I found a reference to > saying this change happened in iOS11 onwards - but couldn't find an > explicit reference to it. > > So, in theory, that means that not having the key will mean your app > should work the same on iOS11+ (again, this isn't anything I've tested > myself, just info gleaned from google). That's an improvement I guess, though it reverses the problem; there are some apps that do want the user to get pushed back to the launch screen every time. But I think that's a much rarer situation. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at hyperhh.de Tue Mar 3 15:47:26 2020 From: hh at hyperhh.de (hh) Date: Tue, 3 Mar 2020 21:47:26 +0100 Subject: LCB widget "BioRhythm" v1.0.0 Message-ID: <0B7D202F-BAE8-47E0-BC5F-DE10F4D78D2C@hyperhh.de> The widget computes BioRhythm-Curves (sinus curves with different periods of days). The 7 names and their periods are: physical 23, emotional 28, intellectual 33, spiritual 53, awareness 48, aesthetic 43, intuition 38. Moreover you can have a weighted mean of the included of these 7 curves. Display the values (in range -100 to 100) as graph or as table. Some may find this widget to be "esoteric". A main reason I made it was to show a smooth display of curves (that is not possible in LC Script) and to exercise the display of a table. Read more, download the widget and a sample stack from (server loc EU) https://hyperhh.de/widgets/biorhythm.html or (server loc US) https://hh.on-rev.com/widgets/biorhythm.html From matthias_livecode_150811 at m-r-d.de Tue Mar 3 16:02:07 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 3 Mar 2020 22:02:07 +0100 Subject: LCB widget "BioRhythm" v1.0.0 In-Reply-To: <0B7D202F-BAE8-47E0-BC5F-DE10F4D78D2C@hyperhh.de> References: <0B7D202F-BAE8-47E0-BC5F-DE10F4D78D2C@hyperhh.de> Message-ID: Oh, this makes me remembering the good old times when i coded a simple biorythm program on my Commodore C64 and printed the output on a thermal printer. Couldn?t resist to download it, although i think that my real biorythm is not the same as the ones that are computed by programs. ;) Thanks Hermann for another nice widget. Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 03.03.2020 um 21:47 schrieb hh via use-livecode : > > The widget computes BioRhythm-Curves (sinus curves with different > periods of days). > > The 7 names and their periods are: physical 23, emotional 28, > intellectual 33, spiritual 53, awareness 48, aesthetic 43, > intuition 38. Moreover you can have a weighted mean of the > included of these 7 curves. > > Display the values (in range -100 to 100) as graph or as table. > > Some may find this widget to be "esoteric". A main reason I made > it was to show a smooth display of curves (that is not possible > in LC Script) and to exercise the display of a table. > > Read more, download the widget and a sample stack from > (server loc EU) https://hyperhh.de/widgets/biorhythm.html > or > (server loc US) https://hh.on-rev.com/widgets/biorhythm.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 rdimola at evergreeninfo.net Tue Mar 3 17:09:40 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 3 Mar 2020 17:09:40 -0500 Subject: LCB widget "BioRhythm" v1.0.0 In-Reply-To: References: <0B7D202F-BAE8-47E0-BC5F-DE10F4D78D2C@hyperhh.de> Message-ID: <005901d5f1a8$72b56d30$58204790$@net> I did mine on a handheld TRS 80 with a 1 line dot-matrix. It plugged it into a dot-matrix 2 inch wide roll fed printer to print out a biorhythm. I still have it and funny enough I just powered it up a couple of days ago and it still works. When I brought to work and someone said that in the tty-33 days he imagined that one day a computer could fit inside the tty-33 and was amazed at the trs-80 handheld. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of matthias rebbe via use-livecode Sent: Tuesday, March 03, 2020 4:02 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: LCB widget "BioRhythm" v1.0.0 Oh, this makes me remembering the good old times when i coded a simple biorythm program on my Commodore C64 and printed the output on a thermal printer. Couldn?t resist to download it, although i think that my real biorythm is not the same as the ones that are computed by programs. ;) Thanks Hermann for another nice widget. Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 03.03.2020 um 21:47 schrieb hh via use-livecode : > > The widget computes BioRhythm-Curves (sinus curves with different > periods of days). > > The 7 names and their periods are: physical 23, emotional 28, > intellectual 33, spiritual 53, awareness 48, aesthetic 43, intuition > 38. Moreover you can have a weighted mean of the included of these 7 > curves. > > Display the values (in range -100 to 100) as graph or as table. > > Some may find this widget to be "esoteric". A main reason I made it > was to show a smooth display of curves (that is not possible in LC > Script) and to exercise the display of a table. > > Read more, download the widget and a sample stack from (server loc EU) > https://hyperhh.de/widgets/biorhythm.html > or > (server loc US) https://hh.on-rev.com/widgets/biorhythm.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jerry at jhjensen.com Tue Mar 3 17:50:32 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Tue, 3 Mar 2020 14:50:32 -0800 Subject: LCB widget "BioRhythm" v1.0.0 In-Reply-To: <005901d5f1a8$72b56d30$58204790$@net> References: <0B7D202F-BAE8-47E0-BC5F-DE10F4D78D2C@hyperhh.de> <005901d5f1a8$72b56d30$58204790$@net> Message-ID: In the ?70s I had a cheap plastic handheld calculator made by Casio called a Biolater. Put in your birthday, and it would give you the first three numbers - days into the cycles. It had a picture of the waves stuck on the front so you could see how you were doing. Other than that it was a 4-banger. I probably still have it somewhere. .Jerry > On Mar 3, 2020, at 2:09 PM, Ralph DiMola via use-livecode wrote: > > I did mine on a handheld TRS 80 with a 1 line dot-matrix. It plugged it into a dot-matrix 2 inch wide roll fed printer to print out a biorhythm. I still have it and funny enough I just powered it up a couple of days ago and it still works. > > When I brought to work and someone said that in the tty-33 days he imagined that one day a computer could fit inside the tty-33 and was amazed at the trs-80 handheld. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of matthias rebbe via use-livecode > Sent: Tuesday, March 03, 2020 4:02 PM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: LCB widget "BioRhythm" v1.0.0 > > Oh, this makes me remembering the good old times when i coded a simple biorythm program on my Commodore C64 and printed the output on a thermal printer. > > Couldn?t resist to download it, although i think that my real biorythm is not the same as the ones that are computed by programs. ;) > > Thanks Hermann for another nice widget. > > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 03.03.2020 um 21:47 schrieb hh via use-livecode : >> >> The widget computes BioRhythm-Curves (sinus curves with different >> periods of days). >> >> The 7 names and their periods are: physical 23, emotional 28, >> intellectual 33, spiritual 53, awareness 48, aesthetic 43, intuition >> 38. Moreover you can have a weighted mean of the included of these 7 >> curves. >> >> Display the values (in range -100 to 100) as graph or as table. >> >> Some may find this widget to be "esoteric". A main reason I made it >> was to show a smooth display of curves (that is not possible in LC >> Script) and to exercise the display of a table. >> >> Read more, download the widget and a sample stack from (server loc EU) >> https://hyperhh.de/widgets/biorhythm.html >> or >> (server loc US) https://hh.on-rev.com/widgets/biorhythm.html >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Wed Mar 4 01:01:43 2020 From: jjs at krutt.org (Jjs) Date: Wed, 04 Mar 2020 07:01:43 +0100 Subject: LCB widget "BioRhythm" v1.0.0 In-Reply-To: References: <0B7D202F-BAE8-47E0-BC5F-DE10F4D78D2C@hyperhh.de> <005901d5f1a8$72b56d30$58204790$@net> Message-ID: <386760E9-3D3B-4B83-8605-83677D5648B8@krutt.org> Nah, i overrule you all heh heh. I had such program on my Sony HitBit MSX(not programmed by me, was to young for that) and i could plot it on my 4 color Sony Plotter with smooth sharp lines. I still have those. Further i really did not know what to do with that biorhythm heh heh just play. Jerry Jensen via use-livecode schreef op 3 maart 2020 23:50:32 CET: >In the ?70s I had a cheap plastic handheld calculator made by Casio >called a Biolater. Put in your birthday, and it would give you the >first three numbers - days into the cycles. It had a picture of the >waves stuck on the front so you could see how you were doing. Other >than that it was a 4-banger. I probably still have it somewhere. >.Jerry > >> On Mar 3, 2020, at 2:09 PM, Ralph DiMola via use-livecode > wrote: >> >> I did mine on a handheld TRS 80 with a 1 line dot-matrix. It plugged >it into a dot-matrix 2 inch wide roll fed printer to print out a >biorhythm. I still have it and funny enough I just powered it up a >couple of days ago and it still works. >> >> When I brought to work and someone said that in the tty-33 days he >imagined that one day a computer could fit inside the tty-33 and was >amazed at the trs-80 handheld. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >Behalf Of matthias rebbe via use-livecode >> Sent: Tuesday, March 03, 2020 4:02 PM >> To: How to use LiveCode >> Cc: matthias_livecode_150811 at m-r-d.de >> Subject: Re: LCB widget "BioRhythm" v1.0.0 >> >> Oh, this makes me remembering the good old times when i coded a >simple biorythm program on my Commodore C64 and printed the output on >a thermal printer. >> >> Couldn?t resist to download it, although i think that my real >biorythm is not the same as the ones that are computed by programs. ;) >> >> Thanks Hermann for another nice widget. >> >> Matthias >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 03.03.2020 um 21:47 schrieb hh via use-livecode >: >>> >>> The widget computes BioRhythm-Curves (sinus curves with different >>> periods of days). >>> >>> The 7 names and their periods are: physical 23, emotional 28, >>> intellectual 33, spiritual 53, awareness 48, aesthetic 43, intuition > >>> 38. Moreover you can have a weighted mean of the included of these 7 > >>> curves. >>> >>> Display the values (in range -100 to 100) as graph or as table. >>> >>> Some may find this widget to be "esoteric". A main reason I made it >>> was to show a smooth display of curves (that is not possible in LC >>> Script) and to exercise the display of a table. >>> >>> Read more, download the widget and a sample stack from (server loc >EU) >>> https://hyperhh.de/widgets/biorhythm.html >>> or >>> (server loc US) https://hh.on-rev.com/widgets/biorhythm.html >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From MikeKerner at roadrunner.com Wed Mar 4 15:37:46 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 4 Mar 2020 15:37:46 -0500 Subject: google sheets - anybody doing anything besides mergGoogle Message-ID: is anyone using anything besides mergGoogle to work with google sheets? care to share, if you are? -- 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 hlowe at me.com Wed Mar 4 16:50:09 2020 From: hlowe at me.com (HENRY LOWE) Date: Wed, 4 Mar 2020 13:50:09 -0800 Subject: New Apple Developer iOS requirements beginning April 30 Message-ID: See: https://developer.apple.com/news/?id=03042020b "Starting April 30, 2020, all iPhone apps submitted to the App Store must be built with the iOS 13 SDK or later." "Starting April 30, 2020, apps submitted to the App Store must use an Xcode storyboard to provide the app?s launch screen. In addition, all apps that run on iPhone must support all iPhone screens and all apps that run on iPad must support all iPad screens.? And a reference to Dark Mode: "If you need more time to make your apps look fantastic in Dark Mode or if Dark Mode is not suited for your app, you?ll need to opt out.? ??you can temporarily opt out by including the UIUserInterfaceStyle key (with a value of Light ) in your app's Info. plist file. Setting this key to Light causes the system to ignore the user's preference and always apply a light appearance to your app." See also: https://developer.apple.com/ios/submit/ Henry From htorrado at networkdreams.es Wed Mar 4 18:19:47 2020 From: htorrado at networkdreams.es (Heriberto Torrado) Date: Wed, 4 Mar 2020 18:19:47 -0500 Subject: LivecodeServer for ARM Cortex-A7 Message-ID: <003201d5f27b$66c826b0$34587410$@networkdreams.es> Dear livecode programmers, I tried several times to cross-compile livecode server community edition from the github repository on an Allwinner H3 processor device (sun8iw7p1 ARM Cortex-A7) FriendElec Nano pi Plus M1. All times I tried it I got this error: Unknow platform. Many IOT devices runs this processor: OrangePi, Nanopi m1 Plus, CherryPi, etc. I?m currently using Python and PHP for command line scripting and web programing purposes on this device, but I would like to use Livecode Server instead. As far as I know Livecode Server is written using portable C++, so I suppose it must be compatible with multiple platforms. Do you know if someone compiled it successfully and how? Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado Gonz?lez From ambassador at fourthworld.com Wed Mar 4 18:44:51 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 4 Mar 2020 15:44:51 -0800 Subject: LivecodeServer for ARM Cortex-A7 In-Reply-To: <003201d5f27b$66c826b0$34587410$@networkdreams.es> References: <003201d5f27b$66c826b0$34587410$@networkdreams.es> Message-ID: <988aa030-4c8f-f278-0287-8e44805e9681@fourthworld.com> Heriberto Torrado wrote: > I tried several times to cross-compile livecode server community > edition from the github repository on an Allwinner H3 processor device > (sun8iw7p1 ARM Cortex-A7) FriendElec Nano pi Plus M1. > > All times I tried it I got this error: Unknow platform. Are you using the code base for the Raspbery Pi? AFAIK it hasn't been touched since v7.0.4, but unless you need specific newer features it shouldn't (fingers crossed) be that hard to compile for your ARM device. But you may not need to compile it. Have you tried the compiled build from the Downloads page?: https://livecodestatic.com/downloads/livecode/7_0_4/LiveCodeCommunityInstaller-7_0_4-Linux.rpi It has a few serious problems trying to run it in a GUI, but on a faceless server I've had good luck with it both under Raspbian and Ubuntu Core. -- Richard Gaskin Fourth World Systems From harrison at all-auctions.com Wed Mar 4 19:15:21 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 4 Mar 2020 19:15:21 -0500 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: References: Message-ID: The easiest solution is for everyone to immediately stop developing apps for iOS. That will definitely get Apple?s attention. Developers are sick of all the stupid requirements Apple constantly throws at us for our apps. Any apps we develop that we put into their store always gets buried in the piles and piles of apps there. If you just develop for macOS well at least you can avoid most of the screen size requirements. Thanks for the update anyway Henry. Rick > On Mar 4, 2020, at 4:50 PM, HENRY LOWE via use-livecode wrote: > > See: https://developer.apple.com/news/?id=03042020b > > "Starting April 30, 2020, all iPhone apps submitted to the App Store must be built with the iOS 13 SDK or later." > > "Starting April 30, 2020, apps submitted to the App Store must use an Xcode storyboard to provide the app?s launch screen. In addition, all apps that run on iPhone must support all iPhone screens and all apps that run on iPad must support all iPad screens.? > > And a reference to Dark Mode: "If you need more time to make your apps look fantastic in Dark Mode or if Dark Mode is not suited for your app, you?ll need to opt out.? > > ??you can temporarily opt out by including the UIUserInterfaceStyle key (with a value of Light ) in your app's Info. plist file. Setting this key to Light causes the system to ignore the user's preference and always apply a light appearance to your app." > > See also: https://developer.apple.com/ios/submit/ > > > Henry > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 4 19:32:08 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 4 Mar 2020 18:32:08 -0600 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: References: Message-ID: <6a1055b1-c3e9-d329-9200-e5f856773c9d@hyperactivesw.com> On 3/4/20 3:50 PM, HENRY LOWE via use-livecode wrote: > See: https://developer.apple.com/news/?id=03042020b > > "Starting April 30, 2020, all iPhone apps submitted to the App Store must be built with the iOS 13 SDK or later." > > "Starting April 30, 2020, apps submitted to the App Store must use an Xcode storyboard to provide the app?s launch screen. In addition, all apps that run on iPhone must support all iPhone screens and all apps that run on iPad must support all iPad screens.? > > And a reference to Dark Mode: "If you need more time to make your apps look fantastic in Dark Mode or if Dark Mode is not suited for your app, you?ll need to opt out.? > > ??you can temporarily opt out by including the UIUserInterfaceStyle key (with a value of Light ) in your app's Info. plist file. Setting this key to Light causes the system to ignore the user's preference and always apply a light appearance to your app." > > See also: https://developer.apple.com/ios/submit/ Also this: TMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs starting from April 2020 . -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Mar 4 19:35:15 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 4 Mar 2020 16:35:15 -0800 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: <6a1055b1-c3e9-d329-9200-e5f856773c9d@hyperactivesw.com> References: <6a1055b1-c3e9-d329-9200-e5f856773c9d@hyperactivesw.com> Message-ID: <3e94ab53-c8c5-77b5-b5c6-6a9a9f8a9f58@fourthworld.com> Jacque wrote: > TMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use > UIWebView APIs starting from April 2020 . I'm not sure I understand the implications there. Are they offering an alternative to UIWebView, or flat out forbidding anything that renders HTML? -- Richard Gaskin Fourth World Systems From rdimola at evergreeninfo.net Wed Mar 4 20:16:26 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 4 Mar 2020 20:16:26 -0500 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: <3e94ab53-c8c5-77b5-b5c6-6a9a9f8a9f58@fourthworld.com> References: <6a1055b1-c3e9-d329-9200-e5f856773c9d@hyperactivesw.com> <3e94ab53-c8c5-77b5-b5c6-6a9a9f8a9f58@fourthworld.com> Message-ID: <000001d5f28b$b3f63250$1be296f0$@net> UIWebView is being replaced by WKWebView. I think LC uses WKWebView or we would have been getting warnings on submissions since at least last August. 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 Richard Gaskin via use-livecode Sent: Wednesday, March 04, 2020 7:35 PM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: New Apple Developer iOS requirements beginning April 30 Jacque wrote: > TMS-90809: Deprecated API Usage - Apple will stop accepting > submissions of apps that use UIWebView APIs starting from April 2020 . I'm not sure I understand the implications there. Are they offering an alternative to , or flat out forbidding anything that renders HTML? -- Richard Gaskin Fourth World Systems _______________________________________________ use-livecode mailing list use-livecode at 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 Mar 4 21:09:36 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Mar 2020 20:09:36 -0600 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: <3e94ab53-c8c5-77b5-b5c6-6a9a9f8a9f58@fourthworld.com> References: <6a1055b1-c3e9-d329-9200-e5f856773c9d@hyperactivesw.com> <3e94ab53-c8c5-77b5-b5c6-6a9a9f8a9f58@fourthworld.com> Message-ID: <170a8748f00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> There's something called WKWebKit we're supposed to use instead. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 4, 2020 6:37:27 PM Richard Gaskin via use-livecode wrote: > Jacque wrote: > >> TMS-90809: Deprecated API Usage - Apple will stop accepting submissions of >> apps that use >> UIWebView APIs starting from April 2020 . > > I'm not sure I understand the implications there. Are they offering an > alternative to UIWebView, or flat out forbidding anything that renders HTML? > > -- > Richard Gaskin > Fourth World Systems > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 4 21:10:40 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Mar 2020 20:10:40 -0600 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: <000001d5f28b$b3f63250$1be296f0$@net> References: <6a1055b1-c3e9-d329-9200-e5f856773c9d@hyperactivesw.com> <3e94ab53-c8c5-77b5-b5c6-6a9a9f8a9f58@fourthworld.com> <000001d5f28b$b3f63250$1be296f0$@net> Message-ID: <170a8758900.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I got a warning today, building with LC 9.5.1. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 4, 2020 7:14:43 PM Ralph DiMola via use-livecode wrote: > UIWebView is being replaced by WKWebView. I think LC uses WKWebView or we > would have been getting warnings on submissions since at least last August. > > > 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 Richard Gaskin via use-livecode > Sent: Wednesday, March 04, 2020 7:35 PM > To: use-livecode at lists.runrev.com > Cc: Richard Gaskin > Subject: Re: New Apple Developer iOS requirements beginning April 30 > > Jacque wrote: > >> TMS-90809: Deprecated API Usage - Apple will stop accepting >> submissions of apps that use UIWebView APIs starting from April 2020 . > > I'm not sure I understand the implications there. Are they offering an > alternative to , or flat out forbidding anything that renders HTML? > > -- > Richard Gaskin > Fourth World Systems > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kaveh at rivervalleytechnologies.com Thu Mar 5 00:51:52 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Thu, 5 Mar 2020 05:51:52 +0000 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: I use GS as my database for a text processing app. Clearly not robust as a database but most convenient to edit and add to BT multiple authorised people. I keep all regex patterns etc On Wed, 4 Mar 2020 at 20:39, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > is anyone using anything besides mergGoogle to work with google sheets? > care to share, if you are? > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Sent from MetroMail From mark at livecode.com Thu Mar 5 01:28:28 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 5 Mar 2020 06:28:28 +0000 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: <170a8758900.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <170a8758900.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0B514C43-5E8B-4B97-9674-48F637DFE66E@livecode.com> We replaced UIWebView with WKWebView in 9.6-DP-1. Sent from my iPhone > On 5 Mar 2020, at 02:11, J. Landman Gay via use-livecode wrote: > > ?I got a warning today, building with LC 9.5.1. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On March 4, 2020 7:14:43 PM Ralph DiMola via use-livecode wrote: >> >> UIWebView is being replaced by WKWebView. I think LC uses WKWebView or we >> would have been getting warnings on submissions since at least last August. >> >> >> 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 Richard Gaskin via use-livecode >> Sent: Wednesday, March 04, 2020 7:35 PM >> To: use-livecode at lists.runrev.com >> Cc: Richard Gaskin >> Subject: Re: New Apple Developer iOS requirements beginning April 30 >> >> Jacque wrote: >> >>> TMS-90809: Deprecated API Usage - Apple will stop accepting >>> submissions of apps that use UIWebView APIs starting from April 2020 . >> >> I'm not sure I understand the implications there. Are they offering an >> alternative to , or flat out forbidding anything that renders HTML? >> >> -- >> Richard Gaskin >> Fourth World Systems >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 5 01:50:52 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Mar 2020 00:50:52 -0600 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: <0B514C43-5E8B-4B97-9674-48F637DFE66E@livecode.com> References: <170a8758900.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0B514C43-5E8B-4B97-9674-48F637DFE66E@livecode.com> Message-ID: <170a97610e0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That explains it, I had to build with 9.5.1 because we had problems with the browser widget. (bug 22543) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 5, 2020 12:29:41 AM Mark Waddingham via use-livecode wrote: > We replaced UIWebView with WKWebView in 9.6-DP-1. > > Sent from my iPhone > >> On 5 Mar 2020, at 02:11, J. Landman Gay via use-livecode >> wrote: >> >> ?I got a warning today, building with LC 9.5.1. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >>> On March 4, 2020 7:14:43 PM Ralph DiMola via use-livecode >>> wrote: >>> >>> UIWebView is being replaced by WKWebView. I think LC uses WKWebView or we >>> would have been getting warnings on submissions since at least last August. >>> >>> >>> 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 Richard Gaskin via use-livecode >>> Sent: Wednesday, March 04, 2020 7:35 PM >>> To: use-livecode at lists.runrev.com >>> Cc: Richard Gaskin >>> Subject: Re: New Apple Developer iOS requirements beginning April 30 >>> >>> Jacque wrote: >>> >>>> TMS-90809: Deprecated API Usage - Apple will stop accepting >>>> submissions of apps that use UIWebView APIs starting from April 2020 . >>> >>> I'm not sure I understand the implications there. Are they offering an >>> alternative to , or flat out forbidding anything that renders HTML? >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 5 01:57:50 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Mar 2020 00:57:50 -0600 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: References: Message-ID: <170a97c71b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I tried that and managed to avoid iOS for several years. Unfortunately clients demanded iPhone compatibility and I couldn't convince them otherwise. So here I am, realizing all over again what a pain it is to develop on that platform. The only good thing was that iPhone screen sizes were consistent, but they took that away too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 4, 2020 6:17:17 PM Rick Harrison via use-livecode wrote: > The easiest solution is for everyone to immediately stop developing apps > for iOS. > That will definitely get Apple?s attention. Developers are sick of all the > stupid > requirements Apple constantly throws at us for our apps. Any apps we > develop that we put into their store always gets buried in the piles and piles > of apps there. If you just develop for macOS well at least you can avoid > most of the screen size requirements. > > Thanks for the update anyway Henry. > > Rick > >> On Mar 4, 2020, at 4:50 PM, HENRY LOWE via use-livecode >> wrote: >> >> See: https://developer.apple.com/news/?id=03042020b >> >> >> "Starting April 30, 2020, all iPhone apps submitted to the App Store must >> be built with the iOS 13 SDK or later." >> >> "Starting April 30, 2020, apps submitted to the App Store must use an Xcode >> storyboard to provide the app?s launch screen. In addition, all apps that >> run on iPhone must support all iPhone screens and all apps that run on iPad >> must support all iPad screens.? >> >> And a reference to Dark Mode: "If you need more time to make your apps look >> fantastic in Dark Mode or if Dark Mode is not suited for your app, you?ll >> need to opt out.? >> >> ??you can temporarily opt out by including the UIUserInterfaceStyle key >> (with a value of Light ) in your app's Info. plist file. Setting this key >> to Light causes the system to ignore the user's preference and always apply >> a light appearance to your app." >> >> See also: https://developer.apple.com/ios/submit/ >> >> >> >> Henry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 5 01:58:56 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 4 Mar 2020 22:58:56 -0800 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: On Wed, 4 Mar 2020 at 20:39, Mike Kerner wrote: >> is anyone using anything besides mergGoogle to work with google >> sheets? care to share, if you are? Useful for Anyone to Know: ------------------------- I've raved about Nextcloud here enough that I'll bet Mark Wieder's tired of it , so I'll try to not let me enthusiasm run away with me - I could go on about Nextcloud for way more than anyone wants to read. It's like a blend of Dropbox, Google Docs, and more than a hundred add-on apps for everything from a kanban tool to media streaming to videoconferencing - all free and open source: https://nextcloud.com/ I use one internallt, to sync my LiveCode plugins folder across my machines, as well as some client projects. And I use another externally as a client portal where we share files, a kanban board, etc. If you can set up an Apache Server under Ubuntu on a VPS, adding Nextcloud is as easy as a one-line Snap call. If you're not yet comfortable wrangling servers, there are many companies offering hosting listed at the site. Nextcloud's file repository is a WebDAV server, which makes it a perfect compliment to something that showed up in our community just the other day: Extremely Useful for LiveCode Developers to Know: ------------------------------------------------ A frequent forum contributor, "bangkok", has posted a super-cool demo of a library from Matthias Rebbe for WebDAV client functionality: https://forums.livecode.com/viewtopic.php?f=11&t=32377&p=188319#p188099 You can : -upload a file -download a file -create a folder -delete a folder/file -list the content of a folder (method PROPFIND) You could use this on any WebDAV server, Such as, say, Nextcloud. :) I've tested the script on both Nextcloud servers I manage - works a treat. Thank you bangkok amd Matthias Rebbe! In your case, Mike, your data could even be a simple tab-delimited file, stored and retrieved using WebDAV. I'm building out most of my back-office tools around Nextcloud's WebDAV as a shared data store. -- 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 johnthejocker at yahoo.it Thu Mar 5 10:20:43 2020 From: johnthejocker at yahoo.it (Giovanni) Date: Thu, 5 Mar 2020 16:20:43 +0100 Subject: AVFoundation crash on codesigned application References: Message-ID: Hi everybody, we are currently experiencing a problem with an LC application that is simply trying to catch a picture from a webcam. The executable works properly if it?s not code signed. After I sign the application it crashes at the very first camera access attempt (when the application should get the access privileges to the device). I.E. the following causes the crash: cameraControlCreate myCameraControlName put cameraControlGet(myCameraControlName, "devices") into cameraDevices The application returns me the a log after the crash (i am not able to attach it due to the list file size limitation). From line 35 of the log you can see some error related to com.apple.avfoundation. This is why I think it?s related to it. Can someone provide information about this or had the same problem? Is there a workaround or suggestion about it? Here follows an extract of the error log: 0 libsystem_kernel.dylib 0x00007fff620c71ee __open + 10 1 com.apple.CoreFoundation 0x00007fff36054ba3 _CFBundleGrokFileType + 239 2 com.apple.CoreFoundation 0x00007fff36054a6c _CFBundleGrokBinaryType + 64 3 com.apple.CoreFoundation 0x00007fff3612ccfd _CFBundleLoadExecutableAndReturnError + 405 4 com.apple.CoreFoundation 0x00007fff3608d8a1 CFBundleGetFunctionPointerForName + 27 5 com.apple.CoreMedia 0x00007fff3713147e FigRegistryItemGetFactory + 68 6 com.apple.CoreMediaIO 0x00007fff372698f1 CMIOUnitCreateFromDescription + 1351 7 com.apple.CoreMediaIO 0x00007fff37256aa9 CMIOUnitNodeInfo::Open() + 59 8 com.apple.CoreMediaIO 0x00007fff37245aca CMIOGraph::CreateNode(unsigned int, unsigned int, OpaqueCMIOUnit*, CMIOUnitDescription const&, void const*, int&) + 174 9 com.apple.CoreMediaIO 0x00007fff372458f7 CMIOGraphCreateNode + 333 10 com.apple.avfoundation 0x00007fff3212a1a1 -[AVCaptureDeviceInput addInputUnitsForInputPort:toGraph:ofCaptureSession:error:] + 609 11 com.apple.avfoundation 0x00007fff32129df2 -[AVCaptureSession _buildGraphUnitsForInputPort:error:] + 727 12 com.apple.avfoundation 0x00007fff320f8280 -[AVCaptureSession _buildAndRunGraph] + 659 13 com.apple.avfoundation 0x00007fff320fcb48 -[AVCaptureSession _setRunning:] + 247 14 com.apple.avfoundation 0x00007fff320fc9e7 -[AVCaptureSession startRunning] + 97 65 com.apple.AppKit 0x00007fff3385821a -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1899 66 com.apple.AppKit 0x00007fff33857867 -[NSWindow(NSEventRouting) sendEvent:] + 478 67 com.apple.AppKit 0x00007fff336f704f -[NSApplication(NSEvent) sendEvent:] + 331 74 com.apple.Foundation 0x00007fff383137aa __NSFireDelayedPerform + 411 75 com.apple.CoreFoundation 0x00007fff36086a60 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 76 com.apple.CoreFoundation 0x00007fff3608660c __CFRunLoopDoTimer + 851 77 com.apple.CoreFoundation 0x00007fff36086152 __CFRunLoopDoTimers + 330 78 com.apple.CoreFoundation 0x00007fff36067362 __CFRunLoopRun + 2130 79 com.apple.CoreFoundation 0x00007fff360668be CFRunLoopRunSpecific + 455 80 com.apple.HIToolbox 0x00007fff3535296b RunCurrentEventLoopInMode + 292 81 com.apple.HIToolbox 0x00007fff353525ad ReceiveNextEventCommon + 355 82 com.apple.HIToolbox 0x00007fff35352436 _BlockUntilNextEventMatchingListInModeWithFilter + 64 83 com.apple.AppKit 0x00007fff336ec987 _DPSNextEvent + 965 84 com.apple.AppKit 0x00007fff336eb71f -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 85 com.apple.AppKit 0x00007fff336e583c -[NSApplication run] + 699 87 libdyld.dylib 0x00007fff61f913d5 start + 1 Thank you From bobsneidar at iotecdigital.com Thu Mar 5 10:50:50 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 5 Mar 2020 15:50:50 +0000 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: And again, I must caution that any local folders set to sync with a nextCloud device, if you then uncheck a subfolder, it will REMOVE THE LOCAL SUBFOLDER! The NextCloud people figured that the NextCloud device must become the master, and your own local files the slave. Bob S > On Mar 4, 2020, at 22:58 , Richard Gaskin via use-livecode wrote: > > Useful for Anyone to Know: > ------------------------- > I've raved about Nextcloud here enough that I'll bet Mark Wieder's tired of it , so I'll try to not let me enthusiasm run away with me - I could go on about Nextcloud for way more than anyone wants to read. > > It's like a blend of Dropbox, Google Docs, and more than a hundred add-on apps for everything from a kanban tool to media streaming to videoconferencing - all free and open source: > > https://nextcloud.com/ > > I use one internallt, to sync my LiveCode plugins folder across my machines, as well as some client projects. And I use another externally as a client portal where we share files, a kanban board, etc. > > If you can set up an Apache Server under Ubuntu on a VPS, adding Nextcloud is as easy as a one-line Snap call. > > If you're not yet comfortable wrangling servers, there are many companies offering hosting listed at the site. > > Nextcloud's file repository is a WebDAV server, which makes it a perfect compliment to something that showed up in our community just the other day: From ambassador at fourthworld.com Thu Mar 5 14:32:51 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 5 Mar 2020 11:32:51 -0800 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: Bob Sneidar wrote: > And again, I must caution that any local folders set to sync with a > nextCloud device, if you then uncheck a subfolder, it will REMOVE THE > LOCAL SUBFOLDER! The NextCloud people figured that the NextCloud > device must become the master, and your own local files the slave. Ah, but there's the rub: the concepts of "master" and "slave" do not apply to peer syncing systems. Whether the behavior is correct or not depends on the use-case. Most other sync systems avoid the question altogether by completely disallowing subfolder control. So if you want the same, limit your use of the options Nextcloud provides - just don't change the checkbox for subfolders. If you do choose to fine-tune your settings for subfolders, for the last several years the implications for the choice are described when you click the checkbox, requiring confirmation. If that's not what you want for your use case, the easiest solution (with any sync system) is to just move the folder outside of the one you've designated for syncing. If this specific scenario is of interest, and simply moving the folder isn't an option, these discussions will lend insight into the seemingly-simple-but-really-quite-nuanced behavior: https://help.nextcloud.com/t/unchecked-folders-will-be-removed-from-your-file-system/12335/18 https://github.com/owncloud/client/issues/2502 Sync is one of those things that seems simple on the surface, and usually is for most users, but there are enough edge cases that good sync is rare and good flexible sync even rarer. Having used Dropbox and Google Drive before moving my important stuff to Nextcloud, I've found not only more control over what gets synced and how, but also fewer conflict files than I used to see. All that said.... The real point of my post was to draw attention to the very useful WebDAV library bangkok posted from Matthias Rebbe: https://forums.livecode.com/viewtopic.php?f=11&t=32377&p=188319#p188099 You can : -upload a file -download a file -create a folder -delete a folder/file -list the content of a folder (method PROPFIND) You can use this to talk to ANY server using the popular WebDAV standard. You can make custom workgroup solutions for a wide range of services, including PCloud and Google Drive, or with custom servers running the WebDAV modules available for Apache, Lightttpd, NginX, and more. The nice thing about also considering Nextcloud in the mix of platforms you might support with this library is that you have a ready audience of an estimated 250,000 installs, including many governments, universities, and both large and small businesses. Extra bonus points that it has a nice UI for user management right in the box, and a thriving community of plugins extending it in new ways. I'm excited about what it's doing for my business today, and how I can lend that experience to helping other businesses with custom tools made in LiveCode tomorrow. WebDAV is kinda cool. And thanks to Matthias' library, it's also fun. -- Richard Gaskin Fourth World Systems >> On Mar 4, 2020, at 22:58 , Richard Gaskin via use-livecode wrote: >> >> Useful for Anyone to Know: >> ------------------------- >> I've raved about Nextcloud here enough that I'll bet Mark Wieder's tired of it , so I'll try to not let me enthusiasm run away with me - I could go on about Nextcloud for way more than anyone wants to read. >> >> It's like a blend of Dropbox, Google Docs, and more than a hundred add-on apps for everything from a kanban tool to media streaming to videoconferencing - all free and open source: >> >> https://nextcloud.com/ >> >> I use one internallt, to sync my LiveCode plugins folder across my machines, as well as some client projects. And I use another externally as a client portal where we share files, a kanban board, etc. >> >> If you can set up an Apache Server under Ubuntu on a VPS, adding Nextcloud is as easy as a one-line Snap call. >> >> If you're not yet comfortable wrangling servers, there are many companies offering hosting listed at the site. >> >> Nextcloud's file repository is a WebDAV server, which makes it a perfect compliment to something that showed up in our community just the other day: > From MikeKerner at roadrunner.com Thu Mar 5 14:56:20 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 5 Mar 2020 14:56:20 -0500 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: @Kaveh what are you using to connect to it? are you using the sheets api or something else? On Thu, Mar 5, 2020 at 2:34 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Bob Sneidar wrote: > > And again, I must caution that any local folders set to sync with a > > nextCloud device, if you then uncheck a subfolder, it will REMOVE THE > > LOCAL SUBFOLDER! The NextCloud people figured that the NextCloud > > device must become the master, and your own local files the slave. > > Ah, but there's the rub: the concepts of "master" and "slave" do not > apply to peer syncing systems. > > Whether the behavior is correct or not depends on the use-case. Most > other sync systems avoid the question altogether by completely > disallowing subfolder control. So if you want the same, limit your use > of the options Nextcloud provides - just don't change the checkbox for > subfolders. > > If you do choose to fine-tune your settings for subfolders, for the last > several years the implications for the choice are described when you > click the checkbox, requiring confirmation. If that's not what you want > for your use case, the easiest solution (with any sync system) is to > just move the folder outside of the one you've designated for syncing. > > If this specific scenario is of interest, and simply moving the folder > isn't an option, these discussions will lend insight into the > seemingly-simple-but-really-quite-nuanced behavior: > > > https://help.nextcloud.com/t/unchecked-folders-will-be-removed-from-your-file-system/12335/18 > > https://github.com/owncloud/client/issues/2502 > > Sync is one of those things that seems simple on the surface, and > usually is for most users, but there are enough edge cases that good > sync is rare and good flexible sync even rarer. > > Having used Dropbox and Google Drive before moving my important stuff to > Nextcloud, I've found not only more control over what gets synced and > how, but also fewer conflict files than I used to see. > > All that said.... > > > The real point of my post was to draw attention to the very useful > WebDAV library bangkok posted from Matthias Rebbe: > > https://forums.livecode.com/viewtopic.php?f=11&t=32377&p=188319#p188099 > > You can : > -upload a file > -download a file > -create a folder > -delete a folder/file > -list the content of a folder (method PROPFIND) > > You can use this to talk to ANY server using the popular WebDAV standard. > > You can make custom workgroup solutions for a wide range of services, > including PCloud and Google Drive, or with custom servers running the > WebDAV modules available for Apache, Lightttpd, NginX, and more. > > The nice thing about also considering Nextcloud in the mix of platforms > you might support with this library is that you have a ready audience of > an estimated 250,000 installs, including many governments, universities, > and both large and small businesses. Extra bonus points that it has a > nice UI for user management right in the box, and a thriving community > of plugins extending it in new ways. > > I'm excited about what it's doing for my business today, and how I can > lend that experience to helping other businesses with custom tools made > in LiveCode tomorrow. > > WebDAV is kinda cool. And thanks to Matthias' library, it's also fun. > > -- > Richard Gaskin > Fourth World Systems > > > > >> On Mar 4, 2020, at 22:58 , Richard Gaskin via use-livecode > wrote: > >> > >> Useful for Anyone to Know: > >> ------------------------- > >> I've raved about Nextcloud here enough that I'll bet Mark Wieder's > tired of it , so I'll try to not let me enthusiasm run away with me - > I could go on about Nextcloud for way more than anyone wants to read. > >> > >> It's like a blend of Dropbox, Google Docs, and more than a hundred > add-on apps for everything from a kanban tool to media streaming to > videoconferencing - all free and open source: > >> > >> https://nextcloud.com/ > >> > >> I use one internallt, to sync my LiveCode plugins folder across my > machines, as well as some client projects. And I use another externally > as a client portal where we share files, a kanban board, etc. > >> > >> If you can set up an Apache Server under Ubuntu on a VPS, adding > Nextcloud is as easy as a one-line Snap call. > >> > >> If you're not yet comfortable wrangling servers, there are many > companies offering hosting listed at the site. > >> > >> Nextcloud's file repository is a WebDAV server, which makes it a > perfect compliment to something that showed up in our community just the > other day: > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 htorrado at networkdreams.es Thu Mar 5 15:37:54 2020 From: htorrado at networkdreams.es (Heriberto Torrado) Date: Thu, 5 Mar 2020 15:37:54 -0500 Subject: LivecodeServer for ARM Cortex-A7 (Richard Gaskin) Message-ID: <01ee01d5f32d$f39b8070$dad28150$@networkdreams.es> Hi Richard, Thanks a lot for your rapid response. I have some glitches with our email server spam system, so I'm checking the email list on the web page. I downloaded the Raspberry Pi source code last week, but I got the same error. I think that's because Raspberry Pi runs on a different Arm processor model. The regular raspberry pi installer doesn't work, because I don't have graphical environment installed on the device. In fact, I just need the Livecode Server version. I think it could be a great thing to have a Livecode Server version for ARM devices. It could be a killer language programing for IOT. It is easy, and less clunky than Python and C, C++ . It could also be a very good language for displaying data from different sensors using an embedded apache web server on the devices. Best, Hery Date: Wed, 4 Mar 2020 15:44:51 -0800 From: Richard Gaskin > To: use-livecode at lists.runrev.com Subject: Re: LivecodeServer for ARM Cortex-A7 Message-ID: <988aa030-4c8f-f278-0287-8e44805e9681 at fourthworld.com > Content-Type: text/plain; charset=utf-8; format=flowed Heriberto Torrado wrote: > I tried several times to cross-compile livecode server community > edition from the github repository on an Allwinner H3 processor device > (sun8iw7p1 ARM Cortex-A7) FriendElec Nano pi Plus M1. > > All times I tried it I got this error: Unknow platform. Are you using the code base for the Raspbery Pi? AFAIK it hasn't been touched since v7.0.4, but unless you need specific newer features it shouldn't (fingers crossed) be that hard to compile for your ARM device. But you may not need to compile it. Have you tried the compiled build from the Downloads page?: https://livecodestatic.com/downloads/livecode/7_0_4/LiveCodeCommunityInstall er-7_0_4-Linux.rpi It has a few serious problems trying to run it in a GUI, but on a faceless server I've had good luck with it both under Raspbian and Ubuntu Core. -- Richard Gaskin Fourth World Systems From kaveh at rivervalleytechnologies.com Thu Mar 5 15:46:23 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Thu, 5 Mar 2020 20:46:23 +0000 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: This is where I started, Mike: https://andregarzia.com/2018/11/reading-google-sheets-data-from-livecode.html Then I had to do a lot of work to get unicode imported properly. Somehow got it to work. :-) On Thu, 5 Mar 2020 at 19:58, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > @Kaveh > what are you using to connect to it? are you using the sheets api or > something else? > > On Thu, Mar 5, 2020 at 2:34 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Bob Sneidar wrote: > > > And again, I must caution that any local folders set to sync with a > > > nextCloud device, if you then uncheck a subfolder, it will REMOVE THE > > > LOCAL SUBFOLDER! The NextCloud people figured that the NextCloud > > > device must become the master, and your own local files the slave. > > > > Ah, but there's the rub: the concepts of "master" and "slave" do not > > apply to peer syncing systems. > > > > Whether the behavior is correct or not depends on the use-case. Most > > other sync systems avoid the question altogether by completely > > disallowing subfolder control. So if you want the same, limit your use > > of the options Nextcloud provides - just don't change the checkbox for > > subfolders. > > > > If you do choose to fine-tune your settings for subfolders, for the last > > several years the implications for the choice are described when you > > click the checkbox, requiring confirmation. If that's not what you want > > for your use case, the easiest solution (with any sync system) is to > > just move the folder outside of the one you've designated for syncing. > > > > If this specific scenario is of interest, and simply moving the folder > > isn't an option, these discussions will lend insight into the > > seemingly-simple-but-really-quite-nuanced behavior: > > > > > > > https://help.nextcloud.com/t/unchecked-folders-will-be-removed-from-your-file-system/12335/18 > > > > https://github.com/owncloud/client/issues/2502 > > > > Sync is one of those things that seems simple on the surface, and > > usually is for most users, but there are enough edge cases that good > > sync is rare and good flexible sync even rarer. > > > > Having used Dropbox and Google Drive before moving my important stuff to > > Nextcloud, I've found not only more control over what gets synced and > > how, but also fewer conflict files than I used to see. > > > > All that said.... > > > > > > The real point of my post was to draw attention to the very useful > > WebDAV library bangkok posted from Matthias Rebbe: > > > > https://forums.livecode.com/viewtopic.php?f=11&t=32377&p=188319#p188099 > > > > You can : > > -upload a file > > -download a file > > -create a folder > > -delete a folder/file > > -list the content of a folder (method PROPFIND) > > > > You can use this to talk to ANY server using the popular WebDAV standard. > > > > You can make custom workgroup solutions for a wide range of services, > > including PCloud and Google Drive, or with custom servers running the > > WebDAV modules available for Apache, Lightttpd, NginX, and more. > > > > The nice thing about also considering Nextcloud in the mix of platforms > > you might support with this library is that you have a ready audience of > > an estimated 250,000 installs, including many governments, universities, > > and both large and small businesses. Extra bonus points that it has a > > nice UI for user management right in the box, and a thriving community > > of plugins extending it in new ways. > > > > I'm excited about what it's doing for my business today, and how I can > > lend that experience to helping other businesses with custom tools made > > in LiveCode tomorrow. > > > > WebDAV is kinda cool. And thanks to Matthias' library, it's also fun. > > > > -- > > Richard Gaskin > > Fourth World Systems > > > > > > > > >> On Mar 4, 2020, at 22:58 , Richard Gaskin via use-livecode > > wrote: > > >> > > >> Useful for Anyone to Know: > > >> ------------------------- > > >> I've raved about Nextcloud here enough that I'll bet Mark Wieder's > > tired of it , so I'll try to not let me enthusiasm run away with me - > > I could go on about Nextcloud for way more than anyone wants to read. > > >> > > >> It's like a blend of Dropbox, Google Docs, and more than a hundred > > add-on apps for everything from a kanban tool to media streaming to > > videoconferencing - all free and open source: > > >> > > >> https://nextcloud.com/ > > >> > > >> I use one internallt, to sync my LiveCode plugins folder across my > > machines, as well as some client projects. And I use another externally > > as a client portal where we share files, a kanban board, etc. > > >> > > >> If you can set up an Apache Server under Ubuntu on a VPS, adding > > Nextcloud is as easy as a one-line Snap call. > > >> > > >> If you're not yet comfortable wrangling servers, there are many > > companies offering hosting listed at the site. > > >> > > >> Nextcloud's file repository is a WebDAV server, which makes it a > > perfect compliment to something that showed up in our community just the > > other day: > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From MikeKerner at roadrunner.com Thu Mar 5 15:55:44 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 5 Mar 2020 15:55:44 -0500 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: ok, that's what i thought. On Thu, Mar 5, 2020 at 3:47 PM Kaveh Bazargan via use-livecode < use-livecode at lists.runrev.com> wrote: > This is where I started, Mike: > > https://andregarzia.com/2018/11/reading-google-sheets-data-from-livecode.html > > Then I had to do a lot of work to get unicode imported properly. Somehow > got it to work. :-) > > On Thu, 5 Mar 2020 at 19:58, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > @Kaveh > > what are you using to connect to it? are you using the sheets api or > > something else? > > > > On Thu, Mar 5, 2020 at 2:34 PM Richard Gaskin via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Bob Sneidar wrote: > > > > And again, I must caution that any local folders set to sync with a > > > > nextCloud device, if you then uncheck a subfolder, it will REMOVE > THE > > > > LOCAL SUBFOLDER! The NextCloud people figured that the NextCloud > > > > device must become the master, and your own local files the slave. > > > > > > Ah, but there's the rub: the concepts of "master" and "slave" do not > > > apply to peer syncing systems. > > > > > > Whether the behavior is correct or not depends on the use-case. Most > > > other sync systems avoid the question altogether by completely > > > disallowing subfolder control. So if you want the same, limit your use > > > of the options Nextcloud provides - just don't change the checkbox for > > > subfolders. > > > > > > If you do choose to fine-tune your settings for subfolders, for the > last > > > several years the implications for the choice are described when you > > > click the checkbox, requiring confirmation. If that's not what you want > > > for your use case, the easiest solution (with any sync system) is to > > > just move the folder outside of the one you've designated for syncing. > > > > > > If this specific scenario is of interest, and simply moving the folder > > > isn't an option, these discussions will lend insight into the > > > seemingly-simple-but-really-quite-nuanced behavior: > > > > > > > > > > > > https://help.nextcloud.com/t/unchecked-folders-will-be-removed-from-your-file-system/12335/18 > > > > > > https://github.com/owncloud/client/issues/2502 > > > > > > Sync is one of those things that seems simple on the surface, and > > > usually is for most users, but there are enough edge cases that good > > > sync is rare and good flexible sync even rarer. > > > > > > Having used Dropbox and Google Drive before moving my important stuff > to > > > Nextcloud, I've found not only more control over what gets synced and > > > how, but also fewer conflict files than I used to see. > > > > > > All that said.... > > > > > > > > > The real point of my post was to draw attention to the very useful > > > WebDAV library bangkok posted from Matthias Rebbe: > > > > > > > https://forums.livecode.com/viewtopic.php?f=11&t=32377&p=188319#p188099 > > > > > > You can : > > > -upload a file > > > -download a file > > > -create a folder > > > -delete a folder/file > > > -list the content of a folder (method PROPFIND) > > > > > > You can use this to talk to ANY server using the popular WebDAV > standard. > > > > > > You can make custom workgroup solutions for a wide range of services, > > > including PCloud and Google Drive, or with custom servers running the > > > WebDAV modules available for Apache, Lightttpd, NginX, and more. > > > > > > The nice thing about also considering Nextcloud in the mix of platforms > > > you might support with this library is that you have a ready audience > of > > > an estimated 250,000 installs, including many governments, > universities, > > > and both large and small businesses. Extra bonus points that it has a > > > nice UI for user management right in the box, and a thriving community > > > of plugins extending it in new ways. > > > > > > I'm excited about what it's doing for my business today, and how I can > > > lend that experience to helping other businesses with custom tools made > > > in LiveCode tomorrow. > > > > > > WebDAV is kinda cool. And thanks to Matthias' library, it's also fun. > > > > > > -- > > > Richard Gaskin > > > Fourth World Systems > > > > > > > > > > > > >> On Mar 4, 2020, at 22:58 , Richard Gaskin via use-livecode > > > wrote: > > > >> > > > >> Useful for Anyone to Know: > > > >> ------------------------- > > > >> I've raved about Nextcloud here enough that I'll bet Mark Wieder's > > > tired of it , so I'll try to not let me enthusiasm run away with me > - > > > I could go on about Nextcloud for way more than anyone wants to read. > > > >> > > > >> It's like a blend of Dropbox, Google Docs, and more than a hundred > > > add-on apps for everything from a kanban tool to media streaming to > > > videoconferencing - all free and open source: > > > >> > > > >> https://nextcloud.com/ > > > >> > > > >> I use one internallt, to sync my LiveCode plugins folder across my > > > machines, as well as some client projects. And I use another externally > > > as a client portal where we share files, a kanban board, etc. > > > >> > > > >> If you can set up an Apache Server under Ubuntu on a VPS, adding > > > Nextcloud is as easy as a one-line Snap call. > > > >> > > > >> If you're not yet comfortable wrangling servers, there are many > > > companies offering hosting listed at the site. > > > >> > > > >> Nextcloud's file repository is a WebDAV server, which makes it a > > > perfect compliment to something that showed up in our community just > the > > > other day: > > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > Kaveh Bazargan PhD > Director > River Valley Technologies ? Twitter > ? LinkedIn > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 ambassador at fourthworld.com Thu Mar 5 16:47:34 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 5 Mar 2020 13:47:34 -0800 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: And for writes? -- Richard Gaskin Fourth World Systems Mike Kerner wrote: > ok, that's what i thought. > > On Thu, Mar 5, 2020 at 3:47 PM Kaveh Bazargan via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> This is where I started, Mike: >> >> https://andregarzia.com/2018/11/reading-google-sheets-data-from-livecode.html From kaveh at rivervalleytechnologies.com Thu Mar 5 16:57:15 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Thu, 5 Mar 2020 21:57:15 +0000 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: I am only reading now, Richard. I would like to be able to write too, and any hints appreciated. But currently people go to Google Sheets and update data. I realise Google Sheets is not a true database, but the attraction is that everyone is familiar with them and are not intimidated. On Thu, 5 Mar 2020 at 21:49, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > And for writes? > -- > Richard Gaskin > Fourth World Systems > > Mike Kerner wrote: > > ok, that's what i thought. > > > > On Thu, Mar 5, 2020 at 3:47 PM Kaveh Bazargan via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> This is where I started, Mike: > >> > >> > https://andregarzia.com/2018/11/reading-google-sheets-data-from-livecode.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 > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From benr_mc at cogapp.com Thu Mar 5 18:03:59 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 5 Mar 2020 23:03:59 -0000 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: > is anyone using anything besides mergGoogle to work with google sheets? > care to share, if you are? I'm just using the Google Sheets API directly from LiveCode - just pushing JSON back and forth. The API is limited, but what's there is very easy to work with - much better than manipulating xlsx files. I started using it to get data from clients, and then processing data and pushing it back into the sheets. I've also used on some experimental image processing, where I found that pushing the results of LiveCode functions into a google sheet immediately gave me an nice interface in which to review the data, and then I could also use the spreadsheet functions to do evaluation and testing. Ben From benr_mc at cogapp.com Thu Mar 5 18:12:27 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 5 Mar 2020 23:12:27 -0000 Subject: Targeting iOS 5.1 Message-ID: <78f6993c-82a9-37fa-bb17-65fee5027b98@cogapp.com> We've got some first generation iPads, which can't be updated past iOS 5.1. I think I could find useful roles for them around the office, if I could build to them. The essential https://livecode.com/docs/9-5-0/faq/faq/ doesn't go back as far as 5.1. But I know that LiveCode could in the past build to these machines - some of the apps I built in the past are still on them, though sadly since they were built with developer provisioning profiles they've expired! So I'm guessing that the compilers of the above table just felt it wasn't worth going that far back in time. Does anyone know what the latest versions of LiveCode and Xcode (and MacOS) are that I can use to target iOS 5.1? Many thanks, Ben From monte at appisle.net Thu Mar 5 18:20:16 2020 From: monte at appisle.net (Monte Goulding) Date: Fri, 6 Mar 2020 10:20:16 +1100 Subject: Targeting iOS 5.1 In-Reply-To: <78f6993c-82a9-37fa-bb17-65fee5027b98@cogapp.com> References: <78f6993c-82a9-37fa-bb17-65fee5027b98@cogapp.com> Message-ID: <47807926-7A37-4367-9EE8-E12880345B4D@appisle.net> Panos is the oracle for this kind of detail (he would be asleep right now I think) but basically you will need an old version Xcode which you will only be able to run on an old version of macOS and then the version of LiveCode that matches said Xcode/macOS combo. The information is in the release notes which you can download from https://downloads.livecode.com/livecode/ I?d take a stab at LiveCode 6.7.11 Cheers Monte > On 6 Mar 2020, at 10:12 am, Ben Rubinstein via use-livecode wrote: > > We've got some first generation iPads, which can't be updated past iOS 5.1. I think I could find useful roles for them around the office, if I could build to them. > > The essential https://livecode.com/docs/9-5-0/faq/faq/ doesn't go back as far as 5.1. But I know that LiveCode could in the past build to these machines - some of the apps I built in the past are still on them, though sadly since they were built with developer provisioning profiles they've expired! So I'm guessing that the compilers of the above table just felt it wasn't worth going that far back in time. > > Does anyone know what the latest versions of LiveCode and Xcode (and MacOS) are that I can use to target iOS 5.1? > > Many thanks, > > 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 sundown at pacifier.com Thu Mar 5 20:29:13 2020 From: sundown at pacifier.com (JB) Date: Thu, 5 Mar 2020 17:29:13 -0800 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: <0B514C43-5E8B-4B97-9674-48F637DFE66E@livecode.com> References: <170a8758900.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0B514C43-5E8B-4B97-9674-48F637DFE66E@livecode.com> Message-ID: <917F5E1E-3156-4FD0-825D-F928E15C1C14@pacifier.com> Didn?t Apple say a while ago they were going to make the ios compatible with the desktop? It seems they both use Objective-C the same way. JB > On Mar 4, 2020, at 10:28 PM, Mark Waddingham via use-livecode wrote: > > We replaced UIWebView with WKWebView in 9.6-DP-1. > > Sent from my iPhone > >> On 5 Mar 2020, at 02:11, J. Landman Gay via use-livecode wrote: >> >> ?I got a warning today, building with LC 9.5.1. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >>> On March 4, 2020 7:14:43 PM Ralph DiMola via use-livecode wrote: >>> >>> UIWebView is being replaced by WKWebView. I think LC uses WKWebView or we >>> would have been getting warnings on submissions since at least last August. >>> >>> >>> 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 Richard Gaskin via use-livecode >>> Sent: Wednesday, March 04, 2020 7:35 PM >>> To: use-livecode at lists.runrev.com >>> Cc: Richard Gaskin >>> Subject: Re: New Apple Developer iOS requirements beginning April 30 >>> >>> Jacque wrote: >>> >>>> TMS-90809: Deprecated API Usage - Apple will stop accepting >>>> submissions of apps that use UIWebView APIs starting from April 2020 . >>> >>> I'm not sure I understand the implications there. Are they offering an >>> alternative to , or flat out forbidding anything that renders HTML? >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Mar 5 22:46:07 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 6 Mar 2020 03:46:07 +0000 Subject: StackSize limit on iOS Message-ID: I am trying to produce a landscape PDF on a iPhone? open inv stack "printingStack" set the width of stack "printingStack" to (11*72) set the height of stack "printingStack" to (8.5*72) answer the width of stack "printingStack" //------- this returns 414 ??? --------// I am using LC Business 9.6 I know this was working on a prior version of LC / iOS Is there some new trick to this? Or, is there now some limitation on setting the size of a stack to something other than the width of the mobile device? If so, how do we generate a standard size PDF? Thanks in advance, -Dan From merakosp at gmail.com Fri Mar 6 02:55:21 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 6 Mar 2020 09:55:21 +0200 Subject: Targeting iOS 5.1 In-Reply-To: <47807926-7A37-4367-9EE8-E12880345B4D@appisle.net> References: <78f6993c-82a9-37fa-bb17-65fee5027b98@cogapp.com> <47807926-7A37-4367-9EE8-E12880345B4D@appisle.net> Message-ID: Hello Ben, You can definitely build an app for the iPad 1st Gen in 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 Fri, 6 Mar 2020 at 01:22, Monte Goulding via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos is the oracle for this kind of detail (he would be asleep right now > I think) but basically you will need an old version Xcode which you will > only be able to run on an old version of macOS and then the version of > LiveCode that matches said Xcode/macOS combo. The information is in the > release notes which you can download from > https://downloads.livecode.com/livecode/ < > https://downloads.livecode.com/livecode/> > > I?d take a stab at LiveCode 6.7.11 > > Cheers > > Monte > > > On 6 Mar 2020, at 10:12 am, Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > We've got some first generation iPads, which can't be updated past iOS > 5.1. I think I could find useful roles for them around the office, if I > could build to them. > > > > The essential https://livecode.com/docs/9-5-0/faq/faq/ doesn't go back > as far as 5.1. But I know that LiveCode could in the past build to these > machines - some of the apps I built in the past are still on them, though > sadly since they were built with developer provisioning profiles they've > expired! So I'm guessing that the compilers of the above table just felt it > wasn't worth going that far back in time. > > > > Does anyone know what the latest versions of LiveCode and Xcode (and > MacOS) are that I can use to target iOS 5.1? > > > > Many thanks, > > > > Ben > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr at cogapp.com Fri Mar 6 07:16:34 2020 From: benr at cogapp.com (Ben Rubinstein) Date: Fri, 6 Mar 2020 12:16:34 -0000 Subject: Targeting iOS 5.1 In-Reply-To: References: <78f6993c-82a9-37fa-bb17-65fee5027b98@cogapp.com> <47807926-7A37-4367-9EE8-E12880345B4D@appisle.net> Message-ID: Thanks Panos (and Monte). While I've got you on the line, Monte... I'm also hoping to get mergBLE working there, and I think I recall using it _way_ before LC 7. Are there any gotchas I should be aware of? On 06/03/2020 07:55, panagiotis merakos via use-livecode wrote: > Hello Ben, > > You can definitely build an app for the iPad 1st Gen in 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 Fri, 6 Mar 2020 at 01:22, Monte Goulding via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Panos is the oracle for this kind of detail (he would be asleep right now >> I think) but basically you will need an old version Xcode which you will >> only be able to run on an old version of macOS and then the version of >> LiveCode that matches said Xcode/macOS combo. The information is in the >> release notes which you can download from >> https://downloads.livecode.com/livecode/ < >> https://downloads.livecode.com/livecode/> >> >> I?d take a stab at LiveCode 6.7.11 >> >> Cheers >> >> Monte >> >>> On 6 Mar 2020, at 10:12 am, Ben Rubinstein via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> We've got some first generation iPads, which can't be updated past iOS >> 5.1. I think I could find useful roles for them around the office, if I >> could build to them. >>> >>> The essential https://livecode.com/docs/9-5-0/faq/faq/ doesn't go back >> as far as 5.1. But I know that LiveCode could in the past build to these >> machines - some of the apps I built in the past are still on them, though >> sadly since they were built with developer provisioning profiles they've >> expired! So I'm guessing that the compilers of the above table just felt it >> wasn't worth going that far back in time. >>> >>> Does anyone know what the latest versions of LiveCode and Xcode (and >> MacOS) are that I can use to target iOS 5.1? >>> >>> Many thanks, >>> >>> Ben >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Fri Mar 6 08:32:25 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 6 Mar 2020 08:32:25 -0500 Subject: StackSize limit on iOS In-Reply-To: References: Message-ID: just a guess, but does "printingStack" have a maxWidth value set (other than the default of 65535)? On 3/5/2020 10:46 PM, Dan Friedman via use-livecode wrote: > I am trying to produce a landscape PDF on a iPhone? > > open inv stack "printingStack" > set the width of stack "printingStack" to (11*72) > set the height of stack "printingStack" to (8.5*72) > answer the width of stack "printingStack" //------- this returns 414 ??? --------// > > I am using LC Business 9.6 > I know this was working on a prior version of LC / iOS > > Is there some new trick to this? Or, is there now some limitation on setting the size of a stack to something other than the width of the mobile device? If so, how do we generate a standard size PDF? > > Thanks in advance, > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Fri Mar 6 09:28:56 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 6 Mar 2020 09:28:56 -0500 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: <170a97c71b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <170a97c71b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <272E2908-D5DA-46EB-8C45-985043DC9B9D@all-auctions.com> Sorry you were unable to convince them to give up iPhone compatibility. I was lucky that I developed a couple of my apps to look great with a black background before there was dark mode! Good luck, Rick > On Mar 5, 2020, at 1:57 AM, J. Landman Gay via use-livecode wrote: > > I tried that and managed to avoid iOS for several years. Unfortunately clients demanded iPhone compatibility and I couldn't convince them otherwise. So here I am, realizing all over again what a pain it is to develop on that platform. > > The only good thing was that iPhone screen sizes were consistent, but they took that away too. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On March 4, 2020 6:17:17 PM Rick Harrison via use-livecode wrote: > >> The easiest solution is for everyone to immediately stop developing apps for iOS. >> That will definitely get Apple?s attention. Developers are sick of all the stupid >> requirements Apple constantly throws at us for our apps. Any apps we >> develop that we put into their store always gets buried in the piles and piles >> of apps there. If you just develop for macOS well at least you can avoid >> most of the screen size requirements. >> >> Thanks for the update anyway Henry. >> >> Rick >> From MikeKerner at roadrunner.com Fri Mar 6 10:13:32 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 6 Mar 2020 10:13:32 -0500 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: Ben, would you send me what you've got? I was considering paying someone to wrap the entire v4 api and dropping mergGoogle, so any head start would be useful. LC wants tribute to do the work (which is a little disappointing since we financed the original external, so we sort-of hoped that it would become a thing, and it would get updated as required, but crap happens). On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: > > is anyone using anything besides mergGoogle to work with google sheets? > > care to share, if you are? > > I'm just using the Google Sheets API directly from LiveCode - just pushing > JSON back and forth. The API is limited, but what's there is very easy to > work > with - much better than manipulating xlsx files. > > I started using it to get data from clients, and then processing data and > pushing it back into the sheets. I've also used on some experimental image > processing, where I found that pushing the results of LiveCode functions > into > a google sheet immediately gave me an nice interface in which to review > the > data, and then I could also use the spreadsheet functions to do evaluation > and > testing. > > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From brahma at hindu.org Fri Mar 6 15:41:38 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 6 Mar 2020 20:41:38 +0000 Subject: Problems with uploading iOS apps (german LC forum) In-Reply-To: <6E574920-93A3-4DEB-BFF5-0D27A2B6234A@major-k.de> References: <96EC58D5-57E0-4886-8C35-D24E036AC356@major-k.de> <6E574920-93A3-4DEB-BFF5-0D27A2B6234A@major-k.de> Message-ID: <9F23655C-FECB-4820-909A-6CB98503753A@hindu.org> FIRST: can we open a standalone is Xcode and gets details therein? I having the same problem. on Catalina? Using Transporter, with the correct App Store provisioning profile >> ERROR ITMS-9074:"Missing Provisioning Profile - Apps must contain a provisioning profile in a file named embedded.mobileprovision." FYI, in the past the "Application Loader" did not care what you named the **payload**.ipa You could name it "Klaus.ipa" as long as you had the "SivaSiva.app" inside it, before you compressed it. I have tried it both ways, successfully. I tried yesterday? twice (folder) Payload SivaSiva.app compress | rename to Payload.ipa |upload on Transporter same error try again SivaSiva SivaSiva.app compress | rename to SivaSiva.ipa |upload on Transporter same error My note to support was responded to with zero indication an answers. FWIT Hello, My name is Rachel with Apple Developer Program Support. Code sign issues are typically caused by an error in the configuration of local assets. We recommend checking the following items before reattempting your delivery: 1. You are signed into Xcode using the developer Apple ID associated with the app (Accounts pane in Xcode Preferences). BR: CORRECT 2. The bundle ID set in the Xcode project matches the bundle ID chosen in the App Store Connect app record. BR CORRECT If you continue to receive a code sign error, please provide responses to each of the following questions, so that we can make sure that your error is not related to an internal issue: 1. Is your Mac used to develop for multiple development teams? BR NO 2. Are you signing an iOS, tvOS, or macOS app? 3. If you are attempting to sign an iOS app, which type of deployment have you selected (Ad-hoc, Enterprise, or App Store)? BR: App Store Also provide the screenshots of the following: 1. The error message you receive. BR Can do that 2. 3. BR: if as not sure Xcode we can't send to following. 2. The Xcode project General pane. 3. The Xcode project Custom iOS Target Properties section located on the Info pane. 4. Your Provisioning Profile details as shown in Xcode Preferences on the Accounts pane after clicking the View Details button. 5. The Provisioning Profile details as shown in the Certificates, Identifiers & Profiles portal. After we receive this information, we'll follow up with you when we have an update. For reference, your case number is 101039628315. Best regards, Rachel Apple Inc. Hi Matthias, > Am 27.02.2020 um 18:01 schrieb matthias rebbe via use-livecode >: > > Hi Klaus, > > Panos replied already in the forum to MichaelS just yesterday. yes, I know. > It seems MichaelS renamed the iOS app to Payload (see MichaelS?s post from 21th January 20:03) instead of the folder where the app is stored in. > Maybe MichaelS missed Panos answer. No, he didn't. Thanks! > From tom at makeshyft.com Fri Mar 6 15:58:39 2020 From: tom at makeshyft.com (Tom Glod) Date: Fri, 6 Mar 2020 15:58:39 -0500 Subject: New Apple Developer iOS requirements beginning April 30 In-Reply-To: <272E2908-D5DA-46EB-8C45-985043DC9B9D@all-auctions.com> References: <170a97c71b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <272E2908-D5DA-46EB-8C45-985043DC9B9D@all-auctions.com> Message-ID: Thanks for this heads up, I'm currently working on 2 apps...one in LC one in Flutter. These are my first 2 mobile apps, and I am already sick of Apple and their .... I wish we could do what Rick said. On Fri, Mar 6, 2020 at 9:30 AM Rick Harrison via use-livecode < use-livecode at lists.runrev.com> wrote: > Sorry you were unable to convince them to give up iPhone compatibility. > > I was lucky that I developed a couple of my apps to look great with a black > background before there was dark mode! > > Good luck, > > Rick > > > On Mar 5, 2020, at 1:57 AM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I tried that and managed to avoid iOS for several years. Unfortunately > clients demanded iPhone compatibility and I couldn't convince them > otherwise. So here I am, realizing all over again what a pain it is to > develop on that platform. > > > > The only good thing was that iPhone screen sizes were consistent, but > they took that away too. > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > On March 4, 2020 6:17:17 PM Rick Harrison via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> The easiest solution is for everyone to immediately stop developing > apps for iOS. > >> That will definitely get Apple?s attention. Developers are sick of all > the stupid > >> requirements Apple constantly throws at us for our apps. Any apps we > >> develop that we put into their store always gets buried in the piles > and piles > >> of apps there. If you just develop for macOS well at least you can > avoid > >> most of the screen size requirements. > >> > >> Thanks for the update anyway Henry. > >> > >> 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From dan at clearvisiontech.com Fri Mar 6 17:00:05 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 6 Mar 2020 22:00:05 +0000 Subject: StackSize limit on iOS In-Reply-To: References: Message-ID: Paul, Thank you for the suggestion, but maxWidth is at the default. Regardless, I don't think the maxWidth property is in play when you set the dimensions of a stack by script. Any other thoughts? Kinda stuck! -Dan ?On 3/6/20, 5:34 AM, "use-livecode on behalf of Paul Dupuis via use-livecode" wrote: just a guess, but does "printingStack" have a maxWidth value set (other than the default of 65535)? On 3/5/2020 10:46 PM, Dan Friedman via use-livecode wrote: > I am trying to produce a landscape PDF on a iPhone? > > open inv stack "printingStack" > set the width of stack "printingStack" to (11*72) > set the height of stack "printingStack" to (8.5*72) > answer the width of stack "printingStack" //------- this returns 414 ??? --------// > > I am using LC Business 9.6 > I know this was working on a prior version of LC / iOS > > Is there some new trick to this? Or, is there now some limitation on setting the size of a stack to something other than the width of the mobile device? If so, how do we generate a standard size PDF? > > Thanks in advance, > -Dan From richmondmathewson at gmail.com Sat Mar 7 08:05:52 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 7 Mar 2020 15:05:52 +0200 Subject: Comedy Moment Message-ID: <9f4c00c3-1485-1ddf-046a-0647adc32e76@gmail.com> https://www.reddit.com/r/Python/comments/fets7z/update_on_the_visual_gui_maker_now_its_decent/ From sean at pidigital.co.uk Sat Mar 7 19:22:03 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 8 Mar 2020 00:22:03 +0000 Subject: Comedy Moment In-Reply-To: <9f4c00c3-1485-1ddf-046a-0647adc32e76@gmail.com> References: <9f4c00c3-1485-1ddf-046a-0647adc32e76@gmail.com> Message-ID: It's cool, considering it's for python. It helps us appreciate LC so much more, though, doesn't it! Sean Cole *Pi Digital* On Sat, 7 Mar 2020 at 13:05, Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > > https://www.reddit.com/r/Python/comments/fets7z/update_on_the_visual_gui_maker_now_its_decent/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gwjapp at gmail.com Sun Mar 8 14:25:15 2020 From: gwjapp at gmail.com (Gabe J) Date: Sun, 8 Mar 2020 13:25:15 -0500 Subject: Modal stacks acting like systemWindow property set to true Message-ID: Hi, We have noticed an issue in LiveCode where if a modal stack is triggered (example: using the "answer" command) in LiveCode 8 and 9 in MacOS, but we are in another application, the modal stack will appear over the other program we are in. This does not happen with "answer file", though (the resulting window will stay underneath the other application we are in). Does anyone know why this happens and how to prevent it? This does not seem to happen in LC 6.6.3, but happens in LC 8 and 9. Gabe From klaus at major-k.de Sun Mar 8 14:31:17 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 8 Mar 2020 19:31:17 +0100 Subject: Modal stacks acting like systemWindow property set to true In-Reply-To: References: Message-ID: <1FBECD39-BD99-4168-BDD3-C613CB3CFAF6@major-k.de> Hi Gabe, > Am 08.03.2020 um 19:25 schrieb Gabe J via use-livecode : > > Hi, > > We have noticed an issue in LiveCode where if a modal stack is triggered > (example: using the "answer" command) in LiveCode 8 and 9 in MacOS, but we > are in another application, the modal stack will appear over the other > program we are in. This does not happen with "answer file", though (the > resulting window will stay underneath the other application we are in). > > Does anyone know why this happens and how to prevent it? This does not seem > to happen in LC 6.6.3, but happens in LC 8 and 9. jut made a quick test and I do not see this on macOS 10.14.6 and LC 9.5.1. I created a button with this script, clicked it and switch to Mail and Safari, but no answer dialog on top except when switching back to LC. --- on mouseUp wait 3 secs answer "YO!" end mouseUp --- > Gabe Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From gwjapp at gmail.com Sun Mar 8 14:37:37 2020 From: gwjapp at gmail.com (Gabe J) Date: Sun, 8 Mar 2020 13:37:37 -0500 Subject: Modal stacks acting like systemWindow property set to true In-Reply-To: <1FBECD39-BD99-4168-BDD3-C613CB3CFAF6@major-k.de> References: <1FBECD39-BD99-4168-BDD3-C613CB3CFAF6@major-k.de> Message-ID: Sorry, I forgot an important detail: It has to be on a "send" command, like the following: * send* "answer 1" to this stack in 3 seconds Gabe On Sun, Mar 8, 2020 at 1:31 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Gabe, > > > Am 08.03.2020 um 19:25 schrieb Gabe J via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi, > > > > We have noticed an issue in LiveCode where if a modal stack is triggered > > (example: using the "answer" command) in LiveCode 8 and 9 in MacOS, but > we > > are in another application, the modal stack will appear over the other > > program we are in. This does not happen with "answer file", though (the > > resulting window will stay underneath the other application we are in). > > > > Does anyone know why this happens and how to prevent it? This does not > seem > > to happen in LC 6.6.3, but happens in LC 8 and 9. > > jut made a quick test and I do not see this on macOS 10.14.6 and LC 9.5.1. > > I created a button with this script, clicked it and switch to Mail and > Safari, > but no answer dialog on top except when switching back to LC. > --- > on mouseUp > wait 3 secs > answer "YO!" > end mouseUp > --- > > > Gabe > > 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 Sun Mar 8 14:40:30 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 8 Mar 2020 19:40:30 +0100 Subject: Modal stacks acting like systemWindow property set to true In-Reply-To: References: <1FBECD39-BD99-4168-BDD3-C613CB3CFAF6@major-k.de> Message-ID: <2C63DBB4-1317-4765-8E6D-6AB5079F343F@major-k.de> Hi Gabe, > Am 08.03.2020 um 19:37 schrieb Gabe J via use-livecode : > > Sorry, I forgot an important detail: > It has to be on a "send" command, like the following: > * send* "answer 1" to this stack in 3 seconds AHA! :-) OK, bug confirmed! > Gabe Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From benr at cogapp.com Sun Mar 8 18:00:27 2020 From: benr at cogapp.com (Ben Rubinstein) Date: Sun, 8 Mar 2020 22:00:27 -0000 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: <8493c65b-f5fd-f731-3de9-fd3e2aa5c614@cogapp.com> Mike, Very happy to share what I've got, but it's really not much - just a very thin wrapper round Google's API - and it's undocumented, mostly rough code - copied from one stack to the next, usually done in a tearing hurry! I'll try to pull something together, but please promise not to judge me... Ben On 06/03/2020 15:13, Mike Kerner via use-livecode wrote: > Ben, > would you send me what you've got? I was considering paying someone to > wrap the entire v4 api and dropping mergGoogle, so any head start would be > useful. LC wants tribute to do the work (which is a little disappointing > since we financed the original external, so we sort-of hoped that it would > become a thing, and it would get updated as required, but crap happens). > > On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: >>> is anyone using anything besides mergGoogle to work with google sheets? >>> care to share, if you are? >> >> I'm just using the Google Sheets API directly from LiveCode - just pushing >> JSON back and forth. The API is limited, but what's there is very easy to >> work >> with - much better than manipulating xlsx files. >> >> I started using it to get data from clients, and then processing data and >> pushing it back into the sheets. I've also used on some experimental image >> processing, where I found that pushing the results of LiveCode functions >> into >> a google sheet immediately gave me an nice interface in which to review >> the >> data, and then I could also use the spreadsheet functions to do evaluation >> and >> testing. >> >> 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 MikeKerner at roadrunner.com Sun Mar 8 18:22:14 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 8 Mar 2020 18:22:14 -0400 Subject: google sheets - anybody doing anything besides mergGoogle In-Reply-To: <8493c65b-f5fd-f731-3de9-fd3e2aa5c614@cogapp.com> References: <8493c65b-f5fd-f731-3de9-fd3e2aa5c614@cogapp.com> Message-ID: it might help us get started. i'm going to probably put out an rfq to wrap the v4 rest api, because we're going to have to come to a solution, either using lc or some other tool. On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike, > > Very happy to share what I've got, but it's really not much - just a very > thin > wrapper round Google's API - and it's undocumented, mostly rough code - > copied > from one stack to the next, usually done in a tearing hurry! > > I'll try to pull something together, but please promise not to judge me... > > Ben > > On 06/03/2020 15:13, Mike Kerner via use-livecode wrote: > > Ben, > > would you send me what you've got? I was considering paying someone to > > wrap the entire v4 api and dropping mergGoogle, so any head start would > be > > useful. LC wants tribute to do the work (which is a little disappointing > > since we financed the original external, so we sort-of hoped that it > would > > become a thing, and it would get updated as required, but crap happens). > > > > On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: > >>> is anyone using anything besides mergGoogle to work with google sheets? > >>> care to share, if you are? > >> > >> I'm just using the Google Sheets API directly from LiveCode - just > pushing > >> JSON back and forth. The API is limited, but what's there is very easy > to > >> work > >> with - much better than manipulating xlsx files. > >> > >> I started using it to get data from clients, and then processing data > and > >> pushing it back into the sheets. I've also used on some experimental > image > >> processing, where I found that pushing the results of LiveCode functions > >> into > >> a google sheet immediately gave me an nice interface in which to review > >> the > >> data, and then I could also use the spreadsheet functions to do > evaluation > >> and > >> testing. > >> > >> Ben > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 williamdesmet at gmail.com Mon Mar 9 07:33:36 2020 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 9 Mar 2020 12:33:36 +0100 Subject: Pinch-Zoom gesture on native textfield. How to? Message-ID: Hi there, Is it possible to pinch zoom on a native text field to make the text bigger/smaller? Has anyone done this? Any pointers / script snippets are welcome. greetings, William From tom at makeshyft.com Mon Mar 9 11:37:28 2020 From: tom at makeshyft.com (Tom Glod) Date: Mon, 9 Mar 2020 11:37:28 -0400 Subject: Pinch-Zoom gesture on native textfield. How to? In-Reply-To: References: Message-ID: I need to do this also in the app I am working on..I will be working on it next week....so I will share what I got unless someone already knows of a solution. On Mon, Mar 9, 2020 at 7:35 AM William de Smet via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi there, > > Is it possible to pinch zoom on a native text field to make the text > bigger/smaller? > Has anyone done this? > > Any pointers / script snippets are welcome. > > greetings, > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From hh at hyperhh.de Mon Mar 9 13:56:52 2020 From: hh at hyperhh.de (hh) Date: Mon, 9 Mar 2020 18:56:52 +0100 Subject: Pinch-Zoom gesture on native textfield. How to? Message-ID: http://lessons.livecode.com/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile http://lessons.livecode.com/m/4069/l/11509-how-do-i-implement-a-multi-touch-pinch-motion From panos.merakos at livecode.com Mon Mar 9 15:59:56 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 9 Mar 2020 21:59:56 +0200 Subject: [ANN] This Week in LiveCode 216 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 #216 here: http://bit.ly/2IxWidJ 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 williamdesmet at gmail.com Tue Mar 10 05:41:30 2020 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 10 Mar 2020 10:41:30 +0100 Subject: Pinch-Zoom gesture on native textfield. How to? In-Reply-To: References: Message-ID: Thanks! I tested the code on a normal/standard field and it kinda works. I changed the multitouch-pinch code form image to fld and added a 'set textSize ...'. However it doesn't work as expected. The field is changing faster and bigger then the text inside the field. Then I found this script on the forum: https://forums.livecode.com/viewtopic.php?f=53&t=13435&p=64556&hilit=pinch+zoom+text+field&sid=bc8d11d77d2ab8de722b07bc4863fb09#p64556 Text is resizing but not smooth. Greetings, William Op ma 9 mrt. 2020 om 18:58 schreef hh via use-livecode < use-livecode at lists.runrev.com>: > > http://lessons.livecode.com/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile > > http://lessons.livecode.com/m/4069/l/11509-how-do-i-implement-a-multi-touch-pinch-motion > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Mar 10 06:35:42 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Mar 2020 12:35:42 +0200 Subject: Stacks and Custom properties Message-ID: <5d889210-af50-bdb3-b53a-5abb7df29611@gmail.com> Can a stack have custom properties? Richmond. From kaveh at rivervalleytechnologies.com Tue Mar 10 06:38:35 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Tue, 10 Mar 2020 10:38:35 +0000 Subject: Stacks and Custom properties In-Reply-To: <5d889210-af50-bdb3-b53a-5abb7df29611@gmail.com> References: <5d889210-af50-bdb3-b53a-5abb7df29611@gmail.com> Message-ID: Absolutely. I keep most of my variables in stack custom properties. On Tue, 10 Mar 2020 at 10:36, Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > Can a stack have custom properties? > > 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 > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From dunbarx at aol.com Tue Mar 10 08:04:44 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 10 Mar 2020 12:04:44 +0000 (UTC) Subject: Stacks and Custom properties In-Reply-To: References: <5d889210-af50-bdb3-b53a-5abb7df29611@gmail.com> Message-ID: <26686927.1709464.1583841884524@mail.yahoo.com> Sure. Any object that has an inspector, and that means everything, can hold custom properties. Open the stack inspector and check it out. The trick is to know where to place these things. It depends on what is going to need them. In a sense, you might think they ought to fall into some sort of "message hierarchy", but since they are always explicitly referenced, this is not strictly true. You generally place them according you your own sense of structure. Craig -----Original Message----- From: Kaveh Bazargan via use-livecode To: How to use LiveCode Cc: Kaveh Bazargan Sent: Tue, Mar 10, 2020 6:39 am Subject: Re: Stacks and Custom properties Absolutely. I keep most of my variables in stack custom properties. On Tue, 10 Mar 2020 at 10:36, Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > Can a stack have custom properties? > > 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 > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Mar 10 10:52:37 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 10 Mar 2020 14:52:37 +0000 Subject: Stacks and Custom properties In-Reply-To: References: <5d889210-af50-bdb3-b53a-5abb7df29611@gmail.com> Message-ID: <28BBEF5E-A683-4BE0-8772-D1BBD01C5BCA@iotecdigital.com> The downside to doing this is that you cannot have your properties persist between sessions unless you can save the stack containing the properties. A mainstack in a standalone cannot be saved, and other stacks may have issues saving if they are in a sandboxed or secured location. If you are using this just for runtime variables, that would work but it begs the question, why? Variables are easier to reference in your code. Bob S > On Mar 10, 2020, at 03:38 , Kaveh Bazargan via use-livecode wrote: > > Absolutely. I keep most of my variables in stack custom properties. From kaveh at rivervalleytechnologies.com Tue Mar 10 11:15:29 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Tue, 10 Mar 2020 15:15:29 +0000 Subject: Stacks and Custom properties In-Reply-To: <28BBEF5E-A683-4BE0-8772-D1BBD01C5BCA@iotecdigital.com> References: <5d889210-af50-bdb3-b53a-5abb7df29611@gmail.com> <28BBEF5E-A683-4BE0-8772-D1BBD01C5BCA@iotecdigital.com> Message-ID: Bob, good point. In my case I am using several standalone stacks, so when the standalone opens, it reads data from a remote location (database or Google Sheets) and saves them as custom variables. In addition there are variables that are created throughout a session that are saved in a similar way. Then these values are available to all stacks throughout the session. Glad to hear of any thoughts on this. On Tue, 10 Mar 2020 at 14:54, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > The downside to doing this is that you cannot have your properties persist > between sessions unless you can save the stack containing the properties. A > mainstack in a standalone cannot be saved, and other stacks may have issues > saving if they are in a sandboxed or secured location. > > If you are using this just for runtime variables, that would work but it > begs the question, why? Variables are easier to reference in your code. > > Bob S > > > > On Mar 10, 2020, at 03:38 , Kaveh Bazargan via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Absolutely. I keep most of my variables in stack custom properties. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From bobsneidar at iotecdigital.com Tue Mar 10 11:49:15 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 10 Mar 2020 15:49:15 +0000 Subject: Revisiting old bones Message-ID: <4150ED60-A960-4D5F-BCEB-9098E007E2F0@iotecdigital.com> Hi all. Forgive me for dredging up an old issue again, but this really is a bug. When I close a stack I get the loc of the stack and save it in a custom property. When I open the stack I get that property (I checked that it is identical to what I saved it as) then set the loc of the stack to that. It ends up 11 pixels HIGHER than it was when I saved it!! I check the loc of the stack after it opens that's how I know!!! If I set the loc of a stack, and what ends up in the property is SOMETHING OTHER THAN WHAT I TOLD IT TO BE, isn't that a bug, Mac Menu Bars notwithstanding??? Sorry for sounding animated but this really "bugs" me. Bob S From bobsneidar at iotecdigital.com Tue Mar 10 12:08:19 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 10 Mar 2020 16:08:19 +0000 Subject: Revisiting old bones In-Reply-To: <4150ED60-A960-4D5F-BCEB-9098E007E2F0@iotecdigital.com> References: <4150ED60-A960-4D5F-BCEB-9098E007E2F0@iotecdigital.com> Message-ID: Have to eat crow. Another function that set the rect of the stack based on the objects it contained was the culprit. Bob S > On Mar 10, 2020, at 08:49 , Bob Sneidar via use-livecode wrote: > > Hi all. Forgive me for dredging up an old issue again, but this really is a bug. > > When I close a stack I get the loc of the stack and save it in a custom property. When I open the stack I get that property (I checked that it is identical to what I saved it as) then set the loc of the stack to that. It ends up 11 pixels HIGHER than it was when I saved it!! I check the loc of the stack after it opens that's how I know!!! > > If I set the loc of a stack, and what ends up in the property is SOMETHING OTHER THAN WHAT I TOLD IT TO BE, isn't that a bug, Mac Menu Bars notwithstanding??? > > Sorry for sounding animated but this really "bugs" me. > > Bob S From richmondmathewson at gmail.com Tue Mar 10 12:36:29 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Mar 2020 18:36:29 +0200 Subject: Stacks and Custom properties In-Reply-To: <28BBEF5E-A683-4BE0-8772-D1BBD01C5BCA@iotecdigital.com> References: <5d889210-af50-bdb3-b53a-5abb7df29611@gmail.com> <28BBEF5E-A683-4BE0-8772-D1BBD01C5BCA@iotecdigital.com> Message-ID: <3bd0a056-ab61-9473-a094-92d4a569f701@gmail.com> I am only using a single custom property in my *Devawriter Pro* for end-users to set the thing to the left, right or centre of their screen. This is not something that needs to persist between user sessions. On 10.03.20 16:52, Bob Sneidar via use-livecode wrote: > The downside to doing this is that you cannot have your properties persist between sessions unless you can save the stack containing the properties. A mainstack in a standalone cannot be saved, and other stacks may have issues saving if they are in a sandboxed or secured location. > > If you are using this just for runtime variables, that would work but it begs the question, why? Variables are easier to reference in your code. > > Bob S > > >> On Mar 10, 2020, at 03:38 , Kaveh Bazargan via use-livecode wrote: >> >> Absolutely. I keep most of my variables in stack custom properties. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Tue Mar 10 18:10:07 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 10 Mar 2020 22:10:07 +0000 Subject: Apple Deprecated "UIApplicationExitsOnSuspend" In-Reply-To: References: <003001d5214b$a9c82e30$fd588a90$@net> Message-ID: <65D81D7A-1DB8-4BCB-92C8-9329C5D5801B@hindu.org> Apple is making it worse. As March 10, the Transporter/App Store (it seems) will a) verify to app (I am on a new Mac with a fresh set of certs and provisioning profiles) b) then, accept delivery of the app c) then respond with :"DELIVERRY FAILED ON MAR 10, 2020, AT 11:48 AM". 1 Issue d). ERROR ITMS-90339: "This bundle is invalid. The Info.plist contains an invalid key 'UIApplicationExitsOnSuspend' in bundle SivaSiva [SivaSiva.app]" Usually after an hour or so, the build would appear, despite the error and you could go to TestFlight. Now after 3 hours, the build will not appear. AND If you can edit the pList on in standalone, we get another error on attempt thru Transporter: ERROR ITMS-90035: "Invalid Signature. Invalid Info.plist (plist or signature have been modified). The file at path [SivaSiva.app/SivaSiva] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html" I guess I have to edit the .plist in the 9.6.dp2 build resources... Another day lost to Apple.... On 6/12/19, 11:31 AM, "Sannyasin Brahmanathaswami" wrote: Yes, I tried to re-upload after deleted in the key (without checking iTunes first) and it turns out the first app was accepted..., "redundant build'' on the 2nd attempt. I went into iTunesConnect and and the app is now in for review by the Lords of Apple. Agreed. We need to find out what "gives" with this key being deleted. Maybe we well get a "resume" message from iOS to the LC in the engine... that would be interesting. BR On 6/12/19, 8:20 AM, "Ralph DiMola" wrote: Apparently ALL apps will NOT "exit on suspend" in iOS 12+. The real question is if we eliminate this key too soon then what will happened to pre iOS 12 installs? I think for now we should keep this key and live with the warnings. On 6/12/19, 8:20 AM, "Ralph DiMola" wrote: I had this problem last week. I have a ticket out but am unable to work on it because our office is moving and we are in shambles. This is just a warning and your .app will be processed and approved for submission for app review. Apparently ALL apps will NOT "exit on suspend" in iOS 12+. The real question is if we eliminate this key too soon then what will happened to pre iOS 12 installs? I think for now we should keep this key and live with the warnings. From matthias_livecode_150811 at m-r-d.de Tue Mar 10 19:14:53 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 11 Mar 2020 00:14:53 +0100 Subject: Apple Deprecated "UIApplicationExitsOnSuspend" In-Reply-To: <65D81D7A-1DB8-4BCB-92C8-9329C5D5801B@hindu.org> References: <003001d5214b$a9c82e30$fd588a90$@net> <65D81D7A-1DB8-4BCB-92C8-9329C5D5801B@hindu.org> Message-ID: <72DEF871-EC45-426E-B136-EEAB43DF4D69@m-r-d.de> > Am 10.03.2020 um 23:10 schrieb Sannyasin Brahmanathaswami via use-livecode : > > If you can edit the pList on in standalone, we get another error on attempt thru Transporter: BR, You cannot edit the info.plist file directly in your standalone app bundle. You have to copy that file to the outside of the app bundle, for example to the desktop. Then edit that file on the desktop and save it. Then go to Standalone Settings -> Copy Files and add that file (the one on the desktop). Now create your app again. The new standalone will now contain your modified info.plist file and the error should not come up when uploading to Apple. Regards, Matthias From brahma at hindu.org Tue Mar 10 19:35:09 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 10 Mar 2020 23:35:09 +0000 Subject: Apple Deprecated "UIApplicationExitsOnSuspend" In-Reply-To: <72DEF871-EC45-426E-B136-EEAB43DF4D69@m-r-d.de> References: <003001d5214b$a9c82e30$fd588a90$@net> <65D81D7A-1DB8-4BCB-92C8-9329C5D5801B@hindu.org> <72DEF871-EC45-426E-B136-EEAB43DF4D69@m-r-d.de> Message-ID: <4E7C4B12-F299-47D1-9B38-364424A44F25@hindu.org> Ha I should have waited for you... I edited the settings.plist in all ~/Applications/LiveCode Business 9.6.0 (dp 2).app/Contents/Tools/Runtime/iOS # a six settings files And used Ralph method Edit the script of stack revSaveAsIosStandalone And delete 1709 It worked. Transporter says "DELIVERED ON MAR 10... YAY! I try your method next time BR ?On 3/10/20, 1:15 PM, "use-livecode on behalf of matthias rebbe via use-livecode" wrote: > Am 10.03.2020 um 23:10 schrieb Sannyasin Brahmanathaswami via use-livecode : > > If you can edit the pList on in standalone, we get another error on attempt thru Transporter: BR, You cannot edit the info.plist file directly in your standalone app bundle. You have to copy that file to the outside of the app bundle, for example to the desktop. Then edit that file on the desktop and save it. Then go to Standalone Settings -> Copy Files and add that file (the one on the desktop). Now create your app again. The new standalone will now contain your modified info.plist file and the error should not come up when uploading to Apple. Regards, Matthias _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Mar 11 06:29:46 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 11 Mar 2020 11:29:46 +0100 Subject: Apple Deprecated "UIApplicationExitsOnSuspend" In-Reply-To: <4E7C4B12-F299-47D1-9B38-364424A44F25@hindu.org> References: <003001d5214b$a9c82e30$fd588a90$@net> <65D81D7A-1DB8-4BCB-92C8-9329C5D5801B@hindu.org> <72DEF871-EC45-426E-B136-EEAB43DF4D69@m-r-d.de> <4E7C4B12-F299-47D1-9B38-364424A44F25@hindu.org> Message-ID: <6BD14AD9-1892-4A0E-8749-BE7E29FF915C@m-r-d.de> Good to know that it worked for you now. Ralph method is better, because it has to be done once and all created standalone now will contain the correct info.plist right away. If i remember correctly then 9.6.0 dp3 will already include that modification. - Matthias Rebbe Life Is Too Short For Boring Code > Am 11.03.2020 um 00:35 schrieb Sannyasin Brahmanathaswami via use-livecode : > > Ha I should have waited for you... I edited the settings.plist in all > > ~/Applications/LiveCode Business 9.6.0 (dp 2).app/Contents/Tools/Runtime/iOS # a six settings files > > And used Ralph method > > Edit the script of stack revSaveAsIosStandalone > > And delete 1709 > > It worked. Transporter says "DELIVERED ON MAR 10... > > YAY! I try your method next time > > BR > > > ?On 3/10/20, 1:15 PM, "use-livecode on behalf of matthias rebbe via use-livecode" wrote: > > > >> Am 10.03.2020 um 23:10 schrieb Sannyasin Brahmanathaswami via use-livecode : >> >> If you can edit the pList on in standalone, we get another error on attempt thru Transporter: > > > BR, > > You cannot edit the info.plist file directly in your standalone app bundle. > > You have to copy that file to the outside of the app bundle, for example to the desktop. > Then edit that file on the desktop and save it. > Then go to Standalone Settings -> Copy Files and add that file (the one on the desktop). > Now create your app again. The new standalone will now contain your modified info.plist file and the error should not come up when uploading to Apple. > > Regards, > > Matthias > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Mar 11 13:09:35 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 11 Mar 2020 13:09:35 -0400 Subject: [rfq]implement google sheets rest api Message-ID: we're looking for someone to quote implementing the google sheets rest api to replace mergGoogle (and extend features since the rest API is more extensive than mergGoogle) https://developers.google.com/sheets/api/reference/rest I was thinking of taking the nice work monte did on the lc dropbox library, and maybe applying that (and some of the code) to this project. terms would be something like: ? we get/own/copyright the source (aside from any oss code) ? terms are n30, paid in us funds via corporate check ? any disputed adjudicated in erie, pa if you're interested, please email me at mikekerner (some symbol) rmkco [some other symbol] com -- 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 benr at cogapp.com Wed Mar 11 16:45:22 2020 From: benr at cogapp.com (Ben Rubinstein) Date: Wed, 11 Mar 2020 20:45:22 -0000 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: <8493c65b-f5fd-f731-3de9-fd3e2aa5c614@cogapp.com> Message-ID: <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> Hi Mike, I haven't forgotten, but finally found time to take a look today and started writing minimal comments, and thought I should at least test it - for some reason the authorisation isn't working. For whatever reason, the call to OAuth2 results in the error "Malformed auth code." So I can't get to test what I'm sending. I'm unclear whether I've done something strange or wrong, or whether Google has changed something that breaks LC's implementation. I've come across references which suggest that, but they date back to last year, and I believe I've used this stack in January. (I also tried using LC 9.0.4 with the same result.) I will try to get back to this. In the meantime, have you - or anyone - found issues recently with OAuth2, in particular against any of the Google APIs? Ben On 08/03/2020 22:22, Mike Kerner via use-livecode wrote: > it might help us get started. i'm going to probably put out an rfq to wrap > the v4 rest api, because we're going to have to come to a solution, either > using lc or some other tool. > > On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Mike, >> >> Very happy to share what I've got, but it's really not much - just a very >> thin >> wrapper round Google's API - and it's undocumented, mostly rough code - >> copied >> from one stack to the next, usually done in a tearing hurry! >> >> I'll try to pull something together, but please promise not to judge me... >> >> Ben >> >> On 06/03/2020 15:13, Mike Kerner via use-livecode wrote: >>> Ben, >>> would you send me what you've got? I was considering paying someone to >>> wrap the entire v4 api and dropping mergGoogle, so any head start would >> be >>> useful. LC wants tribute to do the work (which is a little disappointing >>> since we financed the original external, so we sort-of hoped that it >> would >>> become a thing, and it would get updated as required, but crap happens). >>> >>> On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: >>>>> is anyone using anything besides mergGoogle to work with google sheets? >>>>> care to share, if you are? >>>> >>>> I'm just using the Google Sheets API directly from LiveCode - just >> pushing >>>> JSON back and forth. The API is limited, but what's there is very easy >> to >>>> work >>>> with - much better than manipulating xlsx files. >>>> >>>> I started using it to get data from clients, and then processing data >> and >>>> pushing it back into the sheets. I've also used on some experimental >> image >>>> processing, where I found that pushing the results of LiveCode functions >>>> into >>>> a google sheet immediately gave me an nice interface in which to review >>>> the >>>> data, and then I could also use the spreadsheet functions to do >> evaluation >>>> and >>>> testing. >>>> >>>> Ben >>>> >>>> ____ From sean at pidigital.co.uk Wed Mar 11 18:06:17 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 11 Mar 2020 22:06:17 +0000 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> References: <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> Message-ID: I had a major issue with oAuth when google first switched off the old credentials format which caused me to have a major breakdown and lost all of my clients as a result. Merg had not been updated to reflect and prepare the the change so caused it to catastrophically breakdown on the very day (by coincidence) that it was needed for a live broadcast recording. Monte was able to fix it but too late for my clients or my mental well-being. Since that I have avoided using any third party resource that is code-locked or not open source. I can?t risk other people not updating LC. I?m just as worried about using LC as it is falling behind on so many OS requirements and issues and fixes are just not pulling through quick enough for practical customer reliability. There is near silence from LC in the last number of months. Worrying indeed. I?m guessing uptake for LC4FM is as low as I had predicted it would be, especially based on the forum discussions. Considering the number of issues I would predict new users to have there are practically no comments made at all. Or maybe they have been able to get into it with no issues at all because it is so perfectly coded ;). 9.6 DP2 was announced on 18Dec2019. Script editor breakpoints and linenumbers are still screwed up and no one appears to be working on it. Promising! Still no RC or GM in sight. No word from LC what they are doing. Dead in the water? Sean Cole Pi > On 11 Mar 2020, at 20:45, Ben Rubinstein via use-livecode wrote: > > I will try to get back to this. In the meantime, have you - or anyone - found issues recently with OAuth2, in particular against any of the Google APIs? From ambassador at fourthworld.com Wed Mar 11 18:36:10 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Mar 2020 15:36:10 -0700 Subject: Philosophical questions about the fontNames Message-ID: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> Querying the fontNames includes: (Default) (Styled Text) (Menu) (Text) (Message) (Tooltip) (System) These are not font names, but constants the engine accepts so that we can have good-looking, HIG-savvy UIs on multiple platforms. But they're not font names. They're not fonts at all. They're engine directives. So should they be included in the fontNames? (Yes, I know I can exclude them. I've been doing this a while, I can do lots of things. But if a newcomer wants to make a Fonts menu or list she also needs to know the filter command, and why she needs to use it to filter out things that aren't fonts. #learnability) -- 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 Mar 11 18:48:15 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Mar 2020 17:48:15 -0500 Subject: Philosophical questions about the fontNames In-Reply-To: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> References: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> Message-ID: On 3/11/20 5:36 PM, Richard Gaskin via use-livecode wrote: > Querying the fontNames includes: > > (Default) > (Styled Text) > (Menu) > (Text) > (Message) > (Tooltip) > (System) > > These are not font names, but constants the engine accepts so that we can have good-looking, > HIG-savvy UIs on multiple platforms. > > But they're not font names.? They're not fonts at all.? They're engine directives. > > So should they be included in the fontNames? > > (Yes, I know I can exclude them. I've been doing this a while, I can do lots of things.? But if > a newcomer wants to make a Fonts menu or list she also needs to know the filter command, and > why she needs to use it to filter out things that aren't fonts. #learnability) > Maybe we need the "effective fontnames". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From charles-lachat at orange.fr Wed Mar 11 18:48:39 2020 From: charles-lachat at orange.fr (Charles Lachat) Date: Wed, 11 Mar 2020 23:48:39 +0100 Subject: =?utf-8?Q?Where_is_Andr=C3=A9_=3F?= In-Reply-To: References: Message-ID: <0E543139-DBAA-4C99-8E71-BA1A14CEEF81@orange.fr> Hi, Let?s say I build an XML tree in LiveCode; part of it is: revXMLPutIntoNode idID, "/identity/name", textEncode (field "name_source" ,"UTF8") -- fld contains "Andr?" When I write the XML file: put revXMLText (idID) into URL **myFile.xml** ? I don?t find Andr? any longer, but André How can I fix this using LiveCode tools ? (I mean without using i.e. *replace oldString with newString in container* for each accented character) Thanks. CL ======= full example at: https://forums.livecode.com/viewtopic.php?f=7&t=33761 From jacque at hyperactivesw.com Wed Mar 11 18:58:36 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Mar 2020 17:58:36 -0500 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> Message-ID: <2e07cbf9-3b00-184c-c529-5593bf2a92e0@hyperactivesw.com> On 3/11/20 5:06 PM, Pi Digital via use-livecode wrote: > I?m guessing uptake for LC4FM is as low as I had predicted it would be, especially based on the forum discussions. Forum participation is not a good indication of uptake, and I wouldn't venture a guess based on that. I don't think folks realize how valuable the FM project is for the rest of us. I know it's made my mobile projects much easier, lots of bugs have been addressed there, and Android is getting a lot of love these days. Oh ye of little faith. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sean at pidigital.co.uk Wed Mar 11 19:31:33 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 11 Mar 2020 23:31:33 +0000 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: <2e07cbf9-3b00-184c-c529-5593bf2a92e0@hyperactivesw.com> References: <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> <2e07cbf9-3b00-184c-c529-5593bf2a92e0@hyperactivesw.com> Message-ID: Faith, I am told, is the 'Assured expectation of things not yet beheld'. There is very little in the way of evidence or assurance to inspire faith. Unless it's there and I'm looking in the wrong places. As I say, script editor is still messed up and thats where ALL of our work gets done. I'm tired of having to work with workarounds. And don't even get me started on HTML5. No 'signs' of progress anywhere. Even pull requests are near dull-to-silent Sean Cole On Wed, 11 Mar 2020 at 22:58, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 3/11/20 5:06 PM, Pi Digital via use-livecode wrote: > > I?m guessing uptake for LC4FM is as low as I had predicted it would be, > especially based on the forum discussions. > > Forum participation is not a good indication of uptake, and I wouldn't > venture a guess based on > that. I don't think folks realize how valuable the FM project is for the > rest of us. I know > it's made my mobile projects much easier, lots of bugs have been addressed > there, and Android > is getting a lot of love these days. > > Oh ye of little faith. ;) > > -- > 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 paul at researchware.com Wed Mar 11 19:38:25 2020 From: paul at researchware.com (Paul Dupuis) Date: Wed, 11 Mar 2020 19:38:25 -0400 Subject: Philosophical questions about the fontNames In-Reply-To: References: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> Message-ID: <8989e2f6-fcd1-5f96-0db8-d55a793c392f@researchware.com> On 3/11/2020 6:48 PM, J. Landman Gay via use-livecode wrote: > On 3/11/20 5:36 PM, Richard Gaskin via use-livecode wrote: >> Querying the fontNames includes: >> >> (Default) >> (Styled Text) >> (Menu) >> (Text) >> (Message) >> (Tooltip) >> (System) >> >> These are not font names, but constants the engine accepts so that we >> can have good-looking, HIG-savvy UIs on multiple platforms. >> >> But they're not font names.? They're not fonts at all.? They're >> engine directives. >> >> So should they be included in the fontNames? >> >> (Yes, I know I can exclude them. I've been doing this a while, I can >> do lots of things.? But if a newcomer wants to make a Fonts menu or >> list she also needs to know the filter command, and why she needs to >> use it to filter out things that aren't fonts. #learnability) >> > > Maybe we need the "effective fontnames". > On 3/11/2020 6:48 PM, J. Landman Gay via use-livecode wrote: > On 3/11/20 5:36 PM, Richard Gaskin via use-livecode wrote: >> Querying the fontNames includes: >> >> (Default) >> (Styled Text) >> (Menu) >> (Text) >> (Message) >> (Tooltip) >> (System) >> >> These are not font names, but constants the engine accepts so that we >> can have good-looking, HIG-savvy UIs on multiple platforms. >> >> But they're not font names.? They're not fonts at all.? They're >> engine directives. >> >> So should they be included in the fontNames? >> >> (Yes, I know I can exclude them. I've been doing this a while, I can >> do lots of things.? But if a newcomer wants to make a Fonts menu or >> list she also needs to know the filter command, and why she needs to >> use it to filter out things that aren't fonts. #learnability) >> > > Maybe we need the "effective fontnames". > I filled a bug report on this back in February: https://quality.livecode.com/show_bug.cgi?id=22564 Mark Waddingham declared it was not a bug but a documentation issue, so I filed and enhancement request: https://quality.livecode.com/show_bug.cgi?id=22569 Personally, I think the following code SHOULD work: set the textFont of fld "X" to "(Text)" put the effective textFont of fld "X" And return the actual font used for (Text) on the current platform (for example Segue UI on Windows 10. My goal was to be able to read somewhere like in the dictionary or user guide or run some code to find out what the actual font is for each of the "specials" on Windows and macOS. From sean at pidigital.co.uk Wed Mar 11 20:08:33 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 12 Mar 2020 00:08:33 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? Message-ID: With the release of early GM versions of these from Apple 6mths ago and dev releases since 9 mths ago, Why do I STILL have them uninstalled on my machines because I have been waiting for LC to catch up?? This is making my nethers ache now. Panos merged it WAY BACK in Jan 14th. ??????? C'mon! Tired and ill. My business is constantly lagging behind my competitors because we're always on the backfoot waiting for LC to frikin' work! I'm going to end up losing all my new customers again since the last LC epic fail. Why do they keep doing this to me? Seriously! Sean Cole *Pi * From ambassador at fourthworld.com Wed Mar 11 20:17:35 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Mar 2020 17:17:35 -0700 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: I had thought the problem at that time was that your app was using Google's older auth method, before they switched to OAth2. The Oath2 lib is in LC's Github repository: https://github.com/livecode/livecode/blob/develop/extensions/script-libraries/oauth2/oauth2.livecodescript So now I'm confused: is OAuth2 not working in LC 9.x? I'm also confused about "near silence" - Mark Waddingham has posted here three times this month, and it's only the 10th. He's even posted in the forums more frequently lately than I'm used to seeing. As for the breakpoints crasher, I'd thought that was addressed in v9.1, no? -- Richard Gaskin Fourth World Systems Pi Digital wrote: > I had a major issue with oAuth when google first switched off the old credentials format which caused me to have a major breakdown and lost all of my clients as a result. Merg had not been updated to reflect and prepare the the change so caused it to catastrophically breakdown on the very day (by coincidence) that it was needed for a live broadcast recording. Monte was able to fix it but too late for my clients or my mental well-being. > > Since that I have avoided using any third party resource that is code-locked or not open source. I can?t risk other people not updating LC. I?m just as worried about using LC as it is falling behind on so many OS requirements and issues and fixes are just not pulling through quick enough for practical customer reliability. > > There is near silence from LC in the last number of months. Worrying indeed. I?m guessing uptake for LC4FM is as low as I had predicted it would be, especially based on the forum discussions. Considering the number of issues I would predict new users to have there are practically no comments made at all. Or maybe they have been able to get into it with no issues at all because it is so perfectly coded ;). > > 9.6 DP2 was announced on 18Dec2019. Script editor breakpoints and linenumbers are still screwed up and no one appears to be working on it. Promising! Still no RC or GM in sight. No word from LC what they are doing. Dead in the water? > > Sean Cole > Pi From jacque at hyperactivesw.com Wed Mar 11 22:05:59 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Mar 2020 21:05:59 -0500 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: <170cc7dc358.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The crasher was fixed. I think Sean is talking about how scrolling doesn't change the position of the red dots. That seems minor, since it fixes itself once any keyboard activity happens. Annoying maybe, but not critical. The bad bugs usually get fixed. Panos said the team is aware of the new iOS requirements and they're on it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 11, 2020 7:19:34 PM Richard Gaskin via use-livecode wrote: > As for the breakpoints crasher, I'd thought that was addressed in v9.1, no? From sean at pidigital.co.uk Wed Mar 11 22:50:02 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 12 Mar 2020 02:50:02 +0000 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: On Thu, 12 Mar 2020 at 00:17, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > I had thought the problem at that time was that your app was using > Google's older auth method, before they switched to OAth2. > Correct. But not the oAuth Lib directly anyway. What bothered me was oAuth had been added but not to the Google extension. Which was odd > > The Oath2 lib is in LC's Github repository: > > https://github.com/livecode/livecode/blob/develop/extensions/script-libraries/oauth2/oauth2.livecodescript > > So now I'm confused: is OAuth2 not working in LC 9.x? > I don't rely on any third party stuff anymore as it's out of my control and have to wait an age before someone perhaps, maybe, some year, updates it. > > I'm also confused about "near silence" - Mark Waddingham has posted here > three times this month, and it's only the 10th. He's even posted in the > forums more frequently lately than I'm used to seeing. > Do you mean wIth reference to progress, roadmap, where the updates are and how far along...? Or just in response to other specific questions and ramblings about an existing feature or somewhat? > > As for the breakpoints crasher, I'd thought that was addressed in v9.1, no? > Afraid not. 9.5.1 and 9.6 dp2 are still exhibiting breakpoint crashes. Not as often as before but, still, there are occurrences. And for some very odd reason an early sign it's going to become a problem I notice the line numbers don't scroll with the script after I've run one with a breakpoint that I've then stepped through - you know - so I can do my job and work out where bugs are. When I see this I have to close the script editor and reopen it to prevent it from crashing altogether - although sometimes it gives no warning. Next time I see it happening I'll do a screen recording so all can see it in it's glory. Counter to what Jacque says, it does not 'fix' itself. It persists until it gives up. It still crashes occasionally. It's nice to hear they are 'on it' -- 9 / 6 / 3 months later! (It hurts so much..!!) From mark at livecode.com Thu Mar 12 03:46:02 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 12 Mar 2020 07:46:02 +0000 Subject: Philosophical questions about the fontNames In-Reply-To: <8989e2f6-fcd1-5f96-0db8-d55a793c392f@researchware.com> References: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> <8989e2f6-fcd1-5f96-0db8-d55a793c392f@researchware.com> Message-ID: On 2020-03-11 23:38, Paul Dupuis via use-livecode wrote: > I filled a bug report on this back in February: > https://quality.livecode.com/show_bug.cgi?id=22564 > > Mark Waddingham declared it was not a bug but a documentation issue, > so I filed and enhancement request: > https://quality.livecode.com/show_bug.cgi?id=22569 > > Personally, I think the following code SHOULD work: > > set the textFont of fld "X" to "(Text)" > put the effective textFont of fld "X" > > And return the actual font used for (Text) on the current platform > (for example Segue UI on Windows 10. > > My goal was to be able to read somewhere like in the dictionary or > user guide or run some code to find out what the actual font is for > each of the "specials" on Windows and macOS. To be accurate, your request / report is entirely different from Richard's philosophical question. You want 'the effective fontName' of a chunk / object to return the actual name of the font which the system is using to render the glyphs - which would be huge departure from its current (very LC-specific) meaning. Also I did not declare it a documentation issue (because it is not). My exact wording was: "I suspect it is possible to get the names of the actual system-provided fonts - but there is no facility in LiveCode for this at present. Please file an enhancement request for this ability." This is precisely because the mapping is not fixed. Both Windows and Linux allow the user to change the relevant fonts used at the system level, and macOS uses highly-specialized UI fonts for the purpose (as Klaus and I recently discovered when he was having a problem with text extraction from PDFs printed from LC!). My current point of view is that this need represents an edge-case, and it is more than likely that changing your approach to whatever it is you believe you need it for means you won't... So, an important question is here why do you need to know the actual font being used when an object is set to render with one of the meta-(theme)- fonts? Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Thu Mar 12 03:55:20 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 12 Mar 2020 07:55:20 +0000 Subject: Philosophical questions about the fontNames In-Reply-To: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> References: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> Message-ID: On 2020-03-11 22:36, Richard Gaskin via use-livecode wrote: > Querying the fontNames includes: > > (Default) > (Styled Text) > (Menu) > (Text) > (Message) > (Tooltip) > (System) > > These are not font names, but constants the engine accepts so that we > can have good-looking, HIG-savvy UIs on multiple platforms. > > But they're not font names. They're not fonts at all. They're engine > directives. > > So should they be included in the fontNames? > > (Yes, I know I can exclude them. I've been doing this a while, I can > do lots of things. But if a newcomer wants to make a Fonts menu or > list she also needs to know the filter command, and why she needs to > use it to filter out things that aren't fonts. #learnability) Haha - I noticed that at the top of Richmond's screenshot on the forums and I had the same thought... I also had a sneaky suspicion you would also comment on it! I am inclined to agree with you - those font names are added explicitly after fetching the list of font names from the system - so there isn't a deeply technical reason why they are there. I'll need to dig back to see if there is any internal discussion about it from when the theme support was added. After all, it is useful for the IDE to have those in the list, but it is also easy for it to add them in its own code! For all intents and purposes, they should never appear in a 'user-settable' font list in any non-UI editing type application - so the impact of changing it is probably next to zero. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From matthias_livecode_150811 at m-r-d.de Thu Mar 12 06:03:38 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Mar 2020 11:03:38 +0100 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: Message-ID: <9CA8B776-8703-4470-8C3E-4CD927E259B7@m-r-d.de> > Am 12.03.2020 um 01:08 schrieb Sean Cole (Pi) via use-livecode : > > Tired and ill. My business is constantly lagging behind my competitors > because we're always on the backfoot waiting for LC to frikin' work! I'm > going to end up losing all my new customers again since the last LC epic > fail. Why do they keep doing this to me? They do it not just to you. ;) Please don?t take it personally, but repeating your discontent here in the list about LC, the development cycle and how LC Ltd. is doing things does not help at all. If you are unsatisfied, then why not writing directly to LC Ltd. What do you expect with your posts? Your posts could even scare potential new paying customers. Remember, the internet does not forget... I understand your personal situation, especially after your problems last year, but such posts do not help. Just my 2 cents. All the best, Matthias From MikeKerner at roadrunner.com Thu Mar 12 11:20:45 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 12 Mar 2020 11:20:45 -0400 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> References: <8493c65b-f5fd-f731-3de9-fd3e2aa5c614@cogapp.com> <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> Message-ID: see the rfq i posted. there are a variety of issues in merggoogle 1. mac/ios only 2. doesn't seem to work in newer versions of lc for some reason (works in 9.0.1, for instance, but not in 9.5.x) 3. google is going to shut off...something...that merggoogle is using in september. i don't know what that is, but i get emails from google telling me that i'm using a deprecated api that is going to be nuked in six months. the only place that i could possibly be using that api is merggoogle 4. we have had to include a lot of error trapping code because merggoogle somehow gets out of step with google, which breaks the process, and it is impossible to debug because of the way merggoogle works (you can't see all the raw traffic). so for example, we might say "load a worksheet", and instead we will get a message that the list of spreadsheets is loaded. the problem with that is that there is no way to recover once that happens, and you have to start over. there are multiple bug reports on this particular issue, but the workaround was a lot of workaround code to specifically ensure that the sequence occurs as expected. 5. the rest api seems like it has more features 6. there doesn't seem to be any interest in updating merggoogle. On Wed, Mar 11, 2020 at 4:46 PM Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Mike, > > I haven't forgotten, but finally found time to take a look today and > started > writing minimal comments, and thought I should at least test it - for some > reason the authorisation isn't working. For whatever reason, the call to > OAuth2 results in the error "Malformed auth code." So I can't get to test > what > I'm sending. > > I'm unclear whether I've done something strange or wrong, or whether > Google > has changed something that breaks LC's implementation. I've come across > references which suggest that, but they date back to last year, and I > believe > I've used this stack in January. (I also tried using LC 9.0.4 with the > same > result.) > > I will try to get back to this. In the meantime, have you - or anyone - > found > issues recently with OAuth2, in particular against any of the Google APIs? > > Ben > > > On 08/03/2020 22:22, Mike Kerner via use-livecode wrote: > > it might help us get started. i'm going to probably put out an rfq to > wrap > > the v4 rest api, because we're going to have to come to a solution, > either > > using lc or some other tool. > > > > On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Mike, > >> > >> Very happy to share what I've got, but it's really not much - just a > very > >> thin > >> wrapper round Google's API - and it's undocumented, mostly rough code - > >> copied > >> from one stack to the next, usually done in a tearing hurry! > >> > >> I'll try to pull something together, but please promise not to judge > me... > >> > >> Ben > >> > >> On 06/03/2020 15:13, Mike Kerner via use-livecode wrote: > >>> Ben, > >>> would you send me what you've got? I was considering paying someone to > >>> wrap the entire v4 api and dropping mergGoogle, so any head start would > >> be > >>> useful. LC wants tribute to do the work (which is a little > disappointing > >>> since we financed the original external, so we sort-of hoped that it > >> would > >>> become a thing, and it would get updated as required, but crap > happens). > >>> > >>> On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>> > >>>> On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: > >>>>> is anyone using anything besides mergGoogle to work with google > sheets? > >>>>> care to share, if you are? > >>>> > >>>> I'm just using the Google Sheets API directly from LiveCode - just > >> pushing > >>>> JSON back and forth. The API is limited, but what's there is very easy > >> to > >>>> work > >>>> with - much better than manipulating xlsx files. > >>>> > >>>> I started using it to get data from clients, and then processing data > >> and > >>>> pushing it back into the sheets. I've also used on some experimental > >> image > >>>> processing, where I found that pushing the results of LiveCode > functions > >>>> into > >>>> a google sheet immediately gave me an nice interface in which to > review > >>>> the > >>>> data, and then I could also use the spreadsheet functions to do > >> evaluation > >>>> and > >>>> testing. > >>>> > >>>> 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 > -- 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 paul at researchware.com Thu Mar 12 11:53:39 2020 From: paul at researchware.com (Paul Dupuis) Date: Thu, 12 Mar 2020 11:53:39 -0400 Subject: Philosophical questions about the fontNames In-Reply-To: References: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> <8989e2f6-fcd1-5f96-0db8-d55a793c392f@researchware.com> Message-ID: <99491afe-5e06-88be-9f5b-2fd3231288a6@researchware.com> On 3/12/2020 3:46 AM, Mark Waddingham via use-livecode wrote: > On 2020-03-11 23:38, Paul Dupuis via use-livecode wrote: >> I filled a bug report on this back in February: >> https://quality.livecode.com/show_bug.cgi?id=22564 >> >> Mark Waddingham declared it was not a bug but a documentation issue, >> so I filed and enhancement request: >> https://quality.livecode.com/show_bug.cgi?id=22569 >> >> Personally, I think the following code SHOULD work: >> >> set the textFont of fld "X" to "(Text)" >> put the effective textFont of fld "X" >> >> And return the actual font used for (Text) on the current platform >> (for example Segue UI on Windows 10. >> >> My goal was to be able to read somewhere like in the dictionary or >> user guide or run some code to find out what the actual font is for >> each of the "specials" on Windows and macOS. > > To be accurate, your request / report is entirely different from > Richard's > philosophical question. True. I thought is was on the same topic though, so I responded. > > You want 'the effective fontName' of a chunk / object to return the > actual > name of the font which the system is using to render the glyphs - which > would be huge departure from its current (very LC-specific) meaning. > > Also I did not declare it a documentation issue (because it is not). My > exact wording was: > > "I suspect it is possible to get the names of the actual system-provided > fonts - but there is no facility in LiveCode for this at present. Please > file an enhancement request for this ability." My apology for mis-characterizing what you said. Yes, I interpreted that a "enhancement" for what I wanted, could be delivered by a documentation request and I thought that documenting the fonts corresponding to the fontNames engine directives would be easier that any sort of technical change to the engine - another assumption based on observation of the rate of documentation fixes vs the rate of engine technical fixes. Both are impressive for the size of the team, but doc fixes do seem to out pace technical changes since they are generally easier. > > This is precisely because the mapping is not fixed. Both Windows and > Linux > allow the user to change the relevant fonts used at the system level, and > macOS uses highly-specialized UI fonts for the purpose (as Klaus and I > recently discovered when he was having a problem with text extraction > from > PDFs printed from LC!). True, and this point negates that a documentation approach would solve what I was looking for. So, my bad for being short sighted in asking for a documentation enhancement. That was a mistake, and I see that now. > > My current point of view is that this need represents an edge-case, > and it > is more than likely that changing your approach to whatever it is you > believe > you need it for means you won't... > > So, an important question is here why do you need to know the actual font > being used when an object is set to render with one of the meta-(theme)- > fonts? So here is the simple use-case I ran into. We have a field with an editor toolbar for rich content editing in an app. The field is set to (Text) upon start up, as in: set the textFont of fld "X" to "(Text)" So that the font is initially in the appropriate default font for the platform the app is running on. In the toolbar we also have a Font pup menu with the available fonts listed for the user to change the font they want in the field. It is the UI standard that such a menu SHOW the user the currently selected font. My problem, if I try to follow platfrom UI guidelines by setting the text field's font to (Text), I then can not - say get the effective textFont of fld "X" - to find out which Fontname in the UI standard popup font menu should be checked as the current font. Now in the scheme of our own list of App bugs to fix and enhancements to build, whether the Font menu precisely corresponds to UI standards or not is not at the top of our list, but it still would have been nice not to have conflicting UI standards issues: Using textFont = (Text) gets me the appropriate fonts by platform, but then I can show what the selected font for the field is in a standard UI font menu. If there is a good work-around for this apparent conflict, I'm definitely open to giving it a try or if I simply missed something obvious, I'm happy to be educated. From hh at hyperhh.de Thu Mar 12 12:08:58 2020 From: hh at hyperhh.de (hh) Date: Thu, 12 Mar 2020 17:08:58 +0100 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? Message-ID: Some people are very angry about deficiencies of LC, what I can understand from their view, and *we should hear what they have to say*. Especially when they get angry about the whitewashing of bugs by some list members. What's wrong that's wrong, no matter who tries to whitewash bugs or even tries to keep quiet about (remaining) bugs. The latter is, compared to the promises of the LC main page, more harmful for the reputation of LC than telling the truth. And what's good with LC that's good. We too tell the truth with that. [And, by the way, macOS 10.15 is repeating some beginner mistakes from the early MacOS X versions. Obviously a lot of beginners are currently at work there.] From hh at hyperhh.de Thu Mar 12 12:22:06 2020 From: hh at hyperhh.de (hh) Date: Thu, 12 Mar 2020 17:22:06 +0100 Subject: Philosophical questions about the fontNames Message-ID: <6AF4DFCA-6039-46D1-B7E5-3ED0BEAB6AB7@hyperhh.de> Indeed, the current implementation of (Default),(Menu),(Message),(Styled Text),(System),(Text),(Tooltip) is not very useful. For example (System) at size 13 on MacOS 10.15 is on Windows 10 at about (System) at size 12. So one needs nevertheless a platform switch. From ambassador at fourthworld.com Thu Mar 12 12:32:38 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Mar 2020 09:32:38 -0700 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: Mike Kerner wrote: > 6. there doesn't seem to be any interest in updating merggoogle. It'll be good to hear from Monte on this, but I'd guess the reason merGoogle isn't actively supported is because the meat of it is handling authentication, and the REST API itself if pretty straightforward. Now that Google requires OAuth2 (they stopped supporting their earlier auth), and LC has the actively-supported OAuth2 library in all editions, there would seem little need for merGoogle, esp. since the OAuth2 lib works on all supported platforms. Monte, is this correct? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Mar 12 12:36:29 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Mar 2020 09:36:29 -0700 Subject: Philosophical questions about the fontNames In-Reply-To: References: Message-ID: Thanks for chiming in, Mark. Would it be helpful to have a bug report on this, or should I wait to see what you find in your code review? -- Richard Gaskin Fourth World Systems Mark Waddingham wrote: > On 2020-03-11 22:36, Richard Gaskin via use-livecode wrote: >> Querying the fontNames includes: >> >> (Default) >> (Styled Text) >> (Menu) >> (Text) >> (Message) >> (Tooltip) >> (System) >> >> These are not font names, but constants the engine accepts so that we >> can have good-looking, HIG-savvy UIs on multiple platforms. >> >> But they're not font names. They're not fonts at all. They're engine >> directives. >> >> So should they be included in the fontNames? >> >> (Yes, I know I can exclude them. I've been doing this a while, I can >> do lots of things. But if a newcomer wants to make a Fonts menu or >> list she also needs to know the filter command, and why she needs to >> use it to filter out things that aren't fonts. #learnability) > > Haha - I noticed that at the top of Richmond's screenshot on the forums > and I had the same thought... I also had a sneaky suspicion you would > also comment on it! > > I am inclined to agree with you - those font names are added explicitly > after fetching the list of font names from the system - so there isn't a > deeply technical reason why they are there. > > I'll need to dig back to see if there is any internal discussion about > it from when the theme support was added. After all, it is useful for > the IDE to have those in the list, but it is also easy for it to add > them in its own code! > > For all intents and purposes, they should never appear in a > 'user-settable' font list in any non-UI editing type application - so > the impact of changing it is probably next to zero. > > Warmest Regards, > > Mark. From matthias_livecode_150811 at m-r-d.de Thu Mar 12 12:41:32 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Mar 2020 17:41:32 +0100 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: Message-ID: <46C9B0E3-C215-4384-8630-BE8B610BD23A@m-r-d.de> > Am 12.03.2020 um 17:08 schrieb hh via use-livecode : > > Some people are very angry about deficiencies of LC, what I can understand from > their view, and *we should hear what they have to say*. > Why. Posting here won?t change anything. > Especially when they get angry about the whitewashing of bugs by some list members. > Currently i am not aware of that. I must have missed such discussions on this list. But i am sure there were such discussions otherwise you wouldn?t write it. When a bug is confirmed in the bugbase, no one can whitewash it. When it?s confirmed then it?s confirmed. Posting here about a real problem/bug makes sense, because others might jump in and confirm the same experience or might help to solve the problem As always, a good recipe, if possible, makes it even easier to reproduce it. I very often try to reproduce problems reported here in the list to find out if it?s a general problem/bug in LC or just a problem that occurs only at the system of the reporter. But just moaning here in the list about deficiencies does not make sense to me. What should that do? No one can help. > What's wrong that's wrong, no matter who tries to whitewash bugs or even tries to > keep quiet about (remaining) bugs. The latter is, compared to the promises of the > LC main page, more harmful for the reputation of LC than telling the truth. > > And what's good with LC that's good. We too tell the truth with that. > > [And, by the way, macOS 10.15 is repeating some beginner mistakes from the early > MacOS X versions. Obviously a lot of beginners are currently at work there.] Because people want always something new. It must be always the newest. Because of that the lifecycles of products and software are getting shorter and shorter and therefore there is less time for development and testing. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 12 12:47:37 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 12 Mar 2020 16:47:37 +0000 Subject: Philosophical questions about the fontNames In-Reply-To: <99491afe-5e06-88be-9f5b-2fd3231288a6@researchware.com> References: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> <8989e2f6-fcd1-5f96-0db8-d55a793c392f@researchware.com> <99491afe-5e06-88be-9f5b-2fd3231288a6@researchware.com> Message-ID: On 2020-03-12 15:53, Paul Dupuis via use-livecode wrote: > So here is the simple use-case I ran into. We have a field with an > editor toolbar for rich content editing in an app. The field is set to > (Text) upon start up, as in: > > set the textFont of fld "X" to "(Text)" > > So that the font is initially in the appropriate default font for the > platform the app is running on. In the toolbar we also have a Font pup > menu with the available fonts listed for the user to change the font > they want in the field. It is the UI standard that such a menu SHOW > the user the currently selected font. ... > If there is a good work-around for this apparent conflict, I'm > definitely open to giving it a try or if I simply missed something > obvious, I'm happy to be educated. I think the conflict comes from the assumption that having the default be '(Text)' (or the font underlying them) is the correct thing to do. If the field allows user-settable styling (even just font), then I'd suggest that it doesn't need to use the 'default system font for the platform' and you can just choose a sensible default - i.e. it isn't a UI text area from a HIG perspective, it is a user styled text area/document area. As a comparison, TextEdit defaults to Helvetica and WordPad defaults to Calibri or Times New Roman (depending on version I think) [ I can't remember what Notepad uses on Windows 10, something horrendously ugly and bitmap based still, probably! ] My point of view here is mainly motivated by the following... A couple of weeks ago (or maybe longer?) Klaus noticed a really strange problem with text extraction from a PDF printed using LiveCode on macOS - specifically digits did not extract as digits (they looked absolutely fine). [ He seemed to get quite hot-under-the-collar-about-it, but they may have just been his Germanic enthusiasm ;) ]. Changing the font to Courier or Arial solved the problem - digits could be copied as digits again. It wasn't until I ran an internal tool I wrote for Kognition many moons ago on the generated PDF that I figured out what the cause was. The effective font of the offending field was '(System)' - this came out in the PDF as '.SFNSText'. (Note: I still don't quite know why it munges digits - my guess is that it doesn't have a traditional CMAP table). This is a font you won't find listed in the fontNames, nor (I don't think) In FontBook or anywhere else. It is a seemingly highly specialized and custom crafted font designed only for screen display in the macOS UI. Indeed, if I interrogate the NSFont object we get internally when requesting the font for (Text), I get '.AppleSystemUIFont' - which is similarly not appropriate for what you want. TL;DR version: Theme fonts '(...)' should only be used for 'fixed' UI display - they won't print in the same way and cannot be chosen in the same way by name. For text that might be printed, or where the font can be chosen by the user, you should choose sensible default fonts similar to those of the basic apps for styled text entry on the platform the program is running on. Hope this helps, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paul at researchware.com Thu Mar 12 13:23:43 2020 From: paul at researchware.com (Paul Dupuis) Date: Thu, 12 Mar 2020 13:23:43 -0400 Subject: Philosophical questions about the fontNames In-Reply-To: References: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> <8989e2f6-fcd1-5f96-0db8-d55a793c392f@researchware.com> <99491afe-5e06-88be-9f5b-2fd3231288a6@researchware.com> Message-ID: <68bc70be-39d3-d6ce-d824-a94c4eef6e9e@researchware.com> On 3/12/2020 12:47 PM, Mark Waddingham via use-livecode wrote: > On 2020-03-12 15:53, Paul Dupuis via use-livecode wrote: >> So here is the simple use-case I ran into. We have a field with an >> editor toolbar for rich content editing in an app. The field is set to >> (Text) upon start up, as in: >> >> set the textFont of fld "X" to "(Text)" >> >> So that the font is initially in the appropriate default font for the >> platform the app is running on. In the toolbar we also have a Font pup >> menu with the available fonts listed for the user to change the font >> they want in the field. It is the UI standard that such a menu SHOW >> the user the currently selected font. > ... >> If there is a good work-around for this apparent conflict, I'm >> definitely open to giving it a try or if I simply missed something >> obvious, I'm happy to be educated. > > I think the conflict comes from the assumption that having the default > be '(Text)' (or the font underlying them) is the correct thing to do. > > If the field allows user-settable styling (even just font), then I'd > suggest that it doesn't need to use the 'default system font for the > platform' and you can just choose a sensible default - i.e. it isn't a > UI text area from a HIG perspective, it is a user styled text > area/document area. > > As a comparison, TextEdit defaults to Helvetica and WordPad defaults > to Calibri or Times New Roman (depending on version I think) [ I can't > remember what Notepad uses on Windows 10, something horrendously ugly > and bitmap based still, probably! ] > > My point of view here is mainly motivated by the following... > > A couple of weeks ago (or maybe longer?) Klaus noticed a really > strange problem with text extraction from a PDF printed using LiveCode > on macOS - specifically digits did not extract as digits (they looked > absolutely fine). [ He seemed to get quite > hot-under-the-collar-about-it, but they may have just been his > Germanic enthusiasm ;) ]. > > Changing the font to Courier or Arial solved the problem - digits > could be copied as digits again. > > It wasn't until I ran an internal tool I wrote for Kognition many > moons ago on the generated PDF that I figured out what the cause was. > The effective font of the offending field was '(System)' - this came > out in the PDF as '.SFNSText'. > > (Note: I still don't quite know why it munges digits - my guess is > that it doesn't have a traditional CMAP table). > > This is a font you won't find listed in the fontNames, nor (I don't > think) In FontBook or anywhere else. It is a seemingly highly > specialized and custom crafted font designed only for screen display > in the macOS UI. > > Indeed, if I interrogate the NSFont object we get internally when > requesting the font for (Text), I get '.AppleSystemUIFont' - which is > similarly not appropriate for what you want. > > TL;DR version: Theme fonts '(...)' should only be used for 'fixed' UI > display - they won't print in the same way and cannot be chosen in the > same way by name. For text that might be printed, or where the font > can be chosen by the user, you should choose sensible default fonts > similar to those of the basic apps for styled text entry on the > platform the program is running on. > > Hope this helps, Yes, it does. Lacking a detailed technical understanding of the ridiculous complexity of the macOS (or Windows for that matter), is one reason we used/use HyperCard, SuperCard, MetaCard, Revolution, LiveCode for the past 25+ years for our app development. It *SEEMED* like a reasonable attempt at HIG compliance to set the fonts of our objects to the special names and also *SEEMED* like it was then reasonable to want to show what font was selected in a menu, but it is absolutely true that I was assuming that "(Text) became Segui UI on Windows and Calibri (or whatever) on macOS and NOT something like .AppleSystemUIFont! So, we'll revert our code back to the classic conditional of: switch platform() ?? case "Win32" ????? set the textFont of fld "X" to "Segue UI" -- or whatever seems appropriate ????? set the textFont of fld "Y" to "Segue UI" ????? ... set all the rest of the objects ????? break ?? case "MacOS" ???? set the textFont of fld "X" to "something" ???? .... ???? break ?? case "next platform" etc. We went down a rabbit hole where, without knowing better, it seemed that the above could be replaced with set the textFont of fld "X" to "(Text)" set the textFont of fld "Y" to "(Text)" etc and eliminate the switch statement entirely. ? set From ambassador at fourthworld.com Thu Mar 12 13:24:22 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Mar 2020 10:24:22 -0700 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: <5a937edb-0104-8fcc-0d53-1f2b4ee85fc7@fourthworld.com> Sean Cole wrote: > On Thu, 12 Mar 2020 at 00:17, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I had thought the problem at that time was that your app was using >> Google's older auth method, before they switched to OAth2. > > Correct. But not the oAuth Lib directly anyway. What bothered me was > oAuth had been added but not to the Google extension. Which was odd See my other post on this from earlier today: http://lists.runrev.com/pipermail/use-livecode/2020-March/258798.html Hopefully Monte can chime in with details on that. >> The Oath2 lib is in LC's Github repository: >> >> https://github.com/livecode/livecode/blob/develop/extensions/script-libraries/oauth2/oauth2.livecodescript >> >> So now I'm confused: is OAuth2 not working in LC 9.x? > > I don't rely on any third party stuff anymore as it's out of my > control and have to wait an age before someone perhaps, maybe, some > year, updates it. Thank you for the clarification. Since we haven't seen posts about LC's Oauth2 here and searches for both "oauth" and "oauth2" turn up no bug reports in the bug DB, it seems reasonable to assume it's working well. I tend to keep third-party stuff to a minimum in deployments myself, esp. where source is not available. But the OAuth2 library is a part of the LC product, available in all editions and included in the Github repo for everyone to review. >> I'm also confused about "near silence" - Mark Waddingham has posted >> here three times this month, and it's only the 10th. He's even >> posted in the forums more frequently lately than I'm used to seeing. > > Do you mean wIth reference to progress, roadmap, where the updates are > and how far along...? Or just in response to other specific questions > and ramblings about an existing feature or somewhat? I was replying to your comment. What did you have in mind? >> As for the breakpoints crasher, I'd thought that was addressed in >> v9.1, no? > > Afraid not. 9.5.1 and 9.6 dp2 are still exhibiting breakpoint crashes. > Not as often as before but, still, there are occurrences. Thank you for confirming the breakpoint fixes in place now. If you have a recipe or a bug ID number for the remaining issue I'd be happy to see what I can do to try to steward it through completion. With many who had noted the earlier issues no longer seeing breakpoint crashes, the specific intersection of factors leading to any remaining ones may be difficult to pin down. But like all crashers I've seen before, once we have a solid recipe the fix is usually quickly delivered. -- 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 hh at hyperhh.de Thu Mar 12 13:39:34 2020 From: hh at hyperhh.de (hh) Date: Thu, 12 Mar 2020 18:39:34 +0100 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? Message-ID: <35495076-9F23-4852-A8AC-476B686CF203@hyperhh.de> > > hh wrote: > > Some people are very angry about deficiencies of LC, what I can understand from > > their view, and *we should hear what they have to say*. > > Matthias wrote: > Why. Posting here won?t change anything. The uselist is not a LC-praising list. As long as we have the freedom of speech everybody can say whether he is contented with LC or not. And nothing written does change anything *with LC*, also not your positive-only (and excellent) posts ... > > hh wrote: > > [And, by the way, macOS 10.15 is repeating some beginner mistakes from the early > > MacOS X versions. Obviously a lot of beginners are currently at work there.] > > Matthias wrote: > Because people want always something new. It must be always the newest. Because of > that the lifecycles of products and software are getting shorter and shorter and > therefore there is less time for development and testing. But they changed methods of working things to non-working or half-way working methods (for example in Mail.app). Beginner mistakes ... From bobsneidar at iotecdigital.com Thu Mar 12 13:45:40 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Mar 2020 17:45:40 +0000 Subject: Philosophical questions about the fontNames In-Reply-To: <68bc70be-39d3-d6ce-d824-a94c4eef6e9e@researchware.com> References: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> <8989e2f6-fcd1-5f96-0db8-d55a793c392f@researchware.com> <99491afe-5e06-88be-9f5b-2fd3231288a6@researchware.com> <68bc70be-39d3-d6ce-d824-a94c4eef6e9e@researchware.com> Message-ID: <5DBEDA0D-6485-4A2E-A1DB-396FC740EAB9@iotecdigital.com> Another approach might be to find a font or subset of fonts that looks the same on all platforms and use that. You may have to pay for the font(s) but you gain consistency. Bob S > On Mar 12, 2020, at 10:23 , Paul Dupuis via use-livecode wrote: > > Yes, it does. Lacking a detailed technical understanding of the ridiculous complexity of the macOS (or Windows for that matter), is one reason we used/use HyperCard, SuperCard, MetaCard, Revolution, LiveCode for the past 25+ years for our app development. > > It *SEEMED* like a reasonable attempt at HIG compliance to set the fonts of our objects to the special names and also *SEEMED* like it was then reasonable to want to show what font was selected in a menu, but it is absolutely true that I was assuming that "(Text) became Segui UI on Windows and Calibri (or whatever) on macOS and NOT something like .AppleSystemUIFont! > > So, we'll revert our code back to the classic conditional of: > > switch platform() > case "Win32" > set the textFont of fld "X" to "Segue UI" -- or whatever seems appropriate > set the textFont of fld "Y" to "Segue UI" > ... set all the rest of the objects > break > case "MacOS" > set the textFont of fld "X" to "something" > .... > break > case "next platform" > etc. > > We went down a rabbit hole where, without knowing better, it seemed that the above could be replaced with > > set the textFont of fld "X" to "(Text)" > set the textFont of fld "Y" to "(Text)" > etc > > and eliminate the switch statement entirely. From bobsneidar at iotecdigital.com Thu Mar 12 13:46:35 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Mar 2020 17:46:35 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <46C9B0E3-C215-4384-8630-BE8B610BD23A@m-r-d.de> References: <46C9B0E3-C215-4384-8630-BE8B610BD23A@m-r-d.de> Message-ID: +10 > On Mar 12, 2020, at 09:41 , matthias rebbe via use-livecode wrote: > > Posting here about a real problem/bug makes sense, because others might jump in and confirm the same experience or might help to solve the problem > As always, a good recipe, if possible, makes it even easier to reproduce it. > I very often try to reproduce problems reported here in the list to find out if it?s a general problem/bug in LC or just a problem that occurs only at the system of the reporter. From klaus at major-k.de Thu Mar 12 13:48:37 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 12 Mar 2020 18:48:37 +0100 Subject: Philosophical questions about the fontNames In-Reply-To: References: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> <8989e2f6-fcd1-5f96-0db8-d55a793c392f@researchware.com> <99491afe-5e06-88be-9f5b-2fd3231288a6@researchware.com> Message-ID: Hi Mark, > Am 12.03.2020 um 17:47 schrieb Mark Waddingham via use-livecode : > ... > A couple of weeks ago (or maybe longer?) yep, about four weeks ago. > Klaus noticed a really strange problem with text extraction from a PDF printed using LiveCode on macOS - specifically digits did not extract as digits (they looked absolutely fine). [ He seemed to get quite hot-under-the-collar-about-it, but they may have just been his Germanic enthusiasm ;) ]. Well, yes, I only seemed to! A little WTF in the subject (I am not an american!) is definitively no indication of me being "hot-under-the-collar-about-whatsoever", THAT will look (and sound) differently. 8-) I was only very curious what had happened. OK, thanks for listening, please carry on... > ... > > Hope this helps, > > Mark. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Thu Mar 12 13:49:23 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Mar 2020 17:49:23 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <35495076-9F23-4852-A8AC-476B686CF203@hyperhh.de> References: <35495076-9F23-4852-A8AC-476B686CF203@hyperhh.de> Message-ID: I was not aware we had such freedoms on this list! For instance, if I begin to speak of fermented dairy products, I will certainly be censured! And well I should be!!! Also, and seriously, Freedom of Speech is something that is unique to a handful of cultures. It is by no means global. Bob S > The uselist is not a LC-praising list. As long as we have the freedom of speech > everybody can say whether he is contented with LC or not. And nothing written does > change anything *with LC*, also not your positive-only (and excellent) posts ... > From MikeKerner at roadrunner.com Thu Mar 12 13:59:23 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 12 Mar 2020 13:59:23 -0400 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: <5a937edb-0104-8fcc-0d53-1f2b4ee85fc7@fourthworld.com> References: <5a937edb-0104-8fcc-0d53-1f2b4ee85fc7@fourthworld.com> Message-ID: monte has previously said that merggoogle is using a c-library. the "need" for merggoogle is to not rewrite the existing code and/or write a new library from scratch. otherwise i wouldn't need to issue an rfq to have someone write a library. i could have it done for free. or i would be overrun with offers from n00bs to write it because it's so darn easy and i'm such a fool for paying money to have it done. yay, i can't wait for the bidding war to begin. From hh at hyperhh.de Thu Mar 12 14:08:44 2020 From: hh at hyperhh.de (hh) Date: Thu, 12 Mar 2020 19:08:44 +0100 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? Message-ID: <98B2AA9A-EB4F-4CC3-A26A-EDF4855981B8@hyperhh.de> > > hh wrote: > > The uselist is not a LC-praising list. As long as we have the freedom of > > speech everybody can say whether he is contented with LC or not. > > Bob S. wrote: > I was not aware we had such freedoms on this list! For instance, if I begin > to speak of fermented dairy products, I will certainly be censured! > And well I should be!!! I wonder why you want to speak of fermented dairy products in order to express whether you are contented with LC or not. From ambassador at fourthworld.com Thu Mar 12 14:09:50 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Mar 2020 11:09:50 -0700 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: Message-ID: <4c408361-e852-3810-4549-f4359cee5d68@fourthworld.com> Bob Sneidar wrote: > I was not aware we had such freedoms on this list! For instance, if I > begin to speak of fermented dairy products, I will certainly be > censured! And well I should be!!! > > Also, and seriously, Freedom of Speech is something that is unique to > a handful of cultures. It is by no means global. Freedom of Speech is indeed a wonderful thing, but does not apply here: this list is a privately-owned communications channel that doesn't receive any funding from the US federal government. Yet despite no legal requirement to do so, the spirit of that freedom seems well embraced by the owners of this list, with unusually light moderation. And like all good freedoms this one is enjoyed equally, so even folks who have good experiences with LiveCode or seek ways issues can become actionable are allowed to speak their mind as well. Just no cheese, please. Every community has its boundaries of good taste. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Mar 12 14:16:22 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Mar 2020 11:16:22 -0700 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <98B2AA9A-EB4F-4CC3-A26A-EDF4855981B8@hyperhh.de> References: <98B2AA9A-EB4F-4CC3-A26A-EDF4855981B8@hyperhh.de> Message-ID: hh wrote: >> Bob S. wrote: >> I was not aware we had such freedoms on this list! For instance, if I >> begin to speak of fermented dairy products, I will certainly be >> censured! >> And well I should be!!! > > I wonder why you want to speak of fermented dairy products in order to > express whether you are contented with LC or not. It's a very old community in-joke: A good many years ago (more than a decade?) a thread that became contentious morphed into a very long discussion of cheese preferences, which soon became even more contentious (I leaned more about the passionate cheese preferences of my colleagues than I'd ever imagined). It went on for so many days Heather eventually stepped in and kindly asked us to please stop the cheese conversation so those interested in LiveCode could have more LC and less cheese filling their In Boxes. In the years since, "cheese" has become a comical shorthand for any longish thread not related to using or improving LC, and the only expressly verboten topic on this list. :) -- 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 Thu Mar 12 14:17:47 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Mar 2020 13:17:47 -0500 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: On 3/11/20 9:50 PM, Sean Cole (Pi) via use-livecode wrote: > 9.5.1 and 9.6 dp2 are still exhibiting breakpoint crashes. Not > as often as before but, still, there are occurrences. And for some very odd > reason an early sign it's going to become a problem I notice the line > numbers don't scroll with the script after I've run one with a breakpoint > that I've then stepped through - you know - so I can do my job and work out > where bugs are. When I see this I have to close the script editor and > reopen it to prevent it from crashing altogether - although sometimes it > gives no warning. > > Next time I see it happening I'll do a screen recording so all can see it > in it's glory. > > Counter to what Jacque says, it does not 'fix' itself. It persists until it > gives up. It still crashes occasionally. I wonder if the crashes are a problem with a different OS (I'm on Mac,) or something about your stack. I haven't had any debugging crashes since the fix was implemented. The misalignment of the script and the red dots was the issue I thought you were talking about. I do see that. But if I begin to step through the script (if debugging) it rights itself. Also, I just did a quick test and scrolling didn't change the line numbers, so that may also point to a difference in the OS the IDE is running on. I know typing can be very slow on Windows but it isn't bad on Mac. A recipe would be useful to the team. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Thu Mar 12 14:36:00 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 12 Mar 2020 14:36:00 -0400 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: <98B2AA9A-EB4F-4CC3-A26A-EDF4855981B8@hyperhh.de> Message-ID: <8300FC6B-8A85-4831-B613-C47A6FC6DD37@all-auctions.com> LC = Less Cheese ;-) Rick > On Mar 12, 2020, at 2:16 PM, Richard Gaskin via use-livecode wrote: > > It went on for so many days Heather eventually stepped in and kindly asked us to please stop the cheese conversation so those interested in LiveCode could have more LC and less cheese filling their In Boxes. From bobsneidar at iotecdigital.com Thu Mar 12 14:37:51 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Mar 2020 18:37:51 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <98B2AA9A-EB4F-4CC3-A26A-EDF4855981B8@hyperhh.de> References: <98B2AA9A-EB4F-4CC3-A26A-EDF4855981B8@hyperhh.de> Message-ID: <54248062-FA99-4CEA-A7E4-12AF2FE39CE4@iotecdigital.com> As to my contentedness with LC, let me say that without LC, my options would be Javascript, Python or a host of other script based languages, or else some variant of C. That is to say I would be out of options because I simply am too lazy and otherwise occupied with my real job to justify the time it would take to get "good" at any of these options. So from that perspective I am not only contented with LC, I am giddy! But then I am not producing commercial mobile apps either, and for the business I work for, anything useful I produce is icing on the cake! I am under no time constraints, or constraints of any kind! Having seen the myriad of threads on mobile app development and the pains involved, I can sympathize with anyone attempting it. The hoops RunRev has to go through to keep up is staggering to me, but let's step back for a moment and look at what mobile support for LC really is. Apart from LC (or any other non-java mobile app environment) what you would have to do is use the environment provided by Apple or Google. If you did, you would have to learn Javascript, and in the bargain you would STILL be subject to the restrictions and changes inherent to those environments. But WITH LC, you don't need to learn Javascript at all! You can use a familiar and incredibly easy to learn language in a pretty amazing GUI, and then (if all your ducks are in a row) generate a first class Mobile App. A better way to look at it might be this. Suppose Apple and Google requirements had remained static since LC first began supporting mobile apps. Would any of the obvious pains LC devs are suffering still be issues? If for the most part the answer is no, then you can see the pains are not being caused by RunRev. My 2? Bob S > On Mar 12, 2020, at 11:08 , hh via use-livecode wrote: > >>> hh wrote: >>> The uselist is not a LC-praising list. As long as we have the freedom of >>> speech everybody can say whether he is contented with LC or not. >> >> Bob S. wrote: >> I was not aware we had such freedoms on this list! For instance, if I begin >> to speak of fermented dairy products, I will certainly be censured! >> And well I should be!!! > > I wonder why you want to speak of fermented dairy products in order to express > whether you are contented with LC or not. From bobsneidar at iotecdigital.com Thu Mar 12 14:42:58 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Mar 2020 18:42:58 +0000 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: <3A5F5039-388C-41E3-AD1C-797951F0A669@iotecdigital.com> I also see the red dot misalignment (still using 9.5.1 rc 1). Since I use LC virtually every day to make changes and fixes to the app we use, I cannot really participate in DP's. Bob S > On Mar 12, 2020, at 11:17 , J. Landman Gay via use-livecode wrote: > > On 3/11/20 9:50 PM, Sean Cole (Pi) via use-livecode wrote: >> 9.5.1 and 9.6 dp2 are still exhibiting breakpoint crashes. Not >> as often as before but, still, there are occurrences. And for some very odd >> reason an early sign it's going to become a problem I notice the line >> numbers don't scroll with the script after I've run one with a breakpoint >> that I've then stepped through - you know - so I can do my job and work out >> where bugs are. When I see this I have to close the script editor and >> reopen it to prevent it from crashing altogether - although sometimes it >> gives no warning. >> Next time I see it happening I'll do a screen recording so all can see it >> in it's glory. >> Counter to what Jacque says, it does not 'fix' itself. It persists until it >> gives up. It still crashes occasionally. > > I wonder if the crashes are a problem with a different OS (I'm on Mac,) or something about your stack. I haven't had any debugging crashes since the fix was implemented. > > The misalignment of the script and the red dots was the issue I thought you were talking about. I do see that. But if I begin to step through the script (if debugging) it rights itself. Also, I just did a quick test and scrolling didn't change the line numbers, so that may also point to a difference in the OS the IDE is running on. I know typing can be very slow on Windows but it isn't bad on Mac. > > A recipe would be useful to the team. > > -- > 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 ambassador at fourthworld.com Thu Mar 12 14:47:21 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Mar 2020 11:47:21 -0700 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: J. Landman Gay wrote: > I wonder if the crashes are a problem with a different OS (I'm > on Mac,) or something about your stack. I haven't had any debugging > crashes since the fix was implemented. ... > I know typing can be very slow on Windows but it > isn't bad on Mac. I had an confounding experience last night along those lines: I have one project I normally run under Windows 10, and I'd found that each time an execution error is thrown it takes several seconds for the Script Editor to finally appear showing me the errant line. So I had a few spare minutes last night and figured I'd come up with a recipe to submit a bug report, and possibly even fix it if I could find a script bottleneck. No go. In a fresh stack the SE opens almost immediately, pretty much as it does on my main Linux box and my Mac. So to diagnose this further I'm going to need to use my Flight Recorder tool (available in the Stacks section of LiveNet if interested), and log everything going on when the SE is trying to report a bug while my client's complex app is running. Because the issue isn't evident on Mac when working on the same client's project, I'm pretty sure there's something in the Win engine that could use some optimization. But given how it's only noticeable in certain projects and not others, pinning down the root cause has not been trivial. This doesn't have anything to do with typing per se, but does illustrate how difficult it can be to pin down bottlenecks, esp. when an issue shows up in one projects but not others. -- 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 Thu Mar 12 14:58:57 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Mar 2020 13:58:57 -0500 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <35495076-9F23-4852-A8AC-476B686CF203@hyperhh.de> References: <35495076-9F23-4852-A8AC-476B686CF203@hyperhh.de> Message-ID: <147fb583-756a-3f40-922e-1957460e8613@hyperactivesw.com> On 3/12/20 12:39 PM, hh via use-livecode wrote: > The uselist is not a LC-praising list. As long as we have the freedom of speech > everybody can say whether he is contented with LC or not. And nothing written does > change anything*with LC*, also not your positive-only (and excellent) posts ... Tone is important. There is difference whether the post is a discussion of a problem, or a rant against the team and the company. Discussions are useful and productive. A rant that attacks the dedicated people who are doing their best for us can cause some of us to become defensive. For myself, it feels like an attack on my friends. I know these people, how hard they work, and how much they want LC to succeed. I also know that they are deluged with work, they need to choose their priorities carefully, and they care very much. To date, they have met every requirement that the shifting sands at Apple and Google have thrown at them. They need to drop everything else to meet those deadlines, but they do it. Of course, that puts them behind on other things. These list posts go into a permanent archive where they can discourage others from trying LC well into the future; I see no point in making LC look bad to any interested parties. A frank discussion is fine, readers absolutely do need to know where traps may lie and what the current status of the product is. But sarcasm and scathing condemnation is neither acceptable nor productive. Basically: be kind. Think how you'd feel if what you are about to write was directed at you. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Thu Mar 12 15:01:10 2020 From: paul at researchware.com (Paul Dupuis) Date: Thu, 12 Mar 2020 15:01:10 -0400 Subject: Philosophical questions about the fontNames In-Reply-To: <6AF4DFCA-6039-46D1-B7E5-3ED0BEAB6AB7@hyperhh.de> References: <6AF4DFCA-6039-46D1-B7E5-3ED0BEAB6AB7@hyperhh.de> Message-ID: On 3/12/2020 12:22 PM, hh via use-livecode wrote: > Indeed, the current implementation of > (Default),(Menu),(Message),(Styled Text),(System),(Text),(Tooltip) > is not very useful. > > For example (System) at size 13 on MacOS 10.15 is on Windows 10 > at about (System) at size 12. So one needs nevertheless a platform > switch. > I *do* find that cross-platform UI design and implementation to still be the hardest thing to do in LiveCode (on a relative scale of course, since LiveCode overall is easy) I would just like to be able to say in a preferences box for my app that I am deploying to this platform and that platform and have the LiveCode IDE or engine (or both) figure out what fonts and what sizes everything should be to comply with the ever changing OS vendor HIGs! I constantly run into things like we make a button with a label that fits on one platform and then on another the label is too long or a filed is sized to display x lines on this platform? but on that platform the line sizes are different! Grrrr! It really is infuriating at times. I would love the IDE to help, even by things like showing a bounding box for a button label that takes all platforms checked in the standalone setting into account. Fit Width seems to be platform specific. (And yes, I know that is just shifting a huge burden from me to LiveCode). Sorry, just using this thread to rant about UI building woes. From ambassador at fourthworld.com Thu Mar 12 15:24:19 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Mar 2020 12:24:19 -0700 Subject: Philosophical questions about the fontNames In-Reply-To: References: Message-ID: Paul Dupuis wrote: > I *do* find that cross-platform UI design and implementation to still > be the hardest thing to do in LiveCode (on a relative scale of course, > since LiveCode overall is easy) > > I would just like to be able to say in a preferences box for my app > that I am deploying to this platform and that platform and have the > LiveCode IDE or engine (or both) figure out what fonts and what sizes > everything should be to comply with the ever changing OS vendor HIGs! For the most part you do, now that the team added the "(*)" textFont directives. Your case is one where I would advocate extending "effective" to apply. I understand Mark's comments and generally support them, but like they say, exceptional circumstances require exceptional solutions. The semantic difference between object inheritance and OS inheritance is real, but far more subtle than a hundred other things already in the language, and likely lost on most new users anyway. "Give 'em the pickle". But even here, it's a relatively narrow intersection of needs: Most user-written content is either a sort of form or something more substantial. With forms, the user neither knows nor care what the font is, they just want to type. With more substantial content (web authoring, printed materials, etc.) the user cares very much, and the likelihood of ever wanting the OS-specific default font is low, so assigning your own default font explicitly would work well (even better for some apps, let the user define a default). So while I do support your request to extend "effective" to apply here (notwithstanding the considerable effort the team would need to do to figure out what the values of the OS constants refer to), I also recognize it's not a common use case. Worth supporting, IMO, but of low priority. > I constantly run into things like we make a button with a label that > fits on one platform and then on another the label is too long or a > filed is sized to display x lines on this platform but on that > platform the line sizes are different! Grrrr! It really is infuriating > at times. And not even the IDE gets it right all the time, if you run Gnome with its large default font size. I've given a lot of thought to how I might make tooling to take care of the implications of xplat font metrics on layouts. And after thinking about it a very long time, I thought better of it. :) Way too much work, and how I might decide to handle things with one control in one app will inevitably vary from how I'd handle it elsewhere. There are probably underlying design patterns we could identify for such things, and make tooling for those. But even then there will be edge cases, so we're either limiting layout options to a specific set of patterns, or raising expectations to a level that cannot be met. Personally, I don't mind so much. I make tooling where I can, and hand-craft where not. All the while I see my counterparts using other tools working even harder just for a single platform. With LC as my not-so-secret weapon, I eat them for lunch. -- 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 prothero at earthlearningsolutions.org Thu Mar 12 15:35:09 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Thu, 12 Mar 2020 12:35:09 -0700 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <147fb583-756a-3f40-922e-1957460e8613@hyperactivesw.com> References: <35495076-9F23-4852-A8AC-476B686CF203@hyperhh.de> <147fb583-756a-3f40-922e-1957460e8613@hyperactivesw.com> Message-ID: <09004210-A024-4B93-A0DF-EE0140A34209@earthlearningsolutions.org> Well said, Jacqueline! Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ > On Mar 12, 2020, at 11:58 AM, J. Landman Gay via use-livecode wrote: > > On 3/12/20 12:39 PM, hh via use-livecode wrote: >> The uselist is not a LC-praising list. As long as we have the freedom of speech >> everybody can say whether he is contented with LC or not. And nothing written does >> change anything*with LC*, also not your positive-only (and excellent) posts ... > > Tone is important. There is difference whether the post is a discussion of a problem, or a rant against the team and the company. Discussions are useful and productive. A rant that attacks the dedicated people who are doing their best for us can cause some of us to become defensive. > > For myself, it feels like an attack on my friends. I know these people, how hard they work, and how much they want LC to succeed. I also know that they are deluged with work, they need to choose their priorities carefully, and they care very much. To date, they have met every requirement that the shifting sands at Apple and Google have thrown at them. They need to drop everything else to meet those deadlines, but they do it. Of course, that puts them behind on other things. > > These list posts go into a permanent archive where they can discourage others from trying LC well into the future; I see no point in making LC look bad to any interested parties. A frank discussion is fine, readers absolutely do need to know where traps may lie and what the current status of the product is. But sarcasm and scathing condemnation is neither acceptable nor productive. > > Basically: be kind. Think how you'd feel if what you are about to write was directed at you. > > -- > 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 paul at researchware.com Thu Mar 12 15:53:46 2020 From: paul at researchware.com (Paul Dupuis) Date: Thu, 12 Mar 2020 15:53:46 -0400 Subject: Philosophical questions about the fontNames In-Reply-To: References: Message-ID: <9109d4e9-29aa-0845-e0f9-71d68863dc8d@researchware.com> On 3/12/2020 3:24 PM, Richard Gaskin via use-livecode wrote: > With more substantial content (web authoring, printed materials, etc.) > the user cares very much, and the likelihood of ever wanting the > OS-specific default font is low, so assigning your own default font > explicitly would work well (even better for some apps, let the user > define a default). > > So while I do support your request to extend "effective" to apply here > (notwithstanding the considerable effort the team would need to do to > figure out what the values of the OS constants refer to), I also > recognize it's not a common use case.? Worth supporting, IMO, but of > low priority. Now, after Mark's explanation, I get it. I'll definitely go back to explicitly specifying default fonts by platform. As you know, if you do that right, because of LiveCode's inheritance, you really only need to do it for a few objects on startup. I really did go down a rabbit hole. I saw the new (something) font names, look at what I thought they were for and thought I could make code cleaner by using them. Now I know, that is not the case for my specific application. For other people or for some future App of mine they may be ideal. And, I agree with you. Of all the bugs and enhancement Curry and I have submitted in the past 6 month, making 'effective' work in this case would be near the bottom of my priority list. And yes, I expect we'll always be stuck with pain points in cross-platform UI work that NO development environment will ever make truly seamless because the OS vendors themselves try to differentiate their products by their appearance and the way the UI works (among many other factors). I can still wish it wasn't so though... I am working on a new tool requested by a customer. The crunching and analysis of the research data coding is simple compared to the UI which will probably take me 10 times as long to code and get to look and function "right" on macOS and Windows. From MikeKerner at roadrunner.com Thu Mar 12 16:03:48 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 12 Mar 2020 16:03:48 -0400 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <09004210-A024-4B93-A0DF-EE0140A34209@earthlearningsolutions.org> References: <35495076-9F23-4852-A8AC-476B686CF203@hyperhh.de> <147fb583-756a-3f40-922e-1957460e8613@hyperactivesw.com> <09004210-A024-4B93-A0DF-EE0140A34209@earthlearningsolutions.org> Message-ID: i'm kind-of annoyed. i have spent enough of my company's funds and my personal time doing lc sessions for beginners. the two years before the lc global sessions, we had a similar level of communication from hq as we do now. there is a difference between complaining and flameing badgering over the status of qr's shouldn't be necessary. badgering over comms shouldn't be necessary. badgering over roadmaps shouldn't be necessary why am i putting out rfq's, trying to find alternatives to lc? and yes, the internet doesn't forget. perhaps lc should take that to heart. we should all take that to heart with our customers. On Thu, Mar 12, 2020 at 3:36 PM prothero--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Well said, Jacqueline! > Bill > > William A. Prothero > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > > > On Mar 12, 2020, at 11:58 AM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > On 3/12/20 12:39 PM, hh via use-livecode wrote: > >> The uselist is not a LC-praising list. As long as we have the freedom > of speech > >> everybody can say whether he is contented with LC or not. And nothing > written does > >> change anything*with LC*, also not your positive-only (and excellent) > posts ... > > > > Tone is important. There is difference whether the post is a discussion > of a problem, or a rant against the team and the company. Discussions are > useful and productive. A rant that attacks the dedicated people who are > doing their best for us can cause some of us to become defensive. > > > > For myself, it feels like an attack on my friends. I know these people, > how hard they work, and how much they want LC to succeed. I also know that > they are deluged with work, they need to choose their priorities carefully, > and they care very much. To date, they have met every requirement that the > shifting sands at Apple and Google have thrown at them. They need to drop > everything else to meet those deadlines, but they do it. Of course, that > puts them behind on other things. > > > > These list posts go into a permanent archive where they can discourage > others from trying LC well into the future; I see no point in making LC > look bad to any interested parties. A frank discussion is fine, readers > absolutely do need to know where traps may lie and what the current status > of the product is. But sarcasm and scathing condemnation is neither > acceptable nor productive. > > > > Basically: be kind. Think how you'd feel if what you are about to write > was directed at you. > > > > -- > > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Thu Mar 12 16:11:39 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 12 Mar 2020 16:11:39 -0400 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: <004d01d5f8aa$73cd97c0$5b68c740$@net> I have another type of slowdown on Win 10 that I can't get an exact recipe for because it doesn't happen every time. Open up the stack and everything is fast then open up the SE make some changes (no testing breakpoints used) and the card renders and then LC hangs for 10 to 40 seconds(not responding). The time it hangs is directly proportional to the amount of stuff on the card. When I tried to debug I did F11s until I reached the last "pass opencard" the one I guess goes to the engine. Everything is fast up to that point. Type an F11 and then LC hangs for 30 seconds before it comes back to life. Close the SE and it's fast again. Not as fast as a fresh open but fast enough to put the app through its paces. Maybe related to your problem? Even if we can't get a recipe for all of these issues maybe all of them put together will ring a bell at LC central? 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 Richard Gaskin via use-livecode Sent: Thursday, March 12, 2020 2:47 PM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle J. Landman Gay wrote: > I wonder if the crashes are a problem with a different OS (I'm > on Mac,) or something about your stack. I haven't had any debugging > crashes since the fix was implemented. ... > I know typing can be very slow on Windows but it > isn't bad on Mac. I had an confounding experience last night along those lines: I have one project I normally run under Windows 10, and I'd found that each time an execution error is thrown it takes several seconds for the Script Editor to finally appear showing me the errant line. So I had a few spare minutes last night and figured I'd come up with a recipe to submit a bug report, and possibly even fix it if I could find a script bottleneck. No go. In a fresh stack the SE opens almost immediately, pretty much as it does on my main Linux box and my Mac. So to diagnose this further I'm going to need to use my Flight Recorder tool (available in the Stacks section of LiveNet if interested), and log everything going on when the SE is trying to report a bug while my client's complex app is running. Because the issue isn't evident on Mac when working on the same client's project, I'm pretty sure there's something in the Win engine that could use some optimization. But given how it's only noticeable in certain projects and not others, pinning down the root cause has not been trivial. This doesn't have anything to do with typing per se, but does illustrate how difficult it can be to pin down bottlenecks, esp. when an issue shows up in one projects but not others. -- 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 MikeKerner at roadrunner.com Thu Mar 12 16:27:52 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 12 Mar 2020 16:27:52 -0400 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: <004d01d5f8aa$73cd97c0$5b68c740$@net> References: <004d01d5f8aa$73cd97c0$5b68c740$@net> Message-ID: interesting. i didn't realize the oauth routines were in an lcs library. it's only 423 lines, and a lot of that is documentation. On Thu, Mar 12, 2020 at 4:08 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > I have another type of slowdown on Win 10 that I can't get an exact recipe > for because it doesn't happen every time. Open up the stack and everything > is fast then open up the SE make some changes (no testing breakpoints used) > and the card renders and then LC hangs for 10 to 40 seconds(not > responding). > The time it hangs is directly proportional to the amount of stuff on the > card. When I tried to debug I did F11s until I reached the last "pass > opencard" the one I guess goes to the engine. Everything is fast up to that > point. Type an F11 and then LC hangs for 30 seconds before it comes back to > life. Close the SE and it's fast again. Not as fast as a fresh open but > fast > enough to put the app through its paces. Maybe related to your problem? > > Even if we can't get a recipe for all of these issues maybe all of them put > together will ring a bell at LC central? > > 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 Richard Gaskin via use-livecode > Sent: Thursday, March 12, 2020 2:47 PM > To: use-livecode at lists.runrev.com > Cc: Richard Gaskin > Subject: Re: OAuth2 was Re: google sheets - anybody doing anything besides > mergGoogle > > J. Landman Gay wrote: > > I wonder if the crashes are a problem with a different OS (I'm > on > Mac,) or something about your stack. I haven't had any debugging > crashes > since the fix was implemented. > ... > > I know typing can be very slow on Windows but it > isn't bad on Mac. > > I had an confounding experience last night along those lines: > > I have one project I normally run under Windows 10, and I'd found that each > time an execution error is thrown it takes several seconds for the Script > Editor to finally appear showing me the errant line. > > So I had a few spare minutes last night and figured I'd come up with a > recipe to submit a bug report, and possibly even fix it if I could find a > script bottleneck. > > No go. In a fresh stack the SE opens almost immediately, pretty much as it > does on my main Linux box and my Mac. > > So to diagnose this further I'm going to need to use my Flight Recorder > tool > (available in the Stacks section of LiveNet if interested), and log > everything going on when the SE is trying to report a bug while my client's > complex app is running. > > Because the issue isn't evident on Mac when working on the same client's > project, I'm pretty sure there's something in the Win engine that could use > some optimization. > > But given how it's only noticeable in certain projects and not others, > pinning down the root cause has not been trivial. > > This doesn't have anything to do with typing per se, but does illustrate > how > difficult it can be to pin down bottlenecks, esp. when an issue shows up in > one projects but not others. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 ambassador at fourthworld.com Thu Mar 12 16:28:54 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Mar 2020 13:28:54 -0700 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: Message-ID: Mike Kerner wrote: > there is a difference between complaining and flameing > badgering over the status of qr's shouldn't be necessary. badgering > over comms shouldn't be necessary. Agreed, but there have been two posts with abstractions about "communications" and neither has expressed what exactly it is they're looking for. The rest of us are having conversations with none other than the lead engineer, right here on this list this morning. Help me understand: what would you like to see? -- 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 mark at livecode.com Thu Mar 12 16:39:56 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 12 Mar 2020 20:39:56 +0000 Subject: Philosophical questions about the fontNames In-Reply-To: <68bc70be-39d3-d6ce-d824-a94c4eef6e9e@researchware.com> References: <8576629d-7691-3785-e641-8b0ca8b84a81@fourthworld.com> <8989e2f6-fcd1-5f96-0db8-d55a793c392f@researchware.com> <99491afe-5e06-88be-9f5b-2fd3231288a6@researchware.com> <68bc70be-39d3-d6ce-d824-a94c4eef6e9e@researchware.com> Message-ID: On 2020-03-12 17:23, Paul Dupuis via use-livecode wrote: > Yes, it does. Lacking a detailed technical understanding of the > ridiculous complexity of the macOS (or Windows for that matter), is > one reason we used/use HyperCard, SuperCard, MetaCard, Revolution, > LiveCode for the past 25+ years for our app development. > > It *SEEMED* like a reasonable attempt at HIG compliance to set the > fonts of our objects to the special names and also *SEEMED* like it > was then reasonable to want to show what font was selected in a menu, > but it is absolutely true that I was assuming that "(Text) became > Segui UI on Windows and Calibri (or whatever) on macOS and NOT > something like .AppleSystemUIFont! Heh - its been an interesting learning exercise for us both - both technically and process-wise :) I would stress here that this is just a reminder where failing to provide an adequate use-case when asking for something, or indeed posting a bug report about long-standing behavior which you believe should be changed is critically important. The thing is if you focus on a very specific technical detail as being the problem, and describe it as just that it 'robs' the person reading of it any context in which to make any sort of judgement from a wider point of view and perhaps short-circuit digressions into rabbit holes :) The main thing is that your code is going to be simpler as a result of this! Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From MikeKerner at roadrunner.com Thu Mar 12 16:43:55 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 12 Mar 2020 16:43:55 -0400 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: Message-ID: it really has been, by multiple people, over multiple years. i'm not going to repeat myself, or them. From hh at hyperhh.de Thu Mar 12 18:15:34 2020 From: hh at hyperhh.de (hh) Date: Thu, 12 Mar 2020 23:15:34 +0100 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? Message-ID: > Richard G. wrote at Mike K.: > The rest of us are having conversations with none other than the lead > engineer, right here on this list this morning. Yes the CTO was in the last two weeks probably more often here than in the last two years before that two weeks. But he's now more often searching for excuses than for real help, because there is no real progress with LCS (except removing 9.5 bugs), LCB and HTML5. > Help me understand: what would you like to see? What I woud like to see is that Sean Cole(pi digital) can write here his opinion without being attacked just for writing that: No content-based attack, but using the most nasty kind of attack, using (supposed) personal problems ("your problems last year"). While content-based attacks would have been OK for me. If this is not possible, I'll better leave this list. From matthias_livecode_150811 at m-r-d.de Thu Mar 12 18:31:41 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Mar 2020 23:31:41 +0100 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: Message-ID: <61D20B02-1B20-43D9-B83B-B815B9B08507@m-r-d.de> > Am 12.03.2020 um 23:15 schrieb hh via use-livecode : > > > What I woud like to see is that Sean Cole(pi digital) can write here his > opinion without being attacked just for writing that: No content-based > attack, but using the most nasty kind of attack, using (supposed) personal > problems ("your problems last year"). > While content-based attacks would have been OK for me. > Herman, the problems i referred to were the problems he had with a library that did not work anymore after Google changed something and he was in urgent need of a fix, which was not possible because Monte were at sleep at the time of Sean?s posting and therefore he lost an important customer. I did NOT refer to any personal problems. So please do not impute such an intention to me. > If this is not possible, I'll better leave this list. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Thu Mar 12 19:09:29 2020 From: hh at hyperhh.de (hh) Date: Fri, 13 Mar 2020 00:09:29 +0100 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? Message-ID: > Matthias wrote: > I did NOT refer to any personal problems. So please do not impute > such an intention to me. Sorry Matthias, I obviously misinterpreted "your problems last year". Hopefully Sean Cole didn't also misinterpret this. From bobsneidar at iotecdigital.com Thu Mar 12 19:13:27 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Mar 2020 23:13:27 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <61D20B02-1B20-43D9-B83B-B815B9B08507@m-r-d.de> References: <61D20B02-1B20-43D9-B83B-B815B9B08507@m-r-d.de> Message-ID: <99E17EEB-D52C-43CD-B8E2-3455951D1BCF@iotecdigital.com> I hesitate to opine, but there's so much here. I think anytime a product is dependent on a Google API, long term support is uncertain. For example, recently Google dropped support for Google Docs. The copier companies have written plugins to their copiers SPECIFICALLY to work with Google Docs. So Toshiba, Konica, Canon, Ricoh... all sold commercial products to support an API that CUSTOMERS ASKED FOR, and now it's gone. Poof. Bang. Their recourse? Nil. Nada. See, Google very wisely advised everyone that they reserved the right to discontinue any or all of their API services at their own discretion, so no one has any recourse. Not the end user, not the hardware vendor. This begs the question, what recourse can any of us expect when we support a 3rd party API from ANYONE, including one of our own? Apple and Google can change their terms of service or APIs anytime they want, and can pull the rug out from under our commercial products and we are helpless. Oracle can push out a critical update to their SQL server that sqlYoga can't handle, and Trevor can say, "Yeah, no not going to update that product because I've discontinued supporting it." I'd be forced to completely refactor what is now a fairly complex app. This is the nature of software development in this pervasively connected world of ours. Perhaps a good approach is to include in any contract for software products or development the disclaimer that if the customer requests support for a 3rd party API, that functionality and support for that API is restricted to the terms of the 3rd party. Not sure how to word that legally. Bob S > On Mar 12, 2020, at 15:31 , matthias rebbe via use-livecode wrote: > > Herman, the problems i referred to were the problems he had with a library that did not work anymore after Google changed something and he was in urgent need of a fix, which was not possible because Monte were at sleep at the time of Sean?s posting and therefore he lost an important customer. From matthias_livecode_150811 at m-r-d.de Thu Mar 12 19:18:20 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Mar 2020 00:18:20 +0100 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: Message-ID: > Am 13.03.2020 um 00:09 schrieb hh via use-livecode : > >> Matthias wrote: >> I did NOT refer to any personal problems. So please do not impute >> such an intention to me. > > Sorry Matthias, I obviously misinterpreted "your problems last year". > Hopefully Sean Cole didn't also misinterpret this. > I hope so too. As you might know i am native German who had English only in school (30 years ago). Although i am trying my best to express my thoughts correctly without being misunderstood, it sometimes might sound other than it was intended. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Mar 12 19:43:54 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Mar 2020 00:43:54 +0100 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <99E17EEB-D52C-43CD-B8E2-3455951D1BCF@iotecdigital.com> References: <61D20B02-1B20-43D9-B83B-B815B9B08507@m-r-d.de> <99E17EEB-D52C-43CD-B8E2-3455951D1BCF@iotecdigital.com> Message-ID: Not just dropped APIs. It starts already with Apple deciding if the functionality of an iOS App is worth to be approved for the Appstore or not. I had created 3 apps for a customer which were not accepted by Apple by the "lack" of functionality. At least that was the reason they told us, although we could proof that there were other similar apps in the store with less functionality. Some of them were even approved later than our apps were submitted. The good thing was that i get paid anyway because the complete design and functionality was described by the customer in specification sheets. So i was not responsible for the rejection of the apps. It?s always a risk to develop iOS apps. You?ll never know if they get accepted or not. An other risk is that every new iOS release might break your existing app in the iOS app store. > > Perhaps a good approach is to include in any contract for software products or development the disclaimer that if the customer requests support for a 3rd party API, that functionality and support for that API is restricted to the terms of the 3rd party. Not sure how to word that legally. > That?s a good idea. So the developer is not responsible if there are changes to the 3rd party API and thereby the functionality of the program is disturbed or impaired. > Bob S From sean at pidigital.co.uk Thu Mar 12 19:52:33 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 12 Mar 2020 23:52:33 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <61D20B02-1B20-43D9-B83B-B815B9B08507@m-r-d.de> References: <61D20B02-1B20-43D9-B83B-B815B9B08507@m-r-d.de> Message-ID: Hi all Thank you for all your kind words. Sorry, you said ?no? sarcasm. Oops. My bad. I had posted this originally to the dev-livecode list but I thought (accurately) I wouldn?t get a reponse from that. I?m sooo sorry (oops, I did it again) that this is viewed potentially by newbies. Although hiding the truth (?forever?) is not a good policy either. Maybe one of them will notice that it doesn?t support the latest OSs/Xcode/Android. [Sharp inhale] Suppose they find out! Oh no!! I?ve been looking around but I can?t find a rant-livecode forum or the use-livecodeAtYourPeril forum or even a tryToUse-LiveCodeButEndUpUsingHeapsOfJavascriptAndPHPWorkaroundsInstead forum. Or even the dontUse-LiveCodeBecauseItsCrashedAgain forum. I?ve been thinking for a while whilst reading the various support and ?spanking? messages what I might write. But I worked out that the only ?nice? thing would be to say nothing (as my dear grandma always said I should). But at some point something has to be said. I currently have a client breathing heavily behind me because I can?t supply what they need. And by now I should be able to. My competitors, they?re new suppliers, are able to. I would be trying to fix the LC issues with HTML deployment myself if I wasn?t so bogged down with the workarounds on top of workarounds that are so messing with my head. I?ve been working 18hr days for months. So forgive me for asking a legitimate question (ok, in mild rant form) on a forum which is the ONLY place I can vent to others who USE-LIVECODE!! Name me one other place where Only veteran users can go and vent with like minded pro users of LC and I?m there>>>>! I someone created one I guarantee it would get tonnes more use than this one albeit unseen by the LC team. Which brings me to the final point (?phew? I hear you say!). Someone asked what I thought I would get from posting it here. Well, as someone else pointed out, the likes of the CTO do poke there heads this way every now and then. Interestingly today, maybe by coincidence, the amount of git-pulls have been massive in comparison to the last three months. Hopefully this means they are indeed gearing up to release a fixed 9.6GM or RC for us to work with on Friday (their preferred release day historically). I?d like to think (for my own satisfaction only) that my OP pushed towards it but would be just as ?happy?(ish) if they were already about to. Either way, my original point of posting was to get a heads up and vent a teeny-tiny amount of my current frustration at this current time which is just a part of the never ending circle of futility I find myself in. Now, ?that? up there is what you call a rant :) I felt ill before typing this but feel much better now. Thank you all again. I?ve re-read this to be sure I wasn?t abusive or saying anything unfair or unqualified. Sarcastic, yes, but not of the hurtful kind. I?m trying to make light of it despite the mild-affronts and my warm neck. There was no Attack on LC. It was a question of Why the wait and How do I explain to my soon to be lost client and pay packet to my mortgage lenders. I hope you all now understand. Sean Cole Pi From sean at pidigital.co.uk Thu Mar 12 20:00:29 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 13 Mar 2020 00:00:29 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: Message-ID: <1F56DAFB-49E1-4F09-9B37-19BA7332969E@pidigital.co.uk> No offence taken at all, Matthias. I felt you hit ?the nail? on the head, not me. ;) I do regret bringing up my last ?incident? at all. It?s a bit of a splinter that just won?t go away for me and hard not to be reminded of far to often when I face the near same issues of failure I did back then. But thank you (not sarcasm this time) for looking out for me. Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 12 Mar 2020, at 23:18, matthias rebbe via use-livecode wrote: > > ? > >>> Am 13.03.2020 um 00:09 schrieb hh via use-livecode : >>> >>> Matthias wrote: >>> I did NOT refer to any personal problems. So please do not impute >>> such an intention to me. >> >> Sorry Matthias, I obviously misinterpreted "your problems last year". >> Hopefully Sean Cole didn't also misinterpret this. >> > I hope so too. > > As you might know i am native German who had English only in school (30 years ago). Although i am trying my best to express my thoughts correctly without being misunderstood, it sometimes might sound other than it was intended. > > > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 12 20:56:08 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Mar 2020 17:56:08 -0700 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: Message-ID: Pi Digital wrote: > I had posted this originally to the dev-livecode list but I thought > (accurately) I wouldn?t get a reponse from that. Yep, the dev list has been more or less retired since LC went open source. I'm not sure why it's still even up, except that a few people wanted it when they last asked if it should remain. So it's running, but few read it. This list is a good choice. > I currently have a client breathing heavily behind me because I can?t > supply what they need. And by now I should be able to. My competitors, > they?re new suppliers, are able to. Happens all the time. I've formed relationships with others employing complimentary skills and tooling for that purpose, bringing their specialties on board for things outside of my core services. And sometimes the project as a whole is sufficiently outside of what I do that I just refer the client to another qualified professional. No one does everything. Relationships bridge the gaps the cross-training or interest haven't yet filled. It's a big world, and software is eating it. Lots of opportunity for nearly any specialty or mix of specialties. > I would be trying to fix the LC issues with HTML deployment myself > if I wasn?t so bogged down with the workarounds on top of workarounds > that are so messing with my head. When LC's HTML export was first announced, I read up on Emscripten and how it works. Impressive for certain things, but when the result is running a scripting language inside of a canvas object interpreted by another scripting language, I figured I'd stick with brushing up my JS. I know at least one developer who has been using it profitably for a very specialized service. I'm glad for him. But my own needs are in a different field, with a different market, and working closer to the browser engine is a better fit for my own work. Similarly, I used to use LC for systems administration, until I learned bash. I can get the work done with LC, but I can get it done more quickly with the language designed specifically for that niche. LC's sweet spot is xplat desktop GUIs, where it's unbeatable. It's a good contender for mobile apps, and as a server tool*. Personally, I don't even think about HTML export, even though I helped fund the project to see whee it might go. And even though I spend some time in JS and bash, much of that work has at least some LC mixed in along the way. There's always some GUI tool, or some text processing for which awk feels awkward. Lots of choices, combined and recombined as needed. LC is nice, but it's not every language. There are hundreds, with more each year, because each is contributing a unique mix of strengths the others don't have. Back in the day I used to even write object store systems in LC (think MondgoDB scaled down for shared-hosting CGI). Not bad, and on two projects I still use it, but for new work I'm more inclined spin up a VPS and install Mongo or Couch. Same with server management. I started down the DIY road with an LC-based system and some clever (if I do say so myself ) use of the bash "expect" program. Fun and all, but ultimately a lot of work to handle every edge case or new capability. And all the while Ansible is sitting there waiting to be used by those who need a daemonless option, or go old-school with a few bash scripts. You know how much I enjoy and value LiveCode. But I don't use it for everything. I use it where it's the best choice for the task at hand. * RE server use: This is one area where I feel LiveCode's potential has yet to be fully realized by the world. Consider Ruby or Python: fine languages, but rarely used as CGIs before Rails and Django. Now Ruby on Rails has grown to such an audience that it's almost single-handedly justified returning to CGI in many shops. LiveCode performs roughly on par with both of them, but with chunk expressions - most of what we need to do on servers is text manipulation, and for that LC rocks! Our community is blessed with Ralf Bitter's tremendously excellent revIgniter framework. Modeled on WebIgniter, it's an excellent toolkit for a great many tasks. But the PHP world has more than one framework. Same with Python. I'd like to believe that as we build out great server apps with LC, out of this activity will emerge new and useful libraries, tools, and frameworks that can help the rest of the world come to appreciate the benefits of scripting in LiveCode. Same with streaming desktop apps, so easy in LC, so valuable to users, so underutilized... -- 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 Thu Mar 12 21:08:13 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Mar 2020 20:08:13 -0500 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: <61D20B02-1B20-43D9-B83B-B815B9B08507@m-r-d.de> Message-ID: <170d16f3860.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> This one was okay. :) You sound a little more relaxed. I frequently have the same frustrations as you do, but knowing a little about the team helps moderate my posts. I think this long thread could have been shorter if you had just said what roadblocks in particular are preventing you from completing the work. I do understand you're having issues with the script editor, but what features exactly do you need that don't exist? (I hope I didn't miss something.) When I felt completely blocked because I couldn't find a way to scroll to metadata in a field, several people jumped in to help me and Mark Waddingham even provided a complete handler. I would have lost the job without that. I'm grateful. So maybe we can help you too. Throw out a challenge. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 12, 2020 6:54:28 PM Pi Digital via use-livecode wrote: > Hi all > > Thank you for all your kind words. Sorry, you said ?no? sarcasm. Oops. My bad. > > I had posted this originally to the dev-livecode list but I thought > (accurately) I wouldn?t get a reponse from that. I?m sooo sorry (oops, I > did it again) that this is viewed potentially by newbies. Although hiding > the truth (?forever?) is not a good policy either. Maybe one of them will > notice that it doesn?t support the latest OSs/Xcode/Android. [Sharp inhale] > Suppose they find out! Oh no!! > > I?ve been looking around but I can?t find a rant-livecode forum or the > use-livecodeAtYourPeril forum or even a > tryToUse-LiveCodeButEndUpUsingHeapsOfJavascriptAndPHPWorkaroundsInstead > forum. Or even the dontUse-LiveCodeBecauseItsCrashedAgain forum. > > I?ve been thinking for a while whilst reading the various support and > ?spanking? messages what I might write. But I worked out that the only > ?nice? thing would be to say nothing (as my dear grandma always said I > should). But at some point something has to be said. > > I currently have a client breathing heavily behind me because I can?t > supply what they need. And by now I should be able to. My competitors, > they?re new suppliers, are able to. I would be trying to fix the LC issues > with HTML deployment myself if I wasn?t so bogged down with the workarounds > on top of workarounds that are so messing with my head. I?ve been working > 18hr days for months. So forgive me for asking a legitimate question (ok, > in mild rant form) on a forum which is the ONLY place I can vent to others > who USE-LIVECODE!! Name me one other place where Only veteran users can go > and vent with like minded pro users of LC and I?m there>>>>! I someone > created one I guarantee it would get tonnes more use than this one albeit > unseen by the LC team. > > Which brings me to the final point (?phew? I hear you say!). Someone asked > what I thought I would get from posting it here. Well, as someone else > pointed out, the likes of the CTO do poke there heads this way every now > and then. Interestingly today, maybe by coincidence, the amount of > git-pulls have been massive in comparison to the last three months. > Hopefully this means they are indeed gearing up to release a fixed 9.6GM or > RC for us to work with on Friday (their preferred release day > historically). I?d like to think (for my own satisfaction only) that my OP > pushed towards it but would be just as ?happy?(ish) if they were already > about to. Either way, my original point of posting was to get a heads up > and vent a teeny-tiny amount of my current frustration at this current time > which is just a part of the never ending circle of futility I find myself in. > > Now, ?that? up there is what you call a rant :) I felt ill before typing > this but feel much better now. Thank you all again. > > I?ve re-read this to be sure I wasn?t abusive or saying anything unfair or > unqualified. Sarcastic, yes, but not of the hurtful kind. I?m trying to > make light of it despite the mild-affronts and my warm neck. There was no > Attack on LC. It was a question of Why the wait and How do I explain to my > soon to be lost client and pay packet to my mortgage lenders. I hope you > all now understand. > > Sean Cole > Pi > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 12 21:52:15 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 13 Mar 2020 01:52:15 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <170d16f3860.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <170d16f3860.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: The clue is in the subject heading, Jacque. At least, I thought it was plain enough. The script editor and HTML issues I mentioned were just ?mind wind? in the process of bemoaning the speed of uptake to current OS and Xcode support. Here?s the big issue. Essential updates that all users are dependent on, like OS support, are held off from release while other minor updates are worked on and refined. I would venture to suggest that a new policy for these heavy releases to come quicker in a x.x.x release while the other combination/collection of fixes and features be sent out in an x.x release. This would then make sure critical errors/features (which I would say OS support fits into) are addressed and released quicker while not being held off at the mercy of other fixes waiting in the wings. Using this method would make it easier on the hub too. Anyone working on non critical updates can develop to the sub major release (ie. 9.7) while other more critical fixes can be applied to minor (not minor in urgency) releases (ie. 9.6.24). These can then have just one or three fixes that then get fed upstream into the 9.7 develop branch to be then checked against any other features being added to it. Does that make sense? Sean Cole Pi Digital From jacque at hyperactivesw.com Thu Mar 12 23:33:01 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Mar 2020 22:33:01 -0500 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: <170d16f3860.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <170d1f3cdc8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I see now. I confess that I stopped reading the subject itself after a while when the thread took off on a tangent. You make a valid point. LC actually did what you describe when 64-bit started to be required on OS X. They released a rapid update and made the deadline but it was close. I heard they really had to scramble, but they knew how important it was. Apparently Apple doesn't give much advance notice to third-party IDE developers. If you're working in Xcode these changes are less intrusive. I haven't yet installed Catalina, but I submitted an app to the App Store last week built with Xcode 11.1 and LC 9.6dp2, and it ran on iOS 13. It was not rejected for that reason (though I did screw up on something else.) Unless something has changed since then, I think you can proceed. LC has always met the final deadlines for these things and I'm sure they'll do it again. But I agree that a longer lead time would ease everyone's mind. Is Xcode 11.3 or iOS 13.3 required soon? I thought we still had a month or more left. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 12, 2020 8:54:11 PM Pi Digital via use-livecode wrote: > The clue is in the subject heading, Jacque. At least, I thought it was > plain enough. The script editor and HTML issues I mentioned were just ?mind > wind? in the process of bemoaning the speed of uptake to current OS and > Xcode support. > > Here?s the big issue. Essential updates that all users are dependent on, > like OS support, are held off from release while other minor updates are > worked on and refined. I would venture to suggest that a new policy for > these heavy releases to come quicker in a x.x.x release while the other > combination/collection of fixes and features be sent out in an x.x release. > This would then make sure critical errors/features (which I would say OS > support fits into) are addressed and released quicker while not being held > off at the mercy of other fixes waiting in the wings. > > Using this method would make it easier on the hub too. Anyone working on > non critical updates can develop to the sub major release (ie. 9.7) while > other more critical fixes can be applied to minor (not minor in urgency) > releases (ie. 9.6.24). These can then have just one or three fixes that > then get fed upstream into the 9.7 develop branch to be then checked > against any other features being added to it. > > Does that make sense? > > 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 sean at pidigital.co.uk Thu Mar 12 23:47:44 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 13 Mar 2020 03:47:44 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: <170d16f3860.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I've added updates to this bug relating to the script editor issues and crashes https://quality.livecode.com/show_bug.cgi?id=22389 From sean at pidigital.co.uk Fri Mar 13 00:12:17 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 13 Mar 2020 04:12:17 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: <170d16f3860.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I was able to reproduce the issue (continually) so I did another screen recording. It's either the auto-type suggestion thing or it's the error bullet it puts on the numbers (which would then tie up with the breakpoint and other SE errors). Interesting! Sean On Fri, 13 Mar 2020 at 03:47, Sean Cole (Pi) wrote: > I've added updates to this bug relating to the script editor issues and > crashes > > https://quality.livecode.com/show_bug.cgi?id=22389 > > From ahsoftware at sonic.net Fri Mar 13 01:17:30 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 12 Mar 2020 22:17:30 -0700 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: <170d16f3860.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 3/12/20 9:12 PM, Sean Cole (Pi) via use-livecode wrote: > I was able to reproduce the issue (continually) so I did another screen > recording. It's either the auto-type suggestion thing or it's the error > bullet it puts on the numbers (which would then tie up with the breakpoint > and other SE errors). Interesting! Sean- That's awesome! A repeatable recipe. I notice that the error indicator moves between lines 3356 and 3357, as it should, as you type, finally ending up at line 3358 at the hang. So with that in mind... Did you press return after typing "then" or did the hang happen as soon as you typed that word? Does the hang only happen if you have the Breakpoints tab selected? How about if you selected the Errors tab instead? You're using 9.5.1 Indy and I see you have the Autocomplete option enabled... do you have the Control Structure Completion option enabled as well? -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Fri Mar 13 01:17:25 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Mar 2020 22:17:25 -0700 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: Message-ID: <79ab8e60-0528-3fed-85a1-d13605421dd5@fourthworld.com> Sean Cole wrote: > I've added updates to this bug relating to the script editor issues > and crashes > > https://quality.livecode.com/show_bug.cgi?id=22389 Thank you, Sean. I'm signed onto the report, and will add any notes I can if I see this on my Mac. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From merakosp at gmail.com Fri Mar 13 03:46:23 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 13 Mar 2020 09:46:23 +0200 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <79ab8e60-0528-3fed-85a1-d13605421dd5@fourthworld.com> References: <79ab8e60-0528-3fed-85a1-d13605421dd5@fourthworld.com> Message-ID: Hello all, Just a clarification, as this has been a source of confusion for a long time. The current LC 9.x versions do support MacOS Catalina. Also, with the latest LiveCode versions (9.5.1 and 9.6 DP-2 - and possibly earlier versions too) you can still deploy apps for iOS 13.x - and these apps will continue to run even on iOS 14 and 15 in the future. You do NOT need the latest Xcode for building apps, if you want your apps to run in the latest iOS version. There are 2 different places where the iOS version comes to play: (1) The iOS version of the device you want your app to run (2) The iOS SDK version which is included in each Xcode For (1) - you do not need the latest Xcode. Building apps with older Xcode versions will work just fine if your device runs the most recent iOS version. In fact, when a new LC version is released, and it includes support for building with the latest Xcode - it still includes support for building with older Xcode versions, if your Mac runs an older MacOS version. So one might ask, why do we need to use the latest iOS SDK version (to build the app), so why is the LC team each time struggling to include support for the latest Xcode (which includes the latest iOS SDK version)? The answer is we do NOT always need to use the latest iOS SDK version. But when do we *actually* might need it? Well, in the following cases: (a) If you want to submit your app to the AppStore and Apple *requires* your app to have been built against a minimum iOS SDK version. When this is the case, we always release a LC version that supports the required Xcode/iOS_SDK version before the deadline posed by Apple (b) If your app can support a specific new feature that will be available only when built against a specific iOS SDK (imagine iOS SDKs as libraries - a newer one can contain new functions/features, so if you want to use these new functions you have to use this specific iOS SDK to built the app). An example is the TouchID/FaceID support. However, note that iOS SDKs with new features are released in the *major* Xcode versions, and the minor releases are usually just bugfixes in Xcode itself, for which you really do not care, as you do not actually use the Xcode IDE to built the iOS app. So really in the vast majority of the cases we only need to support major Xcode releases, something which does happen, without major delays. So, since you can currently build apps against the iOS 13.1 SDK (i.e. using Xcode 11.1), there is really no need to add support for Xcode 11.2 or 11.3. Similarly, when Xcode 12.x was released, we needed to add support for Xcode 12 (or 12.1), but not really for Xcode 12.2, 12.3 etc The main reason we continue to add support for minor Xcode releases is that: - we do not want to ask people keeping multiple (older) versions of Xcode in their machines. - a lot of people have enabled auto-updates, so their Xcode version will be updated automatically - someone downloading Xcode for the first time will probably download the latest version So for these reasons we are trying - but not always successfully - to support the latest minor Xcode updates. Hope this helps, Panos -- On Fri, 13 Mar 2020 at 07:18, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Sean Cole wrote: > > > I've added updates to this bug relating to the script editor issues > > and crashes > > > > https://quality.livecode.com/show_bug.cgi?id=22389 > > Thank you, Sean. I'm signed onto the report, and will add any notes I > can if I see this on my Mac. > > -- > 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 keith.clarke at me.com Fri Mar 13 06:55:22 2020 From: keith.clarke at me.com (Keith Clarke) Date: Fri, 13 Mar 2020 10:55:22 +0000 Subject: Can the Browser widget access dev tools? Message-ID: Hi folks, I understand that the browser widget uses the platform?s default browser engine. The (default?) feature set seems to be limited - e.g. no right-click (on Mac). There don?t seem to be obvious entries in the dictionary concerning developer tools/menu/option. Please can anyone confirm whether it?s possible to access Safari (Mac) or Chromium (Windows) Developer Tools programmatically from LC - or control the right-click page inspector access (and it?s content once displayed)? And, just in case I?m taking the wrong direction of travel, the use case is that I?m looking to cobble together a simple test rig to help test page load times on limited bandwidth connections using Chrome?s network throttling settings, as I?m getting bored (& RSI) from the current manual process! Best, Keith From sean at pidigital.co.uk Fri Mar 13 08:31:54 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 13 Mar 2020 12:31:54 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: References: Message-ID: <8FEEE715-92C8-4E83-BF9D-B1CF682C6AAD@pidigital.co.uk> Hi Panos Thank you for your lengthy descriptive explanation. It?s appreciated. Perhaps this should be written in the Release Notes - you know, for clarification. So that a newbie or even an oldie knows what to expect. If the RN says it?s not supported then they/we will be ?scared off from using it. ?It? being either LC or the new OSs/Xcode?s/Eclipses/Whatever?s. Especially as you put so much effort into writing it. Still, your fix has been sat on github for 2months held ?at the mercy? of waiting for other bugs to be fixed and features added/completed. In 3 or months time Apple will ?announce? another major version of iOS MacOS and so on. And, at this rate it will be another 12 months (start your stopwatch) before ?support? is added. And so the cycle continues. It could have been sorted and fed out 6mths ago without a doubt. It has to be remembered that LC is not the only software we have running on our systems, each with their own set of ?requirements?. So of course we will have need for the latest os and Xcode. And then the need for multiple Xcode and terminal commands to avoid conflicts. So clarity is definitely needed and appreciated. Hopefully by painting a picture of the other side of the fence helps in understanding ?why? getting it out of the door quicker is very much needed. All the best Sean Cole Pi Digital > On 13 Mar 2020, at 07:46, panagiotis merakos via use-livecode wrote: > > ?Hello all, > > Just a clarification, as this has been a source of confusion for a long > time. > > The current LC 9.x versions do support MacOS Catalina. Also, with the > latest LiveCode versions (9.5.1 and 9.6 DP-2 - and possibly earlier > versions too) you can still deploy apps for iOS 13.x - and these apps will > continue to run even on iOS 14 and 15 in the future. > > You do NOT need the latest Xcode for building apps, if you want your apps > to run in the latest iOS version. > > There are 2 different places where the iOS version comes to play: > > (1) The iOS version of the device you want your app to run > > (2) The iOS SDK version which is included in each Xcode > > For (1) - you do not need the latest Xcode. Building apps with older Xcode > versions will work just fine if your device runs the most recent iOS > version. In fact, when a new LC version is released, and it includes > support for building with the latest Xcode - it still includes support for > building with older Xcode versions, if your Mac runs an older MacOS version. > > So one might ask, why do we need to use the latest iOS SDK version (to > build the app), so why is the LC team each time struggling to include > support for the latest Xcode (which includes the latest iOS SDK version)? > > The answer is we do NOT always need to use the latest iOS SDK version. But > when do we *actually* might need it? Well, in the following cases: > > (a) If you want to submit your app to the AppStore and Apple *requires* > your app to have been built against a minimum iOS SDK version. When this is > the case, we always release a LC version that supports the required > Xcode/iOS_SDK version before the deadline posed by Apple > > (b) If your app can support a specific new feature that will be available > only when built against a specific iOS SDK (imagine iOS SDKs as libraries - > a newer one can contain new functions/features, so if you want to use these > new functions you have to use this specific iOS SDK to built the app). An > example is the TouchID/FaceID support. > > However, note that iOS SDKs with new features are released in the *major* > Xcode versions, and the minor releases are usually just bugfixes in Xcode > itself, for which you really do not care, as you do not actually use the > Xcode IDE to built the iOS app. > > So really in the vast majority of the cases we only need to support major > Xcode releases, something which does happen, without major delays. So, > since you can currently build apps against the iOS 13.1 SDK (i.e. using > Xcode 11.1), there is really no need to add support for Xcode 11.2 or 11.3. > > Similarly, when Xcode 12.x was released, we needed to add support for Xcode > 12 (or 12.1), but not really for Xcode 12.2, 12.3 etc > > The main reason we continue to add support for minor Xcode releases is that: > > - we do not want to ask people keeping multiple (older) versions of Xcode > in their machines. > - a lot of people have enabled auto-updates, so their Xcode version will be > updated automatically > - someone downloading Xcode for the first time will probably download the > latest version > > So for these reasons we are trying - but not always successfully - to > support the latest minor Xcode updates. > > Hope this helps, > Panos > -- > >> On Fri, 13 Mar 2020 at 07:18, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Sean Cole wrote: >> >>> I've added updates to this bug relating to the script editor issues >>> and crashes >>> >>> https://quality.livecode.com/show_bug.cgi?id=22389 >> >> Thank you, Sean. I'm signed onto the report, and will add any notes I >> can if I see this on my Mac. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Fri Mar 13 09:00:26 2020 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 13 Mar 2020 14:00:26 +0100 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle Message-ID: If this would help... I am using OAuth2 with the Google Calendar with a stack that was originally developed by Denver77 and had been posted the stack "GoogleCalendarTest" to the Forum in 2018. It explains clearly how to use Google's oAuthClient and actually, I was able to receive the client id, the client secret and use Google's OAuth2 protocol. Similar, it should work for Google Sheets, Contacts, GMail, etc. And it works very well up to date. Only, the token needed to be renewed, and Google requires that the user logs in passing all the authentication and permission tests if the app has not been registered with Google. A Google account is required I will ask permission to post this LiveCode Calendar "GoogeCalendarTest.livecode" solution again. Or is it still somewhere? I could not find on the Forum and other places. I made some changes to it. Otherwise, I would try to recreate it if there is a need and also try to test it with Google sheets (which I am also using as some clients require them). Using any Google apps, some basic JavaScript knowledge is usually helpful since Google Apps Script (based on JavaScript) is the predominant user language working with Google apps and it will have to be used in most cases if server work is needed. Google App Script is not client-side. https://developers.google.com/apps-script/overview Sure, I think, we should develop specialized LC OAuth2 libraries to access the apps of the big players and make them available for - Google - Microsoft - Apple - Amazon - etc. in a straight-forward way, or at least a step-by-step instruction how to use their products with LC -- which also needs constant monitoring and updating for changes such big players introduce from time to time. Which end user in the corporate world does not work with GMail, GMail contacts, Microsoft Outlook, etc? At least these are standards in the corporate world and could increase the attractiveness of LC very much if LC would offer help for specialized tasks using such apps as their base. Roland From sean at pidigital.co.uk Fri Mar 13 09:05:01 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 13 Mar 2020 13:05:01 +0000 Subject: Philosophical questions about the fontNames In-Reply-To: References: Message-ID: Hi If you need a specific font to work because of look, scale, print, etc I suggest using a font editor app to copy the font you require, rename it to something unique (the name is embedded so just changing the file name changes nothing) and then embed it into your app in LC Standalone Settings. This is the only sure fire way of ensuring what you see in the dev environment is what the user will see on their xyz machine/device/printout. Sean Cole Pi From sean at pidigital.co.uk Fri Mar 13 09:21:16 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 13 Mar 2020 13:21:16 +0000 Subject: Can the Browser widget access dev tools? In-Reply-To: References: Message-ID: <23D47FEB-F7F1-4B9B-BEE0-C3E179469FEC@pidigital.co.uk> Hi Keith The chromium engine is not the same as the chrome browser. So the browser has the dev tools. The engine will have some code base that the browser can pull from to display as tools. The browser widget is a browser in its own right. It does not, at least as far as I?m aware, embed a chrome browser into a container. It uses the chromium engine to feed data that can be interpreted and displayed within a widget canvas. So dev tools would have to be written into the widget to access things l??le the throttling settings so that you could manipulate them using properties in the UI or by code. I hope this leads to solving your rsi problem eventually. It is a pain when the dev tools disappear when you load a new page and you can?t set it to stay up and stay throttled. Send a feature request to google. All the best Sean Cole Pi Digital > On 13 Mar 2020, at 10:55, Keith Clarke via use-livecode wrote: > > ?Hi folks, > I understand that the browser widget uses the platform?s default browser engine. The (default?) feature set seems to be limited - e.g. no right-click (on Mac). > > There don?t seem to be obvious entries in the dictionary concerning developer tools/menu/option. Please can anyone confirm whether it?s possible to access Safari (Mac) or Chromium (Windows) Developer Tools programmatically from LC - or control the right-click page inspector access (and it?s content once displayed)? > > And, just in case I?m taking the wrong direction of travel, the use case is that I?m looking to cobble together a simple test rig to help test page load times on limited bandwidth connections using Chrome?s network throttling settings, as I?m getting bored (& RSI) from the current manual process! > Best, > Keith > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Mar 13 09:22:22 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Mar 2020 14:22:22 +0100 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: <37D02085-BF13-4CA2-940E-73D917DDACB5@m-r-d.de> Roland, i found a forum post from mimu which included also a GoogleCalendarTest stack. http://forums.livecode.com/viewtopic.php?t=31840 Is that the one you are referring to? Matthias > Am 13.03.2020 um 14:00 schrieb R.H. via use-livecode : > > If this would help... > > I am using OAuth2 with the Google Calendar with a stack that was originally > developed by Denver77 and had been posted the stack "GoogleCalendarTest" to > the Forum in 2018. It explains clearly how to use Google's oAuthClient and > actually, I was able to receive the client id, the client secret and use > Google's OAuth2 protocol. > > Similar, it should work for Google Sheets, Contacts, GMail, etc. > > And it works very well up to date. Only, the token needed to be renewed, > and Google requires that the user logs in passing all the authentication > and permission tests if the app has not been registered with Google. A > Google account is required > > I will ask permission to post this LiveCode Calendar > "GoogeCalendarTest.livecode" solution again. Or is it still somewhere? I > could not find on the Forum and other places. I made some changes to it. > > Otherwise, I would try to recreate it if there is a need and also try to > test it with Google sheets (which I am also using as some clients require > them). > > Using any Google apps, some basic JavaScript knowledge is usually helpful > since Google Apps Script (based on JavaScript) is the predominant user > language working with Google apps and it will have to be used in most cases > if server work is needed. Google App Script is not client-side. > > https://developers.google.com/apps-script/overview > > Sure, I think, we should develop specialized LC OAuth2 libraries to access > the apps of the big players and make them available for > > - Google > - Microsoft > - Apple > - Amazon > - etc. > > in a straight-forward way, or at least a step-by-step instruction how to > use their products with LC -- which also needs constant monitoring and > updating for changes such big players introduce from time to time. > > Which end user in the corporate world does not work with GMail, GMail > contacts, Microsoft Outlook, etc? At least these are standards in the > corporate world and could increase the attractiveness of LC very much if LC > would offer help for specialized tasks using such apps as their base. > > Roland > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Fri Mar 13 09:37:12 2020 From: keith.clarke at me.com (Keith Clarke) Date: Fri, 13 Mar 2020 13:37:12 +0000 Subject: Can the Browser widget access dev tools? In-Reply-To: <23D47FEB-F7F1-4B9B-BEE0-C3E179469FEC@pidigital.co.uk> References: <23D47FEB-F7F1-4B9B-BEE0-C3E179469FEC@pidigital.co.uk> Message-ID: Hi Sean, Thanks for the response - that saves me researching further on browser widget usage for this. I?ve also looked at trying to drive a regular Chrome browser instance on my Mac but there seems to be a more fundamental snag? Unlike the Console, the Dev Tools Network settings seem to lack any API https://developers.google.com/web/tools/chrome-devtools/network . Good call on raising a change request to Google on tools & throttling persistence - I?ll see if I can find where to do that! Best, Keith > On 13 Mar 2020, at 13:21, Pi Digital via use-livecode wrote: > > Hi Keith > > The chromium engine is not the same as the chrome browser. So the browser has the dev tools. The engine will have some code base that the browser can pull from to display as tools. > > The browser widget is a browser in its own right. It does not, at least as far as I?m aware, embed a chrome browser into a container. It uses the chromium engine to feed data that can be interpreted and displayed within a widget canvas. > > So dev tools would have to be written into the widget to access things l??le the throttling settings so that you could manipulate them using properties in the UI or by code. > > I hope this leads to solving your rsi problem eventually. It is a pain when the dev tools disappear when you load a new page and you can?t set it to stay up and stay throttled. Send a feature request to google. > > All the best > > Sean Cole > Pi Digital > > >> On 13 Mar 2020, at 10:55, Keith Clarke via use-livecode wrote: >> >> ?Hi folks, >> I understand that the browser widget uses the platform?s default browser engine. The (default?) feature set seems to be limited - e.g. no right-click (on Mac). >> >> There don?t seem to be obvious entries in the dictionary concerning developer tools/menu/option. Please can anyone confirm whether it?s possible to access Safari (Mac) or Chromium (Windows) Developer Tools programmatically from LC - or control the right-click page inspector access (and it?s content once displayed)? >> >> And, just in case I?m taking the wrong direction of travel, the use case is that I?m looking to cobble together a simple test rig to help test page load times on limited bandwidth connections using Chrome?s network throttling settings, as I?m getting bored (& RSI) from the current manual process! >> Best, >> Keith >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Mar 13 09:49:10 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 13 Mar 2020 13:49:10 +0000 Subject: Can the Browser widget access dev tools? In-Reply-To: References: Message-ID: <2653FA5C-8AD1-4FCA-824F-06F9BB1CD5D8@pidigital.co.uk> Here?s where to go https://developers.google.com/web/feedback Sean Cole Pi Digital > On 13 Mar 2020, at 13:37, Keith Clarke via use-livecode wrote: > > ?Hi Sean, > Thanks for the response - that saves me researching further on browser widget usage for this. > > I?ve also looked at trying to drive a regular Chrome browser instance on my Mac but there seems to be a more fundamental snag? > > Unlike the Console, the Dev Tools Network settings seem to lack any API https://developers.google.com/web/tools/chrome-devtools/network . > > Good call on raising a change request to Google on tools & throttling persistence - I?ll see if I can find where to do that! > Best, > Keith > >> On 13 Mar 2020, at 13:21, Pi Digital via use-livecode wrote: >> >> Hi Keith >> >> The chromium engine is not the same as the chrome browser. So the browser has the dev tools. The engine will have some code base that the browser can pull from to display as tools. >> >> The browser widget is a browser in its own right. It does not, at least as far as I?m aware, embed a chrome browser into a container. It uses the chromium engine to feed data that can be interpreted and displayed within a widget canvas. >> >> So dev tools would have to be written into the widget to access things l??le the throttling settings so that you could manipulate them using properties in the UI or by code. >> >> I hope this leads to solving your rsi problem eventually. It is a pain when the dev tools disappear when you load a new page and you can?t set it to stay up and stay throttled. Send a feature request to google. >> >> All the best >> >> Sean Cole >> Pi Digital >> >> >>>> On 13 Mar 2020, at 10:55, Keith Clarke via use-livecode wrote: >>> >>> ?Hi folks, >>> I understand that the browser widget uses the platform?s default browser engine. The (default?) feature set seems to be limited - e.g. no right-click (on Mac). >>> >>> There don?t seem to be obvious entries in the dictionary concerning developer tools/menu/option. Please can anyone confirm whether it?s possible to access Safari (Mac) or Chromium (Windows) Developer Tools programmatically from LC - or control the right-click page inspector access (and it?s content once displayed)? >>> >>> And, just in case I?m taking the wrong direction of travel, the use case is that I?m looking to cobble together a simple test rig to help test page load times on limited bandwidth connections using Chrome?s network throttling settings, as I?m getting bored (& RSI) from the current manual process! >>> Best, >>> Keith >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 13 11:32:45 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Mar 2020 15:32:45 +0000 Subject: Philosophical questions about the fontNames In-Reply-To: References: Message-ID: Also, there are two major types of vector based fonts: TrueType and OpenType. OpenType is a Microsoft format, but the same font file can be used for Windows and Mac. TrueType gets a little tricky. TrueType fonts made for Windows will also work for Mac. TrueType made for Mac must be CONVERTED to work with Windows. There are free utilities that will do this conversion for you. I use dFontSplitter for Mac, but I'm sure there are others. HTH Bob S > On Mar 13, 2020, at 06:05 , Pi Digital via use-livecode wrote: > > Hi > > If you need a specific font to work because of look, scale, print, etc I suggest using a font editor app to copy the font you require, rename it to something unique (the name is embedded so just changing the file name changes nothing) and then embed it into your app in LC Standalone Settings. This is the only sure fire way of ensuring what you see in the dev environment is what the user will see on their xyz machine/device/printout. > > Sean Cole > Pi > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 13 11:44:48 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Mar 2020 15:44:48 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <8FEEE715-92C8-4E83-BF9D-B1CF682C6AAD@pidigital.co.uk> References: <8FEEE715-92C8-4E83-BF9D-B1CF682C6AAD@pidigital.co.uk> Message-ID: <2AABD980-5CA8-4E14-AEBC-8D2C7732D35D@iotecdigital.com> Just to diverge a bit (as I am wont to do), when new browsers and features began to be prolific, a lot of web devs would initially develop sites using the new features. What resulted however is that they excluded vast numbers of visitors who could not view their web sites, or had reduced capabilities. What evolved from that period of painful learning is that it is always a good idea when developing for public consumption to develop for the (reasonably) lowest common denominator. By reasonable, I mean for example, making sure an app will run in Windows 7 or whatever version of iOS the Apple Store accepts. Unreasonable would be trying to support iOS 7 of Windows XP or Vista. If using the latest SDK and Livecode version doesn't accomplish this, I would consider maintaining an SDK and LC version that does, and avoid using features in your apps that environment cannot support. My 2? Bob S From sean at pidigital.co.uk Fri Mar 13 12:12:05 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 13 Mar 2020 16:12:05 +0000 Subject: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ??? In-Reply-To: <2AABD980-5CA8-4E14-AEBC-8D2C7732D35D@iotecdigital.com> References: <2AABD980-5CA8-4E14-AEBC-8D2C7732D35D@iotecdigital.com> Message-ID: <05450EFE-8C26-463F-A5E9-F4E8443D286B@pidigital.co.uk> > ... it is always a good idea when developing for public consumption to develop for the (reasonably) lowest common denominator. This works with the public. Not so much with a massive set of corporate enterprises where IT departments (all of them) will choose to test and roll out upgrades/updates not long (maybe a month) after its release. This is decided upon because of 2 main factors - 1. security measures implemented in the updates based on real world attacks; 2. The next minor update is hot on its heels. Apple release b?tas so that IT depts can do the main test ahead of time and then on gm they do a final check then release. (Actually, ? lot of them wait for Apple to release a x.x.01 before release so that all the initial bugs are removed :p) As a supplier to these companies we have to sign off that we are not putting their devices and systems at risk by using out of date security measures and sdk?s. And so we must be capable of using the very latest Sdks and wares. But, fortunately, as Panos said, these newer oss and IDEs are covered by current releases (9.5.1 and 9.6dp2) although not mentioned in the release notes. And that is what was scaring me and potentially newbies off from making use of it. If it says it?s not supported I can?t risk installing it and end up not being able to revert easily or otherwise stop working. It?s just frustrating that these fixes have been sitting on the server waiting for release for a couple of months and not just pushed out in even a dp or rc form. It would enable us to Have time to test them thoroughly ahead of gm release. And even start putting them to use. Sean Cole Pi Digital > On 13 Mar 2020, at 15:44, Bob Sneidar via use-livecode wrote: > > ?Just to diverge a bit (as I am wont to do), when new browsers and features began to be prolific, a lot of web devs would initially develop sites using the new features. What resulted however is that they excluded vast numbers of visitors who could not view their web sites, or had reduced capabilities. > > By reasonable, I mean for example, making sure an app will run in Windows 7 or whatever version of iOS the Apple Store accepts. Unreasonable would be trying to support iOS 7 of Windows XP or Vista. > > If using the latest SDK and Livecode version doesn't accomplish this, I would consider maintaining an SDK and LC version that does, and avoid using features in your apps that environment cannot support. > > My 2? > > 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 charles-lachat at orange.fr Sat Mar 14 02:27:20 2020 From: charles-lachat at orange.fr (Charles Lachat) Date: Sat, 14 Mar 2020 07:27:20 +0100 Subject: =?utf-8?Q?Re=3A_Where_is_Andr=C3=A9_=3F_Andr=C3=A9_says_=22goodb?= =?utf-8?Q?ye=22?= In-Reply-To: <0E543139-DBAA-4C99-8E71-BA1A14CEEF81@orange.fr> References: <0E543139-DBAA-4C99-8E71-BA1A14CEEF81@orange.fr> Message-ID: I feel Andr? is not welcomed as an outsider in this list. Too bad. CL, not enough philosophical, not enough Catalina > Le 11 mars 2020 ? 23:48, Charles Lachat via use-livecode a ?crit : > > Hi, > > Let?s say I build an XML tree in LiveCode; part of it is: > > revXMLPutIntoNode idID, "/identity/name", textEncode (field "name_source" ,"UTF8") -- fld contains "Andr?" > > When I write the XML file: > > put revXMLText (idID) into URL **myFile.xml** > > ? I don?t find Andr? any longer, but André > > How can I fix this using LiveCode tools ? > (I mean without using i.e. *replace oldString with newString in container* for each accented character) > > Thanks. > > CL > ======= > full example at: > https://forums.livecode.com/viewtopic.php?f=7&t=33761 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 14 03:00:52 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2020 02:00:52 -0500 Subject: =?UTF-8?B?UmU6IFdoZXJlIGlzIEFuZHLDqSA/IEFuZHLDqSBzYXlzICJnb29kYnllIg==?= In-Reply-To: References: <0E543139-DBAA-4C99-8E71-BA1A14CEEF81@orange.fr> Message-ID: <170d7d874a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Not at all, the most likely reason is that no one was sure of the answer. Or maybe your post got lost in the fog. But re-reading your post, it looks like you're doing the textEncode at the wrong time. Storing encoded text in LC can give unexpected results, instead try putting the textEncode function directly into the line that writes the file. put textEncode(revXMLText (idID), "UTF8") into URL **myFile.xml** The general rule is that encoding should happen when data leaves LC, and should be decoded when data comes in. Data manipulated inside LC shouldn't be changed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 14, 2020 1:40:06 AM Charles Lachat via use-livecode wrote: > I feel Andr? is not welcomed as an outsider in this list. > > Too bad. > > CL, not enough philosophical, not enough Catalina > > > > >> Le 11 mars 2020 ? 23:48, Charles Lachat via use-livecode >> a ?crit : >> >> Hi, >> >> Let?s say I build an XML tree in LiveCode; part of it is: >> >> revXMLPutIntoNode idID, "/identity/name", textEncode (field "name_source" >> ,"UTF8") -- fld contains "Andr?" >> >> When I write the XML file: >> >> put revXMLText (idID) into URL **myFile.xml** >> >> ? I don?t find Andr? any longer, but André >> >> How can I fix this using LiveCode tools ? >> (I mean without using i.e. *replace oldString with newString in container* >> for each accented character) >> >> Thanks. >> >> CL >> ======= >> full example at: >> https://forums.livecode.com/viewtopic.php?f=7&t=33761 >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 14 03:58:44 2020 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 14 Mar 2020 08:58:44 +0100 Subject: =?utf-8?Q?Re:_Where_is_Andr=C3=A9_=3F_Andr=C3=A9_says_"goodbye"?= In-Reply-To: <170d7d874a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <170d7d874a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4AC667A5-CB4F-4D02-B8A9-2D05EE8807D4@m-r-d.de> To be honest, I didn?t read your post after reading the topic. I really thought you were asking where Andre ( Garcia) is. (A longtime member of the LC community. ) Perhaps a more meaningful term would have led to more answers. Matthias Von meinem iPhone gesendet > Am 14.03.2020 um 08:01 schrieb J. Landman Gay via use-livecode : > > ?Not at all, the most likely reason is that no one was sure of the answer. Or maybe your post got lost in the fog. But re-reading your post, it looks like you're doing the textEncode at the wrong time. Storing encoded text in LC can give unexpected results, instead try putting the textEncode function directly into the line that writes the file. > > put textEncode(revXMLText (idID), "UTF8") into URL **myFile.xml** > > The general rule is that encoding should happen when data leaves LC, and should be decoded when data comes in. Data manipulated inside LC shouldn't be changed. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On March 14, 2020 1:40:06 AM Charles Lachat via use-livecode wrote: >> >> I feel Andr? is not welcomed as an outsider in this list. >> >> Too bad. >> >> CL, not enough philosophical, not enough Catalina >> >> >> >> >>>> Le 11 mars 2020 ? 23:48, Charles Lachat via use-livecode a ?crit : >>> >>> Hi, >>> >>> Let?s say I build an XML tree in LiveCode; part of it is: >>> >>> revXMLPutIntoNode idID, "/identity/name", textEncode (field "name_source" ,"UTF8") -- fld contains "Andr?" >>> >>> When I write the XML file: >>> >>> put revXMLText (idID) into URL **myFile.xml** >>> >>> ? I don?t find Andr? any longer, but André >>> >>> How can I fix this using LiveCode tools ? >>> (I mean without using i.e. *replace oldString with newString in container* for each accented character) >>> >>> Thanks. >>> >>> CL >>> ======= >>> full example at: >>> https://forums.livecode.com/viewtopic.php?f=7&t=33761 >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sat Mar 14 09:29:23 2020 From: paul at researchware.com (Paul Dupuis) Date: Sat, 14 Mar 2020 09:29:23 -0400 Subject: =?UTF-8?Q?Re=3a_Where_is_Andr=c3=a9_=3f_Andr=c3=a9_says_=22goodbye?= =?UTF-8?Q?=22?= In-Reply-To: <4AC667A5-CB4F-4D02-B8A9-2D05EE8807D4@m-r-d.de> References: <170d7d874a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4AC667A5-CB4F-4D02-B8A9-2D05EE8807D4@m-r-d.de> Message-ID: On 3/14/2020 3:58 AM, Matthias Rebbe via use-livecode wrote: > revXMLPutIntoNode idID, "/identity/name", textEncode (field "name_source" ,"UTF8") -- fld contains "Andr?" > > When I write the XML file: > > put revXMLText (idID) into URL **myFile.xml** > > ? I don?t find Andr? any longer, but André First, é is HTML for ? which is correct, just encoded as an HTML character value. If you code it as (below) with the textEncode to UTF8 removed on mouseUp ? put revXMLCreateTree("",false,true,false) into idID ? revXMLPutIntoNode idID, "/identity/name",? field? "name_source" -- fld contains "Andr?" ? put revXMLText (idID) into URL ("file:"&specialFolderPath("desktop")&slash&"myFile.xml") end mouseUp You just get Andr - the ? is removed on mouseUp ? put revXMLCreateTree("",false,true,false) into idID ? revXMLPutIntoNode idID, "/identity/name",? field? "name_source" -- fld contains "Andr?" ? put textEncode(revXMLText (idID),"UTF-8") into URL ("file:"&specialFolderPath("desktop")&slash&"myFile.xml") end mouseUp You still just get Andr - the ? is removed I think revXMLText may convert all non-ASCII characters to HTML entities Some of the rev* libraries are not fully Unicode aware, for example, for revZIP, I filed this confirmed bug: https://quality.livecode.com/show_bug.cgi?id=22202 Either by design or as a bug, any accented characters (non-ASCII) you may have to deal with HTTML encodings for And a search of the LiveCode Quality Center shows the exact bug you are running into is: https://quality.livecode.com/show_bug.cgi?id=18927 From m.schonewille at economy-x-talk.com Sat Mar 14 09:40:48 2020 From: m.schonewille at economy-x-talk.com (Drs Mark Schonewille) Date: Sat, 14 Mar 2020 14:40:48 +0100 Subject: =?UTF-8?Q?Re=3a_Where_is_Andr=c3=a9_=3f_Andr=c3=a9_says_=22goodbye?= =?UTF-8?Q?=22?= In-Reply-To: References: <170d7d874a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4AC667A5-CB4F-4D02-B8A9-2D05EE8807D4@m-r-d.de> Message-ID: <0bc69acd-2f98-f3de-7447-295f79a8dd2e@economy-x-talk.com> It looks like url("file:...") still makes some conversion. I think we should still use binfile to avoid conversion and before we do so, we need to make sure we get the encoding right. Mark Schonewille Economy-x-Talk https://ecxtalk.nl https://www.nt2.nu Programming LiveCode for the Real Beginner http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner Op 14-3-2020 om 14:29 schreef Paul Dupuis via use-livecode: > On 3/14/2020 3:58 AM, Matthias Rebbe via use-livecode wrote: >> revXMLPutIntoNode idID, "/identity/name", textEncode (field? >> "name_source" ,"UTF8") -- fld contains "Andr?" >> >> When I write the XML file: >> >> put revXMLText (idID) into URL **myFile.xml** >> >> ? I don?t find Andr? any longer, but André > > First, é is HTML for ? which is correct, just encoded as an HTML > character value. > > If you code it as (below) with the textEncode to UTF8 removed > > on mouseUp > ? put > revXMLCreateTree("",false,true,false) > into idID > ? revXMLPutIntoNode idID, "/identity/name",? field? "name_source" -- > fld contains "Andr?" > ? put revXMLText (idID) into URL > ("file:"&specialFolderPath("desktop")&slash&"myFile.xml") > end mouseUp > > You just get Andr - the ? is removed > > on mouseUp > ? put > revXMLCreateTree("",false,true,false) > into idID > ? revXMLPutIntoNode idID, "/identity/name",? field? "name_source" -- > fld contains "Andr?" > ? put textEncode(revXMLText (idID),"UTF-8") into URL > ("file:"&specialFolderPath("desktop")&slash&"myFile.xml") > end mouseUp > > You still just get Andr - the ? is removed > > I think revXMLText may convert all non-ASCII characters to HTML entities > > Some of the rev* libraries are not fully Unicode aware, for example, > for revZIP, I filed this confirmed bug: > https://quality.livecode.com/show_bug.cgi?id=22202 > > Either by design or as a bug, any accented characters (non-ASCII) you > may have to deal with HTTML encodings for > > And a search of the LiveCode Quality Center shows the exact bug you > are running into is: https://quality.livecode.com/show_bug.cgi?id=18927 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sat Mar 14 10:30:58 2020 From: paul at researchware.com (Paul Dupuis) Date: Sat, 14 Mar 2020 10:30:58 -0400 Subject: =?UTF-8?Q?Re=3a_Where_is_Andr=c3=a9_=3f_Andr=c3=a9_says_=22goodbye?= =?UTF-8?Q?=22?= In-Reply-To: <0bc69acd-2f98-f3de-7447-295f79a8dd2e@economy-x-talk.com> References: <170d7d874a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4AC667A5-CB4F-4D02-B8A9-2D05EE8807D4@m-r-d.de> <0bc69acd-2f98-f3de-7447-295f79a8dd2e@economy-x-talk.com> Message-ID: It s revXMLText (idID) that converts high ASCII characters to HTML entities, so I don't think file vs binfile will make much difference. From roland.huettmann at gmail.com Sat Mar 14 11:54:02 2020 From: roland.huettmann at gmail.com (R.H.) Date: Sat, 14 Mar 2020 16:54:02 +0100 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle Message-ID: @Matthias: "i found a forum post from mimu which included also a GoogleCalendarTest stack. http://forums.livecode.com/viewtopic.php?t=31840" Yes, correct. Thanks for the hint! This is the one I am using. The scripts are very good and allow to expand the idea of connecting to Google Services. It needs some work first understanding the scripts. The main one is in the card, but well documented. Again, I think it would be more than helpful for all LC users and the visibility of LiveCode on the market if there is something "out of the box" to connect to all kinds of OAuth2 main services since integration becomes a major subject. I am not sure I can do this (giving time constraints, otherwise I would). We will see... Roland From ahsoftware at sonic.net Sat Mar 14 13:48:20 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 14 Mar 2020 10:48:20 -0700 Subject: =?UTF-8?Q?Re=3a_Where_is_Andr=c3=a9_=3f_Andr=c3=a9_says_=22goodbye?= =?UTF-8?Q?=22?= In-Reply-To: References: <170d7d874a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4AC667A5-CB4F-4D02-B8A9-2D05EE8807D4@m-r-d.de> Message-ID: <89a031d9-414b-b6c8-2eb2-01aab69d7a51@sonic.net> On 3/14/20 6:29 AM, Paul Dupuis via use-livecode wrote: > You still just get Andr - the ? is removed > > I think revXMLText may convert all non-ASCII characters to HTML entities I think urlEncode/urlDecode is your friend here (watch the wordwrap): on mouseUp local idID put revXMLCreateTree("",false,true,false) into idID revXMLPutIntoNode idID, "/identity/name", urlEncode(field "name_source") -- fld contains "Andr?" put urlDecode(revXMLText(idID,,true)) into URL ("file:"&specialFolderPath("desktop")&slash&"myFile.xml") end mouseUp -- Mark Wieder ahsoftware at gmail.com From bogdanoff at me.com Sat Mar 14 19:47:31 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 14 Mar 2020 16:47:31 -0700 Subject: Finding words with diacriticals In-Reply-To: <89a031d9-414b-b6c8-2eb2-01aab69d7a51@sonic.net> References: <170d7d874a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4AC667A5-CB4F-4D02-B8A9-2D05EE8807D4@m-r-d.de> <89a031d9-414b-b6c8-2eb2-01aab69d7a51@sonic.net> Message-ID: <0BE68C80-6DA9-4994-92CC-E893EC2B0252@me.com> Hi, I have a text search that in which I?m trying to improve the UI. I have this text: Edgard Var?se (Po?me ?lectronique) was a pioneer in the application of tape recording technology to composition. The search database, built with Scott McDonald?s rrpSearch plugin, can only be searched using the exact characters. So, I?m building a supplementary array of words with alternate spellings that the user might type in the search box. I would reference the array to get an equivalent word and so provide the user with a usable result. So if the user types in ?poeme? ? I would find ?poeme? in the array and its equivalent ?Po?me? and I would actually search for ?Po?me? ? and the user would get a result that included ?Po?me?. So I want to build this array of word equivalents. The search database is built by rrpSearch from text on cards, so I have to go back to these cards to get my data. I?m using the find command to search cards to find every instance of ??? or ??? or ??? or ??? or whatever. There are many non-English words in the text. The foundText function should give me the words that contain that character?except it doesn?t in every case. It only finds words that BEGIN with the search text. So ?lectronique ? found (char begins the word) Var?se ? not found (char is in middle of the word) Po?me ? not found (char is in middle of the word) I?m using ?find? and ?the foundText? which returns the whole word that contains the search character. No other form of find will return the whole word. The dictionary for foundText: Is there another relatively simple way to get the whole word in which the desired characters live? There are dozens of fields on thousands of cards to search. (I realize that there are far better ways to handle a search, and in the future, I will have a database that I will design myself--but not yet.) Thanks, Peter Bogdanoff ArtsInteractive From jacque at hyperactivesw.com Sun Mar 15 01:55:51 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Mar 2020 00:55:51 -0500 Subject: POST on mobile apps Message-ID: <9bb98a64-2202-f1b6-0ce7-e81eaa74a7f0@hyperactivesw.com> The dictionary entry for POST contains this about mobile apps: "Cross-platform note: On iOS and Android, the post command is implemented in the engine. Therefore the Internet library is not needed to ensure the command works in a mobile standalone application. If included, the Internet library implementation will be used instead of the engine implementation. Note: The Android and iOS engines do not support 'libUrl' but do allow you to use post in the background." This seems contradictory. The internet library is not required since POST is implemented in the engine. But if it's included, it will be used. But mobile doesn't support it. I've included both the Internet library and TSNet in my mobile app, which needs POST and get URL. I see now that I can eliminate the Internet library. Do I still need TSNet for mobile "get URL"? We're seeing crashes on iOS when the app sends data to a server. I wonder if there's a conflict having both these extensions included in the build. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From oliver.kalleinen at gmail.com Sun Mar 15 06:29:45 2020 From: oliver.kalleinen at gmail.com (OLIVER GMAIL) Date: Sun, 15 Mar 2020 12:29:45 +0200 Subject: Where is Andr? ? Andr? says "goodbye" In-Reply-To: References: Message-ID: <7e284117-3f1a-0fda-62fd-2a602ff5d7ec@GMAIL.COM> > It s revXMLText (idID) that converts high ASCII characters to HTML > entities, so I don't think file vs binfile will make much difference. I noticed a similar issue with revXMLPutIntoNode. The forum post is here: https://forums.livecode.com/viewtopic.php?f=9&t=33726 Not many answers since February 4 unfortunately...? perhaps the list can help? -- ::::::::::::::::::::::: Oliver Kochta-Kalleinen Mobil +358-40-8223552 kochta at nexgo.de www.studiokalleinen.net From mark at livecode.com Sun Mar 15 07:25:47 2020 From: mark at livecode.com (Mark Waddingham) Date: Sun, 15 Mar 2020 11:25:47 +0000 Subject: Where is Andr? ? Andr? says "goodbye" In-Reply-To: <7e284117-3f1a-0fda-62fd-2a602ff5d7ec@GMAIL.COM> References: <7e284117-3f1a-0fda-62fd-2a602ff5d7ec@GMAIL.COM> Message-ID: On 2020-03-15 10:29, OLIVER GMAIL via use-livecode wrote: >> It s revXMLText (idID) that converts high ASCII characters to HTML >> entities, so I don't think file vs binfile will make much difference. > > I noticed a similar issue with revXMLPutIntoNode. The forum post is > here: https://forums.livecode.com/viewtopic.php?f=9&t=33726 > > Not many answers since February 4 unfortunately...? perhaps the list > can help? Something like this should solve the issue (beware of wrapped lines!): on mouseUp local tInitialXML, tXmlId put "" into tInitialXML put revXMLCreateTree(tInitialXML,false,true,false) into tXmlId revXMLPutIntoNode tXmlId, "/identity/name", textEncode("Andr?", "utf-8") put revXMLText(tXmlId) into URL ("binfile:"&specialFolderPath("desktop")&slash&"myFile.xml") end mouseUp You have to create the XML tree with an initial ` References: <9bb98a64-2202-f1b6-0ce7-e81eaa74a7f0@hyperactivesw.com> Message-ID: <4072fac8c53311d6f14df613f5ecfb36@livecode.com> On 2020-03-15 05:55, J. Landman Gay via use-livecode wrote: > "Cross-platform note: On iOS and Android, the post command is > implemented in the engine. Therefore the Internet library is not > needed to ensure the command works in a mobile standalone application. > If included, the Internet library implementation will be used instead > of the engine implementation. Note: The Android and iOS engines do not > support 'libUrl' but do allow you to use post in the background." > > This seems contradictory. The internet library is not required since > POST is implemented in the engine. But if it's included, it will be > used. But mobile doesn't support it. I believe that bit of advice might be a little out of date. If you include the internet library (and tsNet) then the 'post' command will use tsNet. LibUrl has been an option on mobile since we added socket support, and tsNet has a liburl driver which replaces the (script) socket-based version of liburl with tsNet's internal operations. So include libUrl and you get normal libUrl; include libUrl and tsNet and you get libUrl driven by tsNet; include neither and you get the in-engine implementation. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jacque at hyperactivesw.com Sun Mar 15 12:25:45 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Mar 2020 11:25:45 -0500 Subject: POST on mobile apps In-Reply-To: <4072fac8c53311d6f14df613f5ecfb36@livecode.com> References: <9bb98a64-2202-f1b6-0ce7-e81eaa74a7f0@hyperactivesw.com> <4072fac8c53311d6f14df613f5ecfb36@livecode.com> Message-ID: <170df03f740.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On March 15, 2020 6:30:28 AM Mark Waddingham via use-livecode wrote: > LibUrl has been an option on mobile since we added socket support, and > tsNet has a liburl driver which replaces the (script) socket-based > version of liburl with tsNet's internal operations. > > So include libUrl and you get normal libUrl; include libUrl and tsNet > and you get libUrl driven by tsNet; include neither and you get the > in-engine implementation. Thanks. What about "get/put URL"? Do I need TSNet for that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Sun Mar 15 17:48:23 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 15 Mar 2020 21:48:23 +0000 (UTC) Subject: Finding words with diacriticals In-Reply-To: <0BE68C80-6DA9-4994-92CC-E893EC2B0252@me.com> References: <170d7d874a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4AC667A5-CB4F-4D02-B8A9-2D05EE8807D4@m-r-d.de> <89a031d9-414b-b6c8-2eb2-01aab69d7a51@sonic.net> <0BE68C80-6DA9-4994-92CC-E893EC2B0252@me.com> Message-ID: <87318903.3494588.1584308903321@mail.yahoo.com> Hi. I may not really understand what you want, but doesn't the "Find string" variant solve your problem? If you have a field 1 with "cat" on line 1, with "c?t" on line 2?and "cat" on line 3, that is, the line 2 "cat" has charToNum(137) in place of the standard "a". on mouseUpfind?string?numToChar(137)?in?fld?1put?the?number?of?words?in?char?1?to?word?2?of?the?foundChunk?of?fld?1?into?tempanswer?"Word"?&& temp &&?"="&&?word?temp?of?fld?1end mouseUp The point?being that once you have the?result of "find String", you can engineer all the other stuff you need, such as the words that contain the odd char, the lines they reside in, etc. Craig -----Original Message----- From: Peter Bogdanoff via use-livecode To: How to use LiveCode Cc: Peter Bogdanoff Sent: Sat, Mar 14, 2020 7:48 pm Subject: Finding words with diacriticals Hi, I have a text search that in which I?m trying to improve the UI. I have this text: Edgard Var?se (Po?me ?lectronique) was a pioneer in the application of tape recording technology to composition. The search database, built with Scott McDonald?s rrpSearch plugin, can only be searched using the exact characters. So, I?m building a supplementary array of words with alternate spellings that the user might type in the search box. I would reference the array to get an equivalent word and so provide the user with a usable result. So if the user types in ?poeme? ? I would find ?poeme? in the array and its equivalent ?Po?me? and I would actually search for ?Po?me? ? and the user would get a result that included ?Po?me?. So I want to build this array of word equivalents. The search database is built by rrpSearch from text on cards, so I have to go back to these cards to get my data. I?m using the find command to search cards to find every instance of? ??? or ??? or ??? or ??? or whatever. There are many non-English words in the text. The foundText function should give me the words that contain that character?except it doesn?t in every case. It only finds words that BEGIN with the search text. So ?lectronique ? found (char begins the word) Var?se ? not found (char is in middle of the word) Po?me ? not found (char is in middle of the word) I?m using ?find? and ?the foundText? which returns the whole word that contains the search character. No other form of find will return the whole word. The dictionary for foundText: Is there another relatively simple way to get the whole word in which the desired characters live? There are dozens of fields on thousands of cards to search. (I realize that there are far better ways to handle a search, and in the future, I will have a database that I will design myself--but not yet.) Thanks, Peter Bogdanoff ArtsInteractive _______________________________________________ use-livecode mailing list use-livecode at 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-lachat at orange.fr Sun Mar 15 18:07:19 2020 From: charles-lachat at orange.fr (Charles Lachat) Date: Sun, 15 Mar 2020 23:07:19 +0100 Subject: =?utf-8?Q?Andr=C3=A9_says_=22Thank_you!=22?= Message-ID: <27BC82E6-1AB4-4E2D-8AA1-729C277261E7@orange.fr> Hi, Thanks to all of you for your answers to my message. I apologize for the name of the topic; a more classical term in the forum gave rather poor results. https://forums.livecode.com/viewtopic.php?f=7&t=33761 I?ve been following this list for over ten years and have learned a lot here; and I also know you are all very responsive. This is why I was surprised to get no answer after my first post. Special thanks to Mark Wieder and Mark Waddingham for their lines of code. It helps me a lot! Charles Lachat ================================================================= In short, if it may help someone: 1. with Mark Wiener code on mouseUp local idID put revXMLCreateTree("",false,true,false) into idID revXMLPutIntoNode idID, "/identity/name", urlEncode(field 1) -- fld contains "Andr?" put urlDecode(revXMLText(idID,,true)) into URL ("file:"&specialFolderPath("desktop")&slash&"wieder.xml") end mouseUp outputs: Andr? According to BBEdit, the file is Mac Roman I tried this to reverse the process and it?s OK: on mouseUp pMouseButton local id2 put revXMLCreateTree (url ("file:"&specialFolderPath("desktop")&slash&"wieder.xml"), false, true, false) into id2 put revXMLNodeContents(id2, "identity/name") into fld 2 end mouseUp 2. with Mark Waddingham code on mouseUp local tInitialXML, tXmlId put "" into tInitialXML put revXMLCreateTree(tInitialXML,false,true,false) into tXmlId revXMLPutIntoNode tXmlId, "/identity/name", textEncode(fld 1, "utf-8") -- fld contains "Andr?" put revXMLText(tXmlId) into URL ("file:"&specialFolderPath("desktop")&slash&"waddingham.xml") end mouseUp outputs: Andr? According to BBEdit, the file is UTF-8 I tried this to reverse the process and it?s OK: on mouseUp pMouseButton local id3, tXmlFile put textDecode (url ("file:"&specialFolderPath("desktop")&slash&"waddingham.xml"),"utf-8") into tXmlFile put revXMLCreateTree (tXmlFile, false, true, false) into id3 put revXMLNodeContents(id3, "identity/name") into fld 2 end mouseUp From bobsneidar at iotecdigital.com Mon Mar 16 13:20:52 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Mar 2020 17:20:52 +0000 Subject: Windows Slowness Message-ID: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> Not complaining just reporting. The same standalone on a Mac takes 3 seconds to load all the data from a series of sql queries. The same information on Windows standalone takes 13 seconds, both 32 bit and 64 bit, and irregardless of whether or not it is running in a VM. It's just windows networking. It sucks! Bob S From panos.merakos at livecode.com Mon Mar 16 13:58:27 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 16 Mar 2020 19:58:27 +0200 Subject: [ANN] This week in LiveCode 217 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 #217 here: http://bit.ly/2w2sfbC 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 ambassador at fourthworld.com Mon Mar 16 14:27:17 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Mar 2020 11:27:17 -0700 Subject: Windows Slowness In-Reply-To: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> References: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> Message-ID: <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> Bob Sneidar wrote: > Not complaining just reporting. The same standalone on a Mac takes 3 > seconds to load all the data from a series of sql queries. The same > information on Windows standalone takes 13 seconds, both 32 bit and 64 > bit, and irregardless of whether or not it is running in a VM. It's > just windows networking. It sucks! Thank you for that info. Do you have system specs and a sample script we might use to follow along? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at researchware.com Mon Mar 16 14:37:58 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 16 Mar 2020 14:37:58 -0400 Subject: Windows Slowness In-Reply-To: <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> References: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> Message-ID: On 3/16/2020 2:27 PM, Richard Gaskin via use-livecode wrote: > Bob Sneidar wrote: > > Not complaining just reporting. The same standalone on a Mac takes 3 > > seconds to load all the data from a series of sql queries. The same > > information on Windows standalone takes 13 seconds, both 32 bit and 64 > > bit, and irregardless of whether or not it is running in a VM. It's > > just windows networking. It sucks! > > Thank you for that info.? Do you have system specs and a sample script > we might use to follow along? > Most time my Windows 10 laptop slows LC (IDE or SA) down it is due to some other process chewing up time. This is Off Topic, but does any know of a safe, reliable tool that will look at all the processes you see when you bring up the Task Manager and help you figure out what you really and need and what you don't? For example, when I just brought up the Task Manager while working on this post, I have Apps (6) Background Processes (92) Windows Processes (92) (A pure coincidence that the number were both 92 when I did this!) From ahsoftware at sonic.net Mon Mar 16 15:37:41 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 16 Mar 2020 12:37:41 -0700 Subject: Windows Slowness In-Reply-To: References: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> Message-ID: On 3/16/20 11:37 AM, Paul Dupuis via use-livecode wrote: > Most time my Windows 10 laptop slows LC (IDE or SA) down it is due to > some other process chewing up time. This is Off Topic, but does any know > of a safe, reliable tool that will look at all the processes you see > when you bring up the Task Manager and help you figure out what you > really and need and what you don't? Yep - Project Lasso... https://bitsum.com/ -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Mar 16 15:55:39 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Mar 2020 14:55:39 -0500 Subject: POST on mobile apps In-Reply-To: <170df03f740.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9bb98a64-2202-f1b6-0ce7-e81eaa74a7f0@hyperactivesw.com> <4072fac8c53311d6f14df613f5ecfb36@livecode.com> <170df03f740.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5c62eb63-0861-92f9-087b-ef8ec26dff9b@hyperactivesw.com> On 3/15/20 11:25 AM, J. Landman Gay via use-livecode wrote: > On March 15, 2020 6:30:28 AM Mark Waddingham via use-livecode > wrote: > >> LibUrl has been an option on mobile since we added socket support, and >> tsNet has a liburl driver which replaces the (script) socket-based >> version of liburl with tsNet's internal operations. >> >> So include libUrl and you get normal libUrl; include libUrl and tsNet >> and you get libUrl driven by tsNet; include neither and you get the >> in-engine implementation. > > Thanks. What about "get/put URL"? Do I need TSNet for that? I removed libURL from the standalone build and "get URL" no longer works. So there's that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Mon Mar 16 15:59:25 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 16 Mar 2020 15:59:25 -0400 Subject: OT: Project Lasso In-Reply-To: References: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> Message-ID: On 3/16/2020 3:37 PM, Mark Wieder via use-livecode wrote: > On 3/16/20 11:37 AM, Paul Dupuis via use-livecode wrote: > >> Most time my Windows 10 laptop slows LC (IDE or SA) down it is due to >> some other process chewing up time. This is Off Topic, but does any >> know of a safe, reliable tool that will look at all the processes you >> see when you bring up the Task Manager and help you figure out what >> you really and need and what you don't? > > Yep - Project Lasso... > > https://bitsum.com/ > Mark, Thank you. One follow up question that I did not see looking through their web site. Does Project Lasso tell you what all those processes are for in any way? From bogdanoff at me.com Mon Mar 16 16:13:01 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 16 Mar 2020 13:13:01 -0700 Subject: Finding words with diacriticals In-Reply-To: <87318903.3494588.1584308903321@mail.yahoo.com> References: <170d7d874a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4AC667A5-CB4F-4D02-B8A9-2D05EE8807D4@m-r-d.de> <89a031d9-414b-b6c8-2eb2-01aab69d7a51@sonic.net> <0BE68C80-6DA9-4994-92CC-E893EC2B0252@me.com> <87318903.3494588.1584308903321@mail.yahoo.com> Message-ID: <988D4CE2-A174-49D1-9425-1CFA4A7C3819@me.com> Craig, This is exactly what I was needing. ?the number of words in char 1 to char x of the field" does it. Thank you!!! Peter > On Mar 15, 2020, at 2:48 PM, dunbarx--- via use-livecode wrote: > > Hi. > I may not really understand what you want, but doesn't the "Find string" variant solve your problem? > If you have a field 1 with "cat" on line 1, with "c?t" on line 2 and "cat" on line 3, that is, the line 2 "cat" has charToNum(137) in place of the standard "a". > on mouseUpfind string numToChar(137) in fld 1put the number of words in char 1 to word 2 of the foundChunk of fld 1 into tempanswer "Word" && temp && "="&& word temp of fld 1end mouseUp > The point being that once you have the result of "find String", you can engineer all the other stuff you need, such as the words that contain the odd char, the lines they reside in, etc. > Craig > > > > -----Original Message----- > From: Peter Bogdanoff via use-livecode > To: How to use LiveCode > Cc: Peter Bogdanoff > Sent: Sat, Mar 14, 2020 7:48 pm > Subject: Finding words with diacriticals > > Hi, > > I have a text search that in which I?m trying to improve the UI. > > I have this text: > > Edgard Var?se (Po?me ?lectronique) was a pioneer in the application of tape recording technology to composition. > > The search database, built with Scott McDonald?s rrpSearch plugin, can only be searched using the exact characters. So, I?m building a supplementary array of words with alternate spellings that the user might type in the search box. I would reference the array to get an equivalent word and so provide the user with a usable result. > > So if the user types in ?poeme? ? I would find ?poeme? in the array and its equivalent ?Po?me? and I would actually search for ?Po?me? ? and the user would get a result that included ?Po?me?. > > > So I want to build this array of word equivalents. The search database is built by rrpSearch from text on cards, so I have to go back to these cards to get my data. I?m using the find command to search cards to find every instance of ??? or ??? or ??? or ??? or whatever. There are many non-English words in the text. The foundText function should give me the words that contain that character?except it doesn?t in every case. It only finds words that BEGIN with the search text. So > > ?lectronique ? found (char begins the word) > Var?se ? not found (char is in middle of the word) > Po?me ? not found (char is in middle of the word) > > I?m using ?find? and ?the foundText? which returns the whole word that contains the search character. No other form of find will return the whole word. The dictionary for foundText: > > > > Is there another relatively simple way to get the whole word in which the desired characters live? There are dozens of fields on thousands of cards to search. > > (I realize that there are far better ways to handle a search, and in the future, I will have a database that I will design myself--but not yet.) > > Thanks, > > Peter Bogdanoff > ArtsInteractive > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Mon Mar 16 16:21:16 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 16 Mar 2020 20:21:16 +0000 Subject: Interruption to LiveCode services Message-ID: <44FE9D09-AD9F-4CC8-840B-925121DF483D@livecode.com> Hi all, As some of you will have noticed a number of LiveCode services are currently down - notably, the main LiveCode webserver, the forums and bugzilla. We are currently working to restore these services as quickly as possible. The mailing list server is currently unaffected it seems so hopefully this email will get through! Warmest Regards, Mark Sent from my iPhone From bobsneidar at iotecdigital.com Mon Mar 16 17:11:11 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Mar 2020 21:11:11 +0000 Subject: Windows Slowness In-Reply-To: References: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> Message-ID: <4407DAA3-D87D-467B-ADC1-636B411F1C43@iotecdigital.com> I tried with 3 different computers, all came back with the same times. 2 were VMs, Parallels and VMWare, and the third was a standalone workstation with AV disabled. It was also the server that mySQL is running on. :-) Bob S > On Mar 16, 2020, at 12:37 , Mark Wieder via use-livecode wrote: > > On 3/16/20 11:37 AM, Paul Dupuis via use-livecode wrote: > >> Most time my Windows 10 laptop slows LC (IDE or SA) down it is due to some other process chewing up time. This is Off Topic, but does any know of a safe, reliable tool that will look at all the processes you see when you bring up the Task Manager and help you figure out what you really and need and what you don't? > > Yep - Project Lasso... > > https://bitsum.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 matthias_livecode_150811 at m-r-d.de Mon Mar 16 18:17:34 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 16 Mar 2020 23:17:34 +0100 Subject: Windows Slowness In-Reply-To: <4407DAA3-D87D-467B-ADC1-636B411F1C43@iotecdigital.com> References: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> <4407DAA3-D87D-467B-ADC1-636B411F1C43@iotecdigital.com> Message-ID: Bob, the data which is returned by MySQL server is how much in size/lines/items per line? Do you use an ip address or the hostname in the connections settings for your MySQL Server? Is it possible, that IP6 is enabled on your Windows machine? If so, did you try to disable it or is IP6 needed? I am running an LC standalone under Win10 64bit in a HyperV VM which connects to MSSQL server using ODBC to fetch 5 price lists. The returned data per price list is about 800kb and contains about 3000 lines with 16 items per line. The standalone fetches the 5 different price lists one after the other, which means it fetches 5 times that amount of data described above. It takes here between 4 and 7 seconds to fetch all 5 price lists although AV + Firewall (F-Secure Client Security) is enabled. - Matthias Rebbe Life Is Too Short For Boring Code > Am 16.03.2020 um 22:11 schrieb Bob Sneidar via use-livecode : > > I tried with 3 different computers, all came back with the same times. 2 were VMs, Parallels and VMWare, and the third was a standalone workstation with AV disabled. It was also the server that mySQL is running on. :-) > > Bob S > >> On Mar 16, 2020, at 12:37 , Mark Wieder via use-livecode wrote: >> >> On 3/16/20 11:37 AM, Paul Dupuis via use-livecode wrote: >> >>> Most time my Windows 10 laptop slows LC (IDE or SA) down it is due to some other process chewing up time. This is Off Topic, but does any know of a safe, reliable tool that will look at all the processes you see when you bring up the Task Manager and help you figure out what you really and need and what you don't? >> >> Yep - Project Lasso... >> >> https://bitsum.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Mar 16 19:06:30 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Mar 2020 23:06:30 +0000 Subject: Windows Slowness In-Reply-To: References: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> <4407DAA3-D87D-467B-ADC1-636B411F1C43@iotecdigital.com> Message-ID: <14B88C64-441F-4520-904E-A0ED6EB1BA91@iotecdigital.com> Hi Matthias. Well I was pointing out that the same dataset returned on a Mac takes 3 seconds, so the windows fetch returns the same data over 4 times slower, and this is consistent no matter the Windows system I am using. I also have techs in the field that use the app, and it is painfully slow for them. 2 techs use the app on Macs and we both are getting around 3 seconds to load a dataset. FYI the information retrieved is a customer record, all sites for that customer which is mostly address data, all the device records for the first site (in this case only one device) which is about the same amount of data as the site contains, all the contacts for the site, and all the file data attached to the device minus the binary blobs containing the actual files. It's really very little data. Bob S > On Mar 16, 2020, at 15:17 , matthias rebbe via use-livecode wrote: > > Bob, > > the data which is returned by MySQL server is how much in size/lines/items per line? > > Do you use an ip address or the hostname in the connections settings for your MySQL Server? > Is it possible, that IP6 is enabled on your Windows machine? If so, did you try to disable it or is IP6 needed? > > > I am running an LC standalone under Win10 64bit in a HyperV VM which connects to MSSQL server using ODBC to fetch 5 price lists. > The returned data per price list is about 800kb and contains about 3000 lines with 16 items per line. > The standalone fetches the 5 different price lists one after the other, which means it fetches 5 times that amount of data described above. > > It takes here between 4 and 7 seconds to fetch all 5 price lists although AV + Firewall (F-Secure Client Security) is enabled. > > > - > Matthias Rebbe > Life Is Too Short For Boring Code From matthias_livecode_150811 at m-r-d.de Mon Mar 16 19:41:27 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 17 Mar 2020 00:41:27 +0100 Subject: Windows Slowness In-Reply-To: References: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> <4407DAA3-D87D-467B-ADC1-636B411F1C43@iotecdigital.com> Message-ID: <5C92A106-4B02-4935-BE63-7F449E4420C2@m-r-d.de> I don?t want to bother you, but may i ask which LC version is used? Or doesn?t that matter and this slowness is noticeable with all LC 9.x releases? My Windows standalone was built with LC 9.5.0. I have other standalones running on the same VM which are built with LC 9.6dp2 and which are also very fast when fetching other data from the same MSSQL server. I have currently no MySQL DB available, so i cannot try here. Another thought. You are connecting using the built-in driver MySQL driver, right? Did you try also to connect using an ODBC driver? https://downloads.mysql.com/archives/c-odbc/ Who knows, maybe that makes a difference. - Matthias Rebbe Life Is Too Short For Boring Code > Am 16.03.2020 um 23:17 schrieb matthias rebbe via use-livecode : > > Bob, > > the data which is returned by MySQL server is how much in size/lines/items per line? > > Do you use an ip address or the hostname in the connections settings for your MySQL Server? > Is it possible, that IP6 is enabled on your Windows machine? If so, did you try to disable it or is IP6 needed? > > > I am running an LC standalone under Win10 64bit in a HyperV VM which connects to MSSQL server using ODBC to fetch 5 price lists. > The returned data per price list is about 800kb and contains about 3000 lines with 16 items per line. > The standalone fetches the 5 different price lists one after the other, which means it fetches 5 times that amount of data described above. > > It takes here between 4 and 7 seconds to fetch all 5 price lists although AV + Firewall (F-Secure Client Security) is enabled. > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 16.03.2020 um 22:11 schrieb Bob Sneidar via use-livecode : >> >> I tried with 3 different computers, all came back with the same times. 2 were VMs, Parallels and VMWare, and the third was a standalone workstation with AV disabled. It was also the server that mySQL is running on. :-) >> >> Bob S >> >>> On Mar 16, 2020, at 12:37 , Mark Wieder via use-livecode wrote: >>> >>> On 3/16/20 11:37 AM, Paul Dupuis via use-livecode wrote: >>> >>>> Most time my Windows 10 laptop slows LC (IDE or SA) down it is due to some other process chewing up time. This is Off Topic, but does any know of a safe, reliable tool that will look at all the processes you see when you bring up the Task Manager and help you figure out what you really and need and what you don't? >>> >>> Yep - Project Lasso... >>> >>> https://bitsum.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Mar 16 22:47:59 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 16 Mar 2020 19:47:59 -0700 Subject: OT: Project Lasso In-Reply-To: References: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> Message-ID: <374da504-a376-71c4-d8cd-5a3b498b5d71@sonic.net> On 3/16/20 12:59 PM, Paul Dupuis via use-livecode wrote: > Thank you. One follow up question that I did not see looking through > their web site. Does Project Lasso tell you what all those processes are > for in any way? Well, as much as possible at any rate. Process Lasso will at least associate processes with the owning application, but deciphering cryptic Windows process names can be something of a black art, especially if they're all named "service" or something similar. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Tue Mar 17 10:54:25 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Mar 2020 14:54:25 +0000 Subject: Windows Slowness In-Reply-To: <5C92A106-4B02-4935-BE63-7F449E4420C2@m-r-d.de> References: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> <4407DAA3-D87D-467B-ADC1-636B411F1C43@iotecdigital.com> <5C92A106-4B02-4935-BE63-7F449E4420C2@m-r-d.de> Message-ID: <735201CD-ED61-4BAC-BEAE-B127CE41EA89@iotecdigital.com> No bother at all! I am using 9.5.1 RC1. I'm not going to 9.6 yet because it's still in developer preview, and I am constantly making changes to a production application, but if this issue has been addressed in 9.6 I will definitely test against it. Bob S > On Mar 16, 2020, at 16:41 , matthias rebbe via use-livecode wrote: > > I don?t want to bother you, but may i ask which LC version is used? Or doesn?t that matter and this slowness is noticeable with all LC 9.x releases? My Windows standalone was built with LC 9.5.0. I have other standalones running on the same VM which are built with LC 9.6dp2 and which are also very fast when fetching other data from the same MSSQL server. > I have currently no MySQL DB available, so i cannot try here. > > Another thought. You are connecting using the built-in driver MySQL driver, right? Did you try also to connect using an ODBC driver? > https://downloads.mysql.com/archives/c-odbc/ > Who knows, maybe that makes a difference. > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 16.03.2020 um 23:17 schrieb matthias rebbe via use-livecode : >> >> Bob, >> >> the data which is returned by MySQL server is how much in size/lines/items per line? >> >> Do you use an ip address or the hostname in the connections settings for your MySQL Server? >> Is it possible, that IP6 is enabled on your Windows machine? If so, did you try to disable it or is IP6 needed? >> >> >> I am running an LC standalone under Win10 64bit in a HyperV VM which connects to MSSQL server using ODBC to fetch 5 price lists. >> The returned data per price list is about 800kb and contains about 3000 lines with 16 items per line. >> The standalone fetches the 5 different price lists one after the other, which means it fetches 5 times that amount of data described above. >> >> It takes here between 4 and 7 seconds to fetch all 5 price lists although AV + Firewall (F-Secure Client Security) is enabled. >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 16.03.2020 um 22:11 schrieb Bob Sneidar via use-livecode : >>> >>> I tried with 3 different computers, all came back with the same times. 2 were VMs, Parallels and VMWare, and the third was a standalone workstation with AV disabled. It was also the server that mySQL is running on. :-) >>> >>> Bob S >>> >>>> On Mar 16, 2020, at 12:37 , Mark Wieder via use-livecode wrote: >>>> >>>> On 3/16/20 11:37 AM, Paul Dupuis via use-livecode wrote: >>>> >>>>> Most time my Windows 10 laptop slows LC (IDE or SA) down it is due to some other process chewing up time. This is Off Topic, but does any know of a safe, reliable tool that will look at all the processes you see when you bring up the Task Manager and help you figure out what you really and need and what you don't? >>>> >>>> Yep - Project Lasso... >>>> >>>> https://bitsum.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 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Mar 17 11:54:22 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 17 Mar 2020 16:54:22 +0100 Subject: Windows Slowness In-Reply-To: <735201CD-ED61-4BAC-BEAE-B127CE41EA89@iotecdigital.com> References: <7DA7956B-D167-4B1B-9BA6-9171ABB156E8@iotecdigital.com> <3f78a03e-9079-31d6-eccc-b4eea9352541@fourthworld.com> <4407DAA3-D87D-467B-ADC1-636B411F1C43@iotecdigital.com> <5C92A106-4B02-4935-BE63-7F449E4420C2@m-r-d.de> <735201CD-ED61-4BAC-BEAE-B127CE41EA89@iotecdigital.com> Message-ID: Bob, but did you already try to use ODBC driver instead of built-in. It?s just a little change in the source code. Maybe the built-in MySQL driver for Win is causing it. Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 17.03.2020 um 15:54 schrieb Bob Sneidar via use-livecode : > > No bother at all! I am using 9.5.1 RC1. I'm not going to 9.6 yet because it's still in developer preview, and I am constantly making changes to a production application, but if this issue has been addressed in 9.6 I will definitely test against it. > > Bob S > > >> On Mar 16, 2020, at 16:41 , matthias rebbe via use-livecode wrote: >> >> I don?t want to bother you, but may i ask which LC version is used? Or doesn?t that matter and this slowness is noticeable with all LC 9.x releases? My Windows standalone was built with LC 9.5.0. I have other standalones running on the same VM which are built with LC 9.6dp2 and which are also very fast when fetching other data from the same MSSQL server. >> I have currently no MySQL DB available, so i cannot try here. >> >> Another thought. You are connecting using the built-in driver MySQL driver, right? Did you try also to connect using an ODBC driver? >> https://downloads.mysql.com/archives/c-odbc/ >> Who knows, maybe that makes a difference. >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 16.03.2020 um 23:17 schrieb matthias rebbe via use-livecode : >>> >>> Bob, >>> >>> the data which is returned by MySQL server is how much in size/lines/items per line? >>> >>> Do you use an ip address or the hostname in the connections settings for your MySQL Server? >>> Is it possible, that IP6 is enabled on your Windows machine? If so, did you try to disable it or is IP6 needed? >>> >>> >>> I am running an LC standalone under Win10 64bit in a HyperV VM which connects to MSSQL server using ODBC to fetch 5 price lists. >>> The returned data per price list is about 800kb and contains about 3000 lines with 16 items per line. >>> The standalone fetches the 5 different price lists one after the other, which means it fetches 5 times that amount of data described above. >>> >>> It takes here between 4 and 7 seconds to fetch all 5 price lists although AV + Firewall (F-Secure Client Security) is enabled. >>> >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>> >>>> Am 16.03.2020 um 22:11 schrieb Bob Sneidar via use-livecode : >>>> >>>> I tried with 3 different computers, all came back with the same times. 2 were VMs, Parallels and VMWare, and the third was a standalone workstation with AV disabled. It was also the server that mySQL is running on. :-) >>>> >>>> Bob S >>>> >>>>> On Mar 16, 2020, at 12:37 , Mark Wieder via use-livecode wrote: >>>>> >>>>> On 3/16/20 11:37 AM, Paul Dupuis via use-livecode wrote: >>>>> >>>>>> Most time my Windows 10 laptop slows LC (IDE or SA) down it is due to some other process chewing up time. This is Off Topic, but does any know of a safe, reliable tool that will look at all the processes you see when you bring up the Task Manager and help you figure out what you really and need and what you don't? >>>>> >>>>> Yep - Project Lasso... >>>>> >>>>> https://bitsum.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 >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 17 18:20:03 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Mar 2020 22:20:03 +0000 Subject: ODBC Connections Message-ID: Hi all. I'm struggling to connect to an ODBC System DSN. I use the command put: revOpenDatabase("odbc","192.168.1.207","formsgen") into tDBID;put tDBID tDBID is empty. I know the DSN works because the test button if the ODBC Data Source Administrator returns OK! What am I missing? Bob S From bobsneidar at iotecdigital.com Tue Mar 17 18:22:21 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Mar 2020 22:22:21 +0000 Subject: ODBC Connections In-Reply-To: References: Message-ID: <4DF534DC-9ABF-48BB-9274-132EE5CAA2C5@iotecdigital.com> that's put revOpenDatabase("odbc","192.168.1.207","formsgen") into tDBID;put tDBID > On Mar 17, 2020, at 15:20 , Bob Sneidar via use-livecode wrote: > > put: > > revOpenDatabase("odbc","192.168.1.207","formsgen") into tDBID;put tDBID From matthias_livecode_150811 at m-r-d.de Tue Mar 17 19:00:31 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 18 Mar 2020 00:00:31 +0100 Subject: ODBC Connections In-Reply-To: <4DF534DC-9ABF-48BB-9274-132EE5CAA2C5@iotecdigital.com> References: <4DF534DC-9ABF-48BB-9274-132EE5CAA2C5@iotecdigital.com> Message-ID: <14EF68A1-9E8E-4586-843A-06F502DB445D@m-r-d.de> i would say the description in the dictionary is wrong and therefore your script. ;) I am using it as follows put revopendatabase("ODBC",DsnName,Databasename,Username,Password) My call to MSSQL is as follows put revopendatabase("ODBC",DsnName,,Username,Password) Username and Password is optional, if defined in the DSN. I do not add the DB name, because the database name is already defined in the DSN, while username and passwors isn?t for security reaons.. - Matthias Rebbe Life Is Too Short For Boring Code > Am 17.03.2020 um 23:22 schrieb Bob Sneidar via use-livecode : > > that's put revOpenDatabase("odbc","192.168.1.207","formsgen") into tDBID;put tDBID > > >> On Mar 17, 2020, at 15:20 , Bob Sneidar via use-livecode wrote: >> >> put: >> >> revOpenDatabase("odbc","192.168.1.207","formsgen") into tDBID;put tDBID > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 17 19:09:36 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 17 Mar 2020 23:09:36 +0000 Subject: Interruption to LiveCode services In-Reply-To: <44FE9D09-AD9F-4CC8-840B-925121DF483D@livecode.com> References: <44FE9D09-AD9F-4CC8-840B-925121DF483D@livecode.com> Message-ID: <14332F08-8F4D-4415-BDC4-5BDDFA98FE99@pidigital.co.uk> Did it contract a virus? Had it maintained social separation distances? Sean Cole Pi Digital > On 16 Mar 2020, at 20:21, Mark Waddingham via use-livecode wrote: > > ?Hi all, > > As some of you will have noticed a number of LiveCode services are currently down - notably, the main LiveCode webserver, the forums and bugzilla. > > We are currently working to restore these services as quickly as possible. > > The mailing list server is currently unaffected it seems so hopefully this email will get through! > > Warmest Regards, > > Mark > > Sent from my iPhone > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 17 19:17:56 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Mar 2020 23:17:56 +0000 Subject: Interruption to LiveCode services In-Reply-To: <14332F08-8F4D-4415-BDC4-5BDDFA98FE99@pidigital.co.uk> References: <44FE9D09-AD9F-4CC8-840B-925121DF483D@livecode.com> <14332F08-8F4D-4415-BDC4-5BDDFA98FE99@pidigital.co.uk> Message-ID: Now THAT would be a crossover virus to beat all. Bob S > On Mar 17, 2020, at 16:09 , Pi Digital via use-livecode wrote: > > Did it contract a virus? Had it maintained social separation distances? > > Sean Cole > Pi Digital > > >> On 16 Mar 2020, at 20:21, Mark Waddingham via use-livecode wrote: >> >> ?Hi all, >> >> As some of you will have noticed a number of LiveCode services are currently down - notably, the main LiveCode webserver, the forums and bugzilla. >> >> We are currently working to restore these services as quickly as possible. >> >> The mailing list server is currently unaffected it seems so hopefully this email will get through! >> >> Warmest Regards, >> >> Mark >> >> Sent from my iPhone From heather at livecode.com Wed Mar 18 06:02:40 2020 From: heather at livecode.com (Heather Laine) Date: Wed, 18 Mar 2020 10:02:40 +0000 Subject: Interruption to LiveCode services In-Reply-To: References: <44FE9D09-AD9F-4CC8-840B-925121DF483D@livecode.com> <14332F08-8F4D-4415-BDC4-5BDDFA98FE99@pidigital.co.uk> Message-ID: <7C87955D-4C60-48D9-83FE-F572E4FDBE30@livecode.com> It did not. It contracted some very peculiar interaction with an old backup. Those that understand these things assure me it will not happen again. We are all sorted now. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 17 Mar 2020, at 23:17, Bob Sneidar via use-livecode wrote: > > Now THAT would be a crossover virus to beat all. > > Bob S > > >> On Mar 17, 2020, at 16:09 , Pi Digital via use-livecode wrote: >> >> Did it contract a virus? Had it maintained social separation distances? >> >> Sean Cole >> Pi Digital >> >> >>> On 16 Mar 2020, at 20:21, Mark Waddingham via use-livecode wrote: >>> >>> ?Hi all, >>> >>> As some of you will have noticed a number of LiveCode services are currently down - notably, the main LiveCode webserver, the forums and bugzilla. >>> >>> We are currently working to restore these services as quickly as possible. >>> >>> The mailing list server is currently unaffected it seems so hopefully this email will get through! >>> >>> Warmest Regards, >>> >>> Mark >>> >>> Sent from my iPhone > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Wed Mar 18 07:51:46 2020 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 18 Mar 2020 11:51:46 +0000 Subject: Making my book free until the end of May Message-ID: Hi Folks, Many of you are probably working from home right now and some might be self-isolating or under lockdown. I understand that this poses many challenges to many of you, most of which I can't help with at all, but I can however make it easier for you to get more LC content. The current time is stressing the ability of many of us to make a living, especially people here who might be forced into unpaid leave. Because of that I decided to make my book free until the end of May. You can get it at: https://leanpub.com/livecodeapparchitecture The way Leanpub works is that there is a price slider that lets you adjust the price from the minimum value set by the author all the way to as much as you want. I've adjusted the minimum price and the recommended price to 0 USD. You can still adjust that if you want. The book is usually 20 USD but with that cut, you can use that cash for something else and improve your LC skills. Best Andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From matthias_livecode_150811 at m-r-d.de Wed Mar 18 08:05:51 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 18 Mar 2020 13:05:51 +0100 Subject: Making my book free until the end of May In-Reply-To: References: Message-ID: Hi Andre, wow that?s a generous offer. I own your book already and i really can recommend it. Btw. your e-mail signature still contains a link to fon.nu. ;) - Matthias Rebbe Life Is Too Short For Boring Code > Am 18.03.2020 um 12:51 schrieb Andre Garzia via use-livecode : > > Hi Folks, > > Many of you are probably working from home right now and some might be > self-isolating or under lockdown. I understand that this poses many > challenges to many of you, most of which I can't help with at all, but I > can however make it easier for you to get more LC content. The current time > is stressing the ability of many of us to make a living, especially people > here who might be forced into unpaid leave. Because of that I decided to > make my book free until the end of May. You can get it at: > > https://leanpub.com/livecodeapparchitecture > > The way Leanpub works is that there is a price slider that lets you adjust > the price from the minimum value set by the author all the way to as much > as you want. I've adjusted the minimum price and the recommended price to 0 > USD. You can still adjust that if you want. The book is usually 20 USD but > with that cut, you can use that cash for something else and improve your LC > skills. > > Best > Andre > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 18 08:12:56 2020 From: klaus at major-k.de (Klaus major-k) Date: Wed, 18 Mar 2020 13:12:56 +0100 Subject: Making my book free until the end of May In-Reply-To: References: Message-ID: <69AD463E-4671-4833-ADA3-2B1A6319FE76@major-k.de> Hi Andre, > Am 18.03.2020 um 12:51 schrieb Andre Garzia via use-livecode : > > Hi Folks, > > Many of you are probably working from home right now and some might be > ... > with that cut, you can use that cash for something else and improve your LC > skills. > > Best > Andre this is cool and very generous, my little spanish friend! :-D Thank you very much! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From keith.clarke at me.com Wed Mar 18 08:42:45 2020 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 18 Mar 2020 12:42:45 +0000 Subject: Making my book free until the end of May In-Reply-To: References: Message-ID: <90924358-987F-471F-A905-35A4BF916C37@me.com> Hi Andre, I wasn?t aware that you?d written that book - but a spooky coincidence, as last weekend I?d just started revisiting RevIgniter for LiveCode server and as a hobbyist, was struggling to get my head around MVC & mapping to (limited knowledge of) LiveCode concepts. So, good timing and I was happy to pay the $20 - consider it a 'virtual beer' in these times of social isolation & lockdown! :-D Cheers Andre - and stay safe, all. Best, Keith > On 18 Mar 2020, at 11:51, Andre Garzia via use-livecode wrote: > > Hi Folks, > > Many of you are probably working from home right now and some might be > self-isolating or under lockdown. I understand that this poses many > challenges to many of you, most of which I can't help with at all, but I > can however make it easier for you to get more LC content. The current time > is stressing the ability of many of us to make a living, especially people > here who might be forced into unpaid leave. Because of that I decided to > make my book free until the end of May. You can get it at: > > https://leanpub.com/livecodeapparchitecture > > The way Leanpub works is that there is a price slider that lets you adjust > the price from the minimum value set by the author all the way to as much > as you want. I've adjusted the minimum price and the recommended price to 0 > USD. You can still adjust that if you want. The book is usually 20 USD but > with that cut, you can use that cash for something else and improve your LC > skills. > > Best > Andre > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kaveh at rivervalleytechnologies.com Wed Mar 18 09:09:13 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Wed, 18 Mar 2020 13:09:13 +0000 Subject: Making my book free until the end of May In-Reply-To: <90924358-987F-471F-A905-35A4BF916C37@me.com> References: <90924358-987F-471F-A905-35A4BF916C37@me.com> Message-ID: disappointed the slider does not go below zero! Thanks Andr?. Made the purchase... Regards Kaveh On Wed, 18 Mar 2020 at 12:44, Keith Clarke via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Andre, > I wasn?t aware that you?d written that book - but a spooky coincidence, as > last weekend I?d just started revisiting RevIgniter for LiveCode server and > as a hobbyist, was struggling to get my head around MVC & mapping to > (limited knowledge of) LiveCode concepts. > > So, good timing and I was happy to pay the $20 - consider it a 'virtual > beer' in these times of social isolation & lockdown! :-D > > Cheers Andre - and stay safe, all. > > Best, > Keith > > > On 18 Mar 2020, at 11:51, Andre Garzia via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Folks, > > > > Many of you are probably working from home right now and some might be > > self-isolating or under lockdown. I understand that this poses many > > challenges to many of you, most of which I can't help with at all, but I > > can however make it easier for you to get more LC content. The current > time > > is stressing the ability of many of us to make a living, especially > people > > here who might be forced into unpaid leave. Because of that I decided to > > make my book free until the end of May. You can get it at: > > > > https://leanpub.com/livecodeapparchitecture > > > > The way Leanpub works is that there is a price slider that lets you > adjust > > the price from the minimum value set by the author all the way to as much > > as you want. I've adjusted the minimum price and the recommended price > to 0 > > USD. You can still adjust that if you want. The book is usually 20 USD > but > > with that cut, you can use that cash for something else and improve your > LC > > skills. > > > > Best > > Andre > > > > -- > > http://www.andregarzia.com -- All We Do Is Code. > > http://fon.nu -- minimalist url shortening service. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From iphonelagi at gmail.com Wed Mar 18 10:21:54 2020 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 18 Mar 2020 14:21:54 +0000 Subject: Making my book free until the end of May In-Reply-To: References: Message-ID: I too already bought it but I'll download to see if there were any additions Thanks Lagi On Wed, 18 Mar 2020 at 12:06, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Andre, > > wow that?s a generous offer. I own your book already and i really can > recommend it. > > Btw. your e-mail signature still contains a link to fon.nu. ;) > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 18.03.2020 um 12:51 schrieb Andre Garzia via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Folks, > > > > Many of you are probably working from home right now and some might be > > self-isolating or under lockdown. I understand that this poses many > > challenges to many of you, most of which I can't help with at all, but I > > can however make it easier for you to get more LC content. The current > time > > is stressing the ability of many of us to make a living, especially > people > > here who might be forced into unpaid leave. Because of that I decided to > > make my book free until the end of May. You can get it at: > > > > https://leanpub.com/livecodeapparchitecture > > > > The way Leanpub works is that there is a price slider that lets you > adjust > > the price from the minimum value set by the author all the way to as much > > as you want. I've adjusted the minimum price and the recommended price > to 0 > > USD. You can still adjust that if you want. The book is usually 20 USD > but > > with that cut, you can use that cash for something else and improve your > LC > > skills. > > > > Best > > Andre > > > > -- > > http://www.andregarzia.com -- All We Do Is Code. > > http://fon.nu -- minimalist url shortening service. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 18 10:49:10 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 18 Mar 2020 15:49:10 +0100 Subject: Making my book free until the end of May In-Reply-To: References: Message-ID: <48DE0C9E-F966-4EF0-B5FD-05EDB9D0A848@m-r-d.de> Hi Lagi, could you give a feedback here, if there is newer content. The last version i have here was published 2019-11-18. Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 18.03.2020 um 15:21 schrieb Lagi Pittas via use-livecode : > > I too already bought it but I'll download to see if there were any additions > > Thanks > > Lagi > > On Wed, 18 Mar 2020 at 12:06, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Andre, >> >> wow that?s a generous offer. I own your book already and i really can >> recommend it. >> >> Btw. your e-mail signature still contains a link to fon.nu. ;) >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 18.03.2020 um 12:51 schrieb Andre Garzia via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hi Folks, >>> >>> Many of you are probably working from home right now and some might be >>> self-isolating or under lockdown. I understand that this poses many >>> challenges to many of you, most of which I can't help with at all, but I >>> can however make it easier for you to get more LC content. The current >> time >>> is stressing the ability of many of us to make a living, especially >> people >>> here who might be forced into unpaid leave. Because of that I decided to >>> make my book free until the end of May. You can get it at: >>> >>> https://leanpub.com/livecodeapparchitecture >>> >>> The way Leanpub works is that there is a price slider that lets you >> adjust >>> the price from the minimum value set by the author all the way to as much >>> as you want. I've adjusted the minimum price and the recommended price >> to 0 >>> USD. You can still adjust that if you want. The book is usually 20 USD >> but >>> with that cut, you can use that cash for something else and improve your >> LC >>> skills. >>> >>> Best >>> Andre >>> >>> -- >>> http://www.andregarzia.com -- All We Do Is Code. >>> http://fon.nu -- minimalist url shortening service. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 18 11:01:16 2020 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 18 Mar 2020 15:01:16 +0000 Subject: Making my book free until the end of May In-Reply-To: <48DE0C9E-F966-4EF0-B5FD-05EDB9D0A848@m-r-d.de> References: <48DE0C9E-F966-4EF0-B5FD-05EDB9D0A848@m-r-d.de> Message-ID: Hi Mathias the version says Disclaimer This is an early release. Send feedback to feedback at andregarzia.com?. The content of this book will be expanded in the next months, I see this book as a living thing, much like LiveCode IDE. This is the ?minimum amount of book? I consider useful enough to make a release. I hope you all enjoy and benefit from it. Version The version you?re reading is the: 2019.11.1 And it's 57 pages To be honest I never looked at it after the first day and only just downloaded it. I'm going to read it again and send feedback Lagi On Wed, 18 Mar 2020 at 14:50, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Lagi, > > could you give a feedback here, if there is newer content. The last > version i have here was published 2019-11-18. > > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 18.03.2020 um 15:21 schrieb Lagi Pittas via use-livecode < > use-livecode at lists.runrev.com>: > > > > I too already bought it but I'll download to see if there were any > additions > > > > Thanks > > > > Lagi > > > > On Wed, 18 Mar 2020 at 12:06, matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hi Andre, > >> > >> wow that?s a generous offer. I own your book already and i really can > >> recommend it. > >> > >> Btw. your e-mail signature still contains a link to fon.nu. ;) > >> > >> - > >> Matthias Rebbe > >> Life Is Too Short For Boring Code > >> > >>> Am 18.03.2020 um 12:51 schrieb Andre Garzia via use-livecode < > >> use-livecode at lists.runrev.com>: > >>> > >>> Hi Folks, > >>> > >>> Many of you are probably working from home right now and some might be > >>> self-isolating or under lockdown. I understand that this poses many > >>> challenges to many of you, most of which I can't help with at all, but > I > >>> can however make it easier for you to get more LC content. The current > >> time > >>> is stressing the ability of many of us to make a living, especially > >> people > >>> here who might be forced into unpaid leave. Because of that I decided > to > >>> make my book free until the end of May. You can get it at: > >>> > >>> https://leanpub.com/livecodeapparchitecture > >>> > >>> The way Leanpub works is that there is a price slider that lets you > >> adjust > >>> the price from the minimum value set by the author all the way to as > much > >>> as you want. I've adjusted the minimum price and the recommended price > >> to 0 > >>> USD. You can still adjust that if you want. The book is usually 20 USD > >> but > >>> with that cut, you can use that cash for something else and improve > your > >> LC > >>> skills. > >>> > >>> Best > >>> Andre > >>> > >>> -- > >>> http://www.andregarzia.com -- All We Do Is Code. > >>> http://fon.nu -- minimalist url shortening service. > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jiml at netrin.com Wed Mar 18 12:13:06 2020 From: jiml at netrin.com (Jim Lambert) Date: Wed, 18 Mar 2020 09:13:06 -0700 Subject: use-livecode Digest, Vol 198, Issue 20 In-Reply-To: References: Message-ID: > We are all sorted now. > > Best Regards, > > Heather Thanks, Heather and Team! Jim Lambert From andre at andregarzia.com Wed Mar 18 12:49:47 2020 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 18 Mar 2020 16:49:47 +0000 Subject: Making my book free until the end of May In-Reply-To: References: <48DE0C9E-F966-4EF0-B5FD-05EDB9D0A848@m-r-d.de> Message-ID: The last update was last year when I added a chapter about libraries. I have more content planned to it but I haven't devoted more time to it because I felt like people were not interested... On Wed, 18 Mar 2020 at 15:03, Lagi Pittas via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Mathias > > > the version says > > Disclaimer > This is an early release. Send feedback to feedback at andregarzia.com?. > The content of this book will be expanded in the next months, I see this > book as a living thing, > much like LiveCode IDE. > This is the ?minimum amount of book? I consider useful enough to make a > release. I hope you all > enjoy and benefit from it. > Version > The version you?re reading is the: 2019.11.1 > > And it's 57 pages > > To be honest I never looked at it after the first day and only just > downloaded it. > I'm going to read it again and send feedback > > Lagi > > On Wed, 18 Mar 2020 at 14:50, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Lagi, > > > > could you give a feedback here, if there is newer content. The last > > version i have here was published 2019-11-18. > > > > Matthias > > > > > > - > > Matthias Rebbe > > Life Is Too Short For Boring Code > > > > > Am 18.03.2020 um 15:21 schrieb Lagi Pittas via use-livecode < > > use-livecode at lists.runrev.com>: > > > > > > I too already bought it but I'll download to see if there were any > > additions > > > > > > Thanks > > > > > > Lagi > > > > > > On Wed, 18 Mar 2020 at 12:06, matthias rebbe via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > >> Hi Andre, > > >> > > >> wow that?s a generous offer. I own your book already and i really can > > >> recommend it. > > >> > > >> Btw. your e-mail signature still contains a link to fon.nu. ;) > > >> > > >> - > > >> Matthias Rebbe > > >> Life Is Too Short For Boring Code > > >> > > >>> Am 18.03.2020 um 12:51 schrieb Andre Garzia via use-livecode < > > >> use-livecode at lists.runrev.com>: > > >>> > > >>> Hi Folks, > > >>> > > >>> Many of you are probably working from home right now and some might > be > > >>> self-isolating or under lockdown. I understand that this poses many > > >>> challenges to many of you, most of which I can't help with at all, > but > > I > > >>> can however make it easier for you to get more LC content. The > current > > >> time > > >>> is stressing the ability of many of us to make a living, especially > > >> people > > >>> here who might be forced into unpaid leave. Because of that I decided > > to > > >>> make my book free until the end of May. You can get it at: > > >>> > > >>> https://leanpub.com/livecodeapparchitecture > > >>> > > >>> The way Leanpub works is that there is a price slider that lets you > > >> adjust > > >>> the price from the minimum value set by the author all the way to as > > much > > >>> as you want. I've adjusted the minimum price and the recommended > price > > >> to 0 > > >>> USD. You can still adjust that if you want. The book is usually 20 > USD > > >> but > > >>> with that cut, you can use that cash for something else and improve > > your > > >> LC > > >>> skills. > > >>> > > >>> Best > > >>> Andre > > >>> > > >>> -- > > >>> http://www.andregarzia.com -- All We Do Is Code. > > >>> http://fon.nu -- minimalist url shortening service. > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From iphonelagi at gmail.com Wed Mar 18 13:01:42 2020 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 18 Mar 2020 17:01:42 +0000 Subject: Making my book free until the end of May In-Reply-To: References: <48DE0C9E-F966-4EF0-B5FD-05EDB9D0A848@m-r-d.de> Message-ID: I am very interested - but I read the first version and wanted more ..... I thought you gave up because you didn't have time As I said it was a quick read - and then I forgot I had it and leanpub didn't remind me. Would appreciate some more - re-reading again today Thanks Andre Regards Lagi On Wed, 18 Mar 2020 at 16:50, Andre Garzia via use-livecode < use-livecode at lists.runrev.com> wrote: > The last update was last year when I added a chapter about libraries. I > have more content planned to it but I haven't devoted more time to it > because I felt like people were not interested... > > On Wed, 18 Mar 2020 at 15:03, Lagi Pittas via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Mathias > > > > > > the version says > > > > Disclaimer > > This is an early release. Send feedback to feedback at andregarzia.com?. > > The content of this book will be expanded in the next months, I see this > > book as a living thing, > > much like LiveCode IDE. > > This is the ?minimum amount of book? I consider useful enough to make a > > release. I hope you all > > enjoy and benefit from it. > > Version > > The version you?re reading is the: 2019.11.1 > > > > And it's 57 pages > > > > To be honest I never looked at it after the first day and only just > > downloaded it. > > I'm going to read it again and send feedback > > > > Lagi > > > > On Wed, 18 Mar 2020 at 14:50, matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hi Lagi, > > > > > > could you give a feedback here, if there is newer content. The last > > > version i have here was published 2019-11-18. > > > > > > Matthias > > > > > > > > > - > > > Matthias Rebbe > > > Life Is Too Short For Boring Code > > > > > > > Am 18.03.2020 um 15:21 schrieb Lagi Pittas via use-livecode < > > > use-livecode at lists.runrev.com>: > > > > > > > > I too already bought it but I'll download to see if there were any > > > additions > > > > > > > > Thanks > > > > > > > > Lagi > > > > > > > > On Wed, 18 Mar 2020 at 12:06, matthias rebbe via use-livecode < > > > > use-livecode at lists.runrev.com> wrote: > > > > > > > >> Hi Andre, > > > >> > > > >> wow that?s a generous offer. I own your book already and i really > can > > > >> recommend it. > > > >> > > > >> Btw. your e-mail signature still contains a link to fon.nu. ;) > > > >> > > > >> - > > > >> Matthias Rebbe > > > >> Life Is Too Short For Boring Code > > > >> > > > >>> Am 18.03.2020 um 12:51 schrieb Andre Garzia via use-livecode < > > > >> use-livecode at lists.runrev.com>: > > > >>> > > > >>> Hi Folks, > > > >>> > > > >>> Many of you are probably working from home right now and some might > > be > > > >>> self-isolating or under lockdown. I understand that this poses many > > > >>> challenges to many of you, most of which I can't help with at all, > > but > > > I > > > >>> can however make it easier for you to get more LC content. The > > current > > > >> time > > > >>> is stressing the ability of many of us to make a living, especially > > > >> people > > > >>> here who might be forced into unpaid leave. Because of that I > decided > > > to > > > >>> make my book free until the end of May. You can get it at: > > > >>> > > > >>> https://leanpub.com/livecodeapparchitecture > > > >>> > > > >>> The way Leanpub works is that there is a price slider that lets you > > > >> adjust > > > >>> the price from the minimum value set by the author all the way to > as > > > much > > > >>> as you want. I've adjusted the minimum price and the recommended > > price > > > >> to 0 > > > >>> USD. You can still adjust that if you want. The book is usually 20 > > USD > > > >> but > > > >>> with that cut, you can use that cash for something else and improve > > > your > > > >> LC > > > >>> skills. > > > >>> > > > >>> Best > > > >>> Andre > > > >>> > > > >>> -- > > > >>> http://www.andregarzia.com -- All We Do Is Code. > > > >>> http://fon.nu -- minimalist url shortening service. > > > >>> _______________________________________________ > > > >>> use-livecode mailing list > > > >>> use-livecode at lists.runrev.com > > > >>> Please visit this url to subscribe, unsubscribe and manage your > > > >> subscription preferences: > > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > >> > > > >> _______________________________________________ > > > >> use-livecode mailing list > > > >> use-livecode at lists.runrev.com > > > >> Please visit this url to subscribe, unsubscribe and manage your > > > >> subscription preferences: > > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 18 13:11:06 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 18 Mar 2020 10:11:06 -0700 Subject: Interruption to LiveCode services In-Reply-To: <7C87955D-4C60-48D9-83FE-F572E4FDBE30@livecode.com> References: <44FE9D09-AD9F-4CC8-840B-925121DF483D@livecode.com> <14332F08-8F4D-4415-BDC4-5BDDFA98FE99@pidigital.co.uk> <7C87955D-4C60-48D9-83FE-F572E4FDBE30@livecode.com> Message-ID: <34e7e224-ac01-dbdf-61a8-a5de9dab81fb@sonic.net> On 3/18/20 3:02 AM, Heather Laine via use-livecode wrote: > Those that understand these things assure me it will not happen again. LOL. Srsly though... thanks, team for the quick fix. -- Mark Wieder ahsoftware at gmail.com From dvglasgow at gmail.com Wed Mar 18 14:00:54 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Wed, 18 Mar 2020 18:00:54 +0000 Subject: Any electronic document formats offering interactivity? Message-ID: <73CEEE27-6E5B-4630-8C42-88E5DA6142CB@gmail.com> Hi folks, I would like to be able to generate a document from LC consisting of a single page (effectively a copy of a card) which can offer some basic interactivity. I would be pretty happy if users can create a document that would display ?tooltip-like? explanatory notes if summary fields are clicked. I couldn?t make any sense of the interactivity offered by PDF. I did a bit better with ePub, but the emphasis seems to be on links, animation and video etc, which is far more than I want. Any advice or suggestions? Best Wishes, David Glasgow Consultant Forensic & Clinical Psychologist From ambassador at fourthworld.com Wed Mar 18 14:50:26 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 18 Mar 2020 11:50:26 -0700 Subject: Making my book free until the end of May In-Reply-To: References: Message-ID: <3f8e4763-53fd-ab9a-4137-9720a6d4b094@fourthworld.com> Andre Garzia wrote: > ...I haven't devoted more time to it because I felt like > people were not interested... I wonder if the world stopped making software. That would explain the slow growth of the LC audience. Surely the absence of visible marketing couldn't be a contributing factor... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Mar 18 14:52:54 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 18 Mar 2020 11:52:54 -0700 Subject: Any electronic document formats offering interactivity? In-Reply-To: <73CEEE27-6E5B-4630-8C42-88E5DA6142CB@gmail.com> References: <73CEEE27-6E5B-4630-8C42-88E5DA6142CB@gmail.com> Message-ID: David V Glasgow wrote: > I would like to be able to generate a document from LC consisting of a > single page (effectively a copy of a card) which can offer some basic > interactivity. > > I would be pretty happy if users can create a document that would > display ?tooltip-like? explanatory notes if summary fields are > clicked. > > I couldn?t make any sense of the interactivity offered by PDF. I did > a bit better with ePub, but the emphasis seems to be on links, > animation and video etc, which is far more than I want. > > Any advice or suggestions? LiveCode is a good format for delivering interactivity. But I'm guessing there are requirements in play not yet described here which might rule that out. Knowing what those requirements are will help us meet them. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobcole at earthlink.net Wed Mar 18 14:58:23 2020 From: bobcole at earthlink.net (Bob Cole) Date: Wed, 18 Mar 2020 13:58:23 -0500 Subject: Making my book free until the end of May Message-ID: <5CC87108-28B1-493E-87BD-A446D3F4F67A@earthlink.net> Andre: As I restart my interest in LiveCode programming I think your book will help me produce better quality code. $20 seems like great a bargain. Enjoy another beer on me. Bob Sent from my iPhone > On Mar 18, 2020, at 11:00 AM, use-livecode-request at lists.runrev.com wrote: > > Message: 10 > Date: Wed, 18 Mar 2020 12:42:45 +0000 > From: Keith Clarke Subject: Re: Making my book free until the end of May > > Hi Andre, > I wasn?t aware that you?d written that book - but a spooky coincidence, as last weekend I?d just started revisiting RevIgniter for LiveCode server and as a hobbyist, was struggling to get my head around MVC & mapping to (limited knowledge of) LiveCode concepts. > > So, good timing and I was happy to pay the $20 - consider it a 'virtual beer' in these times of social isolation & lockdown! :-D > > Cheers Andre - and stay safe, all. > > Best, > Keith From mkoob at rogers.com Wed Mar 18 15:17:38 2020 From: mkoob at rogers.com (Martin Koob) Date: Wed, 18 Mar 2020 15:17:38 -0400 Subject: Interruption to LiveCode services In-Reply-To: <7C87955D-4C60-48D9-83FE-F572E4FDBE30@livecode.com> References: <44FE9D09-AD9F-4CC8-840B-925121DF483D@livecode.com> <14332F08-8F4D-4415-BDC4-5BDDFA98FE99@pidigital.co.uk> <7C87955D-4C60-48D9-83FE-F572E4FDBE30@livecode.com> Message-ID: So it was a Social Distancing issue then. Keep the server 2 m away from the old backups. Martin > On Mar 18, 2020, at 6:02 AM, Heather Laine via use-livecode wrote: > > It contracted some very peculiar interaction with an old backup. From bobsneidar at iotecdigital.com Wed Mar 18 16:41:30 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Mar 2020 20:41:30 +0000 Subject: ODBC Connections In-Reply-To: <14EF68A1-9E8E-4586-843A-06F502DB445D@m-r-d.de> References: <4DF534DC-9ABF-48BB-9274-132EE5CAA2C5@iotecdigital.com> <14EF68A1-9E8E-4586-843A-06F502DB445D@m-r-d.de> Message-ID: <3BCE998D-2939-407D-B587-44B0DF653A58@iotecdigital.com> Hmmm your example works, so yes the dictionary is wrong (again). It states revOpenDatabase("odbc", hostAddress, databaseName, [userName],[passWord],[cursorType]). "hostAddress" should actually be "dsnName". Also the Disctionary example seems to indicate the userName and passWord arguments are optional but they are not. I get the same error using your corrected example sans the user/pass. One more question if I may, can I access an ODBC connection remotely? If so, how would I specifiy which actual server I want to connect to? Bob S > On Mar 17, 2020, at 16:00 , matthias rebbe via use-livecode wrote: > > i would say the description in the dictionary is wrong and therefore your script. ;) > > I am using it as follows > > put revopendatabase("ODBC",DsnName,Databasename,Username,Password) From matthias_livecode_150811 at m-r-d.de Wed Mar 18 16:48:00 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 18 Mar 2020 21:48:00 +0100 Subject: ODBC Connections In-Reply-To: <3BCE998D-2939-407D-B587-44B0DF653A58@iotecdigital.com> References: <4DF534DC-9ABF-48BB-9274-132EE5CAA2C5@iotecdigital.com> <14EF68A1-9E8E-4586-843A-06F502DB445D@m-r-d.de> <3BCE998D-2939-407D-B587-44B0DF653A58@iotecdigital.com> Message-ID: Could you please explain what you mean with "access an ODBC connection remotely"? Do you want to use an ODBC connection string instead of a DSN? - Matthias Rebbe Life Is Too Short For Boring Code > Am 18.03.2020 um 21:41 schrieb Bob Sneidar via use-livecode : > > Hmmm your example works, so yes the dictionary is wrong (again). It states revOpenDatabase("odbc", hostAddress, databaseName, [userName],[passWord],[cursorType]). > > "hostAddress" should actually be "dsnName". Also the Disctionary example seems to indicate the userName and passWord arguments are optional but they are not. I get the same error using your corrected example sans the user/pass. > > One more question if I may, can I access an ODBC connection remotely? If so, how would I specifiy which actual server I want to connect to? > > Bob S > > >> On Mar 17, 2020, at 16:00 , matthias rebbe via use-livecode wrote: >> >> i would say the description in the dictionary is wrong and therefore your script. ;) >> >> I am using it as follows >> >> put revopendatabase("ODBC",DsnName,Databasename,Username,Password) > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 18 18:01:09 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Mar 2020 22:01:09 +0000 Subject: ODBC Connections In-Reply-To: <14EF68A1-9E8E-4586-843A-06F502DB445D@m-r-d.de> References: <4DF534DC-9ABF-48BB-9274-132EE5CAA2C5@iotecdigital.com> <14EF68A1-9E8E-4586-843A-06F502DB445D@m-r-d.de> Message-ID: <85929CAE-12EE-42B4-8C03-9F28076188F1@iotecdigital.com> Sorry I looked it up ODBC connections are intended to be local to the device they are configured on. I cannot access an ODBC connection on a different computer than I am trying to connect from. That's okay, I was thinking about making an ODBC agent that works using sockets. That would allow my to encrypt 2 way communications without having to futz with a web server. Bob S From bobsneidar at iotecdigital.com Wed Mar 18 18:13:17 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Mar 2020 22:13:17 +0000 Subject: Tab In Field Message-ID: <8281BCBB-7EDA-4730-A4D4-536B72FCF8D1@iotecdigital.com> This is probably something really simple, but I have two fields whose properties so far as I can tell are exactly the same, but if I tab in one field it inserts a tab, and if I tab the other field it focuses on the next field! Bob S From bobsneidar at iotecdigital.com Wed Mar 18 18:34:26 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Mar 2020 22:34:26 +0000 Subject: Tab In Field In-Reply-To: <8281BCBB-7EDA-4730-A4D4-536B72FCF8D1@iotecdigital.com> References: <8281BCBB-7EDA-4730-A4D4-536B72FCF8D1@iotecdigital.com> Message-ID: <011D70FD-8792-4355-956A-F8FD32EF8623@iotecdigital.com> NVM! Set the tabstops to empty! Shoutout to revNavigator by Geoff Canyon who once again saves the day! Bob S > On Mar 18, 2020, at 15:13 , Bob Sneidar via use-livecode wrote: > > This is probably something really simple, but I have two fields whose properties so far as I can tell are exactly the same, but if I tab in one field it inserts a tab, and if I tab the other field it focuses on the next field! > > Bob S From alex at tweedly.net Wed Mar 18 20:05:22 2020 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 19 Mar 2020 00:05:22 +0000 Subject: Any electronic document formats offering interactivity? In-Reply-To: <73CEEE27-6E5B-4630-8C42-88E5DA6142CB@gmail.com> References: <73CEEE27-6E5B-4630-8C42-88E5DA6142CB@gmail.com> Message-ID: <89dfd478-9e54-1764-1e1e-d8f44f73c327@tweedly.net> Hi David, as Richard says, there are many unknowns, or unstated constraints, etc. - so anyone who would try to give a detailed answer without more details is either: ?- brave ?- foolhardy? or ?- just foolish. So here I go .... you choose which of the above adjectives fits :-) Possibly a suitable format is .... HTML. Not just any old html, but a carefully selected subset / context. Deliver a single, self-contained file of html. CSS and a small amount of JS all inline within the file. Put in enough JS library/framework? (i.e. probably lift a minimal subset of Bootstrap or similar) to provide any kinds of interactivity you need such as clever tooltips, etc.), and build a LC tool to create the elements you want to place. -- Alex. P.S. If you need images then this "single page" idea breaks - you might need to make images be "in the cloud" and require Internet connectivity. On 18/03/2020 18:00, David V Glasgow via use-livecode wrote: > Hi folks, > > I would like to be able to generate a document from LC consisting of a single page (effectively a copy of a card) which can offer some basic interactivity. > > I would be pretty happy if users can create a document that would display ?tooltip-like? explanatory notes if summary fields are clicked. > > I couldn?t make any sense of the interactivity offered by PDF. I did a bit better with ePub, but the emphasis seems to be on links, animation and video etc, which is far more than I want. > > Any advice or suggestions? > > > Best Wishes, > David Glasgow > Consultant Forensic & Clinical Psychologist > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dvglasgow at gmail.com Thu Mar 19 06:48:24 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 19 Mar 2020 10:48:24 +0000 Subject: Any electronic document formats offering interactivity? In-Reply-To: <89dfd478-9e54-1764-1e1e-d8f44f73c327@tweedly.net> References: <73CEEE27-6E5B-4630-8C42-88E5DA6142CB@gmail.com> <89dfd478-9e54-1764-1e1e-d8f44f73c327@tweedly.net> Message-ID: Thanks for responses. I should have been clearer. As usual. The interactivity within LC is no problem. The user effectively creates a ?dashboard? profile representing their own assessment of multiple risk factors at play in a particular case. Currently, a representation of the resultant profile can then be captured as static image or PDF. To keep the dashboard as clean as possible, within the app, explanatory notes are hidden unless labels are clicked. I was wondering if it might be possible to retain just this aspect of functionality. So someone viewing previously saved profiles could access pop-up explanatory notes. It seems to me that PDF could offer that, but 1 it is hard to do and 2 many PDF viewers don?t offer the interactivity promised by Adobe. I did briefly consider HTML, but wanted to deliver a single file as the output, and an image of the dashboard profile is essential. An alternative strategy I think is going to be preferable, would be to save locked cards to a ?results? stack as the output format. I was kind of hoping minimally interactive profiles could be saved in a more generally accessible format, but it seems (once again) what is easy in LC is blimming tricky outside it. Cheers, David G > On 19 Mar 2020, at 12:05 am, Alex Tweedly via use-livecode wrote: > > Hi David, > > as Richard says, there are many unknowns, or unstated constraints, etc. - so anyone who would try to give a detailed answer without more details is either: > > - brave > > - foolhardy or > > - just foolish. > > > So here I go .... you choose which of the above adjectives fits :-) > > Possibly a suitable format is .... HTML. > > Not just any old html, but a carefully selected subset / context. > > Deliver a single, self-contained file of html. CSS and a small amount of JS all inline within the file. > > Put in enough JS library/framework (i.e. probably lift a minimal subset of Bootstrap or similar) to provide any kinds of interactivity you need such as clever tooltips, etc.), and build a LC tool to create the elements you want to place. > > -- Alex. > > P.S. If you need images then this "single page" idea breaks - you might need to make images be "in the cloud" and require Internet connectivity. > > > On 18/03/2020 18:00, David V Glasgow via use-livecode wrote: >> Hi folks, >> >> I would like to be able to generate a document from LC consisting of a single page (effectively a copy of a card) which can offer some basic interactivity. >> >> I would be pretty happy if users can create a document that would display ?tooltip-like? explanatory notes if summary fields are clicked. >> >> I couldn?t make any sense of the interactivity offered by PDF. I did a bit better with ePub, but the emphasis seems to be on links, animation and video etc, which is far more than I want. >> >> Any advice or suggestions? >> >> >> Best Wishes, >> David Glasgow >> Consultant Forensic & Clinical Psychologist >> >> > > >> >> > > >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Thu Mar 19 11:39:45 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 19 Mar 2020 15:39:45 +0000 (UTC) Subject: Tab In Field In-Reply-To: <011D70FD-8792-4355-956A-F8FD32EF8623@iotecdigital.com> References: <8281BCBB-7EDA-4730-A4D4-536B72FCF8D1@iotecdigital.com> <011D70FD-8792-4355-956A-F8FD32EF8623@iotecdigital.com> Message-ID: <1868592850.559919.1584632385928@mail.yahoo.com> A bit of LC lore from the dictionary: If the user presses the key while editing a field, normally the insertion point moves to the next control whose traversalOn property is true. If the tabStops property is not empty, the user can enter tab characters in the field. Each time the Tab key is pressed, the insertion point moves to the next tab stop on the current line. Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Wed, Mar 18, 2020 6:35 pm Subject: Re: Tab In Field NVM! Set the tabstops to empty! Shoutout to revNavigator by Geoff Canyon who once again saves the day! Bob S > On Mar 18, 2020, at 15:13 , Bob Sneidar via use-livecode wrote: > > This is probably something really simple, but I have two fields whose properties so far as I can tell are exactly the same, but if I tab in one field it inserts a tab, and if I tab the other field it focuses on the next field! > > Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Mar 19 12:53:55 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 19 Mar 2020 09:53:55 -0700 Subject: Any electronic document formats offering interactivity? In-Reply-To: References: Message-ID: <01083515-ec3c-d2b3-c09a-8d29e3ba755b@fourthworld.com> David V Glasgow wrote: > The interactivity within LC is no problem. The user effectively > creates a ?dashboard? profile representing their own assessment of > multiple risk factors at play in a particular case. Currently, a > representation of the resultant profile can then be captured as static > image or PDF. To keep the dashboard as clean as possible, within the > app, explanatory notes are hidden unless labels are clicked. I was > wondering if it might be possible to retain just this aspect of > functionality. So someone viewing previously saved profiles could > access pop-up explanatory notes. It seems to me that PDF could offer > that, but 1 it is hard to do and 2 many PDF viewers don?t offer the > interactivity promised by Adobe. > > I did briefly consider HTML, but wanted to deliver a single file as > the output, and an image of the dashboard profile is essential. Being an LC fanboy I'd suggest making a viewer app in LC for these documents. :) But ePub may be an excellent choice here: the format is essentially HTML/CSS in a Zip wrapper - all the things we love about HTML/CSS, delivered in a tidy single file. You could write an exporter from your stack if you need to do it often. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From panos.merakos at livecode.com Thu Mar 19 13:12:53 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 19 Mar 2020 19:12:53 +0200 Subject: [ANN] Release 9.6.0 DP-3 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.0 DP-3. Developer Preview Release ========================= Warning: this is not a stable release. Please ensure that you back up your stacks before testing them. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.6.0 DP-3 comes with more than 30 changes, including: New Features - New text to speech library for iOS, Android and MacOS (Indy/Business only) - Improved text rendering on Android - Objective-C block support in LCB Bug Fixes: - Fixes to drag-drop on macOS and Windows - Fix to the Android input field native control 'focus' action - Device token is now returned correctly on iOS 13 - UIExitsOnSuspend key removed from iOS plist - Windows camera control now produces much higher quality output iOS Support - Building with Xcode 11.3 using the iOS 13.2 SDK is now supported For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_0/LiveCodeNotes-9_6_0_dp_3.pdf Known issues ============ - This build (for Mac) is not notarized yet, so if your Mac is running MacOS Catalina (10.15.x) you will get a warning dialog saying that the app cannot be opened. In this case, you have to whitelist LiveCode in the System Settings -> Security and Privacy, and then right-click on LiveCode and choose "Open" from the contextual menu. Just double-clicking to open it will not work. Note that you'll only need to do this once, the very first time you open LiveCode 9.6 DP-3. For more details and instructions see here: https://support.apple.com/en-gb/HT202491 - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= The current LC 9.x versions do support MacOS Catalina - but are not yet notarized. Notarization is planned for 9.6.0-RC-1 and subsequent releases. To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.1 - LiveCode builds iOS apps using the iOS 13.2 SDK (also covers iOS 13.3) - macOS 10.15.3: Xcode 11.3.1 - LiveCode builds iOS apps using the iOS 13.2 SDK (also covers iOS 13.3) There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the end of April 2020, Apple will only be accepting apps built using iOS13 SDKs. This means that, if you wish to submit apps to the appstore you will have to be running at least macOS 10.14 in order to be able to install the necessary version of Xcode. Feedback ======== Please report any bugs encountered on our quality center at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From paul at researchware.com Thu Mar 19 16:31:36 2020 From: paul at researchware.com (Paul Dupuis) Date: Thu, 19 Mar 2020 16:31:36 -0400 Subject: Guessing the encoding of a test file... Message-ID: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> This has come up many times before, but I'll ask once again in case something has changed or someone new sees this. Does anyone have a routine that will take a filespec to a text file and return the guessed encoding of the text file? First, please don't respond with your should know the encoding or the users should know the encoding of their files. Not possible in the widely uncontrolled real world. I do already have a routine to guess file encodings. It was written by someone else. There are instances where it should work and does not. I fear there may be errors in the algorithm and I do not have the original algorithm to check it against. Hence, I am looking for an alternative that is either free to use or to be licensed for a modest fee. My current routine attempts to return the encoding as a string that can be directly passed to textDecode(binaryData,encoding) "ASCII" "UTF-16" "UTF-16BE" "UTF-16LE" "UTF-32" "UTF-32BE" "UTF-32LE" "UTF-8" "CP1252" * "MacRoman" * * for these last 2, if the file is MacRoman on a Windows system, you actually have to textDecode(macToISO(data),"CP1252") and if you have CP1252 on the Mac, you need to do textDecode(isoToMac(data),"MacRoman"). There is an enhancement request to support MacRoman decoding under WIndows and vice versa at https://quality.livecode.com/show_bug.cgi?id=22391 if you want to CC yourself to show interest. From devin_asay at byu.edu Thu Mar 19 18:03:32 2020 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 19 Mar 2020 22:03:32 +0000 Subject: Android Studio 3.6 breaks LC Android deployment? Message-ID: Hi all, Yesterday I had to install Android mobile tools on my laptop (since I?m having to work from home now. I downloaded the newest JDK 1.8 and the newest Android Studio (v. 3.6). (LC v. 9.5.1 on Mac 10.14.6). I spent a frustrating afternoon of getting an error every time I tried to specify the Android SKD root in LC Mobile Support preferences. Message was "The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for 9.0 (API 28)?. Finally after installing and reinstalling everything several times, I decided to drop back to Android Studio v. 3.5.3. Suddenly it was working again! Details on the forums here: http://forums.livecode.com/viewtopic.php?f=32&t=33636&p=189292#p189292 It seems like Android Studio 3.6 breaks Android deployment in LC. Before I submit a bug report, I wondered if anyone else has seen this problem? Devin Devin Asay Director Office of Digital Humanities Brigham Young University From sean at pidigital.co.uk Thu Mar 19 18:15:20 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 19 Mar 2020 22:15:20 +0000 Subject: Guessing the encoding of a test file... In-Reply-To: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> Message-ID: <1C4B8F69-1BA8-4FC9-89E8-F20674659BC1@pidigital.co.uk> On a mac it?s easy. Use file -I ?MyFile.txt? as a shell script. On Windows it?s near impossible without running a whole bunch or arbitrary tests that may or may not be correct - certainly not accurate. What kind of text were you hoping to see? Was you looking for a particular encoding? If it is grammatical text there?s are a bunch or runs you can do to see what character sets are used but even then it?s only a ?probably?/?possibly? response. Sean Cole Pi Digital > On 19 Mar 2020, at 20:31, Paul Dupuis via use-livecode wrote: > > ?This has come up many times before, but I'll ask once again in case something has changed or someone new sees this. > > > Does anyone have a routine that will take a filespec to a text file and return the guessed encoding of the text file? > > > First, please don't respond with your should know the encoding or the users should know the encoding of their files. Not possible in the widely uncontrolled real world. > > I do already have a routine to guess file encodings. It was written by someone else. There are instances where it should work and does not. I fear there may be errors in the algorithm and I do not have the original algorithm to check it against. Hence, I am looking for an alternative that is either free to use or to be licensed for a modest fee. > > My current routine attempts to return the encoding as a string that can be directly passed to textDecode(binaryData,encoding) > > "ASCII" > "UTF-16" > "UTF-16BE" > "UTF-16LE" > "UTF-32" > "UTF-32BE" > "UTF-32LE" > "UTF-8" > "CP1252" * > "MacRoman" * > > * for these last 2, if the file is MacRoman on a Windows system, you actually have to textDecode(macToISO(data),"CP1252") and if you have CP1252 on the Mac, you need to do textDecode(isoToMac(data),"MacRoman"). There is an enhancement request to support MacRoman decoding under WIndows and vice versa at https://quality.livecode.com/show_bug.cgi?id=22391 if you want to CC yourself to show interest. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Thu Mar 19 19:02:48 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 19 Mar 2020 18:02:48 -0500 Subject: Any electronic document formats offering interactivity? In-Reply-To: References: <73CEEE27-6E5B-4630-8C42-88E5DA6142CB@gmail.com> <89dfd478-9e54-1764-1e1e-d8f44f73c327@tweedly.net> Message-ID: On Thu, Mar 19, 2020 at 5:49 AM David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > > I did briefly consider HTML, but wanted to deliver a single file as the > output, and an image of the dashboard profile is essential. > You can embed images within the HTML itself using the "data:" URLs: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs -- Trevor DeVore ScreenSteps www.screensteps.com From paul at researchware.com Thu Mar 19 19:46:06 2020 From: paul at researchware.com (Paul Dupuis) Date: Thu, 19 Mar 2020 19:46:06 -0400 Subject: Guessing the encoding of a test file... In-Reply-To: <1C4B8F69-1BA8-4FC9-89E8-F20674659BC1@pidigital.co.uk> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> <1C4B8F69-1BA8-4FC9-89E8-F20674659BC1@pidigital.co.uk> Message-ID: <45ac9954-8045-1720-5052-062b6a7180d4@researchware.com> Users of our application may use text files any whatever encoding their local system creates them in. We can not tell them to only create such files with a specific encoding. So, we need to detect the encoding of the text file the user selects. As I mentioned, I have an LC script that implements a encoding guessing algorithm. I am looking for an alternative or better one if someone out there happened to have created one they might like to share or license. Any such routine needs to work on macOS and Windows and return the types used by the LC textDecode function. I already knew about file on OSX, but I needs a x-platform solution. On 3/19/2020 6:15 PM, Pi Digital via use-livecode wrote: > On a mac it?s easy. Use > file -I ?MyFile.txt? > as a shell script. > > On Windows it?s near impossible without running a whole bunch or arbitrary tests that may or may not be correct - certainly not accurate. > > What kind of text were you hoping to see? Was you looking for a particular encoding? If it is grammatical text there?s are a bunch or runs you can do to see what character sets are used but even then it?s only a ?probably?/?possibly? response. > > Sean Cole > Pi Digital > > >> On 19 Mar 2020, at 20:31, Paul Dupuis via use-livecode wrote: >> >> ?This has come up many times before, but I'll ask once again in case something has changed or someone new sees this. >> >> >> Does anyone have a routine that will take a filespec to a text file and return the guessed encoding of the text file? >> >> >> First, please don't respond with your should know the encoding or the users should know the encoding of their files. Not possible in the widely uncontrolled real world. >> >> I do already have a routine to guess file encodings. It was written by someone else. There are instances where it should work and does not. I fear there may be errors in the algorithm and I do not have the original algorithm to check it against. Hence, I am looking for an alternative that is either free to use or to be licensed for a modest fee. >> >> My current routine attempts to return the encoding as a string that can be directly passed to textDecode(binaryData,encoding) >> >> "ASCII" >> "UTF-16" >> "UTF-16BE" >> "UTF-16LE" >> "UTF-32" >> "UTF-32BE" >> "UTF-32LE" >> "UTF-8" >> "CP1252" * >> "MacRoman" * >> >> * for these last 2, if the file is MacRoman on a Windows system, you actually have to textDecode(macToISO(data),"CP1252") and if you have CP1252 on the Mac, you need to do textDecode(isoToMac(data),"MacRoman"). There is an enhancement request to support MacRoman decoding under WIndows and vice versa at https://quality.livecode.com/show_bug.cgi?id=22391 if you want to CC yourself to show interest. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 19 21:47:47 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 20 Mar 2020 01:47:47 +0000 Subject: Guessing the encoding of a test file... In-Reply-To: <45ac9954-8045-1720-5052-062b6a7180d4@researchware.com> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> <1C4B8F69-1BA8-4FC9-89E8-F20674659BC1@pidigital.co.uk> <45ac9954-8045-1720-5052-062b6a7180d4@researchware.com> Message-ID: You won't want to hear this but unfortunately for Windows you are out of luck. Text files of themselves do not have the encoding embedded in them in any form. Once it is written it is stored as a series of one or two byte characters. If you open it as a binfile or a straight file it appears the same. It is the lowest common denominator of storage formats. Text encoding is one of those things that either has to be handled by a human or AI/ML. All the best Sean Cole *Pi Digital * On Thu, 19 Mar 2020 at 23:46, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > Users of our application may use text files any whatever encoding their > local system creates them in. We can not tell them to only create such > files with a specific encoding. So, we need to detect the encoding of > the text file the user selects. > > As I mentioned, I have an LC script that implements a encoding guessing > algorithm. I am looking for an alternative or better one if someone out > there happened to have created one they might like to share or license. > > Any such routine needs to work on macOS and Windows and return the types > used by the LC textDecode function. > > I already knew about file on OSX, but I needs a x-platform solution. > > > On 3/19/2020 6:15 PM, Pi Digital via use-livecode wrote: > > On a mac it?s easy. Use > > file -I ?MyFile.txt? > > as a shell script. > > > > On Windows it?s near impossible without running a whole bunch or > arbitrary tests that may or may not be correct - certainly not accurate. > > > > What kind of text were you hoping to see? Was you looking for a > particular encoding? If it is grammatical text there?s are a bunch or runs > you can do to see what character sets are used but even then it?s only a > ?probably?/?possibly? response. > > > > Sean Cole > > Pi Digital > > > > > >> On 19 Mar 2020, at 20:31, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> ?This has come up many times before, but I'll ask once again in case > something has changed or someone new sees this. > >> > >> > >> Does anyone have a routine that will take a filespec to a text file and > return the guessed encoding of the text file? > >> > >> > >> First, please don't respond with your should know the encoding or the > users should know the encoding of their files. Not possible in the widely > uncontrolled real world. > >> > >> I do already have a routine to guess file encodings. It was written by > someone else. There are instances where it should work and does not. I fear > there may be errors in the algorithm and I do not have the original > algorithm to check it against. Hence, I am looking for an alternative that > is either free to use or to be licensed for a modest fee. > >> > >> My current routine attempts to return the encoding as a string that can > be directly passed to textDecode(binaryData,encoding) > >> > >> "ASCII" > >> "UTF-16" > >> "UTF-16BE" > >> "UTF-16LE" > >> "UTF-32" > >> "UTF-32BE" > >> "UTF-32LE" > >> "UTF-8" > >> "CP1252" * > >> "MacRoman" * > >> > >> * for these last 2, if the file is MacRoman on a Windows system, you > actually have to textDecode(macToISO(data),"CP1252") and if you have CP1252 > on the Mac, you need to do textDecode(isoToMac(data),"MacRoman"). There is > an enhancement request to support MacRoman decoding under WIndows and vice > versa at https://quality.livecode.com/show_bug.cgi?id=22391 if you want > to CC yourself to show interest. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 19 22:16:28 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 20 Mar 2020 02:16:28 +0000 Subject: IMAP Search skipping results Message-ID: Hey all, I'm using TSNet lib to fetch email from IMAP. The Script: put "MyName" into tSettings["username"] put "MyPass" into tSettings["password"] put empty into xHeaders tsnetinit put tsNetCustomSync("imaps://mail.myserver.co.uk", \ "SELECT INBOX",xHeaders,retHeaders,retResult, \ retBytes,tSettings) into tStat put tsNetCustomSync("imaps://mail.myserver.co.uk", \ "UID SEARCH NOT SEEN",xHeaders,retHeaders, \ retResult,retBytes,tSettings) into tStat put word 3 to -1 of tStat into tUIDs put the number of words in tUIDs into sMsgCount put retHeaders &cr& tStat &cr& sMsgCount My results are so inconsistent and it keeps skipping or omitting details. Heres what I see: 1ST RUN::: * SEARCH 11646 11647 11648 11649 11650 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 H160 OK Search completed (0.004 + 0.000 + 0.003 secs). 2ND RUN::: * SEARCH 11646 11647 11648 11649 11650 1 H162 OK Search completed (0.003 + 0.000 + 0.002 secs). 3RD RUN::: * SEARCH 11646 11647 11648 11649 11650 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 H164 OK Search completed (0.003 + 0.000 + 0.002 secs). 4TH RUN::: * SEARCH 11646 11647 11648 11649 11650 1 H166 OK Search completed (0.003 + 0.000 + 0.002 secs). 5TH RUN::: * SEARCH 11646 11647 11648 11649 11650 1 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 H170 OK Search completed (0.003 + 0.000 + 0.002 secs). What setting am I missing to make sure it is always consistent? Or is this a bug with TSNet? I can't think of any workarounds for this one. And it is so key to the whole app. Sean Cole *Pi Digital* From prothero at earthlearningsolutions.org Thu Mar 19 22:29:54 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Thu, 19 Mar 2020 19:29:54 -0700 Subject: Problem opening version 9.6.0 (dp3) Message-ID: <38E2CFB3-C40E-407D-8550-42E2C1E8E827@earthlearningsolutions.org> Folks: I must be missing something. I downloaded 9.6.0 (dp3) and my Mac OS won?t let me open it because claims Apple can?t check it for malware. Hmm?. I?m on a Macbook running Catalina, with BitDefender, but turning BitDefender off doesn?t change anything. Something new? Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ From prothero at earthlearningsolutions.org Thu Mar 19 22:31:37 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Thu, 19 Mar 2020 19:31:37 -0700 Subject: Problem opening version 9.6.0 (dp3) In-Reply-To: <38E2CFB3-C40E-407D-8550-42E2C1E8E827@earthlearningsolutions.org> References: <38E2CFB3-C40E-407D-8550-42E2C1E8E827@earthlearningsolutions.org> Message-ID: PS: I?m running business version of LC. Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ > On Mar 19, 2020, at 7:29 PM, prothero--- via use-livecode wrote: > > Folks: > I must be missing something. I downloaded 9.6.0 (dp3) and my Mac OS won?t let me open it because claims Apple can?t check it for malware. Hmm?. I?m on a Macbook running Catalina, with BitDefender, but turning BitDefender off doesn?t change anything. > > Something new? > Bill > > William A. Prothero > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Mar 19 22:37:48 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 20 Mar 2020 02:37:48 +0000 Subject: Bug in Widget Browser - Please confirm. Message-ID: Yay! On my fresh Catalina installation I have remote debugging working?. On Android (not mac Desktop or iOS) This function call: put parseTheHTML(the htmltext of widget "body","bookmark") into tTitle # produces an error lRemote: stack "behavior_view_SivaSivaBrowser": execution error at line 192 (LCB Error in file browser.lcb at line 469: Value is not of correct type for assignment to variable - expected type for assigning to variable tValue in com.livecode.extensions.libbrowser.browserGetProperty) Can anyone confirm? BR From devin_asay at byu.edu Thu Mar 19 23:24:49 2020 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 20 Mar 2020 03:24:49 +0000 Subject: Problem opening version 9.6.0 (dp3) In-Reply-To: <38E2CFB3-C40E-407D-8550-42E2C1E8E827@earthlearningsolutions.org> References: <38E2CFB3-C40E-407D-8550-42E2C1E8E827@earthlearningsolutions.org> Message-ID: <22A45791-A6A0-4692-80C8-D9588119094D@byu.edu> Bill, Does this help? It was at the end of the release announcement: Known issues ============ - This build (for Mac) is not notarized yet, so if your Mac is running MacOS Catalina (10.15.x) you will get a warning dialog saying that the app cannot be opened. In this case, you have to whitelist LiveCode in the System Settings -> Security and Privacy, and then right-click on LiveCode and choose "Open" from the contextual menu. Just double-clicking to open it will not work. Note that you'll only need to do this once, the very first time you open LiveCode 9.6 DP-3. For more details and instructions see here: On Mar 19, 2020, at 8:29 PM, prothero--- via use-livecode > wrote: Folks: I must be missing something. I downloaded 9.6.0 (dp3) and my Mac OS won?t let me open it because claims Apple can?t check it for malware. Hmm?. I?m on a Macbook running Catalina, with BitDefender, but turning BitDefender off doesn?t change anything. Something new? Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Fri Mar 20 03:12:08 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 20 Mar 2020 08:12:08 +0100 Subject: Android Studio 3.6 breaks LC Android deployment? In-Reply-To: References: Message-ID: I have 3.6.1 on windows, had no problems. Cheers and be save. Jerry Op 19-3-2020 om 23:03 schreef Devin Asay via use-livecode: > Hi all, > > Yesterday I had to install Android mobile tools on my laptop (since I?m having to work from home now. I downloaded the newest JDK 1.8 and the newest Android Studio (v. 3.6). (LC v. 9.5.1 on Mac 10.14.6). I spent a frustrating afternoon of getting an error every time I tried to specify the Android SKD root in LC Mobile Support preferences. Message was "The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for 9.0 (API 28)?. Finally after installing and reinstalling everything several times, I decided to drop back to Android Studio v. 3.5.3. Suddenly it was working again! > > Details on the forums here: http://forums.livecode.com/viewtopic.php?f=32&t=33636&p=189292#p189292 > > It seems like Android Studio 3.6 breaks Android deployment in LC. Before I submit a bug report, I wondered if anyone else has seen this problem? > > Devin > > > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Fri Mar 20 03:18:23 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 20 Mar 2020 07:18:23 +0000 Subject: Guessing the encoding of a test file... In-Reply-To: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> Message-ID: <25FFAF43-A95E-466A-BC25-839D3E67B5D0@livecode.com> Rather than throwing ?the baby out with the bath water? so to speak... What are the precise cases in which the method you have fails? And why do you expect it to work in those cases? Warmest Regards, Mark Sent from my iPhone > On 19 Mar 2020, at 20:32, Paul Dupuis via use-livecode wrote: > > ?This has come up many times before, but I'll ask once again in case something has changed or someone new sees this. > > > Does anyone have a routine that will take a filespec to a text file and return the guessed encoding of the text file? > > > First, please don't respond with your should know the encoding or the users should know the encoding of their files. Not possible in the widely uncontrolled real world. > > I do already have a routine to guess file encodings. It was written by someone else. There are instances where it should work and does not. I fear there may be errors in the algorithm and I do not have the original algorithm to check it against. Hence, I am looking for an alternative that is either free to use or to be licensed for a modest fee. > > My current routine attempts to return the encoding as a string that can be directly passed to textDecode(binaryData,encoding) > > "ASCII" > "UTF-16" > "UTF-16BE" > "UTF-16LE" > "UTF-32" > "UTF-32BE" > "UTF-32LE" > "UTF-8" > "CP1252" * > "MacRoman" * > > * for these last 2, if the file is MacRoman on a Windows system, you actually have to textDecode(macToISO(data),"CP1252") and if you have CP1252 on the Mac, you need to do textDecode(isoToMac(data),"MacRoman"). There is an enhancement request to support MacRoman decoding under WIndows and vice versa at https://quality.livecode.com/show_bug.cgi?id=22391 if you want to CC yourself to show interest. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 smarttsoftware.co.uk Fri Mar 20 08:29:58 2020 From: paul at smarttsoftware.co.uk (Paul Richards) Date: Fri, 20 Mar 2020 12:29:58 +0000 Subject: Android Studio 3.6 breaks LC Android deployment? In-Reply-To: References: Message-ID: Hi Devin, I had the exact same issue, but on Windows. Having spent many days on this, your solution worked - Thank you or sharing. I could not setup Livecode with a clean install of Android Studio 3.6, but having deleted it and installed v3.5 - Livecode worked straightway and I was then able to update Studio to v3.6. Paul -----Original Message----- From: use-livecode On Behalf Of Devin Asay via use-livecode Sent: 19 March 2020 22:04 To: How to use LiveCode Cc: Devin Asay Subject: Android Studio 3.6 breaks LC Android deployment? Hi all, Yesterday I had to install Android mobile tools on my laptop (since I?m having to work from home now. I downloaded the newest JDK 1.8 and the newest Android Studio (v. 3.6). (LC v. 9.5.1 on Mac 10.14.6). I spent a frustrating afternoon of getting an error every time I tried to specify the Android SKD root in LC Mobile Support preferences. Message was "The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for 9.0 (API 28)?. Finally after installing and reinstalling everything several times, I decided to drop back to Android Studio v. 3.5.3. Suddenly it was working again! Details on the forums here: http://forums.livecode.com/viewtopic.php?f=32&t=33636&p=189292#p189292 It seems like Android Studio 3.6 breaks Android deployment in LC. Before I submit a bug report, I wondered if anyone else has seen this problem? Devin Devin Asay Director Office of Digital Humanities Brigham Young University _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Mar 20 09:00:12 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 20 Mar 2020 14:00:12 +0100 Subject: IMAP Search skipping results In-Reply-To: References: Message-ID: Hi Sean, just a guess. Did you already try to set the NO_REUSE element in the tSettings array to TRUE? I am using that setting always, because the default one caused very often problems here. - Matthias Rebbe Life Is Too Short For Boring Code > Am 20.03.2020 um 03:16 schrieb Sean Cole (Pi) via use-livecode : > > Hey all, > > I'm using TSNet lib to fetch email from IMAP. > > The Script: > put "MyName" into tSettings["username"] > put "MyPass" into tSettings["password"] > put empty into xHeaders > tsnetinit > put tsNetCustomSync("imaps://mail.myserver.co.uk", \ > "SELECT INBOX",xHeaders,retHeaders,retResult, \ > retBytes,tSettings) into tStat > put tsNetCustomSync("imaps://mail.myserver.co.uk", \ > "UID SEARCH NOT SEEN",xHeaders,retHeaders, \ > retResult,retBytes,tSettings) into tStat > put word 3 to -1 of tStat into tUIDs > put the number of words in tUIDs into sMsgCount > put retHeaders &cr& tStat &cr& sMsgCount > > My results are so inconsistent and it keeps skipping or omitting details. > Heres what I see: > > 1ST RUN::: > * SEARCH 11646 11647 11648 11649 11650 13018 13019 13020 13021 13022 13023 > 13024 > 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 > 13037 > 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 > 13050 > 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 > 13063 > 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 > 13076 > 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 > 13089 > 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 > 13102 > 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 > 13115 > 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 > 13128 > 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 > 13141 > 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 > 13154 > 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 > 13167 > 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 > 13180 > 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 > 13193 > 13194 > H160 OK Search completed (0.004 + 0.000 + 0.003 secs). > > 2ND RUN::: > * SEARCH 11646 11647 11648 11649 11650 1 > H162 OK Search completed (0.003 + 0.000 + 0.002 secs). > > 3RD RUN::: > * SEARCH 11646 11647 11648 11649 11650 13170 13171 13172 13173 13174 13175 > 13176 > 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 > 13189 > 13190 13191 13192 13193 13194 > H164 OK Search completed (0.003 + 0.000 + 0.002 secs). > > 4TH RUN::: > * SEARCH 11646 11647 11648 11649 11650 1 > H166 OK Search completed (0.003 + 0.000 + 0.002 secs). > > 5TH RUN::: > * SEARCH 11646 11647 11648 11649 11650 1 13057 13058 13059 13060 13061 > 13062 > 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 > 13075 > 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 > 13088 > 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 > 13101 > 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 > 13114 > 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 > 13127 > 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 > 13140 > 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 > 13153 > 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 > 13166 > 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 > 13179 > 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 > 13192 > 13193 13194 > H170 OK Search completed (0.003 + 0.000 + 0.002 secs). > > What setting am I missing to make sure it is always consistent? Or is this > a bug with TSNet? > > I can't think of any workarounds for this one. And it is so key to the > whole app. > > 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 devin_asay at byu.edu Fri Mar 20 09:57:45 2020 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 20 Mar 2020 13:57:45 +0000 Subject: Android Studio 3.6 breaks LC Android deployment? In-Reply-To: References: Message-ID: Thanks for confirming, Paul. I?ll create a bug report. Done: https://quality.livecode.com/show_bug.cgi?id=22629 Devin On Mar 20, 2020, at 6:29 AM, Paul Richards via use-livecode > wrote: Hi Devin, I had the exact same issue, but on Windows. Having spent many days on this, your solution worked - Thank you or sharing. I could not setup Livecode with a clean install of Android Studio 3.6, but having deleted it and installed v3.5 - Livecode worked straightway and I was then able to update Studio to v3.6. Paul -----Original Message----- From: use-livecode > On Behalf Of Devin Asay via use-livecode Sent: 19 March 2020 22:04 To: How to use LiveCode > Cc: Devin Asay > Subject: Android Studio 3.6 breaks LC Android deployment? Hi all, Yesterday I had to install Android mobile tools on my laptop (since I?m having to work from home now. I downloaded the newest JDK 1.8 and the newest Android Studio (v. 3.6). (LC v. 9.5.1 on Mac 10.14.6). I spent a frustrating afternoon of getting an error every time I tried to specify the Android SKD root in LC Mobile Support preferences. Message was "The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for 9.0 (API 28)?. Finally after installing and reinstalling everything several times, I decided to drop back to Android Studio v. 3.5.3. Suddenly it was working again! Details on the forums here: http://forums.livecode.com/viewtopic.php?f=32&t=33636&p=189292#p189292 It seems like Android Studio 3.6 breaks Android deployment in LC. Before I submit a bug report, I wondered if anyone else has seen this problem? Devin Devin Asay Director Office of Digital Humanities Brigham Young University _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Mar 20 10:26:47 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 20 Mar 2020 14:26:47 +0000 Subject: IMAP Search skipping results In-Reply-To: References: Message-ID: Thanks Matthias I will give it a go. I tried some of the other settings but not that one as it happens. Does that not upset the fact that you have set the inbox and also download each message body one at a time? That?s why I didn?t try it. In fact, just gave it a go but by the time the second call is requested it fails with the response that ?No Mailbox Selected? so logs out again. I tried putting the setting between the two calls. Same issue. There are 1639 messages on the server but only 110 seem to show even with ?UID SEARCH ALL?. Sean Cole > On 20 Mar 2020, at 13:00, matthias rebbe via use-livecode wrote: > > ?Hi Sean, > > just a guess. > > Did you already try to set the NO_REUSE element in the tSettings array to TRUE? > I am using that setting always, because the default one caused very often problems here. > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 20.03.2020 um 03:16 schrieb Sean Cole (Pi) via use-livecode : >> >> Hey all, >> >> I'm using TSNet lib to fetch email from IMAP. >> >> The Script: >> put "MyName" into tSettings["username"] >> put "MyPass" into tSettings["password"] >> put empty into xHeaders >> tsnetinit >> put tsNetCustomSync("imaps://mail.myserver.co.uk", \ >> "SELECT INBOX",xHeaders,retHeaders,retResult, \ >> retBytes,tSettings) into tStat >> put tsNetCustomSync("imaps://mail.myserver.co.uk", \ >> "UID SEARCH NOT SEEN",xHeaders,retHeaders, \ >> retResult,retBytes,tSettings) into tStat >> put word 3 to -1 of tStat into tUIDs >> put the number of words in tUIDs into sMsgCount >> put retHeaders &cr& tStat &cr& sMsgCount >> >> My results are so inconsistent and it keeps skipping or omitting details. >> Heres what I see: >> >> 1ST RUN::: >> * SEARCH 11646 11647 11648 11649 11650 13018 13019 13020 13021 13022 13023 >> 13024 >> 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 >> 13037 >> 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 >> 13050 >> 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 >> 13063 >> 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 >> 13076 >> 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 >> 13089 >> 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 >> 13102 >> 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 >> 13115 >> 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 >> 13128 >> 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 >> 13141 >> 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 >> 13154 >> 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 >> 13167 >> 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 >> 13180 >> 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 >> 13193 >> 13194 >> H160 OK Search completed (0.004 + 0.000 + 0.003 secs). >> >> 2ND RUN::: >> * SEARCH 11646 11647 11648 11649 11650 1 >> H162 OK Search completed (0.003 + 0.000 + 0.002 secs). >> >> 3RD RUN::: >> * SEARCH 11646 11647 11648 11649 11650 13170 13171 13172 13173 13174 13175 >> 13176 >> 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 >> 13189 >> 13190 13191 13192 13193 13194 >> H164 OK Search completed (0.003 + 0.000 + 0.002 secs). >> >> 4TH RUN::: >> * SEARCH 11646 11647 11648 11649 11650 1 >> H166 OK Search completed (0.003 + 0.000 + 0.002 secs). >> >> 5TH RUN::: >> * SEARCH 11646 11647 11648 11649 11650 1 13057 13058 13059 13060 13061 >> 13062 >> 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 >> 13075 >> 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 >> 13088 >> 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 >> 13101 >> 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 >> 13114 >> 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 >> 13127 >> 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 >> 13140 >> 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 >> 13153 >> 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 >> 13166 >> 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 >> 13179 >> 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 >> 13192 >> 13193 13194 >> H170 OK Search completed (0.003 + 0.000 + 0.002 secs). >> >> What setting am I missing to make sure it is always consistent? Or is this >> a bug with TSNet? >> >> I can't think of any workarounds for this one. And it is so key to the >> whole app. >> >> Sean Cole >> *Pi Digital* >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Mar 20 10:48:49 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 20 Mar 2020 14:48:49 +0000 Subject: Guessing the encoding of a test file... In-Reply-To: <45ac9954-8045-1720-5052-062b6a7180d4@researchware.com> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> <1C4B8F69-1BA8-4FC9-89E8-F20674659BC1@pidigital.co.uk> <45ac9954-8045-1720-5052-062b6a7180d4@researchware.com> Message-ID: <45A87C0E-D4F2-42D0-8472-AB00F30029E1@iotecdigital.com> If the files submitted to you do not need to retain their original formats for your purposes, why not just convert them all to a standard format? it's my understanding if you open the file using low level file commands without the binfile parameter, LC will convert the data into the local encoding. I might be mistaken. It would help to have a sample file for testing. Bob S > On Mar 19, 2020, at 16:46 , Paul Dupuis via use-livecode wrote: > > Users of our application may use text files any whatever encoding their local system creates them in. We can not tell them to only create such files with a specific encoding. So, we need to detect the encoding of the text file the user selects. > > As I mentioned, I have an LC script that implements a encoding guessing algorithm. I am looking for an alternative or better one if someone out there happened to have created one they might like to share or license. > > Any such routine needs to work on macOS and Windows and return the types used by the LC textDecode function. > > I already knew about file on OSX, but I needs a x-platform solution. > > > On 3/19/2020 6:15 PM, Pi Digital via use-livecode wrote: >> On a mac it?s easy. Use >> file -I ?MyFile.txt? >> as a shell script. >> >> On Windows it?s near impossible without running a whole bunch or arbitrary tests that may or may not be correct - certainly not accurate. >> >> What kind of text were you hoping to see? Was you looking for a particular encoding? If it is grammatical text there?s are a bunch or runs you can do to see what character sets are used but even then it?s only a ?probably?/?possibly? response. >> >> Sean Cole >> Pi Digital >> >> >>> On 19 Mar 2020, at 20:31, Paul Dupuis via use-livecode wrote: >>> >>> ?This has come up many times before, but I'll ask once again in case something has changed or someone new sees this. >>> >>> >>> Does anyone have a routine that will take a filespec to a text file and return the guessed encoding of the text file? >>> >>> >>> First, please don't respond with your should know the encoding or the users should know the encoding of their files. Not possible in the widely uncontrolled real world. >>> >>> I do already have a routine to guess file encodings. It was written by someone else. There are instances where it should work and does not. I fear there may be errors in the algorithm and I do not have the original algorithm to check it against. Hence, I am looking for an alternative that is either free to use or to be licensed for a modest fee. >>> >>> My current routine attempts to return the encoding as a string that can be directly passed to textDecode(binaryData,encoding) >>> >>> "ASCII" >>> "UTF-16" >>> "UTF-16BE" >>> "UTF-16LE" >>> "UTF-32" >>> "UTF-32BE" >>> "UTF-32LE" >>> "UTF-8" >>> "CP1252" * >>> "MacRoman" * >>> >>> * for these last 2, if the file is MacRoman on a Windows system, you actually have to textDecode(macToISO(data),"CP1252") and if you have CP1252 on the Mac, you need to do textDecode(isoToMac(data),"MacRoman"). There is an enhancement request to support MacRoman decoding under WIndows and vice versa at https://quality.livecode.com/show_bug.cgi?id=22391 if you want to CC yourself to show interest. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 20 11:06:51 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 20 Mar 2020 15:06:51 +0000 Subject: IMAP Search skipping results In-Reply-To: References: Message-ID: <609B3BE9-C15C-4F4F-A381-0A22F7366D58@iotecdigital.com> This may be of more use. No functional changes, just something you can use to test against different IMAP servers: function IMAPGetHeaders pServer, pUser, pPass if pServer is empty then ask "Enter IMAP Server IP or address:" as sheet if the result is "Cancel" then return "Canceled." put it into pServer end if if pUser is empty then ask "Enter email address:" as sheet if the result is "Cancel" then return "Canceled." put it into pUser end if if pPass is empty then ask password "Enter password:" as sheet if the result is "Cancel" then return "Canceled." put it into pPass end if put pUser into tSettings["username"] put pPass into tSettings["password"] put empty into xHeaders try tsnetinit catch tError answer error "ERROR: Unable to initialize TSNet" as sheet breakpoint end try put tsNetCustomSync(pServer, \ "SELECT INBOX",xHeaders,retHeaders,retResult, \ retBytes,tSettings) into tStat put tsNetCustomSync(pServer, \ "UID SEARCH NOT SEEN",xHeaders,retHeaders, \ retResult,retBytes,tSettings) into tStat put word 3 to -1 of tStat into tUIDs put the number of words in tUIDs into sMsgCount return retHeaders &cr& tStat &cr& sMsgCount end IMAPGetHeaders > On Mar 20, 2020, at 07:26 , Pi Digital via use-livecode wrote: > > Thanks Matthias > > I will give it a go. I tried some of the other settings but not that one as it happens. Does that not upset the fact that you have set the inbox and also download each message body one at a time? That?s why I didn?t try it. > > In fact, just gave it a go but by the time the second call is requested it fails with the response that ?No Mailbox Selected? so logs out again. I tried putting the setting between the two calls. Same issue. > > There are 1639 messages on the server but only 110 seem to show even with ?UID SEARCH ALL?. > > Sean Cole > From bobsneidar at iotecdigital.com Fri Mar 20 11:10:29 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 20 Mar 2020 15:10:29 +0000 Subject: IMAP Search skipping results In-Reply-To: <609B3BE9-C15C-4F4F-A381-0A22F7366D58@iotecdigital.com> References: <609B3BE9-C15C-4F4F-A381-0A22F7366D58@iotecdigital.com> Message-ID: <858738F9-120F-44F7-9A2C-7CD1779DA832@iotecdigital.com> This version wraps ALL the tsNet calls in a try catch construct: function IMAPGetHeaders pServer, pUser, pPass if pServer is empty then ask "Enter IMAP Server IP or address:" as sheet if the result is "Cancel" then return "Canceled." put it into pServer end if if pUser is empty then ask "Enter email address:" as sheet if the result is "Cancel" then return "Canceled." put it into pUser end if if pPass is empty then ask password "Enter password:" as sheet if the result is "Cancel" then return "Canceled." put it into pPass end if put pUser into tSettings["username"] put pPass into tSettings["password"] put empty into xHeaders try tsnetinit put tsNetCustomSync(pServer, \ "SELECT INBOX",xHeaders,retHeaders,retResult, \ retBytes,tSettings) into tStat put tsNetCustomSync(pServer, \ "UID SEARCH NOT SEEN",xHeaders,retHeaders, \ retResult,retBytes,tSettings) into tStat catch tError answer error "ERROR: " & tError as sheet breakpoint end try put word 3 to -1 of tStat into tUIDs put the number of words in tUIDs into sMsgCount return retHeaders &cr& tStat &cr& sMsgCount end IMAPGetHeaders > On Mar 20, 2020, at 08:06 , Bob Sneidar via use-livecode wrote: > > This may be of more use. No functional changes, just something you can use to test against different IMAP servers: From paul at researchware.com Fri Mar 20 11:34:42 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 20 Mar 2020 11:34:42 -0400 Subject: Guessing the encoding of a test file... In-Reply-To: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> Message-ID: To Sean and Bob, Thank you for your replies. I may not have been clear enough in my original post: We make and sell an App for macOS and Windows. It's uses around the world by researchers (not a lot of them as it is a niche product) on their computers. The research applications allows input of data from text files. The sources of those text files are from various source those researcher have. It would negatively impact our competitiveness in our market if we forced the users to convert their data all to some specific text encoding, so we need to try to "guess" the encoding of those text files. There are many published algorithms for doing this and we have a past contractor of ours take a "best practice" algorithm and create a LCS "guessEncoding function. This replaced a previous guessEncoding function we had that from Richard Gaskin, which while quite good, did not cover as many test cases and the newer more robust one. My main question to the list was: Has anyone out there ALSO written a guessEncoding function they might like to share or license? Why did I ask this? Because I am interested in comparing the accuracy of our current handler to any other that may be available as, users being users, we recently have a user reveal a bug (mis named variable) in our current function that meant it was missing certain edge cases ( and this user has hundreds of text files that need this edge case to be properly recognized as MAcRoman encoding. So that bug has been fixed, but I am still interested in comparing any other giessEncoding routines to our current one to see if we can do better that we current are. To Mark, As always, thank for reading and responding Mark. We're actually doing what you suggest. We had a set of QA test cases (text files in many different line endings and encodings), some intended to fail (such as Windows Code Page's we don't support). We're expanding these and doing a review on macOS and Windows with our app. Ones that fail, that we think shouldn't fail, we will step through the code to see why they fail and if our algorithm can be further enhanced. I can's foresee any algorithm tweaks we can't code ourselves that we'd need LC or USE-LIST assistance for. Back around LiveCode 7, Fraiser said, in response to some correspondence I had with him, that he would consider creating a "guessEncoding" to go along with the Unicode Everywhere work and the new textEncode/textDecode functions. I do understand the reluctance, as a business, to do so, as inevitably there will be some instances where it guesses wrong. Other than LC adding a guessEncoding function using some open source library, I would say the area where LC could be the most help would be with this enhancement https://quality.livecode.com/show_bug.cgi?id=22391 I am under the, perhaps false, impression that isoToMac and macToIso are sort of viewed as functions that may become deprecated and no longer updated in the future. However, they are still essential for us until I can textDecode(someData,"MacRoman") on a Windows system and vice versa. From hakan at exformedia.se Fri Mar 20 11:39:12 2020 From: hakan at exformedia.se (hakan at exformedia.se) Date: Fri, 20 Mar 2020 16:39:12 +0100 Subject: Guessing the encoding of a test file... In-Reply-To: <45ac9954-8045-1720-5052-062b6a7180d4@researchware.com> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> <1C4B8F69-1BA8-4FC9-89E8-F20674659BC1@pidigital.co.uk> <45ac9954-8045-1720-5052-062b6a7180d4@researchware.com> Message-ID: <76719a37-8403-4425-8c44-3fd735d94794@Spark> I know that Mozilla had a library for finding text decoding. I don?t think they use it anymore though. But I know it was translated into several other languages. It was called something like ?universal character detection? or something equally sexy. Just typing out of my head, so it might be something completely different. H?kan On 20 Mar 2020, 00:47 +0100, Paul Dupuis via use-livecode , wrote: > Users of our application may use text files any whatever encoding their > local system creates them in. We can not tell them to only create such > files with a specific encoding. So, we need to detect the encoding of > the text file the user selects. > > As I mentioned, I have an LC script that implements a encoding guessing > algorithm. I am looking for an alternative or better one if someone out > there happened to have created one they might like to share or license. > > Any such routine needs to work on macOS and Windows and return the types > used by the LC textDecode function. > > I already knew about file on OSX, but I needs a x-platform solution. > > > On 3/19/2020 6:15 PM, Pi Digital via use-livecode wrote: > > On a mac it?s easy. Use > > file -I ?MyFile.txt? > > as a shell script. > > > > On Windows it?s near impossible without running a whole bunch or arbitrary tests that may or may not be correct - certainly not accurate. > > > > What kind of text were you hoping to see? Was you looking for a particular encoding? If it is grammatical text there?s are a bunch or runs you can do to see what character sets are used but even then it?s only a ?probably?/?possibly? response. > > > > Sean Cole > > Pi Digital > > > > > > > On 19 Mar 2020, at 20:31, Paul Dupuis via use-livecode wrote: > > > > > > This has come up many times before, but I'll ask once again in case something has changed or someone new sees this. > > > > > > > > > Does anyone have a routine that will take a filespec to a text file and return the guessed encoding of the text file? > > > > > > > > > First, please don't respond with your should know the encoding or the users should know the encoding of their files. Not possible in the widely uncontrolled real world. > > > > > > I do already have a routine to guess file encodings. It was written by someone else. There are instances where it should work and does not. I fear there may be errors in the algorithm and I do not have the original algorithm to check it against. Hence, I am looking for an alternative that is either free to use or to be licensed for a modest fee. > > > > > > My current routine attempts to return the encoding as a string that can be directly passed to textDecode(binaryData,encoding) > > > > > > "ASCII" > > > "UTF-16" > > > "UTF-16BE" > > > "UTF-16LE" > > > "UTF-32" > > > "UTF-32BE" > > > "UTF-32LE" > > > "UTF-8" > > > "CP1252" * > > > "MacRoman" * > > > > > > * for these last 2, if the file is MacRoman on a Windows system, you actually have to textDecode(macToISO(data),"CP1252") and if you have CP1252 on the Mac, you need to do textDecode(isoToMac(data),"MacRoman"). There is an enhancement request to support MacRoman decoding under WIndows and vice versa at https://quality.livecode.com/show_bug.cgi?id=22391 if you want to CC yourself to show interest. > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Mar 20 12:10:28 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 20 Mar 2020 16:10:28 +0000 Subject: IMAP Search skipping results In-Reply-To: <858738F9-120F-44F7-9A2C-7CD1779DA832@iotecdigital.com> References: <858738F9-120F-44F7-9A2C-7CD1779DA832@iotecdigital.com> Message-ID: <6D64299F-C654-4D54-98EC-EAE29634901A@pidigital.co.uk> Thanks Bob Yeah, I actually already have something like that. I?d abbreviated my code to keep it simple on the forum. I?m not having trouble connecting. It?s just the shortage of data returned from the server. It?s actually skipping a whole chunk in the middle which is the weirdest part. There is this bug which is yet to be followed up on. https://quality.livecode.com/show_bug.cgi?id=22216 So I look forward to that in a couple of years maybe. In the meantime I?m hoping I find a solution to this or else it?s yet another reason for clients to disappear saying ?you can?t even do so and so?. It gets so tedious having all the workarounds on workarounds. Sean Cole Pi Digital > On 20 Mar 2020, at 15:10, Bob Sneidar via use-livecode wrote: > > ?This version wraps ALL the tsNet calls in a try catch construct: > > function IMAPGetHeaders pServer, pUser, pPass > if pServer is empty then > ask "Enter IMAP Server IP or address:" as sheet > if the result is "Cancel" then return "Canceled." > put it into pServer > end if > > if pUser is empty then > ask "Enter email address:" as sheet > if the result is "Cancel" then return "Canceled." > put it into pUser > end if > > if pPass is empty then > ask password "Enter password:" as sheet > if the result is "Cancel" then return "Canceled." > put it into pPass > end if > > put pUser into tSettings["username"] > put pPass into tSettings["password"] > put empty into xHeaders > > try > tsnetinit > put tsNetCustomSync(pServer, \ > "SELECT INBOX",xHeaders,retHeaders,retResult, \ > retBytes,tSettings) into tStat > put tsNetCustomSync(pServer, \ > "UID SEARCH NOT SEEN",xHeaders,retHeaders, \ > retResult,retBytes,tSettings) into tStat > catch tError > answer error "ERROR: " & tError as sheet > breakpoint > end try > > put word 3 to -1 of tStat into tUIDs > put the number of words in tUIDs into sMsgCount > return retHeaders &cr& tStat &cr& sMsgCount > end IMAPGetHeaders > >> On Mar 20, 2020, at 08:06 , Bob Sneidar via use-livecode wrote: >> >> This may be of more use. No functional changes, just something you can use to test against different IMAP servers: > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Mar 20 13:11:29 2020 From: dochawk at gmail.com (doc hawk) Date: Fri, 20 Mar 2020 10:11:29 -0700 Subject: Guessing the encoding of a test file... In-Reply-To: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> Message-ID: On Mar 19, 2020, at 1:31 PM, Paul Dupuis via use-livecode wrote: > > ?ASCII" Wait, you?re not going to distinguish between six and seven bit ASCII? :_) From mark at livecode.com Fri Mar 20 13:22:03 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 20 Mar 2020 17:22:03 +0000 Subject: Guessing the encoding of a test file... In-Reply-To: References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> Message-ID: <5a113b60fc0a6680f6c50a3a89f835f2@livecode.com> On 2020-03-20 15:34, Paul Dupuis via use-livecode wrote: > Why did I ask this? Because I am interested in comparing the accuracy > of our current handler to any other that may be available as, users > being users, we recently have a user reveal a bug (mis named variable) > in our current function that meant it was missing certain edge cases ( > and this user has hundreds of text files that need this edge case to > be properly recognized as MAcRoman encoding. So that bug has been > fixed, but I am still interested in comparing any other giessEncoding > routines to our current one to see if we can do better that we current > are. Perhaps: https://pypi.org/project/chardet/ Sounds like it uses similar statistical (perhaps even an ML) model to detect charsets as Mozilla's 'UCD' (as mentioned by someone else in this thread). > As always, thank for reading and responding Mark. We're actually doing > what you suggest. We had a set of QA test cases (text files in many > different line endings and encodings), some intended to fail (such as > Windows Code Page's we don't support). We're expanding these and doing > a review on macOS and Windows with our app. Ones that fail, that we > think shouldn't fail, we will step through the code to see why they > fail and if our algorithm can be further enhanced. I can's foresee any > algorithm tweaks we can't code ourselves that we'd need LC or USE-LIST > assistance for. My main reason for asking was to see if it seemed a reasonable assumption (to me, at least) that there would be any algorithm which would be able to determine the char encoding correctly. e.g. MacRoman and Windows-1252, are very very similar, and so telling the difference would come with a reasonably high degree of error. > Back around LiveCode 7, Fraiser said, in response to some > correspondence I had with him, that he would consider creating a > "guessEncoding" to go along with the Unicode Everywhere work and the > new textEncode/textDecode functions. I do understand the reluctance, > as a business, to do so, as inevitably there will be some instances > where it guesses wrong. I can't recall exactly - but I think Fraser was thinking along the lines of being able to tell the difference between the utf-8, utf-16, utf-32 and native encodings. That can be done with a high-degree of confidence, and indeed is straightforward enough to code in LiveCode Script. (e.g. You can be almost 100% sure something is utf-8 if it roundtrips identically). As I'm sure you are acutely aware, the difficult problem is telling the difference between very dense shift-sequence encodings (those which don't have some redundancy in their encodings to help with validation), and single-char encodings (e.g. between MacRoman and Latin-1). There is no algorithm for that per-se, just lots of heuristics (based on statistical models) and potential dictionary lookup to help distinguish edge cases. Implementing something such as that is no small endeavour... > I am under the, perhaps false, impression that isoToMac and macToIso > are sort of viewed as functions that may become deprecated and no > longer updated in the future. However, they are still essential for us > until I can textDecode(someData,"MacRoman") on a Windows system and > vice versa. They've not been deprecated yet so they aren't going anywhere - the internal functions those wrap are actually used to charset-swap strings in pre-v7 binary stackfiles (from v7, strings are serialized as utf-8 in stackfiles). We probably will deprecate them when we make textDecode/Encode accept more encodings (as suggested in the enhancement request) - but only because the latter is a much neater way to do things... I believe the code you use at the moment gives identical results as textDecode/Encode native support would do doesn't it? Warmest Regards, Mark -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ambassador at fourthworld.com Fri Mar 20 13:44:47 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 20 Mar 2020 10:44:47 -0700 Subject: Guessing the encoding of a test file... In-Reply-To: References: Message-ID: Paul Dupuis wrote: > There are many published algorithms for doing this and we have a past > contractor of ours take a "best practice" algorithm and create a LCS > "guessEncoding function. This replaced a previous guessEncoding > function we had that from Richard Gaskin, which while quite good, did > not cover as many test cases and the newer more robust one. The algo I wrote for you a decade ago was an amalgam of best efforts culled throughout this community at the time. It even included a variant, refined in our testing, of statistical analysis of certain patterns identified by Peter Haworth for files without explicit declaration. At the time, running the algo through the test collection of some ~200 widely varying sample documents, some of which even mixed different encodings, we compared our results with those from Apple's TextEdit and found that our algo correctly identified encoding at least 15% more often than TextEdit. Once we bested Apple on that by an appreciable margin, all of us on the team reviewed the results and determined that we were clearly looking at a case of diminishing returns in terms of cost-to-further-refine vs actual percentage of documents in use requiring such refinement. I would be interested to learn more about the details of the subsequent refinements over the decade since, but also the ROI proposition for today: Given that another ten years has passed with modern encoding, and that older encodings like CP1252 (premiered in Windows 1.0 and popularized in Windows 95) are rarely seen in modern usage (as of March 2020 Wikipedia notes only 0.4% of web pages using that encoding), what percentage of documents your customers need to work with will benefit from further investment in refining that algo? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at researchware.com Fri Mar 20 14:06:32 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 20 Mar 2020 14:06:32 -0400 Subject: Guessing the encoding of a test file... In-Reply-To: References: Message-ID: <776a409a-e614-8cc7-01a5-b65a58cdb0ad@researchware.com> On 3/20/2020 1:44 PM, Richard Gaskin via use-livecode wrote: > I would be interested to learn more about the details of the > subsequent refinements over the decade since, but also the ROI > proposition for today: I'll try to remember to share the current code after this current review. I'm happy to put it out there for others who may need something. It adds a few more statistical samplings for MacRoman vs CP1252/Latin 1 over your excellent original routine that catches a few more correct guesses. As for the diminishing returns and ROI for today, I am not sure there is any sort of general ROI for further enhancing the current routine. It does just about every best practice for detection there is (to the best of my knowledge). That said, the current case is of a researcher with a edge variant who happens to be a long time customer AND has a *LOT* of text file that should come up as MacRoman but were not. With one more tweak (a tiny bug of a mistypes variable name) they now do detect correctly. If the customer wasn't a long time customer and someone with lots of data with this problem, I probably would not invest this level of effort. From paul at researchware.com Fri Mar 20 14:09:46 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 20 Mar 2020 14:09:46 -0400 Subject: Guessing the encoding of a test file... In-Reply-To: References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> Message-ID: <3f1d5276-cb47-2baa-f68f-8d902767d8e9@researchware.com> On 3/20/2020 1:11 PM, doc hawk via use-livecode wrote: > On Mar 19, 2020, at 1:31 PM, Paul Dupuis via use-livecode wrote: >> ?ASCII" > Wait, you?re not going to distinguish between six and seven bit ASCII? > > :_) > > Okay, now you going for the low blow :-) Next, you'll be suggesting I need to check for EBCDIC encodings! From dochawk at gmail.com Fri Mar 20 14:13:16 2020 From: dochawk at gmail.com (doc hawk) Date: Fri, 20 Mar 2020 11:13:16 -0700 Subject: Guessing the encoding of a test file... In-Reply-To: <3f1d5276-cb47-2baa-f68f-8d902767d8e9@researchware.com> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> <3f1d5276-cb47-2baa-f68f-8d902767d8e9@researchware.com> Message-ID: <22DACAF5-06A9-4093-8998-D51643444DCB@gmail.com> On Mar 20, 2020, at 11:09 AM, Paul Dupuis via use-livecode wrote: > > Okay, now you going for the low blow :-)\ What part of ?lawyer? wasn?t clear? B b :_) > Next, you'll be suggesting I need to check for EBCDIC encodings! That will be a start, but it?s not done until you include Baudot. Morse, however, is optional . . . From waprothero at gmail.com Fri Mar 20 15:29:28 2020 From: waprothero at gmail.com (William Prothero) Date: Fri, 20 Mar 2020 12:29:28 -0700 Subject: Problem opening version 9.6.0 (dp3) In-Reply-To: <22A45791-A6A0-4692-80C8-D9588119094D@byu.edu> References: <38E2CFB3-C40E-407D-8550-42E2C1E8E827@earthlearningsolutions.org> <22A45791-A6A0-4692-80C8-D9588119094D@byu.edu> Message-ID: <4FBBBFBC-BD19-4172-B309-E34BC9B76B1D@gmail.com> Doh: Yeah, it helps. I got a new Macbook and it came with Catalina, which opens ?unsafe? files differently than I was used to. All good. Tnx for the help. Bill William A. Prothero https://earthlearningsolutions.org > On Mar 19, 2020, at 8:24 PM, Devin Asay via use-livecode wrote: > > Bill, > > Does this help? It was at the end of the release announcement: > > Known issues > ============ > - This build (for Mac) is not notarized yet, so if your Mac is running > MacOS Catalina (10.15.x) you will get a warning dialog saying that the app > cannot be opened. In this case, you have to whitelist LiveCode in the > System Settings -> Security and Privacy, and then right-click on LiveCode > and choose "Open" from the contextual menu. Just double-clicking to open it > will not work. > > Note that you'll only need to do this once, the very first time you open > LiveCode 9.6 DP-3. For more details and instructions see here: > > > On Mar 19, 2020, at 8:29 PM, prothero--- via use-livecode > wrote: > > Folks: > I must be missing something. I downloaded 9.6.0 (dp3) and my Mac OS won?t let me open it because claims Apple can?t check it for malware. Hmm?. I?m on a Macbook running Catalina, with BitDefender, but turning BitDefender off doesn?t change anything. > > Something new? > Bill > > William A. Prothero > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Mar 20 15:51:53 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 20 Mar 2020 15:51:53 -0400 Subject: Guessing the encoding of a test file... [OT] In-Reply-To: <22DACAF5-06A9-4093-8998-D51643444DCB@gmail.com> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> <3f1d5276-cb47-2baa-f68f-8d902767d8e9@researchware.com> <22DACAF5-06A9-4093-8998-D51643444DCB@gmail.com> Message-ID: <007001d5fef1$042b2ed0$0c818c70$@net> Just for a laugh... one of the more esoteric codings I used in the quasi modern error (besides EBCDIC) was the 5 bit Quotron stock ticker system in the mid 90s. It used different codes for requesting/receiving quotes because 2^5 is only 32 possible characters. Alpha in/numeric out. 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 doc hawk via use-livecode Sent: Friday, March 20, 2020 2:13 PM To: How to use LiveCode Cc: doc hawk Subject: Re: Guessing the encoding of a test file... On Mar 20, 2020, at 11:09 AM, Paul Dupuis via use-livecode wrote: > > Okay, now you going for the low blow :-)\ What part of ?lawyer? wasn?t clear? B b :_) > Next, you'll be suggesting I need to check for EBCDIC encodings! That will be a start, but it?s not done until you include Baudot. Morse, however, is optional . . . _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Mar 20 16:47:30 2020 From: dochawk at gmail.com (doc hawk) Date: Fri, 20 Mar 2020 13:47:30 -0700 Subject: Guessing the encoding of a test file... [OT] In-Reply-To: <007001d5fef1$042b2ed0$0c818c70$@net> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> <3f1d5276-cb47-2baa-f68f-8d902767d8e9@researchware.com> <22DACAF5-06A9-4093-8998-D51643444DCB@gmail.com> <007001d5fef1$042b2ed0$0c818c70$@net> Message-ID: On Mar 20, 2020, at 12:51 PM, Ralph DiMola via use-livecode wrote: > > Just for a laugh... one of the more esoteric codings I used in the quasi modern error (besides EBCDIC) was the 5 bit Quotron stock ticker system in the mid 90s. It used different codes for requesting/receiving quotes because 2^5 is only 32 possible characters. Alpha in/numeric out. They created a *new* five bit, shifted code, rather than just using Baudot???? From paul at researchware.com Fri Mar 20 16:59:07 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 20 Mar 2020 16:59:07 -0400 Subject: Guessing the encoding of a test file... [OT] In-Reply-To: References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> <3f1d5276-cb47-2baa-f68f-8d902767d8e9@researchware.com> <22DACAF5-06A9-4093-8998-D51643444DCB@gmail.com> <007001d5fef1$042b2ed0$0c818c70$@net> Message-ID: On 3/20/2020 4:47 PM, doc hawk via use-livecode wrote: > On Mar 20, 2020, at 12:51 PM, Ralph DiMola via use-livecode wrote: >> Just for a laugh... one of the more esoteric codings I used in the quasi modern error (besides EBCDIC) was the 5 bit Quotron stock ticker system in the mid 90s. It used different codes for requesting/receiving quotes because 2^5 is only 32 possible characters. Alpha in/numeric out. > They created a *new* five bit, shifted code, rather than just using Baudot???? > > From a guessEncoding perspective, you just scan the bytes and if all byte values are in the 0-31 range, you have a 5-bit code. Then it get harder to determine whether it is Quotron or Baudot... From rdimola at evergreeninfo.net Fri Mar 20 17:25:23 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 20 Mar 2020 17:25:23 -0400 Subject: Guessing the encoding of a test file... [OT] In-Reply-To: References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> <3f1d5276-cb47-2baa-f68f-8d902767d8e9@researchware.com> <22DACAF5-06A9-4093-8998-D51643444DCB@gmail.com> <007001d5fef1$042b2ed0$0c818c70$@net> Message-ID: <008201d5fefe$13e7bc00$3bb73400$@net> It was essentially Baudot on the way in(some special char diffs) then shifted to numeric on the way out. As I remember the shifted numeric was not any of the existing Baudot variants. Alpha Stock symbols in and numeric stock quotes out. If I remember correctly the first 2 chars selected a head on a magnetic drum and then waited for the last chars match on that head. Every user just had a new card plugged in. Reponses time was not user dependent. 1 user or 1k users. A query just had to wait for rotational latency. 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 doc hawk via use-livecode Sent: Friday, March 20, 2020 4:48 PM To: How to use LiveCode Cc: doc hawk Subject: Re: Guessing the encoding of a test file... [OT] On Mar 20, 2020, at 12:51 PM, Ralph DiMola via use-livecode wrote: > > Just for a laugh... one of the more esoteric codings I used in the quasi modern error (besides EBCDIC) was the 5 bit Quotron stock ticker system in the mid 90s. It used different codes for requesting/receiving quotes because 2^5 is only 32 possible characters. Alpha in/numeric out. They created a *new* five bit, shifted code, rather than just using Baudot???? _______________________________________________ use-livecode mailing list use-livecode at 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 Mar 20 19:04:08 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 20 Mar 2020 16:04:08 -0700 Subject: Guessing the encoding of a test file... [OT] In-Reply-To: References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> <3f1d5276-cb47-2baa-f68f-8d902767d8e9@researchware.com> <22DACAF5-06A9-4093-8998-D51643444DCB@gmail.com> <007001d5fef1$042b2ed0$0c818c70$@net> Message-ID: On 3/20/20 1:47 PM, doc hawk via use-livecode wrote: > They created a *new* five bit, shifted code, rather than just using Baudot???? Even Morse code got a new character recently. -- Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Fri Mar 20 19:13:57 2020 From: dochawk at gmail.com (doc hawk) Date: Fri, 20 Mar 2020 16:13:57 -0700 Subject: Guessing the encoding of a test file... [OT] In-Reply-To: References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> <3f1d5276-cb47-2baa-f68f-8d902767d8e9@researchware.com> <22DACAF5-06A9-4093-8998-D51643444DCB@gmail.com> <007001d5fef1$042b2ed0$0c818c70$@net> Message-ID: On Mar 20, 2020, at 4:04 PM, Mark Wieder via use-livecode wrote: > > Even Morse code got a new character recently. But does livecode support that character? :) From peterwawood at gmail.com Fri Mar 20 20:49:23 2020 From: peterwawood at gmail.com (peterwawood) Date: Sat, 21 Mar 2020 08:49:23 +0800 Subject: Guessing the encoding of a test file... In-Reply-To: <4trneem0q1suh3dbktp6lkim.1584750847851@email.android.com> Message-ID: <5e756492.1c69fb81.9eda3.862b@mx.google.com> PaulI wrote a simple function to guess the encoding of a file but in Rebol not LiveCode. I'm not sure how it compares with your current function in terms of accuracy. It is being used by a company which does a lot of text processing. (Though I don't know if that is a good reccomendation or not). The method I used is explained in the brief documentation -?http://www.rebol.org/documentation.r?script=str-enc-utils.r].?The rules could be used to create a LiveCode function.PeterPS Sorry for top posting, I'm replying from a mobile app. -------- Original message --------From: Paul Dupuis via use-livecode Date: 20/03/2020 23:35 (GMT+08:00) To: use-livecode at lists.runrev.com Cc: Paul Dupuis Subject: Re: Guessing the encoding of a test file... To Sean and Bob,Thank you for your replies. I may not have been clear enough in my original post:We make and sell an App for macOS and Windows. It's uses around the world by researchers (not a lot of them as it is a niche product) on their computers. The research applications allows input of data from text files. The sources of those text files are from various source those researcher have. It would negatively impact our competitiveness in our market if we forced the users to convert their data all to some specific text encoding, so we need to try to "guess" the encoding of those text files.There are many published algorithms for doing this and we have a past contractor of ours take a "best practice" algorithm and create a LCS "guessEncoding function. This replaced a previous guessEncoding function we had that from Richard Gaskin, which while quite good, did not cover as many test cases and the newer more robust one.My main question to the list was: Has anyone out there ALSO written a guessEncoding function they might like to share or license?Why did I ask this? Because I am interested in comparing the accuracy of our current handler to any other that may be available as, users being users, we recently have a user reveal a bug (mis named variable) in our current function that meant it was missing certain edge cases ( and this user has hundreds of text files that need this edge case to be properly recognized as MAcRoman encoding. So that bug has been fixed, but I am still interested in comparing any other giessEncoding routines to our current one to see if we can do better that we current are.To Mark,As always, thank for reading and responding Mark. We're actually doing what you suggest. We had a set of QA test cases (text files in many different line endings and encodings), some intended to fail (such as Windows Code Page's we don't support). We're expanding these and doing a review on macOS and Windows with our app. Ones that fail, that we think shouldn't fail, we will step through the code to see why they fail and if our algorithm can be further enhanced. I can's foresee any algorithm tweaks we can't code ourselves that we'd need LC or USE-LIST assistance for.Back around LiveCode 7, Fraiser said, in response to some correspondence I had with him, that he would consider creating a "guessEncoding" to go along with the Unicode Everywhere work and the new textEncode/textDecode functions. I do understand the reluctance, as a business, to do so, as inevitably there will be some instances where it guesses wrong. Other than LC adding a guessEncoding function using some open source library, I would say the area where LC could be the most help would be with this enhancement https://quality.livecode.com/show_bug.cgi?id=22391I am under the, perhaps false, impression that isoToMac and macToIso are sort of viewed as functions that may become deprecated and no longer updated in the future. However, they are still essential for us until I can textDecode(someData,"MacRoman") on a Windows system and vice versa._______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode From cubist at aol.com Sat Mar 21 04:20:17 2020 From: cubist at aol.com (Quentin Long) Date: Sat, 21 Mar 2020 08:20:17 +0000 (UTC) Subject: Guessing the encoding of a test file... In-Reply-To: References: Message-ID: <1379322934.53721.1584778817196@mail.yahoo.com> I strongly suspect that the desired goal, to have a nice, robust algorithm which automagically identifies the encoding of *ABSOLUTELY ANY* text document with zero need for human involvement, simply isn't possible. Because text encoding is intrinsically arbitrary?see also: the many variations on extended (8-bit) ASCII, the various mutually-incompatible versions of EBCDIC, etc ad nauseam. Seems to me, therefore, that in the general case,?human involvement is an *unavoidable necessity* in determining?which encoding an arbitrary text document uses. So the?goal of any encoding-ID algorithm should *not* be the impossible task of determining that encoding *without* human involvement. Rather, the goal should be?to *minimize* that human involvement, make that human involvement as *simple and painless* as practically feasible. So, here goes with some semi-random rambling???Pretty sure the best, most nearly bulletproof way to ID a document's text-encoding involves applying that encoding to the bits of the document, and showing the resulting character-sequence to a human. If there's more than one possibility for the document's encoding, apply all of the possible encodings, and show a human all of the resulting character-sequences.?I'm thinking that a good way to do this might be to put up N different text fields in a window, with all of the text fields controlled by one scrollbar, and the human clicks on all of the fields whose content looks good to them. Or maybe the human clicks on all the fields whose output looks *bad* to them? Whichever way works; as long as there *is* some human judgement in there somewhere. Can we assume that once a particular document's text-encoding has been identified, that *all* documents which came from the same source as that document use that particular encoding? If so, that might simplify the continuing workflow; tell the software "This document came from Source X", and the software?then uses whichever text-encoding it associates with that source. Even if there's more than one such text-encoding in play, that's at least easier to work with than having to sort thru an arbitrarily large number of text-encodings. Is it possible to tell the software "hey, no character in $ThisSetOfChars will ever appear in this document"? If so, the software should be able to rule out any encoding which ends up putting one of the Forbidden Chars into the decoded character-sequence. Given human error, it may be that the human's input ends up ruling out *any possible* text-encoding. Prolly a good idea to use something akin to fuzzy logic rather than strict Boolean operations. From paul at researchware.com Sat Mar 21 10:09:13 2020 From: paul at researchware.com (Paul Dupuis) Date: Sat, 21 Mar 2020 10:09:13 -0400 Subject: Guessing the encoding of a test file... In-Reply-To: <1379322934.53721.1584778817196@mail.yahoo.com> References: <1379322934.53721.1584778817196@mail.yahoo.com> Message-ID: <0a11ecde-34b8-7ca3-e5e8-67d7ef2d1c56@researchware.com> Nope. The reason I refer to the routine as "guessEncoding" is that I absolutely know that it is a "guess" based on the presence of nulls and other bytes for UTF files and by statistical sampling for various characters for MacRoman vs CP1252. We also offer a optional way for the user to pick the encoding IF THEY KNOW IT (or I suppose they can keep guessing until they get it right), I'll say it again, I was looking to see if ANY one else had implemented a guessEncoding routine and was willing to share of license for comparison to my own in hopes of either concluding mine is the best it can be OR learning something someone else is doing that improves it a little bit. So far the only person who has read my post and replied with what I was looking for was Peter - and although the routine was written in Rebol rather than LiveCode, he kindly provided a link to information about it. On 3/21/2020 4:20 AM, Quentin Long via use-livecode wrote: > I strongly suspect that the desired goal, to have a nice, robust algorithm which automagically identifies the encoding of *ABSOLUTELY ANY* text document with zero need for human involvement, simply isn't possible. Because text encoding is intrinsically arbitrary?see also: the many variations on extended (8-bit) ASCII, the various mutually-incompatible versions of EBCDIC, etc ad nauseam. > Seems to me, therefore, that in the general case,?human involvement is an *unavoidable necessity* in determining?which encoding an arbitrary text document uses. So the?goal of any encoding-ID algorithm should *not* be the impossible task of determining that encoding *without* human involvement. Rather, the goal should be?to *minimize* that human involvement, make that human involvement as *simple and painless* as practically feasible. So, here goes with some semi-random rambling???Pretty sure the best, most nearly bulletproof way to ID a document's text-encoding involves applying that encoding to the bits of the document, and showing the resulting character-sequence to a human. If there's more than one possibility for the document's encoding, apply all of the possible encodings, and show a human all of the resulting character-sequences.?I'm thinking that a good way to do this might be to put up N different text fields in a window, with all of the text fields controlled by one scrollbar, and the human clicks on all of the fields whose content looks good to them. Or maybe the human clicks on all the fields whose output looks *bad* to them? Whichever way works; as long as there *is* some human judgement in there somewhere. > Can we assume that once a particular document's text-encoding has been identified, that *all* documents which came from the same source as that document use that particular encoding? If so, that might simplify the continuing workflow; tell the software "This document came from Source X", and the software?then uses whichever text-encoding it associates with that source. Even if there's more than one such text-encoding in play, that's at least easier to work with than having to sort thru an arbitrarily large number of text-encodings. > Is it possible to tell the software "hey, no character in $ThisSetOfChars will ever appear in this document"? If so, the software should be able to rule out any encoding which ends up putting one of the Forbidden Chars into the decoded character-sequence. > > Given human error, it may be that the human's input ends up ruling out *any possible* text-encoding. Prolly a good idea to use something akin to fuzzy logic rather than strict Boolean operations. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sat Mar 21 10:10:54 2020 From: paul at researchware.com (Paul Dupuis) Date: Sat, 21 Mar 2020 10:10:54 -0400 Subject: Guessing the encoding of a test file... In-Reply-To: <5e756492.1c69fb81.9eda3.862b@mx.google.com> References: <5e756492.1c69fb81.9eda3.862b@mx.google.com> Message-ID: On 3/20/2020 8:49 PM, peterwawood via use-livecode wrote: > PaulI wrote a simple function to guess the encoding of a file but in Rebol not LiveCode. I'm not sure how it compares with your current function in terms of accuracy. It is being used by a company which does a lot of text processing. (Though I don't know if that is a good reccomendation or not). The method I used is explained in the brief documentation -http://www.rebol.org/documentation.r?script=str-enc-utils.r].?The rules could be used to create a LiveCode function.PeterPS Sorry for top posting, I'm replying from a mobile app. Peter, Thank you. While I would have loved to see this as a LC script for comparison to my own routine, this is the sort of replies I was looking for. Other routines I could compare mine to for seeking possible improvements in my own code. From colinholgate at gmail.com Sat Mar 21 17:31:21 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 21 Mar 2020 15:31:21 -0600 Subject: Getting HTML5 going Message-ID: <73B4E901-0FF3-4FCD-AAB8-6F6B45FF9659@gmail.com> I?m trying to get a stack going in HTML5, and there is a 404 error about a file named stdio.html. Is that a file I?m supposed to get from somewhere else? From peterwawood at gmail.com Sat Mar 21 19:02:27 2020 From: peterwawood at gmail.com (peterwawood) Date: Sun, 22 Mar 2020 07:02:27 +0800 Subject: Guessing the encoding of a test file... In-Reply-To: <8t7up9l8lpkvoraarlfm5anp.1584831104200@email.android.com> Message-ID: <5e769d05.1c69fb81.6d357.a7c1@mx.google.com> PaulIf it would help, I could make a very crude Rebol command line script to read a file, guess the encoding and print the encoding. It would give a crude way to compare the results against your current routine.Rebol is easy to download and doesn't require installation but is 32-bit only so the macOS version? won't run on macOS Catalina.PeterPS Once again sorry for the top posting. -------- Original message --------From: Paul Dupuis via use-livecode Date: 21/03/2020 22:11 (GMT+08:00) To: use-livecode at lists.runrev.com Cc: Paul Dupuis Subject: Re: Guessing the encoding of a test file... On 3/20/2020 8:49 PM, peterwawood via use-livecode wrote:> PaulI wrote a simple function to guess the encoding of a file but in Rebol not LiveCode. I'm not sure how it compares with your current function in terms of accuracy. It is being used by a company which does a lot of text processing. (Though I don't know if that is a good reccomendation or not). The method I used is explained in the brief documentation -http://www.rebol.org/documentation.r?script=str-enc-utils.r].?The rules could be used to create a LiveCode function.PeterPS Sorry for top posting, I'm replying from a mobile app.Peter,Thank you. While I would have loved to see this as a LC script for comparison to my own routine, this is the sort of replies I was looking for. Other routines I could compare mine to for seeking possible improvements in my own code._______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease 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 Sat Mar 21 19:12:41 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Sat, 21 Mar 2020 23:12:41 +0000 Subject: Getting HTML5 going In-Reply-To: <73B4E901-0FF3-4FCD-AAB8-6F6B45FF9659@gmail.com> References: <73B4E901-0FF3-4FCD-AAB8-6F6B45FF9659@gmail.com> Message-ID: <4E555AE5-439E-493B-B75D-2F93FBAE828C@pidigital.co.uk> Hi Colin What is it that is requesting stdio.html. In your HTML is there any reference to it? I?m using HTML5 deployment daily but have not come across this. Sean Cole Pi Digital > On 21 Mar 2020, at 21:31, Colin Holgate via use-livecode wrote: > > ?I?m trying to get a stack going in HTML5, and there is a 404 error about a file named stdio.html. Is that a file I?m supposed to get from somewhere else? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Mar 21 19:30:10 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 21 Mar 2020 17:30:10 -0600 Subject: Getting HTML5 going In-Reply-To: <4E555AE5-439E-493B-B75D-2F93FBAE828C@pidigital.co.uk> References: <73B4E901-0FF3-4FCD-AAB8-6F6B45FF9659@gmail.com> <4E555AE5-439E-493B-B75D-2F93FBAE828C@pidigital.co.uk> Message-ID: <3F46F05A-2184-4EB2-A033-C2D3C880160D@gmail.com> I have only used the standalone publishing, I?m not doing anything custom. Line 48 of standalone-community-9.5.1.js is what is talking to the stdio.html file. That part of the code says this: http.open("POST",?stdio.html" From mark at livecode.com Sun Mar 22 08:41:33 2020 From: mark at livecode.com (Mark Waddingham) Date: Sun, 22 Mar 2020 12:41:33 +0000 Subject: Guessing the encoding of a test file... In-Reply-To: <0a11ecde-34b8-7ca3-e5e8-67d7ef2d1c56@researchware.com> References: <1379322934.53721.1584778817196@mail.yahoo.com> <0a11ecde-34b8-7ca3-e5e8-67d7ef2d1c56@researchware.com> Message-ID: <39764a5375ea53a276ad8ba5eb20d670@livecode.com> On 2020-03-21 14:09, Paul Dupuis via use-livecode wrote: > So far the only person who has read my post and replied with what I > was looking for was Peter - and although the routine was written in > Rebol rather than LiveCode, he kindly provided a link to information > about it. It might have got lost in amongst other replies but I did suggest: It even comes with a command-line script (chardetect) which would allow to compare your detector with that one. However, on further digging it appears that this does not (as it stands) detect MacRoman which is obviously a key requirement here. There is a stale PR for that though so the method used here is obviously possible to extend to that. From what I have read the Python one is a python reimplementation of Mozilla's 'Universal Charset Detector' which, from what I have read, is/was pretty much state of the art - reading through the chardet docs (https://chardet.readthedocs.io/en/latest/how-it-works.html#single-byte-encodings is perhaps the most pertinent) it sounds like its single-byte detectors use 2-byte sequences to try and distinguish. There is a special case for Latin-1 (1252) which is needed because English text looks the same in a large number of encodings - this works by looking for curly quotes and other special symbols by the look of it. (The MacRoman addition in the stale PR above, is also a Latin-1 like special-case - which makes sense as Latin-1 and MacRoman are almost just permutations of each other). My general feeling is that if you already have a process which works to detect the differences between MacRoman and Latin-1, then it is likely largely equivalent to any other means which exists (the accepted answer here sounds like it pretty much sums up the situation!) so beyond fixing the bug(s) you found recently, you might find that there is nothing more you can do. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From brahma at hindu.org Sun Mar 22 09:52:25 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 22 Mar 2020 13:52:25 +0000 Subject: [ANN] Release 9.6.0 DP-3 In-Reply-To: References: Message-ID: FWIW Xcode 11.3 not easily available on Apple site, I tried with Xcode 11.3.1. Everything ?appears? fine, at least for now?. BR iOS Support - Building with Xcode 11.3 using the iOS 13.2 SDK is now supported From brahma at hindu.org Sun Mar 22 10:15:05 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 22 Mar 2020 14:15:05 +0000 Subject: Runtime Error on. JavaScript Handler in Browser Message-ID: With Catalina I have RemoteDebugging Working? even better I have AAGNetworkTracer and AAGNetworkTracerDashboard working? awesome tools made by Andre! Can be used with Community License, worth every penny I enabled for mobile testing. On iOS, when I open the Lexicon (a local html5 ?stack? that we run in a browser widget) Whenever I hit a button on the HTML 5, layout, which triggers a JS handler in LC I get a message on desktop in AAGNetworkTracerDashboard {"type": "error","time": "3/22/20 3:55:41 AM","content": "863,0,0,runtime","line": "0"} Strange thing, the JS handlers are called and function correctly in iOS every though I get the msg, there is no crash. But on Android, I get no crash, but the JS handlers in LC are not called. For the user, the buttons appear non-responsive. They should go to an local SQLLite DB and return data that is fed into the browser widget. It stills happens on iOS but not on Android. {"type": "error","time": "3/22/20 3:55:41 AM","content": "863,0,0,runtime","line": "0"} How can I look up the error. It appear to be regression in the widget in the latest for of LC (dp 2 and 3? the same) BR From mark at livecode.com Sun Mar 22 10:53:07 2020 From: mark at livecode.com (Mark Waddingham) Date: Sun, 22 Mar 2020 14:53:07 +0000 Subject: [ANN] Release 9.6.0 DP-3 In-Reply-To: References: Message-ID: <9CD804C6-D469-40B1-9671-8A360D3944FC@livecode.com> Oops sorry - that?s my fault - it should have said Xcode 11.3.x Mark. Sent from my iPhone > On 22 Mar 2020, at 13:53, Sannyasin Brahmanathaswami via use-livecode wrote: > > ?FWIW > > Xcode 11.3 not easily available on Apple site, > > I tried with Xcode 11.3.1. > > Everything ?appears? fine, at least for now?. > > > BR > > iOS Support > - Building with Xcode 11.3 using the iOS 13.2 SDK is now supported > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sun Mar 22 11:15:42 2020 From: paul at researchware.com (Paul Dupuis) Date: Sun, 22 Mar 2020 11:15:42 -0400 Subject: Guessing the encoding of a test file... In-Reply-To: <39764a5375ea53a276ad8ba5eb20d670@livecode.com> References: <1379322934.53721.1584778817196@mail.yahoo.com> <0a11ecde-34b8-7ca3-e5e8-67d7ef2d1c56@researchware.com> <39764a5375ea53a276ad8ba5eb20d670@livecode.com> Message-ID: On 3/22/2020 8:41 AM, Mark Waddingham via use-livecode wrote: > On 2020-03-21 14:09, Paul Dupuis via use-livecode wrote: >> So far the only person who has read my post and replied with what I >> was looking for was Peter - and although the routine was written in >> Rebol rather than LiveCode, he kindly provided a link to information >> about it. > > It might have got lost in amongst other replies but I did suggest: > > Thank Mark. I apologize. I did miss the reference to Chardet. At one point we looked at wrapping a C++ interface to the Mozilla code, but we don't have anyone here who has had the time to learn LCB and FFI, I know! We should make the time! > > It even comes with a command-line script (chardetect) which would > allow to compare your detector with that one. > > However, on further digging it appears that this does not (as it > stands) detect MacRoman which is obviously a key requirement here. MacRoman detection is a essential requirement. One of our selling points, since many Universities these days have people on mixed platforms, is that our tool is nearly identical across macOS and Windows to facility researcher collaborations, so we do have people sending files created on their Macs to Windows team members and vice versa, so we have to detect MacRoman and CP1252 on both platforms. > > There is a stale PR for that though > so the method used here is > obviously possible to extend to that. > > From what I have read the Python one is a python reimplementation of > Mozilla's 'Universal Charset Detector' which, from what I have read, > is/was pretty much state of the art - reading through the chardet docs > (https://chardet.readthedocs.io/en/latest/how-it-works.html#single-byte-encodings > is perhaps the most pertinent) it sounds like its single-byte > detectors use 2-byte sequences to try and distinguish. > > There is a special case for Latin-1 (1252) which is needed because > English text looks the same in a large number of encodings - this > works by looking for curly quotes and other special symbols by the > look of it. (The MacRoman addition in the stale PR above, is also a > Latin-1 like special-case - which makes sense as Latin-1 and MacRoman > are almost just permutations of each other). > > My general feeling is that if you already have a process which works > to detect the differences between MacRoman and Latin-1, then it is > likely largely equivalent to any other means which exists (the > accepted answer here > > sounds like it pretty much sums up the situation!) so beyond fixing > the bug(s) you found recently, you might find that there is nothing > more you can do. And we arrive at the same place! Our review of our code, which failed to handle a particular MacRoman detection, and comparing to other encoding guessing algorithms, turned up a couple issues - all fixable in our code, and only one was a encoding guessing issue. In our guessEncoding routine, there was a misspelled variable that was preventing the detection of MacRoman from line ending comparisons from working properly. I'm not sure how this got past our QA, but - as you know - sometimes things do and it did. With that fixed, we getting accurate detection of C1252, MacRoman, ASCII, UTF8, UTF16 BE/LE, and UTF32 BE/LE on our suite of about 30 different test files. We also ran into an edge case of Mac cr (ASCII 13) line ending in UTF8 or UTF16 file needed an adjustment to convert the line ending to linefeeds. So at this point our code is detecting the encoding for and reading text files into LC with a pretty high rate of accuracy. For anyone else needed such code, I will try to pulling into a single library and somehow make it available. All I will ask is that if anyone does us it and improved upon it to share the improvement back. From sean at pidigital.co.uk Sun Mar 22 19:59:00 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Sun, 22 Mar 2020 23:59:00 +0000 Subject: Getting HTML5 going In-Reply-To: <3F46F05A-2184-4EB2-A033-C2D3C880160D@gmail.com> References: <3F46F05A-2184-4EB2-A033-C2D3C880160D@gmail.com> Message-ID: Hi Colin I?ve done a bit of digging and stdio is an api for file IO used in emscripten. It?s also used for accessing external site pages. Additionally, LC uses it to write to the log message box on your main page. So, I?m curious about the method you go through to get to this point of error. Here are a series of questions that should get to the bottom of it. What platform are you running on? What platforms are you building for as set in the standalone settings? What browser are you running the HTML5 deployment in? How have you setup your localhost server? Finally What is your recipe for failure from the point you load your stack in to LC to when you get the 404 message, step by step? Sean Cole Pi Digital > On 21 Mar 2020, at 23:30, Colin Holgate via use-livecode wrote: > > ?I have only used the standalone publishing, I?m not doing anything custom. Line 48 of standalone-community-9.5.1.js is what is talking to the stdio.html file. That part of the code says this: > > http.open("POST",?stdio.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 sean at pidigital.co.uk Sun Mar 22 21:10:11 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 23 Mar 2020 01:10:11 +0000 Subject: [ANN] Release 9.6.0 DP-3 In-Reply-To: <9CD804C6-D469-40B1-9671-8A360D3944FC@livecode.com> References: <9CD804C6-D469-40B1-9671-8A360D3944FC@livecode.com> Message-ID: <455B9F15-8925-4AD0-8E1D-352490EAB4AF@pidigital.co.uk> I?ve upgraded to macOS10.15.3 and Xcode 11.3.1 and all is well so far. Other than all the other bugs not yet addressed of course. Sean Cole Pi Digital > On 22 Mar 2020, at 14:53, Mark Waddingham via use-livecode wrote: > > ?Oops sorry - that?s my fault - it should have said Xcode 11.3.x > > Mark. > > Sent from my iPhone > >> On 22 Mar 2020, at 13:53, Sannyasin Brahmanathaswami via use-livecode wrote: >> >> ?FWIW >> >> Xcode 11.3 not easily available on Apple site, >> >> I tried with Xcode 11.3.1. >> >> Everything ?appears? fine, at least for now?. >> >> >> BR >> >> iOS Support >> - Building with Xcode 11.3 using the iOS 13.2 SDK is now supported >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Mar 22 21:26:59 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 22 Mar 2020 19:26:59 -0600 Subject: Getting HTML5 going In-Reply-To: References: <3F46F05A-2184-4EB2-A033-C2D3C880160D@gmail.com> Message-ID: <1DB5C0C9-F420-4D35-89B0-987DF7337B8F@gmail.com> Mac, only building for HTML5, tried different browsers, but mainly Safari, local server set up with: php -S localhost:8080 The graphics of the stack appear, but is covered by a gray box, that may or may not be something in the stack. I can tell from a field that shows the current date that even that isn?t running. I see errors both in Terminal or by viewing the browser developer console. The errors are there immediately, before I have attempted any interaction. > On Mar 22, 2020, at 5:59 PM, Pi Digital via use-livecode wrote: > > Hi Colin > > I?ve done a bit of digging and stdio is an api for file IO used in emscripten. It?s also used for accessing external site pages. Additionally, LC uses it to write to the log message box on your main page. > > So, I?m curious about the method you go through to get to this point of error. Here are a series of questions that should get to the bottom of it. > > What platform are you running on? > What platforms are you building for as set in the standalone settings? > What browser are you running the HTML5 deployment in? > How have you setup your localhost server? > > Finally > What is your recipe for failure from the point you load your stack in to LC to when you get the 404 message, step by step? > > Sean Cole > Pi Digital > > >> On 21 Mar 2020, at 23:30, Colin Holgate via use-livecode wrote: >> >> ?I have only used the standalone publishing, I?m not doing anything custom. Line 48 of standalone-community-9.5.1.js is what is talking to the stdio.html file. That part of the code says this: >> >> http.open("POST",?stdio.html" >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Mon Mar 23 07:03:28 2020 From: charles at techstrategies.com.au (Charles Warwick) Date: Mon, 23 Mar 2020 22:03:28 +1100 Subject: IMAP Search skipping results In-Reply-To: <6D64299F-C654-4D54-98EC-EAE29634901A@pidigital.co.uk> References: <858738F9-120F-44F7-9A2C-7CD1779DA832@iotecdigital.com> <6D64299F-C654-4D54-98EC-EAE29634901A@pidigital.co.uk> Message-ID: Hi Sean, For your particular issue, does using ?SEARCH UNSEEN? instead of ?UID SEARCH NOT SEEN? provide the results you are looking for? Regards, Charles > On 21 Mar 2020, at 3:10 am, Pi Digital via use-livecode wrote: > > Thanks Bob > > Yeah, I actually already have something like that. I?d abbreviated my code to keep it simple on the forum. I?m not having trouble connecting. It?s just the shortage of data returned from the server. It?s actually skipping a whole chunk in the middle which is the weirdest part. > > There is this bug which is yet to be followed up on. > > https://quality.livecode.com/show_bug.cgi?id=22216 > > So I look forward to that in a couple of years maybe. > > In the meantime I?m hoping I find a solution to this or else it?s yet another reason for clients to disappear saying ?you can?t even do so and so?. It gets so tedious having all the workarounds on workarounds. > > Sean Cole > Pi Digital > >> On 20 Mar 2020, at 15:10, Bob Sneidar via use-livecode wrote: >> >> ?This version wraps ALL the tsNet calls in a try catch construct: >> >> function IMAPGetHeaders pServer, pUser, pPass >> if pServer is empty then >> ask "Enter IMAP Server IP or address:" as sheet >> if the result is "Cancel" then return "Canceled." >> put it into pServer >> end if >> >> if pUser is empty then >> ask "Enter email address:" as sheet >> if the result is "Cancel" then return "Canceled." >> put it into pUser >> end if >> >> if pPass is empty then >> ask password "Enter password:" as sheet >> if the result is "Cancel" then return "Canceled." >> put it into pPass >> end if >> >> put pUser into tSettings["username"] >> put pPass into tSettings["password"] >> put empty into xHeaders >> >> try >> tsnetinit >> put tsNetCustomSync(pServer, \ >> "SELECT INBOX",xHeaders,retHeaders,retResult, \ >> retBytes,tSettings) into tStat >> put tsNetCustomSync(pServer, \ >> "UID SEARCH NOT SEEN",xHeaders,retHeaders, \ >> retResult,retBytes,tSettings) into tStat >> catch tError >> answer error "ERROR: " & tError as sheet >> breakpoint >> end try >> >> put word 3 to -1 of tStat into tUIDs >> put the number of words in tUIDs into sMsgCount >> return retHeaders &cr& tStat &cr& sMsgCount >> end IMAPGetHeaders >> >>> On Mar 20, 2020, at 08:06 , Bob Sneidar via use-livecode wrote: >>> >>> This may be of more use. No functional changes, just something you can use to test against different IMAP servers: >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Mar 23 07:39:20 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 23 Mar 2020 11:39:20 +0000 Subject: IMAP Search skipping results Message-ID: No, same thing unfortunately. Even ALL has the issue. According to an old bug report that has sat for an age untouched it is a known issue in the ood curl lib they are using. At the rate they are currently dealing with bugs for fundamental operations we might see a fix in about a year or two (or four). [dig] Sean > On 23 Mar 2020, at 11:03, Charles Warwick via use-livecode wrote: > From mark at livecode.com Mon Mar 23 08:11:57 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 23 Mar 2020 12:11:57 +0000 Subject: IMAP Search skipping results In-Reply-To: References: Message-ID: <84569fc4c7cd8d9554ec3699d9fa83ad@livecode.com> On 2020-03-23 11:39, Pi Digital via use-livecode wrote: > No, same thing unfortunately. Even ALL has the issue. According to an > old bug report that has sat for an age untouched it is a known issue > in the ood curl lib they are using. At the rate they are currently > dealing with bugs for fundamental operations we might see a fix in > about a year or two (or four). [dig] In this case the bug is in CURL - it is 'known bug #90': There's a few threads around about it - this is the most recent I could find: https://curl.haxx.se/mail/archive-2019-07/0029.html The only real suggestion (although it is vague) there is using some for of pagination (as the UIDs should be eternal, rather than related to the position in the mailbox requested). I couldn't find any explicit bug in their bug tracker which is still open for this, but its still listed as a known issue so it sounds like there has been no change in it unforunately :( Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From sean at pidigital.co.uk Mon Mar 23 11:21:19 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 23 Mar 2020 15:21:19 +0000 Subject: IMAP Search skipping results In-Reply-To: <84569fc4c7cd8d9554ec3699d9fa83ad@livecode.com> References: <84569fc4c7cd8d9554ec3699d9fa83ad@livecode.com> Message-ID: Thanks Mark, your input here is appreciated. This reply in that forum wasn?t helpful, was it > > > Known bug #90 was reported in 2014. However it still occurs in 2019. Does > > anybody know how to overcome this situation? > > Yes: by fixing the code! > In the thread it talks of pagination (as do you) but doesn?t give an example of how to do it. How would we implement this in LC? If it is not giving us the correct count how do we know how many pages we will have to allow for and so on. Regards Sean Cole Pi Digital > On 23 Mar 2020, at 12:11, Mark Waddingham via use-livecode wrote: > > ?On 2020-03-23 11:39, Pi Digital via use-livecode wrote: >> No, same thing unfortunately. Even ALL has the issue. According to an >> old bug report that has sat for an age untouched it is a known issue >> in the ood curl lib they are using. At the rate they are currently >> dealing with bugs for fundamental operations we might see a fix in >> about a year or two (or four). [dig] > > In this case the bug is in CURL - it is 'known bug #90': > > > > There's a few threads around about it - this is the most recent I could find: > > https://curl.haxx.se/mail/archive-2019-07/0029.html > > The only real suggestion (although it is vague) there is using some for of pagination (as the UIDs should be eternal, rather than related to the position in the mailbox requested). > > I couldn't find any explicit bug in their bug tracker which is still open for this, but its still listed as a known issue so it sounds like there has been no change in it unforunately :( > > 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 sean at pidigital.co.uk Mon Mar 23 11:32:11 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 23 Mar 2020 15:32:11 +0000 Subject: Runtime Error on. JavaScript Handler in Browser In-Reply-To: References: Message-ID: Hi For these sort of errors in my code, while testing, I have them set in try...end try catchers and catch the error message. This gets output to a log which helps me see the message path taken to the error so I can pinpoint where the message was interrupted. This is especially useful for do ... as JavaScript runtime errors. Does the 836 in your error message help at all or is that only in reference to your js handler in the html? All the best Sean Cole Pi Digital > On 22 Mar 2020, at 14:15, Sannyasin Brahmanathaswami via use-livecode wrote: > > ?With Catalina I have RemoteDebugging Working? > > even better I have AAGNetworkTracer and AAGNetworkTracerDashboard working? > > awesome tools made by Andre! Can be used with Community License, worth every penny > > I enabled for mobile testing. > > On iOS, when I open the Lexicon (a local html5 ?stack? that we run in a browser widget) > > Whenever I hit a button on the HTML 5, layout, which triggers a JS handler in LC > > I get a message on desktop in > > AAGNetworkTracerDashboard > > {"type": "error","time": "3/22/20 3:55:41 AM","content": "863,0,0,runtime","line": "0"} > > Strange thing, the JS handlers are called and function correctly in iOS every though I get the msg, there is no crash. > > But on Android, I get no crash, but the JS handlers in LC are not called. For the user, the buttons appear non-responsive. They should go to an local SQLLite DB and return data that is fed into the browser widget. It stills happens on iOS but not on Android. > > {"type": "error","time": "3/22/20 3:55:41 AM","content": "863,0,0,runtime","line": "0"} > > How can I look up the error. It appear to be regression in the widget in the latest for of LC (dp 2 and 3? the same) > > BR > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Mon Mar 23 11:47:15 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 23 Mar 2020 09:47:15 -0600 Subject: Getting HTML5 going In-Reply-To: References: <3F46F05A-2184-4EB2-A033-C2D3C880160D@gmail.com> Message-ID: <66604A6F-0BB8-491B-AD8B-9A12E0149D37@gmail.com> stdio.h is file I/O, and I have copies of that in Unity. The missing file is stdio.html, not sure what that is, but maybe a JavaScript variation of the C header file. I have Indy installed now, and am trying to retrieve my license to give that a go. > On Mar 22, 2020, at 5:59 PM, Pi Digital via use-livecode wrote: > > Hi Colin > > I?ve done a bit of digging and stdio is an api for file IO used in emscripten. It?s also used for accessing external site pages. Additionally, LC uses it to write to the log message box on your main page. > > So, I?m curious about the method you go through to get to this point of error. Here are a series of questions that should get to the bottom of it. > > What platform are you running on? > What platforms are you building for as set in the standalone settings? > What browser are you running the HTML5 deployment in? > How have you setup your localhost server? > > Finally > What is your recipe for failure from the point you load your stack in to LC to when you get the 404 message, step by step? > > Sean Cole > Pi Digital > > >> On 21 Mar 2020, at 23:30, Colin Holgate via use-livecode wrote: >> >> ?I have only used the standalone publishing, I?m not doing anything custom. Line 48 of standalone-community-9.5.1.js is what is talking to the stdio.html file. That part of the code says this: >> >> http.open("POST",?stdio.html" >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Mon Mar 23 11:53:41 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 23 Mar 2020 15:53:41 +0000 Subject: Getting HTML5 going In-Reply-To: <66604A6F-0BB8-491B-AD8B-9A12E0149D37@gmail.com> References: <66604A6F-0BB8-491B-AD8B-9A12E0149D37@gmail.com> Message-ID: <4B85D6B3-C803-4543-AF03-32BAE3D62F06@pidigital.co.uk> You shouldn?t need the stdio.html file at all. It is a placeholder effectively for some other command you are referencing. Again, both using community and Indy and html5deployment versions I have no issue with 404 errors like this. So it?s likely something in your setup. So a step-by-step guide of your process will help us pin it down for you Sean Cole Pi Digital > On 23 Mar 2020, at 15:48, Colin Holgate via use-livecode wrote: > > ?stdio.h is file I/O, and I have copies of that in Unity. The missing file is stdio.html, not sure what that is, but maybe a JavaScript variation of the C header file. > > I have Indy installed now, and am trying to retrieve my license to give that a go. > >> On Mar 22, 2020, at 5:59 PM, Pi Digital via use-livecode wrote: >> >> Hi Colin >> >> I?ve done a bit of digging and stdio is an api for file IO used in emscripten. It?s also used for accessing external site pages. Additionally, LC uses it to write to the log message box on your main page. >> >> So, I?m curious about the method you go through to get to this point of error. Here are a series of questions that should get to the bottom of it. >> >> What platform are you running on? >> What platforms are you building for as set in the standalone settings? >> What browser are you running the HTML5 deployment in? >> How have you setup your localhost server? >> >> Finally >> What is your recipe for failure from the point you load your stack in to LC to when you get the 404 message, step by step? >> >> Sean Cole >> Pi Digital >> >> >>>> On 21 Mar 2020, at 23:30, Colin Holgate via use-livecode wrote: >>> >>> ?I have only used the standalone publishing, I?m not doing anything custom. Line 48 of standalone-community-9.5.1.js is what is talking to the stdio.html file. That part of the code says this: >>> >>> http.open("POST",?stdio.html" >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Mon Mar 23 12:16:54 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 23 Mar 2020 10:16:54 -0600 Subject: Getting HTML5 going In-Reply-To: <4B85D6B3-C803-4543-AF03-32BAE3D62F06@pidigital.co.uk> References: <66604A6F-0BB8-491B-AD8B-9A12E0149D37@gmail.com> <4B85D6B3-C803-4543-AF03-32BAE3D62F06@pidigital.co.uk> Message-ID: <4FF71618-49D2-4E6F-B39A-65486ABE8063@gmail.com> I deselect everything in standalone application settings except for HTML5. I choose Save as Standalone Application, and when it is done I copy the files into a folder inside my home / Sites folder. I do rename the html to index.html because another approach I was trying required there to be an index.html file. I tested without renaming the file, same symptoms. I start the localhost server with php -S localhost:8080, and then use Chrome to look at http://localhost:8080/Sites/MyAppName/MyAppName.html . The stack loads and I see card 1. Graphics are there but buttons are missing icons, which is understandable. The stack would normally go on to another card, but it stays on card 1, not responding. These are the lines that appear in Terminal: [Mon Mar 23 10:02:44 2020] [::1]:58416 [404]: / - No such file or directory [Mon Mar 23 10:02:44 2020] [::1]:58417 [404]: /favicon.ico - No such file or directory [Mon Mar 23 10:03:09 2020] [::1]:58451 [200]: /Sites/MyAppName/MyAppName.html [Mon Mar 23 10:03:09 2020] [::1]:58452 [200]: /Sites/MyAppName/standalone-community-9.5.1.html.mem [Mon Mar 23 10:03:09 2020] [::1]:58453 [200]: /Sites/MyAppName/standalone-community-9.5.1.js [Mon Mar 23 10:03:12 2020] [::1]:58454 [404]: /Sites/MyAppName/stdio.html - No such file or directory [Mon Mar 23 10:03:12 2020] [::1]:58455 [200]: /Sites/MyAppName/standalone.zip [Mon Mar 23 10:03:12 2020] [::1]:58456 [404]: /Sites/MyAppName/stdio.html - No such file or directory [Mon Mar 23 10:03:15 2020] [::1]:58457 [404]: /Sites/MyAppName/stdio.html - No such file or directory I tried a test build to Mac 64 bit, and that works fine. Next I will try the simplest possible stack, and see if that shows any errors. > On Mar 23, 2020, at 9:53 AM, Pi Digital via use-livecode wrote: > > You shouldn?t need the stdio.html file at all. It is a placeholder effectively for some other command you are referencing. > > Again, both using community and Indy and html5deployment versions I have no issue with 404 errors like this. So it?s likely something in your setup. So a step-by-step guide of your process will help us pin it down for you > > Sean Cole > Pi Digital > > >> On 23 Mar 2020, at 15:48, Colin Holgate via use-livecode wrote: >> >> ?stdio.h is file I/O, and I have copies of that in Unity. The missing file is stdio.html, not sure what that is, but maybe a JavaScript variation of the C header file. >> >> I have Indy installed now, and am trying to retrieve my license to give that a go. >> >>> On Mar 22, 2020, at 5:59 PM, Pi Digital via use-livecode wrote: >>> >>> Hi Colin >>> >>> I?ve done a bit of digging and stdio is an api for file IO used in emscripten. It?s also used for accessing external site pages. Additionally, LC uses it to write to the log message box on your main page. >>> >>> So, I?m curious about the method you go through to get to this point of error. Here are a series of questions that should get to the bottom of it. >>> >>> What platform are you running on? >>> What platforms are you building for as set in the standalone settings? >>> What browser are you running the HTML5 deployment in? >>> How have you setup your localhost server? >>> >>> Finally >>> What is your recipe for failure from the point you load your stack in to LC to when you get the 404 message, step by step? >>> >>> Sean Cole >>> Pi Digital >>> >>> >>>>> On 21 Mar 2020, at 23:30, Colin Holgate via use-livecode wrote: >>>> >>>> ?I have only used the standalone publishing, I?m not doing anything custom. Line 48 of standalone-community-9.5.1.js is what is talking to the stdio.html file. That part of the code says this: >>>> >>>> http.open("POST",?stdio.html" >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Mon Mar 23 12:17:39 2020 From: brian at milby7.com (Brian Milby) Date: Mon, 23 Mar 2020 12:17:39 -0400 Subject: IMAP Search skipping results In-Reply-To: References: <84569fc4c7cd8d9554ec3699d9fa83ad@livecode.com> Message-ID: <08efe911-1025-4bd4-8a81-c39427792cd9@Spark> Does ?STATUS INBOX (UNSEEN)? give the proper count reliably? ?(Would actually need to use MESSAGES though to page through the whole inbox, but you could stop paging once all we?re found.) If so, ranges are just specified with a : so you could use the sequence numbers to get the UIDs (1:100 then 101:200 ...) a piece at a time as the first argument to the search. Thanks, Brian On Mar 23, 2020, 11:22 AM -0400, Pi Digital via use-livecode , wrote: > Thanks Mark, your input here is appreciated. > > This reply in that forum wasn?t helpful, was it > > > > > Known bug #90 was reported in 2014. However it still occurs in 2019. Does > > > anybody know how to overcome this situation? > > > > Yes: by fixing the code! > > > In the thread it talks of pagination (as do you) but doesn?t give an example of how to do it. How would we implement this in LC? If it is not giving us the correct count how do we know how many pages we will have to allow for and so on. > > Regards > > Sean Cole > Pi Digital > > > > On 23 Mar 2020, at 12:11, Mark Waddingham via use-livecode wrote: > > > > On 2020-03-23 11:39, Pi Digital via use-livecode wrote: > > > No, same thing unfortunately. Even ALL has the issue. According to an > > > old bug report that has sat for an age untouched it is a known issue > > > in the ood curl lib they are using. At the rate they are currently > > > dealing with bugs for fundamental operations we might see a fix in > > > about a year or two (or four). [dig] > > > > In this case the bug is in CURL - it is 'known bug #90': > > > > > > > > There's a few threads around about it - this is the most recent I could find: > > > > https://curl.haxx.se/mail/archive-2019-07/0029.html > > > > The only real suggestion (although it is vague) there is using some for of pagination (as the UIDs should be eternal, rather than related to the position in the mailbox requested). > > > > I couldn't find any explicit bug in their bug tracker which is still open for this, but its still listed as a known issue so it sounds like there has been no change in it unforunately :( > > > > 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 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 23 12:22:30 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 23 Mar 2020 10:22:30 -0600 Subject: Getting HTML5 going In-Reply-To: <4B85D6B3-C803-4543-AF03-32BAE3D62F06@pidigital.co.uk> References: <66604A6F-0BB8-491B-AD8B-9A12E0149D37@gmail.com> <4B85D6B3-C803-4543-AF03-32BAE3D62F06@pidigital.co.uk> Message-ID: <4F5845DC-6BBA-4711-97AD-057C5FCD88EA@gmail.com> The simple test worked, but the missing file errors still showed up. I will try some old fashioned answer ?hello? lines in the stack scripts, to see how far the real stack is getting. > On Mar 23, 2020, at 9:53 AM, Pi Digital via use-livecode wrote: > > You shouldn?t need the stdio.html file at all. It is a placeholder effectively for some other command you are referencing. > > Again, both using community and Indy and html5deployment versions I have no issue with 404 errors like this. So it?s likely something in your setup. So a step-by-step guide of your process will help us pin it down for you > > Sean Cole > Pi Digital > > >> On 23 Mar 2020, at 15:48, Colin Holgate via use-livecode wrote: >> >> ?stdio.h is file I/O, and I have copies of that in Unity. The missing file is stdio.html, not sure what that is, but maybe a JavaScript variation of the C header file. >> >> I have Indy installed now, and am trying to retrieve my license to give that a go. >> >>> On Mar 22, 2020, at 5:59 PM, Pi Digital via use-livecode wrote: >>> >>> Hi Colin >>> >>> I?ve done a bit of digging and stdio is an api for file IO used in emscripten. It?s also used for accessing external site pages. Additionally, LC uses it to write to the log message box on your main page. >>> >>> So, I?m curious about the method you go through to get to this point of error. Here are a series of questions that should get to the bottom of it. >>> >>> What platform are you running on? >>> What platforms are you building for as set in the standalone settings? >>> What browser are you running the HTML5 deployment in? >>> How have you setup your localhost server? >>> >>> Finally >>> What is your recipe for failure from the point you load your stack in to LC to when you get the 404 message, step by step? >>> >>> Sean Cole >>> Pi Digital >>> >>> >>>>> On 21 Mar 2020, at 23:30, Colin Holgate via use-livecode wrote: >>>> >>>> ?I have only used the standalone publishing, I?m not doing anything custom. Line 48 of standalone-community-9.5.1.js is what is talking to the stdio.html file. That part of the code says this: >>>> >>>> http.open("POST",?stdio.html" >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Mar 23 12:47:28 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 23 Mar 2020 16:47:28 +0000 Subject: Getting HTML5 going Message-ID: <00308B30-AF5A-4DED-83E8-845A13AC901E@pidigital.co.uk> Thanks Colin. That?s definitely helpful. From that I discern that it is something in your code from the point where the first ?on openCard? happens to the next openCard. An excellent method I use in these cases are to create messages to the JS console in Chrome by using something like this: on openCard put ?on openCard? ... [some code] ... put ?openCard_2:? && myVar ... [some more code] ... put ?end openCard? end openCard Pepper this around code you want to check. Then in Chrome or Edge open the js console by going to View>Developer>JavaScriptConsole. Any of the open put commands will be sent to the console and give you an idea where it got to before it failed. I sometimes even end up putting them after every line of code which is like stepping through each line to find which one was the culprit. The console is very much your friend when making use of HTML deployment. You are GOING to come across MANY odd things as you progress through using HTML deployment. HH and I have been putting it through it?s paces and have come up with a large number of workarounds for now till we can iron out all of the oddities. Please do come back here when you need any help. If you want an example of a product I actually have live at the moment, look at tariffanalyser.porrima.co.uk and use login credentials demo, d3moP at ss All the best Sean Cole Pi Digital > On 23 Mar 2020, at 16:17, Colin Holgate via use-livecode wrote: > From mark at livecode.com Mon Mar 23 12:48:13 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 23 Mar 2020 16:48:13 +0000 Subject: IMAP Search skipping results In-Reply-To: References: <84569fc4c7cd8d9554ec3699d9fa83ad@livecode.com> Message-ID: <1a7ddcd7206e9216fa4e223a36540eed@livecode.com> On 2020-03-23 15:21, Pi Digital via use-livecode wrote: > Thanks Mark, your input here is appreciated. > > This reply in that forum wasn?t helpful, was it >> >> > Known bug #90 was reported in 2014. However it still occurs in 2019. Does >> > anybody know how to overcome this situation? >> >> Yes: by fixing the code! >> > In the thread it talks of pagination (as do you) but doesn?t give an > example of how to do it. How would we implement this in LC? If it is > not giving us the correct count how do we know how many pages we will > have to allow for and so on. That's where I got the reference to pagination from - as I said it's not a particularly useful post there. I suspect the person replying assumed the person asking the question had a detailed understanding of IMAP queries (my knowledge of interacting with IMAP servers is more than it was earlier on, but still not really sufficient to give any detailed advice). The tsNet support for IMAP comes entirely from cURL - so it works pretty much the same as the 'curl' shell command. I found this with a quick search which might help: The queries listed there at least appear to give ways to query the count of things in a mailbox. This page also looks like it might be helpful: Also this has some more info on using CURL to talk to IMAP: Having pondered this a bit, I'm not sure that even if cURL guys fixed the above bug it would actually make a difference to what you need to do to have 100% correct code. The method of fetching all UIDs of messages in a mailbox at once is completely unscalable - imagine an INBOX with 100,000s of messages for example over a slow/flaky connection; or an INBOX which has a lot of traffic and changes exceptionally frequently; or sits on a heavily loaded server (you can imagine that no server would like to be polled for complete message lists all the time by lots of clients). The IMAP protocol appears to be designed to be treated as something to use to synchronize local and remote state. Indeed, there is quite an extensive description of how to 'synchronize with an IMAP server' in an RFC: Indeed, it states in one place: The following is an example of the first FETCH: C: A011 UID fetch 131:* (FLAGS BODYSTRUCTURE INTERNALDATE RFC822.SIZE) Note 1: The first FETCH may result in the server's sending a huge volume of data. A smart disconnected client should use message ranges (see also Section 3.2.1.2 of [RFC2683]), so that the user is able to execute a different operation between fetching information for a group of new messages. The unique id used to perform the sync operation is the UID; you can fetch ranges of those as they are 'guaranteed' to always increase and never be re-used. (The only caveat is the UIDVALIDITY, which is basically a cache-generation number - i.e. if the UIDVALIDITY changes you have to dump your local cache and start from scratch as it means the meaning of individual UIDs has changed). Not sure how much the above helps... Warmest Regards, Mark. P.S. I've been chatting to Seb about the issue (he reported the bug originally) - he has confirmed that the problem affects Kognition's IMAP code too (that component is still in development at this stage which is why it hadn't been noticed until I asked him to check). I had hoped the approach there might have been slightly different and so provided a viable workaround, but it would appear that it is not the case :( -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From sean at pidigital.co.uk Mon Mar 23 13:14:07 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 23 Mar 2020 17:14:07 +0000 Subject: IMAP Search skipping results In-Reply-To: <1a7ddcd7206e9216fa4e223a36540eed@livecode.com> References: <1a7ddcd7206e9216fa4e223a36540eed@livecode.com> Message-ID: Thanks Brian and Mark A combination may well help. I am not for this project needing ALL but have been using UNSEEN. The mailboxes we are referencing have around 100-1200 emails coming in from O2 every morning at 4am. These then get processed at 5am to update their databases. I will have to first find the FIRST UNSEEN UID and then run a process to get the UIDs of the next 100 (and repeat) till they run out I guess. Once I?ve built the list of UIDs I can carry on as normal processing each one in turn. Finding the first unseen UID though seems to be the next issue I?m going to have to overcome. A never ending stream of workarounds. Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 23 Mar 2020, at 16:48, Mark Waddingham via use-livecode wrote: > > ?On 2020-03-23 15:21, Pi Digital via use-livecode wrote: >> Thanks Mark, your input here is appreciated. >> This reply in that forum wasn?t helpful, was it >>> > Known bug #90 was reported in 2014. However it still occurs in 2019. Does >>> > anybody know how to overcome this situation? >>> Yes: by fixing the code! >> In the thread it talks of pagination (as do you) but doesn?t give an >> example of how to do it. How would we implement this in LC? If it is >> not giving us the correct count how do we know how many pages we will >> have to allow for and so on. > > That's where I got the reference to pagination from - as I said it's not a particularly useful post there. I suspect the person replying assumed the person asking the question had a detailed understanding of IMAP queries (my knowledge of interacting with IMAP servers is more than it was earlier on, but still not really sufficient to give any detailed advice). > > The tsNet support for IMAP comes entirely from cURL - so it works pretty much the same as the 'curl' shell command. > > I found this with a quick search which might help: > > > > The queries listed there at least appear to give ways to query the count of things in a mailbox. > > This page also looks like it might be helpful: > > > > Also this has some more info on using CURL to talk to IMAP: > > > > Having pondered this a bit, I'm not sure that even if cURL guys fixed the above bug it would actually make a difference to what you need to do to have 100% correct code. The method of fetching all UIDs of messages in a mailbox at once is completely unscalable - imagine an INBOX with 100,000s of messages for example over a slow/flaky connection; or an INBOX which has a lot of traffic and changes exceptionally frequently; or sits on a heavily loaded server (you can imagine that no server would like to be polled for complete message lists all the time by lots of clients). > > The IMAP protocol appears to be designed to be treated as something to use to synchronize local and remote state. Indeed, there is quite an extensive description of how to 'synchronize with an IMAP server' in an RFC: > > > > Indeed, it states in one place: > > > The following is an example of the first FETCH: > > C: A011 UID fetch 131:* (FLAGS BODYSTRUCTURE INTERNALDATE > RFC822.SIZE) > > Note 1: The first FETCH may result in the server's sending a huge > volume of data. A smart disconnected client should use message > ranges (see also Section 3.2.1.2 of [RFC2683]), so that the user is > able to execute a different operation between fetching information > for a group of new messages. > > > The unique id used to perform the sync operation is the UID; you can fetch ranges of those as they are 'guaranteed' to always increase and never be re-used. (The only caveat is the UIDVALIDITY, which is basically a cache-generation number - i.e. if the UIDVALIDITY changes you have to dump your local cache and start from scratch as it means the meaning of individual UIDs has changed). > > Not sure how much the above helps... > > Warmest Regards, > > Mark. > > P.S. I've been chatting to Seb about the issue (he reported the bug originally) - he has confirmed that the problem affects Kognition's IMAP code too (that component is still in development at this stage which is why it hadn't been noticed until I asked him to check). I had hoped the approach there might have been slightly different and so provided a viable workaround, but it would appear that it is not the case :( > > -- > 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 mark at livecode.com Mon Mar 23 13:25:30 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 23 Mar 2020 17:25:30 +0000 Subject: IMAP Search skipping results In-Reply-To: References: <1a7ddcd7206e9216fa4e223a36540eed@livecode.com> Message-ID: On 2020-03-23 17:14, Pi Digital via use-livecode wrote: > Finding the first unseen UID though seems to be the next issue I?m > going to have to overcome. A never ending stream of workarounds. Well, unfortunately, this is a bug in cURL as far as we can see - its been there for 6 years and no-one has fixed it. This is kind of surprising as cURL is generally a very well supported and widely used open-source library (that being said, we should probably take note of the whole OpenSSL Heartbleed issue a while back...) Given that cURL is used in a lot of places, by a lot of products, that suggests that either (a) no-one uses cURL IMAP very much so there isn't any interest in fixing it *or* (b) fixing that bug doesn't actually solve the problem (it just shifts it). i.e. The bug makes quick-and-dirty approaches to certain tasks fail; but when people come across it they realize that if they don't do things 'en-masse' (which is basically what the IMAP RFC suggests you shouldn't) then it doesn't have an effect. Of course, I'm hypothesizing here: (a) could be the reason as much as (b). I'd perhaps suggest that something isn't a workaround if the original approach was flawed (however irksome the more code it requires might be!) ;) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From sean at pidigital.co.uk Mon Mar 23 13:49:05 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 23 Mar 2020 17:49:05 +0000 Subject: IMAP Search skipping results In-Reply-To: References: Message-ID: Hey, are you insinuating my code is flawed!?! :-o The cheek of it! ;) Sean Cole Pi Digital . > > I'd perhaps suggest that something isn't a workaround if the original approach was flawed (however irksome the more code it requires might be!) ;) > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > From mark at livecode.com Mon Mar 23 14:01:14 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 23 Mar 2020 18:01:14 +0000 Subject: IMAP Search skipping results In-Reply-To: References: Message-ID: <0a4ed0faf62d60b3b6556ac9374b1b51@livecode.com> On 2020-03-23 17:49, Pi Digital via use-livecode wrote: > Hey, are you insinuating my code is flawed!?! :-o > The cheek of it! ;) Lol - well we all write flawed code from time to time... More often though we write code which is perfect but based on assumptions we didn't realize could be invalid (that's usually much harder to discern!) Anyway, something here is bugging me - I do wonder if it is the manner in which cURL (via tsNet) is being used (in this instance) is actually causing the bug to manifest. IMAP is a session-based protocol, so unless cURL does something magic with its 'custom URL' support (which is how cURL implements IMAP), I'm puzzled how issuing two separate URL requests can actually work (unless it isn't actually meant to, but just seems to). I'll experiment later on before I finish for the day. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Mon Mar 23 14:02:43 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 23 Mar 2020 18:02:43 +0000 Subject: IMAP Search skipping results In-Reply-To: <0a4ed0faf62d60b3b6556ac9374b1b51@livecode.com> References: <0a4ed0faf62d60b3b6556ac9374b1b51@livecode.com> Message-ID: <2EA8A691-1D9B-4A77-9048-91C9A8CA3A59@iotecdigital.com> Ahh hah hah! That?s funny. I can?t even write a snippet without debugging it! :-) Bob S > On Mar 23, 2020, at 11:01 AM, Mark Waddingham via use-livecode wrote: > > On 2020-03-23 17:49, Pi Digital via use-livecode wrote: >> Hey, are you insinuating my code is flawed!?! :-o >> The cheek of it! ;) > > Lol - well we all write flawed code from time to time... > > More often though we write code which is perfect but based on assumptions we didn't realize could be invalid (that's usually much harder to discern!) > > Anyway, something here is bugging me - I do wonder if it is the manner in which cURL (via tsNet) is being used (in this instance) is actually causing the bug to manifest. IMAP is a session-based protocol, so unless cURL does something magic with its 'custom URL' support (which is how cURL implements IMAP), I'm puzzled how issuing two separate URL requests can actually work (unless it isn't actually meant to, but just seems to). > > I'll experiment later on before I finish for the day. > > 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 mark at livecode.com Mon Mar 23 14:06:32 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 23 Mar 2020 18:06:32 +0000 Subject: IMAP Search skipping results In-Reply-To: <2EA8A691-1D9B-4A77-9048-91C9A8CA3A59@iotecdigital.com> References: <0a4ed0faf62d60b3b6556ac9374b1b51@livecode.com> <2EA8A691-1D9B-4A77-9048-91C9A8CA3A59@iotecdigital.com> Message-ID: On 2020-03-23 18:02, Bob Sneidar via use-livecode wrote: > Ahh hah hah! That?s funny. I can?t even write a snippet without > debugging it! :-) Debugging is just a means to discover the assumptions you made which were invalid! ;) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Mon Mar 23 14:13:12 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 23 Mar 2020 18:13:12 +0000 Subject: Can't download 6.3.1 Message-ID: I am getting Error downloading Livecode 6.3.1. It gets all the way through the download then throws the error. Bob S From dunbarx at aol.com Mon Mar 23 15:24:03 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 23 Mar 2020 19:24:03 +0000 (UTC) Subject: Can't download 6.3.1 In-Reply-To: References: Message-ID: <1205913827.524507.1584991443213@mail.yahoo.com> Bob. 6.1.3? I do not see 6.3.1 as an option. Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Mon, Mar 23, 2020 2:14 pm Subject: Can't download 6.3.1 I am getting Error downloading Livecode 6.3.1. It gets all the way through the download then throws the error. Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Mar 23 15:28:50 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 23 Mar 2020 19:28:50 +0000 Subject: Can't download 6.3.1 In-Reply-To: <1205913827.524507.1584991443213@mail.yahoo.com> References: <1205913827.524507.1584991443213@mail.yahoo.com> Message-ID: <1B9155A3-06DA-44E3-A5BA-AD0468523C8A@iotecdigital.com> Sorry 9.6 dp3 brain fart > On Mar 23, 2020, at 12:24 PM, dunbarx--- via use-livecode wrote: > > Bob. > 6.1.3? > I do not see 6.3.1 as an option. > Craig > > > -----Original Message----- > From: Bob Sneidar via use-livecode > To: How to use LiveCode > Cc: Bob Sneidar > Sent: Mon, Mar 23, 2020 2:14 pm > Subject: Can't download 6.3.1 > > I am getting Error downloading Livecode 6.3.1. It gets all the way through the download then throws the error. > > 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 panos.merakos at livecode.com Mon Mar 23 15:29:02 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 23 Mar 2020 21:29:02 +0200 Subject: [ANN] This Week in LiveCode 218 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 #218 here: https://bit.ly/2xhU4g7 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 Mar 23 15:55:35 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 23 Mar 2020 19:55:35 +0000 Subject: Can't download 6.3.1 In-Reply-To: <1B9155A3-06DA-44E3-A5BA-AD0468523C8A@iotecdigital.com> References: <1205913827.524507.1584991443213@mail.yahoo.com> <1B9155A3-06DA-44E3-A5BA-AD0468523C8A@iotecdigital.com> Message-ID: <4C6AA5A2-E44E-485D-95C0-14878F5FB5A8@iotecdigital.com> Okay so downloading from the updater failed twice. Going to the website and downloading from there succeeded. Bob S > On Mar 23, 2020, at 12:28 PM, Bob Sneidar via use-livecode wrote: > > Sorry 9.6 dp3 brain fart > >> On Mar 23, 2020, at 12:24 PM, dunbarx--- via use-livecode wrote: >> >> Bob. >> 6.1.3? >> I do not see 6.3.1 as an option. >> Craig >> >> >> -----Original Message----- >> From: Bob Sneidar via use-livecode >> To: How to use LiveCode >> Cc: Bob Sneidar >> Sent: Mon, Mar 23, 2020 2:14 pm >> Subject: Can't download 6.3.1 >> >> I am getting Error downloading Livecode 6.3.1. It gets all the way through the download then throws the error. >> >> 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 dunbarx at aol.com Mon Mar 23 16:21:41 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 23 Mar 2020 20:21:41 +0000 (UTC) Subject: Can't download 6.3.1 In-Reply-To: <4C6AA5A2-E44E-485D-95C0-14878F5FB5A8@iotecdigital.com> References: <1205913827.524507.1584991443213@mail.yahoo.com> <1B9155A3-06DA-44E3-A5BA-AD0468523C8A@iotecdigital.com> <4C6AA5A2-E44E-485D-95C0-14878F5FB5A8@iotecdigital.com> Message-ID: <891210023.568455.1584994901177@mail.yahoo.com> Glad to hear it. But it was from the website that I could not find the version you mentioned. Doesn't matter, though. Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Mon, Mar 23, 2020 3:56 pm Subject: Re: Can't download 6.3.1 Okay so downloading from the updater failed twice. Going to the website and downloading from there succeeded. Bob S > On Mar 23, 2020, at 12:28 PM, Bob Sneidar via use-livecode wrote: > > Sorry 9.6 dp3 brain fart > >> On Mar 23, 2020, at 12:24 PM, dunbarx--- via use-livecode wrote: >> >> Bob. >> 6.1.3? >> I do not see 6.3.1 as an option. >> Craig >> >> >> -----Original Message----- >> From: Bob Sneidar via use-livecode >> To: How to use LiveCode >> Cc: Bob Sneidar >> Sent: Mon, Mar 23, 2020 2:14 pm >> Subject: Can't download 6.3.1 >> >> I am getting Error downloading Livecode 6.3.1. It gets all the way through the download then throws the error. >> >> Bob S >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Mon Mar 23 17:57:24 2020 From: waprothero at gmail.com (William Prothero) Date: Mon, 23 Mar 2020 14:57:24 -0700 Subject: Getting HTML5 going In-Reply-To: <00308B30-AF5A-4DED-83E8-845A13AC901E@pidigital.co.uk> References: <00308B30-AF5A-4DED-83E8-845A13AC901E@pidigital.co.uk> Message-ID: <1FECE158-E5AC-4F29-A791-A3F018AD933F@gmail.com> Sean: It looks really nice If HTML5 deployment didn?t look so quirky and require such a variety of other than livecode skills, I?d give it a try. I hope it will mature before I get too old to care. Bill William A. Prothero https://earthlearningsolutions.org From sean at pidigital.co.uk Mon Mar 23 20:57:43 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 24 Mar 2020 00:57:43 +0000 Subject: Getting HTML5 going In-Reply-To: <1FECE158-E5AC-4F29-A791-A3F018AD933F@gmail.com> References: <1FECE158-E5AC-4F29-A791-A3F018AD933F@gmail.com> Message-ID: Bill I get what you mean by both quirky and the need for other skills. I?m gradually going through the code to remove the quirkiness but I?m doing this while also trying to develop the solution for our clients. In the process I will also either eliminate the need for learning the ?other skills? or at the very least minimise it to a set of relatively easy steps. What I?ve achieved in about a year on and off is evidence that it is capable once the ?caveats? get ironed out. Watch this space. Sean Cole Pi Digital > On 23 Mar 2020, at 21:57, William Prothero via use-livecode wrote: > > ?Sean: > It looks really nice If HTML5 deployment didn?t look so quirky and require such a variety of other than livecode skills, I?d give it a try. I hope it will mature before I get too old to care. > Bill > > William A. Prothero > https://earthlearningsolutions.org > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Tue Mar 24 07:29:29 2020 From: heather at livecode.com (Heather Laine) Date: Tue, 24 Mar 2020 11:29:29 +0000 Subject: LiveCodeShare brief planned outage Message-ID: <3D0358D1-A1B1-4965-B8C7-CDA7F9B1603A@livecode.com> Dear List Folks, LiveCodeShare is about to be offline for an hour or so while it makes it final move to our new server, having been repaired and updated to run on the 64bit OS. Once this is completed, this should be the final time it has to move, and it should resolve an observed problem with uploading large files it has suffered from for a month or two. Thank you for your patience, and don't worry, LiveCodeShare will be back with us shortly. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From paul at researchware.com Tue Mar 24 17:12:45 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 24 Mar 2020 17:12:45 -0400 Subject: DataGrid question... Message-ID: <3ad3dc69-0633-4f8f-8fee-9bccdbd5df8c@researchware.com> Has anyone come up with a way to configure a DataGrid (LC9) so that the left most column remains visible when the other columns are scrolled horizontally? Or is the only way to to do this is to have a separate field to the left of the DataGrid that holds the left column? Anyone solved this already? From bobsneidar at iotecdigital.com Tue Mar 24 17:19:50 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 24 Mar 2020 21:19:50 +0000 Subject: DataGrid question... In-Reply-To: <3ad3dc69-0633-4f8f-8fee-9bccdbd5df8c@researchware.com> References: <3ad3dc69-0633-4f8f-8fee-9bccdbd5df8c@researchware.com> Message-ID: <93844EA8-BC3A-4B2E-AA15-25F7808EF467@iotecdigital.com> I did something along these lines some time ago. I needed check boxes to the left of a data grid that scrolled with the grid but remained visible. Yes your idea of a second object that scrolls with the data grid is the way to go. There is a message that gets sent to a data grid called scrollBarDrag. Trap for that then scroll your other object accordingly. Bob S On Mar 24, 2020, at 2:12 PM, Paul Dupuis via use-livecode > wrote: Has anyone come up with a way to configure a DataGrid (LC9) so that the left most column remains visible when the other columns are scrolled horizontally? Or is the only way to to do this is to have a separate field to the left of the DataGrid that holds the left column? Anyone solved this already? From bobsneidar at iotecdigital.com Tue Mar 24 19:39:45 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 24 Mar 2020 23:39:45 +0000 Subject: Using ODBC to connect to a MSSQL database Message-ID: <7CAC8AFA-A560-489E-87E5-207973CFD567@iotecdigital.com> Hi all. I read in a thread a long while ago that someone was currently connecting to a MSSQL database via ODBC. Reading the dictionary, MSSQL is NOT one of the types of databases revOpenDatabase() can communicate with. I am right on the verge of creating an ODBC agent, but have hit this snag. Is anyone actually communicating with a MSSQL database via ODBC? Bob S From bobsneidar at iotecdigital.com Tue Mar 24 20:04:05 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 25 Mar 2020 00:04:05 +0000 Subject: Using ODBC to connect to a MSSQL database In-Reply-To: <7CAC8AFA-A560-489E-87E5-207973CFD567@iotecdigital.com> References: <7CAC8AFA-A560-489E-87E5-207973CFD567@iotecdigital.com> Message-ID: <06FCE9AD-D2EE-4479-9CC3-88C12EA5F0B2@iotecdigital.com> NVM I was able to connect using revOpenDatabase(). Now my trouble is getting sqlYoga to make the connection, but I am close. > On Mar 24, 2020, at 4:39 PM, Bob Sneidar wrote: > > Hi all. > > I read in a thread a long while ago that someone was currently connecting to a MSSQL database via ODBC. Reading the dictionary, MSSQL is NOT one of the types of databases revOpenDatabase() can communicate with. I am right on the verge of creating an ODBC agent, but have hit this snag. > > Is anyone actually communicating with a MSSQL database via ODBC? > > Bob S > From dunbarx at aol.com Tue Mar 24 20:18:45 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 25 Mar 2020 00:18:45 +0000 (UTC) Subject: DataGrid question... In-Reply-To: <93844EA8-BC3A-4B2E-AA15-25F7808EF467@iotecdigital.com> References: <3ad3dc69-0633-4f8f-8fee-9bccdbd5df8c@researchware.com> <93844EA8-BC3A-4B2E-AA15-25F7808EF467@iotecdigital.com> Message-ID: <1000601200.1597176.1585095525587@mail.yahoo.com> I am with Bob on this. Oftentimes, just out of stubbornness, I will try to create a "native" solution to some problem. Native here means that I try to force, bend, cajole, whatever, the built-in functionality of LC to make an effect the way I want it. The stubbornness comes from trying to be as lean a possible. All that when, say, one more field placed in the right spot, and acting nicely will do the same thing. And usually with far less management and with far smaller scripts. I am trying to get better. Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Tue, Mar 24, 2020 5:21 pm Subject: Re: DataGrid question... I did something along these lines some time ago. I needed check boxes to the left of a data grid that scrolled with the grid but remained visible. Yes your idea of a second object that scrolls with the data grid is the way to go. There is a message that gets sent to a data grid called scrollBarDrag. Trap for that then scroll your other object accordingly. Bob S On Mar 24, 2020, at 2:12 PM, Paul Dupuis via use-livecode > wrote: Has anyone come up with a way to configure a DataGrid (LC9) so that the left most column remains visible when the other columns are scrolled horizontally? Or is the only way to to do this is to have a separate field to the left of the DataGrid that holds the left column? Anyone solved this already? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Tue Mar 24 20:20:51 2020 From: waprothero at gmail.com (William Prothero) Date: Tue, 24 Mar 2020 17:20:51 -0700 Subject: Getting HTML5 going In-Reply-To: References: <1FECE158-E5AC-4F29-A791-A3F018AD933F@gmail.com> Message-ID: Sean: You are performing a noble task. After a hiatus, I?m back working on an educational app teaching plate tectonics. When I think of pitfalls of distributing an actual app, I fondly look at web distribution, like I used to be able to do with Director in shockwave. Anyway, I?d gladly pay well for the ?How To? book that I hope will come out of your efforts. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Mar 23, 2020, at 5:57 PM, Pi Digital via use-livecode wrote: > > Bill > > I get what you mean by both quirky and the need for other skills. I?m gradually going through the code to remove the quirkiness but I?m doing this while also trying to develop the solution for our clients. In the process I will also either eliminate the need for learning the ?other skills? or at the very least minimise it to a set of relatively easy steps. What I?ve achieved in about a year on and off is evidence that it is capable once the ?caveats? get ironed out. Watch this space. > > Sean Cole > Pi Digital > > >> On 23 Mar 2020, at 21:57, William Prothero via use-livecode wrote: >> >> ?Sean: >> It looks really nice If HTML5 deployment didn?t look so quirky and require such a variety of other than livecode skills, I?d give it a try. I hope it will mature before I get too old to care. >> Bill >> >> William A. Prothero >> https://earthlearningsolutions.org >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Mar 24 20:26:35 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Mar 2020 17:26:35 -0700 Subject: DataGrid question... In-Reply-To: <1000601200.1597176.1585095525587@mail.yahoo.com> References: <1000601200.1597176.1585095525587@mail.yahoo.com> Message-ID: Paul Dupuis wrote: > Has anyone come up with a way to configure a DataGrid (LC9) so that > the left most column remains visible when the other columns are > scrolled horizontally? > > Or is the only way to to do this is to have a separate field to the > left of the DataGrid that holds the left column? > > Anyone solved this already? Not here. When all I need is a list I just use a list field. Now that LC's field supports independent column alignment I haven't needed a DG for anything but forms. Parse out the first col with a "split by column", drop it into a control on the left, and you're good to go. -- 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 sean at pidigital.co.uk Tue Mar 24 21:43:28 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 25 Mar 2020 01:43:28 +0000 Subject: DataGrid question... In-Reply-To: References: Message-ID: <887C08D1-FB67-4665-80F7-BD6F78B0891F@pidigital.co.uk> The only issue with using a field is you are limited to character data presentation only. You can?t put inline images, widgets, checkboxes, etc. For HTML5 deployment I?ve ended up reinventing the wheel with a DataGridV3. I?ve gradually even made it quite generic in code so that it handles whatever data type and layout I throw at it. Still WIP. I should add in row and column freezes. At the moment it only vscrolls, so maybe when I add in hscroll functionality. I was Just saying to someone else, we need ?someone? fluent in LCB to create a DG widget. Allowing for customisation is the hard part. Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > Not here. When all I need is a list I just use a list field. Now that LC's field supports independent column alignment I haven't needed a DG for anything but forms. > > Parse out the first col with a "split by column", drop it into a control on the left, and you're good to go. > From ahsoftware at sonic.net Tue Mar 24 23:56:44 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 24 Mar 2020 20:56:44 -0700 Subject: DataGrid question... In-Reply-To: <887C08D1-FB67-4665-80F7-BD6F78B0891F@pidigital.co.uk> References: <887C08D1-FB67-4665-80F7-BD6F78B0891F@pidigital.co.uk> Message-ID: On 3/24/20 6:43 PM, Pi Digital via use-livecode wrote: > The only issue with using a field is you are limited to character data presentation only. You can?t put inline images, widgets, checkboxes, etc. Now that's just patently not true. No problem with images: Set the imagesource of char x of field y of this card to tImageID -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Wed Mar 25 00:17:57 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 25 Mar 2020 04:17:57 +0000 Subject: DataGrid question... In-Reply-To: References: Message-ID: Oh. Cool. I did not know you could do that! Can it do widgets (for svgs) and checkboxes too? Sean Cole Pi Digital > On 25 Mar 2020, at 03:56, Mark Wieder via use-livecode wrote: > > ?On 3/24/20 6:43 PM, Pi Digital via use-livecode wrote: >> The only issue with using a field is you are limited to character data presentation only. You can?t put inline images, widgets, checkboxes, etc. > > Now that's just patently not true. No problem with images: > Set the imagesource of char x of field y of this card to tImageID > > -- > 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 jeejeestudio at gmail.com Wed Mar 25 02:04:40 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Wed, 25 Mar 2020 07:04:40 +0100 Subject: Update app on store due to new lc release? Message-ID: Hi, Does anyone updates their app on Google/Apple store just because there is an LC update? Which might contain improvements or bug fixes? Regards, Jerry From benr_mc at cogapp.com Wed Mar 25 06:21:56 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 25 Mar 2020 10:21:56 -0000 Subject: Guessing the encoding of a test file... In-Reply-To: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> References: <4774d9d5-e34e-db21-fa5b-b3c51f93428d@researchware.com> Message-ID: On 19/03/2020 20:31, Paul Dupuis via use-livecode wrote: > There is an enhancement request to support MacRoman decoding under WIndows and > vice versa at https://quality.livecode.com/show_bug.cgi?id=22391 if you want > to CC yourself to show interest. See also https://quality.livecode.com/show_bug.cgi?id=12205 From matthias_livecode_150811 at m-r-d.de Wed Mar 25 08:32:20 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 25 Mar 2020 13:32:20 +0100 Subject: DataGrid question... In-Reply-To: References: <1000601200.1597176.1585095525587@mail.yahoo.com> Message-ID: <3F67B03B-64B3-44EA-B647-573B3E337915@m-r-d.de> > > Am 25.03.2020 um 01:26 schrieb Richard Gaskin via use-livecode : > > Paul Dupuis wrote: > >> Has anyone come up with a way to configure a DataGrid (LC9) so that >> the left most column remains visible when the other columns are >> scrolled horizontally? >> >> Or is the only way to to do this is to have a separate field to the >> left of the DataGrid that holds the left column? >> >> Anyone solved this already? > > Not here. When all I need is a list I just use a list field. Now that LC's field supports independent column alignment I haven't needed a DG for anything but forms. > Richard, do you know if there is a lesson for this available or is there something written about it? To be honest, i must have missed that "new" feature. I?ve searched already for column alignment, but can only find lessons/information about Datagrids. > Parse out the first col with a "split by column", drop it into a control on the left, and you're good to go. > Matthias - Matthias Rebbe Life Is Too Short For Boring Code From tore.nilsen at me.com Wed Mar 25 08:34:47 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 25 Mar 2020 13:34:47 +0100 Subject: DataGrid question... In-Reply-To: <3F67B03B-64B3-44EA-B647-573B3E337915@m-r-d.de> References: <1000601200.1597176.1585095525587@mail.yahoo.com> <3F67B03B-64B3-44EA-B647-573B3E337915@m-r-d.de> Message-ID: <1378B10B-C06A-4BE7-8C41-498E559F1DDA@me.com> What you should look for in the Dictionary is tabAlign Tore > 25. mar. 2020 kl. 13:32 skrev matthias rebbe via use-livecode : > >> >> Am 25.03.2020 um 01:26 schrieb Richard Gaskin via use-livecode : >> >> Paul Dupuis wrote: >> >>> Has anyone come up with a way to configure a DataGrid (LC9) so that >>> the left most column remains visible when the other columns are >>> scrolled horizontally? >>> >>> Or is the only way to to do this is to have a separate field to the >>> left of the DataGrid that holds the left column? >>> >>> Anyone solved this already? >> >> Not here. When all I need is a list I just use a list field. Now that LC's field supports independent column alignment I haven't needed a DG for anything but forms. >> > > > Richard, do you know if there is a lesson for this available or is there something written about it? To be honest, i must have missed that "new" feature. > > I?ve searched already for column alignment, but can only find lessons/information about Datagrids. > >> Parse out the first col with a "split by column", drop it into a control on the left, and you're good to go. >> > > Matthias > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Wed Mar 25 10:47:51 2020 From: heather at livecode.com (Heather Laine) Date: Wed, 25 Mar 2020 14:47:51 +0000 Subject: Idea to keep us all connected Message-ID: Dear List Folks, These are strange and difficult times. Thanks to COVID-19 we at LiveCode Ltd. are all now working from home, and staying together as a company via Zoom and Slack. It's working pretty well for us I must say, at least so far. Turns out programmers don't much mind being locked in a room alone with just a computer and a takeaway pizza for company... I'm sure many of you are in the same boat, quarantined or semi-quarantined and trying to keep going without the usual levels of face to face support and company. We've been talking about how we can all support each other during this time, and stick together as a community. We want to do our bit. To this end, we are planning to setup a monthly zoom room for everyone on the list to access. You can speak to each other, find out how everyone is doing, share your projects, tell your story. We will join these rooms when we can. This will very much be an extension of the use-list, with the same ground rules - we're here to talk about using LiveCode, and help each other out with that. Obviously there will be some water cooler type chit chat but please... no politics, religion or cheese! Let's keep it positive. It will be community run, we will participate as and when we can but primarily this is for you all to talk to each other. We'll work out the mechanics of it as we go along, but it looks like zoom has the facility to split off smaller groups so it does not become too unmanageable and everyone has a chance to participate. On top of this we want to do more - we want to use what we have to help. We are fully aware that people across the world are having to stay home, some are fortunate enough to be able to keep their jobs or businesses and some have not been so fortunate. We want to give people the opportunity to learn a new skill. Taking a leaf from Andre's book (thanks Andre, and pun intended...), while this crisis is ongoing we are going to make the first year of LiveCode Indy available to brand new users from free to full price. This will be on a sliding scale - people can pay whatever they want or can afford. No judgement. We hope you can help us spread the word, if you know anyone who is in a tough situation, or just someone who has always wanted to code - please pass this on to them. We also ask you (although we know you will) to welcome new people to the community with open arms and help them through this new journey. We would love to hear any ideas you have on how we as a community can help more people through coding. We are putting the campaign together now, we expect to be ready to launch it in a few days time. All we ask at this time is that existing customers do not cancel their subscriptions to then go ahead and purchase a new license on the sliding scale. It's worth noting that although the first year will be at a price determined by the user - the second year will be at full price. If any of you are struggling at this time and are concerned about your subscription payments please do get in touch with me on the usual support at livecode.com email and we will try to support you in the best way we can. Thanks for reading this rather long post. Take care, stay home, stay well and enjoy this excellent opportunity to really get to grips with LiveCode in your solitude! Warm Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From ahsoftware at sonic.net Wed Mar 25 11:20:48 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 25 Mar 2020 08:20:48 -0700 Subject: Idea to keep us all connected In-Reply-To: References: Message-ID: On 3/25/20 7:47 AM, Heather Laine via use-livecode wrote: > Thanks for reading this rather long post. Take care, stay home, stay well and enjoy this excellent opportunity to really get to grips with LiveCode in your solitude! Awesome. -- Mark Wieder ahsoftware at gmail.com From rdimola at evergreeninfo.net Wed Mar 25 11:49:14 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 25 Mar 2020 11:49:14 -0400 Subject: Idea to keep us all connected In-Reply-To: References: Message-ID: <004a01d602bc$f1c783e0$d5568ba0$@net> Awesome +1 Creating music is the great unifier and is physiologically calming in this stressful time. I metaphorically dusted off my electric guitar and re-strung it. Fender is offering 3 free months of on-line lessons for all abilities and types of guitars. If you need a break from LC coding take a look. 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 Mark Wieder via use-livecode Sent: Wednesday, March 25, 2020 11:21 AM To: Heather Laine via use-livecode Cc: Mark Wieder Subject: Re: Idea to keep us all connected On 3/25/20 7:47 AM, Heather Laine via use-livecode wrote: > Thanks for reading this rather long post. Take care, stay home, stay well and enjoy this excellent opportunity to really get to grips with LiveCode in your solitude! Awesome. -- 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 ambassador at fourthworld.com Wed Mar 25 12:07:37 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 25 Mar 2020 09:07:37 -0700 Subject: Getting HTML5 going In-Reply-To: References: Message-ID: William Prothero wrote: > I?m back working on an educational app teaching plate tectonics. > When I think of pitfalls of distributing an actual app, I fondly > look at web distribution, like I used to be able to do with Director > in shockwave. Shockwave made many things about deployment simpler, but still required a one-time download and install. We can do this with LC so very easily, I'm surprised more people don't take advantage of it. I'm with you: deploying standalones for every little change is a time-eating drag. So I stopped doing it years ago. The standalones I deliver download updates from my server, so just like in a browser the user always has not only the latest data, but also the latest UI and underlying code. Sure, this means the user has a one-time download. But it's only one time, and they get a fully native app experience, with OS integration far beyond the limitations of a browser, and a UI completely dedicated to the app's task. I've had apps in the field for many years where I've delivered several dozen upgrades without ever needing to update the standalone, all with downloaded stack files. I like browsers for many things, and for content-driven works it's my first choice (mostly for strategy reasons rather than techincal). But for serious work I prefer a dedicated native app. My customers tell me they do too, and I've heard that from other devs about their customer feedback. No one wants the endless tedium of updating standalones, neither the user or us developers. But by decoupling the standalone from the stack files it uses, we can update those so quickly and easily the user never even needs to know it's happening. Have you considered a standalone that updates its stack files via HTTP? -- 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 Wed Mar 25 12:20:22 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 25 Mar 2020 09:20:22 -0700 Subject: Idea to keep us all connected In-Reply-To: <004a01d602bc$f1c783e0$d5568ba0$@net> References: <004a01d602bc$f1c783e0$d5568ba0$@net> Message-ID: Also, the Metropolitan Opera in New York is making daily streams available for free, one opera per day. This week is all Wagner, but next week looks more interesting (ducking). There was an absolutely wonderful Il Trovatore last week. Streams are available for 24 hours, so if you can pull yourself away from coding for a couple of hours, check it out. https://www.metopera.org/user-information/nightly-met-opera-streams/ -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Wed Mar 25 12:46:29 2020 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 25 Mar 2020 18:46:29 +0200 Subject: Idea to keep us all connected In-Reply-To: References: Message-ID: <4bde9e8b-52a0-7584-d41f-ef4d728ccf26@gmail.com> This is a fantastic idea, although I'd be wary of the takeaway pizza: it might be infected. I am using Zoom myself for my work with children, and it works very well indeed. To all my friend, acquaintances, sparring-partners and enemies on the Use-List: do keep safe and healthy: the world would be a lot poorer without you. Best, Richmond. On 25.03.20 16:47, Heather Laine via use-livecode wrote: > Dear List Folks, > > These are strange and difficult times. Thanks to COVID-19 we at LiveCode Ltd. are all now working from home, and staying together as a company via Zoom and Slack. It's working pretty well for us I must say, at least so far. Turns out programmers don't much mind being locked in a room alone with just a computer and a takeaway pizza for company... > > I'm sure many of you are in the same boat, quarantined or semi-quarantined and trying to keep going without the usual levels of face to face support and company. We've been talking about how we can all support each other during this time, and stick together as a community. > > We want to do our bit. To this end, we are planning to setup a monthly zoom room for everyone on the list to access. You can speak to each other, find out how everyone is doing, share your projects, tell your story. We will join these rooms when we can. This will very much be an extension of the use-list, with the same ground rules - we're here to talk about using LiveCode, and help each other out with that. Obviously there will be some water cooler type chit chat but please... no politics, religion or cheese! Let's keep it positive. It will be community run, we will participate as and when we can but primarily this is for you all to talk to each other. We'll work out the mechanics of it as we go along, but it looks like zoom has the facility to split off smaller groups so it does not become too unmanageable and everyone has a chance to participate. > > On top of this we want to do more - we want to use what we have to help. We are fully aware that people across the world are having to stay home, some are fortunate enough to be able to keep their jobs or businesses and some have not been so fortunate. We want to give people the opportunity to learn a new skill. Taking a leaf from Andre's book (thanks Andre, and pun intended...), while this crisis is ongoing we are going to make the first year of LiveCode Indy available to brand new users from free to full price. This will be on a sliding scale - people can pay whatever they want or can afford. No judgement. We hope you can help us spread the word, if you know anyone who is in a tough situation, or just someone who has always wanted to code - please pass this on to them. We also ask you (although we know you will) to welcome new people to the community with open arms and help them through this new journey. We would love to hear any ideas you have on how we as a community can help more people through coding. We are putting the campaign together now, we expect to be ready to launch it in a few days time. > > All we ask at this time is that existing customers do not cancel their subscriptions to then go ahead and purchase a new license on the sliding scale. It's worth noting that although the first year will be at a price determined by the user - the second year will be at full price. If any of you are struggling at this time and are concerned about your subscription payments please do get in touch with me on the usual support at livecode.com email and we will try to support you in the best way we can. > > Thanks for reading this rather long post. Take care, stay home, stay well and enjoy this excellent opportunity to really get to grips with LiveCode in your solitude! > > Warm Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Wed Mar 25 13:37:48 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 25 Mar 2020 17:37:48 +0000 Subject: Idea to keep us all connected In-Reply-To: <4bde9e8b-52a0-7584-d41f-ef4d728ccf26@gmail.com> References: <4bde9e8b-52a0-7584-d41f-ef4d728ccf26@gmail.com> Message-ID: Zoom is fantastic. Another I have been using is FreeConferenceCall which is live video, screen share as well as audio. Great for those who can only use the phone rather than data. Skype really sucks. Thanks, Heather, for this. An excellent idea from the team. Stay in. Stay Safe. Y'all. Sean Cole *Pi Digital * On Wed, 25 Mar 2020 at 16:46, Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > This is a fantastic idea, although I'd be wary of the takeaway pizza: it > might be infected. > > I am using Zoom myself for my work with children, and it works very well > indeed. > > To all my friend, acquaintances, sparring-partners and enemies on the > Use-List: do keep safe and healthy: > the world would be a lot poorer without you. > > Best, Richmond. > > On 25.03.20 16:47, Heather Laine via use-livecode wrote: > > Dear List Folks, > > > > These are strange and difficult times. Thanks to COVID-19 we at LiveCode > Ltd. are all now working from home, and staying together as a company via > Zoom and Slack. It's working pretty well for us I must say, at least so > far. Turns out programmers don't much mind being locked in a room alone > with just a computer and a takeaway pizza for company... > > > > I'm sure many of you are in the same boat, quarantined or > semi-quarantined and trying to keep going without the usual levels of face > to face support and company. We've been talking about how we can all > support each other during this time, and stick together as a community. > > > > We want to do our bit. To this end, we are planning to setup a monthly > zoom room for everyone on the list to access. You can speak to each other, > find out how everyone is doing, share your projects, tell your story. We > will join these rooms when we can. This will very much be an extension of > the use-list, with the same ground rules - we're here to talk about using > LiveCode, and help each other out with that. Obviously there will be some > water cooler type chit chat but please... no politics, religion or cheese! > Let's keep it positive. It will be community run, we will participate as > and when we can but primarily this is for you all to talk to each other. > We'll work out the mechanics of it as we go along, but it looks like zoom > has the facility to split off smaller groups so it does not become too > unmanageable and everyone has a chance to participate. > > > > On top of this we want to do more - we want to use what we have to help. > We are fully aware that people across the world are having to stay home, > some are fortunate enough to be able to keep their jobs or businesses and > some have not been so fortunate. We want to give people the opportunity to > learn a new skill. Taking a leaf from Andre's book (thanks Andre, and pun > intended...), while this crisis is ongoing we are going to make the first > year of LiveCode Indy available to brand new users from free to full price. > This will be on a sliding scale - people can pay whatever they want or can > afford. No judgement. We hope you can help us spread the word, if you know > anyone who is in a tough situation, or just someone who has always wanted > to code - please pass this on to them. We also ask you (although we know > you will) to welcome new people to the community with open arms and help > them through this new journey. We would love to hear any ideas you have on > how we as a community can help more people through coding. We are putting > the campaign together now, we expect to be ready to launch it in a few days > time. > > > > All we ask at this time is that existing customers do not cancel their > subscriptions to then go ahead and purchase a new license on the sliding > scale. It's worth noting that although the first year will be at a price > determined by the user - the second year will be at full price. If any of > you are struggling at this time and are concerned about your subscription > payments please do get in touch with me on the usual support at livecode.com > email and we will try to support you in the best way we can. > > > > Thanks for reading this rather long post. Take care, stay home, stay > well and enjoy this excellent opportunity to really get to grips with > LiveCode in your solitude! > > > > Warm Regards, > > > > Heather > > > > Heather Laine > > Customer Services Manager > > LiveCode Ltd > > www.livecode.com > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 25 13:49:39 2020 From: dochawk at gmail.com (doc hawk) Date: Wed, 25 Mar 2020 10:49:39 -0700 Subject: Idea to keep us all connected In-Reply-To: References: <4bde9e8b-52a0-7584-d41f-ef4d728ccf26@gmail.com> Message-ID: <9D1EC893-2B72-4AB4-A8E4-0F924CF45C31@gmail.com> On Mar 25, 2020, at 10:37 AM, Sean Cole (Pi) via use-livecode wrote: > > Zoom is fantastic. A Be very cautious with zoom, and note it?s snarky privacy policy which acknowledges they sell data about you . . . I had to use it yesterday for a nonprofit board meeting. I created a throw-away user account. I found that it could *not* run in TOR, and had to settle for a private safari window. And it *did* attempt to access my downloads folder! (OSX caught this). They have also in the past deliberately circumvented apple?s tulles to install a malware web browser to avoid getting permission to use the camera?and third parties compromised machines with this. From chipsm at themartinz.com Wed Mar 25 14:05:08 2020 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Wed, 25 Mar 2020 11:05:08 -0700 Subject: Idea to keep us all connected In-Reply-To: <9D1EC893-2B72-4AB4-A8E4-0F924CF45C31@gmail.com> References: <4bde9e8b-52a0-7584-d41f-ef4d728ccf26@gmail.com> <9D1EC893-2B72-4AB4-A8E4-0F924CF45C31@gmail.com> Message-ID: <00df01d602cf$ebd0bde0$c37239a0$@themartinz.com> Interesting. I did a search on "privacy problems with zoom" And got several hits. Has anyone done any other exploration on this matter and how to circumvent these concerns? Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 636 6965561 -----Original Message----- From: use-livecode On Behalf Of doc hawk via use-livecode Sent: Wednesday, March 25, 2020 10:50 AM To: How to use LiveCode Cc: doc hawk Subject: Re: Idea to keep us all connected On Mar 25, 2020, at 10:37 AM, Sean Cole (Pi) via use-livecode wrote: > > Zoom is fantastic. A Be very cautious with zoom, and note it?s snarky privacy policy which acknowledges they sell data about you . . . I had to use it yesterday for a nonprofit board meeting. I created a throw-away user account. I found that it could *not* run in TOR, and had to settle for a private safari window. And it *did* attempt to access my downloads folder! (OSX caught this). They have also in the past deliberately circumvented apple?s tulles to install a malware web browser to avoid getting permission to use the camera?and third parties compromised machines with this. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Wed Mar 25 14:06:16 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 25 Mar 2020 13:06:16 -0500 Subject: Using Shift + Cmd + 1 as a menu short in LiveCode Message-ID: Hi all, I tried assigning Shift + Cmd + 1 to a menu shortcut in LiveCode but LiveCode insists on using Cmd + 1 instead. I would like to insist that it use Shift + Cmd + 1, just as I entered it :-) Anyone know how to trick LiveCode into using what I entered? I know Shift + Cmd + 1 can be used as XCode uses this key combination for a shortcut in the Windows menu. I'm currently testing on macOS 10.14. Simple Recipe: 1) Create a new stack 2) Open the Menu Builder 3) Create a new menu bar 4) Select File > New and check the Cmd and Shift checkboxes then type 1 into the shortcut field. 5) Test the menu. It shows the following: File New ? 1 Open ? 0 Close ? W -- Trevor DeVore ScreenSteps www.screensteps.com From dochawk at gmail.com Wed Mar 25 14:09:21 2020 From: dochawk at gmail.com (doc hawk) Date: Wed, 25 Mar 2020 11:09:21 -0700 Subject: Using Shift + Cmd + 1 as a menu short in LiveCode In-Reply-To: References: Message-ID: <11108D57-F603-4ECE-A7A6-E616A53CA083@gmail.com> Isn?t that the key sequence for ejecting the internal floppy, err, first removable disk? It does seem to be removed from recent releases, though (although -3 an -4 still work, though not quite how they used to . . ) These were in the original release for the 128k . . . From sean at pidigital.co.uk Wed Mar 25 14:13:52 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 25 Mar 2020 18:13:52 +0000 Subject: Getting HTML5 going In-Reply-To: References: Message-ID: Break it up into smaller substacks and have these loaded into the main stack as needed. HH had an example of this. It would mean that you only update the parts that need doing. I'm looking to add this into my webapp as we speak as eventually there will be many sections the main stack will access. If you wanted something pretty similar in function to Flash and Director, Adobe have Animate. https://helpx.adobe.com/animate/using/best-practices-tips-creating-content.html. It's main purpose has been shifted more towards animators but still functions just like Flash and Director with ActionScript. And deploys for HTML5 too. https://helpx.adobe.com/animate/how-to/convert-flash-ads-to-html5.html Sean On Wed, 25 Mar 2020 at 16:07, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > William Prothero wrote: > > > I?m back working on an educational app teaching plate tectonics. > > When I think of pitfalls of distributing an actual app, I fondly > > look at web distribution, like I used to be able to do with Director > > in shockwave. > > Shockwave made many things about deployment simpler, but still required > a one-time download and install. > > We can do this with LC so very easily, I'm surprised more people don't > take advantage of it. > > I'm with you: deploying standalones for every little change is a > time-eating drag. So I stopped doing it years ago. > > The standalones I deliver download updates from my server, so just like > in a browser the user always has not only the latest data, but also the > latest UI and underlying code. > > Sure, this means the user has a one-time download. But it's only one > time, and they get a fully native app experience, with OS integration > far beyond the limitations of a browser, and a UI completely dedicated > to the app's task. > > I've had apps in the field for many years where I've delivered several > dozen upgrades without ever needing to update the standalone, all with > downloaded stack files. > > I like browsers for many things, and for content-driven works it's my > first choice (mostly for strategy reasons rather than techincal). But > for serious work I prefer a dedicated native app. My customers tell me > they do too, and I've heard that from other devs about their customer > feedback. > > No one wants the endless tedium of updating standalones, neither the > user or us developers. But by decoupling the standalone from the stack > files it uses, we can update those so quickly and easily the user never > even needs to know it's happening. > > Have you considered a standalone that updates its stack files via HTTP? > > -- > 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 ambassador at fourthworld.com Wed Mar 25 14:27:09 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 25 Mar 2020 11:27:09 -0700 Subject: Using Shift + Cmd + 1 as a menu short in LiveCode In-Reply-To: References: Message-ID: <9f2b4c75-8cbe-e87c-f9df-986d395f476d@fourthworld.com> Shift-1 = ! -- 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 Wed Mar 25 14:37:23 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 25 Mar 2020 11:37:23 -0700 Subject: Idea to keep us all connected In-Reply-To: <00df01d602cf$ebd0bde0$c37239a0$@themartinz.com> References: <4bde9e8b-52a0-7584-d41f-ef4d728ccf26@gmail.com> <9D1EC893-2B72-4AB4-A8E4-0F924CF45C31@gmail.com> <00df01d602cf$ebd0bde0$c37239a0$@themartinz.com> Message-ID: <52d1286a-cfae-f0fc-1605-e46eeb446344@sonic.net> On 3/25/20 11:05 AM, Clarence Martin via use-livecode wrote: > Interesting. I did a search on "privacy problems with zoom" And got several hits. Has anyone done any other exploration on this matter and how to circumvent these concerns? The CVE for OSX is basically taken care of with zoom versions past 4.4.4. If you were running earlier versions then there's a fairly simple routine to test for and remove the web server. There were valid reasons the server was deemed necessary to put into place, the problem being that the server daemon was still active after ending a zoom session. I use zoom occasionally without any worries, but if you're concerned then LittleSnitch is your friend. https://www.obdev.at/products/littlesnitch/index.html -- Mark Wieder ahsoftware at gmail.com From prothero at earthlearningsolutions.org Wed Mar 25 14:45:15 2020 From: prothero at earthlearningsolutions.org (Prothero-earthlearningsol) Date: Wed, 25 Mar 2020 11:45:15 -0700 Subject: Getting HTML5 going In-Reply-To: References: Message-ID: <68248683-09A7-4D21-B527-59769D54AA21@earthlearningsolutions.org> Richard and Sean, Good ideas. I had considered deploying it as a standalone that has sections that udate from a server, but worried that the new security requirements from Apple, in particular, discouraged (prohibited?) downloading code. Is that not true? Bill William Prothero http://es.earthednet.org > On Mar 25, 2020, at 11:14 AM, Sean Cole (Pi) via use-livecode wrote: > > ?Break it up into smaller substacks and have these loaded into the main > stack as needed. HH had an example of this. It would mean that you only > update the parts that need doing. I'm looking to add this into my webapp as > we speak as eventually there will be many sections the main stack will > access. > > If you wanted something pretty similar in function to Flash and Director, > Adobe have Animate. > https://helpx.adobe.com/animate/using/best-practices-tips-creating-content.html. > It's main purpose has been shifted more towards animators but still > functions just like Flash and Director with ActionScript. And deploys for > HTML5 too. > https://helpx.adobe.com/animate/how-to/convert-flash-ads-to-html5.html > > Sean > > >> On Wed, 25 Mar 2020 at 16:07, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> William Prothero wrote: >> >>> I?m back working on an educational app teaching plate tectonics. >>> When I think of pitfalls of distributing an actual app, I fondly >>> look at web distribution, like I used to be able to do with Director >>> in shockwave. >> >> Shockwave made many things about deployment simpler, but still required >> a one-time download and install. >> >> We can do this with LC so very easily, I'm surprised more people don't >> take advantage of it. >> >> I'm with you: deploying standalones for every little change is a >> time-eating drag. So I stopped doing it years ago. >> >> The standalones I deliver download updates from my server, so just like >> in a browser the user always has not only the latest data, but also the >> latest UI and underlying code. >> >> Sure, this means the user has a one-time download. But it's only one >> time, and they get a fully native app experience, with OS integration >> far beyond the limitations of a browser, and a UI completely dedicated >> to the app's task. >> >> I've had apps in the field for many years where I've delivered several >> dozen upgrades without ever needing to update the standalone, all with >> downloaded stack files. >> >> I like browsers for many things, and for content-driven works it's my >> first choice (mostly for strategy reasons rather than techincal). But >> for serious work I prefer a dedicated native app. My customers tell me >> they do too, and I've heard that from other devs about their customer >> feedback. >> >> No one wants the endless tedium of updating standalones, neither the >> user or us developers. But by decoupling the standalone from the stack >> files it uses, we can update those so quickly and easily the user never >> even needs to know it's happening. >> >> Have you considered a standalone that updates its stack files via HTTP? >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Mar 25 15:02:57 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 25 Mar 2020 12:02:57 -0700 Subject: Idea to keep us all connected In-Reply-To: References: Message-ID: Since we can't post attachments to this list I posted to the web forum a quick script-only stack library I threw together to access up-to-date worldwide covid-19 information from Johns Hopkins. Hope somebody finds it useful. http://forums.livecode.com/viewtopic.php?f=5&t=33815&p=189459#p189459 -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Wed Mar 25 15:07:14 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 25 Mar 2020 12:07:14 -0700 Subject: Getting HTML5 going In-Reply-To: <68248683-09A7-4D21-B527-59769D54AA21@earthlearningsolutions.org> References: <68248683-09A7-4D21-B527-59769D54AA21@earthlearningsolutions.org> Message-ID: <478bc951-bd2c-3a78-0e14-0420af358720@fourthworld.com> Bill Prothero wrote: > Richard and Sean, > Good ideas. I had considered deploying it as a standalone that has > sections that udate from a server, but worried that the new security > requirements from Apple, in particular, discouraged (prohibited?) > downloading code. Is that not true? Is this desktop or mobile? Just curious, really. In either case, downloading scripts is quite different from downloading executable object code. Any sandboxing for the app is done to the LC engine - swap out scripts all you like and you can't alter what the user has allowed the standalone engine to do. I think Apple's main concern would be an app that presents itself as one thing and later morphs into something else. But if we use downloads responsibly, scripts are really just another form of data, much like spreadsheet formulas. I can't see a reason Apple or anyone else would have an issue with an app downloading data, and I know a good many devs using a wide range of scripting tools that update dynamically. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Wed Mar 25 15:11:21 2020 From: dochawk at gmail.com (doc hawk) Date: Wed, 25 Mar 2020 12:11:21 -0700 Subject: Idea to keep us all connected In-Reply-To: <52d1286a-cfae-f0fc-1605-e46eeb446344@sonic.net> References: <4bde9e8b-52a0-7584-d41f-ef4d728ccf26@gmail.com> <9D1EC893-2B72-4AB4-A8E4-0F924CF45C31@gmail.com> <00df01d602cf$ebd0bde0$c37239a0$@themartinz.com> <52d1286a-cfae-f0fc-1605-e46eeb446344@sonic.net> Message-ID: On Mar 25, 2020, at 11:37 AM, Mark Wieder via use-livecode wrote: > > the problem being that the server daemon was still active after ending a zoom session. And also that it was done without user consent, and in violation of the rules enforcedly apple . . . I used yesterday?s version, and not installed globally (ran from the opened dmg). And will purge that account today, and make another if I need to again. Suspicious? Who, me? :) From sean at pidigital.co.uk Wed Mar 25 15:31:33 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 25 Mar 2020 19:31:33 +0000 Subject: Getting HTML5 going In-Reply-To: <478bc951-bd2c-3a78-0e14-0420af358720@fourthworld.com> References: <478bc951-bd2c-3a78-0e14-0420af358720@fourthworld.com> Message-ID: <7869B9A5-B921-4910-91F5-DF7C533BF750@pidigital.co.uk> In an app on the AppStore this is definitely a security risk from Apple?s point of view. Devs could insert any nefarious code into their app. This has been true from iOS2. Only content like video and images, maybe some animation data and so on is deemed ok and encouraged. I was mainly revering to HTML5 deployment where it is pretty much encouraged to dissect where possible. Sean Cole Pi Digital > On 25 Mar 2020, at 19:08, Richard Gaskin via use-livecode wrote: > > ?Bill Prothero wrote: > > Richard and Sean, > > Good ideas. I had considered deploying it as a standalone that has > > sections that udate from a server, but worried that the new security > > requirements from Apple, in particular, discouraged (prohibited?) > > downloading code. Is that not true? > > Is this desktop or mobile? > > Just curious, really. In either case, downloading scripts is quite different from downloading executable object code. Any sandboxing for the app is done to the LC engine - swap out scripts all you like and you can't alter what the user has allowed the standalone engine to do. > > I think Apple's main concern would be an app that presents itself as one thing and later morphs into something else. > > But if we use downloads responsibly, scripts are really just another form of data, much like spreadsheet formulas. I can't see a reason Apple or anyone else would have an issue with an app downloading data, and I know a good many devs using a wide range of scripting tools that update dynamically. > > -- > 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 ahsoftware at sonic.net Wed Mar 25 15:33:10 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 25 Mar 2020 12:33:10 -0700 Subject: Idea to keep us all connected In-Reply-To: References: <4bde9e8b-52a0-7584-d41f-ef4d728ccf26@gmail.com> <9D1EC893-2B72-4AB4-A8E4-0F924CF45C31@gmail.com> <00df01d602cf$ebd0bde0$c37239a0$@themartinz.com> <52d1286a-cfae-f0fc-1605-e46eeb446344@sonic.net> Message-ID: On 3/25/20 12:11 PM, doc hawk via use-livecode wrote: >> the problem being that the server daemon was still active after ending a zoom session. > > And also that it was done without user consent, and in violation of the rules enforcedly apple . . . No argument from me. The "fix" for Safari 12 wasn't very well thought out either in technical terms or in public visibility. > I used yesterday?s version, and not installed globally (ran from the opened dmg). And will purge that account today, and make another if I need to again. Interesting. I didn't realize it could be run from the dmg. Another option would be to run it in a container. -- Mark Wieder ahsoftware at gmail.com From mkoob at rogers.com Wed Mar 25 15:38:01 2020 From: mkoob at rogers.com (Martin Koob) Date: Wed, 25 Mar 2020 15:38:01 -0400 Subject: Terminal command for fixing Icon images not displaying properly in Mac OS X catalina In-Reply-To: <004a01d602bc$f1c783e0$d5568ba0$@net> References: <004a01d602bc$f1c783e0$d5568ba0$@net> Message-ID: Hi. I saw a discussion earlier on this list or the forums about an issue I was having with Catalina. Icons that appeared fine on earlier versions of Mac OS X now appeared black on Catalina. The solution posted was a simple terminal command that would strip the ?something? from the image files which was causing the problem. At the time I made a note of it I thought but now I can?t find it. I have searched the list and the forums and the web I can?t find a post about this. I can?t. remember the terminal command (something simple like ?remove?) nor the ?something? that was removed so my searches are pretty general and not finding anything. Does anyone else remember this? Thanks Martin From lists at mangomultimedia.com Wed Mar 25 15:46:05 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 25 Mar 2020 14:46:05 -0500 Subject: Using Shift + Cmd + 1 as a menu short in LiveCode In-Reply-To: <9f2b4c75-8cbe-e87c-f9df-986d395f476d@fourthworld.com> References: <9f2b4c75-8cbe-e87c-f9df-986d395f476d@fourthworld.com> Message-ID: On Wed, Mar 25, 2020 at 1:28 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Shift-1 = ! > Right. But using ? + Shift + 1 looks much better in the menu to me than ? !. With ? ! the user has to piece together that they need to add SHIFT to create the ! character. ? + Shift + 1 tells the user every key to press just by looking at it. -- Trevor DeVore ScreenSteps www.screensteps.com From waprothero at gmail.com Wed Mar 25 16:52:31 2020 From: waprothero at gmail.com (William Prothero) Date: Wed, 25 Mar 2020 13:52:31 -0700 Subject: Getting HTML5 going In-Reply-To: <478bc951-bd2c-3a78-0e14-0420af358720@fourthworld.com> References: <68248683-09A7-4D21-B527-59769D54AA21@earthlearningsolutions.org> <478bc951-bd2c-3a78-0e14-0420af358720@fourthworld.com> Message-ID: Richard and Sean: My app is desktop. One of the actions is clicking on a map to specify a data (of various kinds) profile across a great circle path. You really need a mouse to accurately select a point (although there are ways of magnifying small area to get precise location). Anyway, it does seem that if the app is sandboxed, it would be safer to download scripts. For now, I?m updating an older 32 bit version to work in 64 bit and will then consider what kind of further upgrades I want to implement. But, what I really would need to verify before I go that way, is whether Catalina allows livecode script to be downloaded and executed by the engine. Richard, it looks like you say it will, but Sean says no. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Mar 25, 2020, at 12:07 PM, Richard Gaskin via use-livecode wrote: > > Bill Prothero wrote: > > Richard and Sean, > > Good ideas. I had considered deploying it as a standalone that has > > sections that udate from a server, but worried that the new security > > requirements from Apple, in particular, discouraged (prohibited?) > > downloading code. Is that not true? > > Is this desktop or mobile? > > Just curious, really. In either case, downloading scripts is quite different from downloading executable object code. Any sandboxing for the app is done to the LC engine - swap out scripts all you like and you can't alter what the user has allowed the standalone engine to do. > > I think Apple's main concern would be an app that presents itself as one thing and later morphs into something else. > > But if we use downloads responsibly, scripts are really just another form of data, much like spreadsheet formulas. I can't see a reason Apple or anyone else would have an issue with an app downloading data, and I know a good many devs using a wide range of scripting tools that update dynamically. > > -- > 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 mark at livecode.com Wed Mar 25 16:58:43 2020 From: mark at livecode.com (Mark Waddingham) Date: Wed, 25 Mar 2020 20:58:43 +0000 Subject: Getting HTML5 going In-Reply-To: <7869B9A5-B921-4910-91F5-DF7C533BF750@pidigital.co.uk> References: <478bc951-bd2c-3a78-0e14-0420af358720@fourthworld.com> <7869B9A5-B921-4910-91F5-DF7C533BF750@pidigital.co.uk> Message-ID: <0e46cb955ffd68b5826727c8ddc4ed05@livecode.com> On 2020-03-25 19:31, Pi Digital via use-livecode wrote: > In an app on the AppStore this is definitely a security risk from > Apple?s point of view. Devs could insert any nefarious code into their > app. This has been true from iOS2. Only content like video and > images, maybe some animation data and so on is deemed ok and > encouraged. This was once very much the case for the iOS AppStore - as those of you who were with us around 2010/11 will probably remember... However now it isn't any longer true (I did post relatively recent about the most recent app store agreements for both Google and Apple but I couldn't find it when searching just now). Essentially both Google and Apple's restrictions on what you can do in terms of downloadable code are essentially the same these days in both. Obviously both explicitly disallow any sort or malware or nefarious code of *any* sort. However, you are allowed to download code which runs in some sort of interpreter - i.e. the binary/text being downloaded which you are going to run is not in any way related to the actual instructions which run on the local CPU (so classic interpreters are fine, as are JITs - downloading machine code blobs is not). However there are two rules which must be followed: 1) Downloaded code must not allow the app to access any more system provided APIs that it could before. 2) Downloaded code must not allow the app to 'morph' (as Richard put it) into something even slightly unrelated to what it was at the point of review; nor should it add significantly different features (particularly in terms of UI). In practice conforming to (1) is easy - you aren't allowed to download LCB extensions, loading them at runtime, which use FFI to access system functions. Conforming to (2) might sound like it is too fuzzy to really know what you are allowed to do, but it isn't really. It is one of those cases where if you really have to ask yourself whether the bit of script or stack you want to download might be seen as extending the app significantly or morphing the app into something other than what it was when it was reviewed - then it probably is! Some examples: Additional game levels (which often have 'code' in them of some sort) in the spirit of those already offered are fine; 'levels' which turn s puzzle game into a first-person shooter probably are not; adding a level-editor to your game probably would not be. Additional music-related interactive content in a sheet music related app would be fine; interactive recipe-related interactive content being downloaded into a sheet music related app would probably not be fine; adding the ability for a user to add and share comments with others on the original content probably would not be. Replacement business rules required to provide new and updated tax rules in an accounting app would be fine; a module which turns an accounting app into a point-of-sale system would probably not be fine. These two rules are there for very different reasons. Rule (1) is there so both Google and Apple 'know' the surface area of attack on their OSes will not increase. Its important to remember that OSes have bugs too, and bugs sometimes enable exploits - these always come about due to bugs in system APIs enabling something to be done which shouldn't be allowed. Rule (2) is there for more social/business/marketing reasons - they don't want consumers duped, they want to have some idea of what the app is meant to be and they want to try to (at least minimally) provide a reasonably cohesive 'store' environment. At the end of the day, these two rules are really easy to keep within. If you need to make substantial functional changes to your app then you need to get it re-reviewed, but if you are merely extending what was already there before in any sort of 'reasonable' way (particularly by providing extra content incremental to what was there) then you will have no problem at all. Hope this helps! Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From curry at pair.com Wed Mar 25 16:58:03 2020 From: curry at pair.com (Curry Kenworthy) Date: Wed, 25 Mar 2020 16:58:03 -0400 Subject: Using Shift + Cmd + 1 as a menu short in LiveCode In-Reply-To: References: Message-ID: This was reported by me and confirmed by LC last year: https://quality.livecode.com/show_bug.cgi?id=22107 (Shift-Tab is the most problematic example, since it doesn't have a convenient shifted char. Menu defs seem glitchy, so we may need to file additional reports but hoping this Shift bug gets nailed soon. Introduced in LC7 - one of the many still with us over the years.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From mark at livecode.com Wed Mar 25 17:07:18 2020 From: mark at livecode.com (Mark Waddingham) Date: Wed, 25 Mar 2020 21:07:18 +0000 Subject: Getting HTML5 going In-Reply-To: References: <68248683-09A7-4D21-B527-59769D54AA21@earthlearningsolutions.org> <478bc951-bd2c-3a78-0e14-0420af358720@fourthworld.com> Message-ID: On 2020-03-25 20:52, William Prothero via use-livecode wrote: > But, what I really would need to verify before I go that way, is > whether Catalina allows livecode script to be downloaded and executed > by the engine. Richard, it looks like you say it will, but Sean says > no. Catalina in general does not restrict the ability for a desktop app to download and run LiveCode script. I will make a note to double-check the macOS AppStore rules in the next day or so (this is assuming you are thinking about macOS AppStore submission), but from memory they are very much aligned with the iOS AppStore ones in this regard (so my previous posts comments apply there too). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From matthias_livecode_150811 at m-r-d.de Wed Mar 25 17:12:39 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 25 Mar 2020 22:12:39 +0100 Subject: Terminal command for fixing Icon images not displaying properly in Mac OS X catalina In-Reply-To: References: <004a01d602bc$f1c783e0$d5568ba0$@net> Message-ID: Hi Martin, i had to search a little bit. Mark Waddingham?s solution: terminal command: sips -d profile --deleteColorManagementProperties PATH../Image.png and my... dragging the image onto Remove.app in /library/scripts/colorsync/ replaces the ColorSync Profile to sRGB IEC61966-2.1 - Matthias Rebbe Life Is Too Short For Boring Code > Am 25.03.2020 um 20:38 schrieb Martin Koob via use-livecode : > > Hi. > > I saw a discussion earlier on this list or the forums about an issue I was having with Catalina. > > Icons that appeared fine on earlier versions of Mac OS X now appeared black on Catalina. > > The solution posted was a simple terminal command that would strip the ?something? from the image files which was causing the problem. > > At the time I made a note of it I thought but now I can?t find it. I have searched the list and the forums and the web I can?t find a post about this. > > I can?t. remember the terminal command (something simple like ?remove?) nor the ?something? that was removed so my searches are pretty general and not finding anything. > > Does anyone else remember this? > > Thanks > > Martin > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Mar 25 17:19:17 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 25 Mar 2020 21:19:17 +0000 Subject: [ANN] Release 9.6.0 DP-3 In-Reply-To: <455B9F15-8925-4AD0-8E1D-352490EAB4AF@pidigital.co.uk> References: <9CD804C6-D469-40B1-9671-8A360D3944FC@livecode.com> <455B9F15-8925-4AD0-8E1D-352490EAB4AF@pidigital.co.uk> Message-ID: <3335119A-B28D-47B6-A6E3-F2B23E929480@hindu.org> Did you try a build for TestFlight, (which requires a Distribution for App Store Provisioning profile) Everything worked fine using the same Provisioning Profile and Certificate to 9.6.0.DP2.. But under XCode 11.3.1 and 9.6.0 DP3. I am getting: ---------- ERROR ITMS-90035: "Invalid Signature. A sealed resource is missing or invalid. The file at path [SivaSiva.app/SivaSiva] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html" Of course there is no ?Clean All? for those building outside of Xcode It never ends with apple?. I?ve upgraded to macOS10.15.3 and Xcode 11.3.1 and all is well so far. Other than all the other bugs not yet addressed of course. Sean Cole Pi Digital From ahsoftware at sonic.net Wed Mar 25 17:23:38 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 25 Mar 2020 14:23:38 -0700 Subject: Getting HTML5 going In-Reply-To: <0e46cb955ffd68b5826727c8ddc4ed05@livecode.com> References: <478bc951-bd2c-3a78-0e14-0420af358720@fourthworld.com> <7869B9A5-B921-4910-91F5-DF7C533BF750@pidigital.co.uk> <0e46cb955ffd68b5826727c8ddc4ed05@livecode.com> Message-ID: <53035e2c-ed65-075e-5359-86561d50971c@sonic.net> On 3/25/20 1:58 PM, Mark Waddingham via use-livecode wrote: > However there are two rules which must be followed: > > ? 1) Downloaded code must not allow the app to access any more system > provided APIs that it could before. > > ? 2) Downloaded code must not allow the app to 'morph' (as Richard put > it) into something even slightly unrelated to what it was at the point > of review; nor should it add significantly different features > (particularly in terms of UI). > > In practice conforming to (1) is easy - you aren't allowed to download > LCB extensions, loading them at runtime, which use FFI to access system > functions. My reading of 1) is that LCB extensions that use FFI are allowed as long as they don't expand the attack surface by introducing new system api calls that the app doesn't already use. But then I'm not in a position to make, review, or enforce those rules. -- Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Wed Mar 25 17:25:25 2020 From: dochawk at gmail.com (doc hawk) Date: Wed, 25 Mar 2020 14:25:25 -0700 Subject: Idea to keep us all connected In-Reply-To: References: <4bde9e8b-52a0-7584-d41f-ef4d728ccf26@gmail.com> <9D1EC893-2B72-4AB4-A8E4-0F924CF45C31@gmail.com> <00df01d602cf$ebd0bde0$c37239a0$@themartinz.com> <52d1286a-cfae-f0fc-1605-e46eeb446344@sonic.net> Message-ID: <13B2A80D-E977-4813-997A-7FD26FF370BC@gmail.com> On Mar 25, 2020, at 12:33 PM, Mark Wieder via use-livecode wrote: > > On 3/25/20 12:11 PM, doc hawk via use-livecode wrote: > >> I used yesterday?s version, and not installed globally (ran from the opened dmg). And will purge that account today, and make another if I need to again. > > Interesting. I didn't realize it could be run from the dmg. Another option would be to run it in a container. It seems that *most* things can. At one point, I found that I was running livecode that way . . . From mkoob at rogers.com Wed Mar 25 17:58:57 2020 From: mkoob at rogers.com (Martin Koob) Date: Wed, 25 Mar 2020 17:58:57 -0400 Subject: Terminal command for fixing Icon images not displaying properly in Mac OS X catalina In-Reply-To: References: <004a01d602bc$f1c783e0$d5568ba0$@net> Message-ID: <20CCEA60-CDBB-4809-B1E2-5B9120064045@rogers.com> Hi Matthias Thanks for doing the searching on my behalf. I was embarrassed to ask a question that I knew I should be able to find the answer online but I was getting nowhere. I couldn?t remember the terms like the shell command or the name of the colour property that was being changed so I was getting nowhere. I did remember ?remove? but I thought ?remove' was the shell command but when I looked at man for that I knew that was wrong. Thanks for the quick response. Regards, Martin Koob > On Mar 25, 2020, at 5:12 PM, matthias rebbe via use-livecode wrote: > > Hi Martin, > > i had to search a little bit. > > Mark Waddingham?s solution: > terminal command: sips -d profile --deleteColorManagementProperties PATH../Image.png > > and my... > > dragging the image onto Remove.app in /library/scripts/colorsync/ > > replaces the ColorSync Profile to sRGB IEC61966-2.1 > > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 25.03.2020 um 20:38 schrieb Martin Koob via use-livecode : >> >> Hi. >> >> I saw a discussion earlier on this list or the forums about an issue I was having with Catalina. >> >> Icons that appeared fine on earlier versions of Mac OS X now appeared black on Catalina. >> >> The solution posted was a simple terminal command that would strip the ?something? from the image files which was causing the problem. >> >> At the time I made a note of it I thought but now I can?t find it. I have searched the list and the forums and the web I can?t find a post about this. >> >> I can?t. remember the terminal command (something simple like ?remove?) nor the ?something? that was removed so my searches are pretty general and not finding anything. >> >> Does anyone else remember this? >> >> Thanks >> >> Martin >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Mar 25 18:01:58 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 25 Mar 2020 17:01:58 -0500 Subject: Using Shift + Cmd + 1 as a menu short in LiveCode In-Reply-To: References: Message-ID: On Wed, Mar 25, 2020 at 3:58 PM Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com> wrote: > > This was reported by me and confirmed by LC last year: > > https://quality.livecode.com/show_bug.cgi?id=22107 > > (Shift-Tab is the most problematic example, since it doesn't have a > convenient shifted char. Menu defs seem glitchy, so we may need to file > additional reports but hoping this Shift bug gets nailed soon. > Introduced in LC7 - one of the many still with us over the years.) > Thanks for pointing me to that Curry. I've added myself to the CC list as the two may very well be related. -- Trevor DeVore ScreenSteps www.screensteps.com From matthias_livecode_150811 at m-r-d.de Wed Mar 25 18:06:21 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 25 Mar 2020 23:06:21 +0100 Subject: DataGrid question... In-Reply-To: <1378B10B-C06A-4BE7-8C41-498E559F1DDA@me.com> References: <1000601200.1597176.1585095525587@mail.yahoo.com> <3F67B03B-64B3-44EA-B647-573B3E337915@m-r-d.de> <1378B10B-C06A-4BE7-8C41-498E559F1DDA@me.com> Message-ID: Thanks. Matthias > Am 25.03.2020 um 13:34 schrieb Tore Nilsen via use-livecode : > > What you should look for in the Dictionary is tabAlign > > Tore > >> 25. mar. 2020 kl. 13:32 skrev matthias rebbe via use-livecode >: >> >>> >>> Am 25.03.2020 um 01:26 schrieb Richard Gaskin via use-livecode : >>> >>> Paul Dupuis wrote: >>> >>>> Has anyone come up with a way to configure a DataGrid (LC9) so that >>>> the left most column remains visible when the other columns are >>>> scrolled horizontally? >>>> >>>> Or is the only way to to do this is to have a separate field to the >>>> left of the DataGrid that holds the left column? >>>> >>>> Anyone solved this already? >>> >>> Not here. When all I need is a list I just use a list field. Now that LC's field supports independent column alignment I haven't needed a DG for anything but forms. >>> >> >> >> Richard, do you know if there is a lesson for this available or is there something written about it? To be honest, i must have missed that "new" feature. >> >> I?ve searched already for column alignment, but can only find lessons/information about Datagrids. >> >>> Parse out the first col with a "split by column", drop it into a control on the left, and you're good to go. >>> >> >> Matthias >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Wed Mar 25 18:25:12 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 25 Mar 2020 22:25:12 +0000 Subject: [ANN] Release 9.6.0 DP-3 In-Reply-To: <3335119A-B28D-47B6-A6E3-F2B23E929480@hindu.org> References: <9CD804C6-D469-40B1-9671-8A360D3944FC@livecode.com> <455B9F15-8925-4AD0-8E1D-352490EAB4AF@pidigital.co.uk> <3335119A-B28D-47B6-A6E3-F2B23E929480@hindu.org> Message-ID: What do you get from LC when you create the standalone build? Have you refreshed the dist certs just to be sure? Sean On Wed, 25 Mar 2020 at 21:19, Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > Did you try a build for TestFlight, (which requires a Distribution for > App Store Provisioning profile) > > Everything worked fine using the same Provisioning Profile and Certificate > to 9.6.0.DP2.. > > But under XCode 11.3.1 and 9.6.0 DP3. > I am getting: > ---------- > ERROR ITMS-90035: "Invalid Signature. A sealed resource is missing or > invalid. The file at path [SivaSiva.app/SivaSiva] is not properly signed. > Make sure you have signed your application with a distribution certificate, > not an ad hoc certificate or a development certificate. Verify that the > code signing settings in Xcode are correct at the target level (which > override any values at the project level). Additionally, make sure the > bundle you are uploading was built using a Release target in Xcode, not a > Simulator target. If you are certain your code signing settings are > correct, choose "Clean All" in Xcode, delete the "build" directory in the > Finder, and rebuild your release target. For more information, please > consult > https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html > " > > Of course there is no ?Clean All? for those building outside of Xcode > > From waprothero at gmail.com Wed Mar 25 19:34:23 2020 From: waprothero at gmail.com (William Prothero) Date: Wed, 25 Mar 2020 16:34:23 -0700 Subject: Getting HTML5 going In-Reply-To: <53035e2c-ed65-075e-5359-86561d50971c@sonic.net> References: <478bc951-bd2c-3a78-0e14-0420af358720@fourthworld.com> <7869B9A5-B921-4910-91F5-DF7C533BF750@pidigital.co.uk> <0e46cb955ffd68b5826727c8ddc4ed05@livecode.com> <53035e2c-ed65-075e-5359-86561d50971c@sonic.net> Message-ID: <9A1C0166-9F65-40B3-AA67-BC2256AAC374@gmail.com> What I was thinking of was distributing a fairly basic educational application, then adding features and lessons as life goes on. Sounds like it would depend on how extensive the features were. Perhaps lessons would only trigger a problem if they required the addition of significant new features. Hmmm?.. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Mar 25, 2020, at 2:23 PM, Mark Wieder via use-livecode wrote: > > On 3/25/20 1:58 PM, Mark Waddingham via use-livecode wrote: > >> However there are two rules which must be followed: >> 1) Downloaded code must not allow the app to access any more system provided APIs that it could before. >> 2) Downloaded code must not allow the app to 'morph' (as Richard put it) into something even slightly unrelated to what it was at the point of review; nor should it add significantly different features (particularly in terms of UI). >> In practice conforming to (1) is easy - you aren't allowed to download LCB extensions, loading them at runtime, which use FFI to access system functions. > > My reading of 1) is that LCB extensions that use FFI are allowed as long as they don't expand the attack surface by introducing new system api calls that the app doesn't already use. > > But then I'm not in a position to make, review, or enforce those rules. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Wed Mar 25 20:37:59 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 26 Mar 2020 00:37:59 +0000 Subject: Getting HTML5 going In-Reply-To: <9A1C0166-9F65-40B3-AA67-BC2256AAC374@gmail.com> References: <9A1C0166-9F65-40B3-AA67-BC2256AAC374@gmail.com> Message-ID: My apologies for the misunderstanding. I thought we were all still talking about HTML5 deployment with a small digression question regarding iOS. Somehow I missed the part where it got steered off into every other platform :) Sean Cole Pi Digital > On 25 Mar 2020, at 23:34, William Prothero via use-livecode wrote: > > ?What I was thinking of was distributing a fairly basic educational application, then adding features and lessons as life goes on. Sounds like it would depend on how extensive the features were. Perhaps lessons would only trigger a problem if they required the addition of significant new features. Hmmm?.. > Best, > Bill > > William A. Prothero > https://earthlearningsolutions.org > >> On Mar 25, 2020, at 2:23 PM, Mark Wieder via use-livecode wrote: >> >>> On 3/25/20 1:58 PM, Mark Waddingham via use-livecode wrote: >>> >>> However there are two rules which must be followed: >>> 1) Downloaded code must not allow the app to access any more system provided APIs that it could before. >>> 2) Downloaded code must not allow the app to 'morph' (as Richard put it) into something even slightly unrelated to what it was at the point of review; nor should it add significantly different features (particularly in terms of UI). >>> In practice conforming to (1) is easy - you aren't allowed to download LCB extensions, loading them at runtime, which use FFI to access system functions. >> >> My reading of 1) is that LCB extensions that use FFI are allowed as long as they don't expand the attack surface by introducing new system api calls that the app doesn't already use. >> >> But then I'm not in a position to make, review, or enforce those rules. >> >> -- >> 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 waprothero at gmail.com Wed Mar 25 20:42:14 2020 From: waprothero at gmail.com (William Prothero) Date: Wed, 25 Mar 2020 17:42:14 -0700 Subject: Getting HTML5 going In-Reply-To: References: <9A1C0166-9F65-40B3-AA67-BC2256AAC374@gmail.com> Message-ID: Sean: Sorry, I guess the discussion got going onto issues of how to keep an app updated, which was a major feature of web deployment. Thanks for all your input, Sean. Very helpful. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Mar 25, 2020, at 5:37 PM, Pi Digital via use-livecode wrote: > > My apologies for the misunderstanding. I thought we were all still talking about HTML5 deployment with a small digression question regarding iOS. Somehow I missed the part where it got steered off into every other platform :) > > Sean Cole > Pi Digital > > >> On 25 Mar 2020, at 23:34, William Prothero via use-livecode wrote: >> >> ?What I was thinking of was distributing a fairly basic educational application, then adding features and lessons as life goes on. Sounds like it would depend on how extensive the features were. Perhaps lessons would only trigger a problem if they required the addition of significant new features. Hmmm?.. >> Best, >> Bill >> >> William A. Prothero >> https://earthlearningsolutions.org >> >>> On Mar 25, 2020, at 2:23 PM, Mark Wieder via use-livecode wrote: >>> >>>> On 3/25/20 1:58 PM, Mark Waddingham via use-livecode wrote: >>>> >>>> However there are two rules which must be followed: >>>> 1) Downloaded code must not allow the app to access any more system provided APIs that it could before. >>>> 2) Downloaded code must not allow the app to 'morph' (as Richard put it) into something even slightly unrelated to what it was at the point of review; nor should it add significantly different features (particularly in terms of UI). >>>> In practice conforming to (1) is easy - you aren't allowed to download LCB extensions, loading them at runtime, which use FFI to access system functions. >>> >>> My reading of 1) is that LCB extensions that use FFI are allowed as long as they don't expand the attack surface by introducing new system api calls that the app doesn't already use. >>> >>> But then I'm not in a position to make, review, or enforce those rules. >>> >>> -- >>> 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 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Mar 25 21:47:24 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 26 Mar 2020 01:47:24 +0000 Subject: [ANN] Release 9.6.0 DP-3 In-Reply-To: References: <9CD804C6-D469-40B1-9671-8A360D3944FC@livecode.com> <455B9F15-8925-4AD0-8E1D-352490EAB4AF@pidigital.co.uk> <3335119A-B28D-47B6-A6E3-F2B23E929480@hindu.org> Message-ID: <8BCAE7C6-789B-4192-9A4A-E04D82A77A3F@hindu.org> If you mean ?refresh? as in -- deleting the profiles in ~/Library/MobileDevice/Provisioning Profiles -- Going go to developer.apple.com. Downloaded them again, -- click them and they were ?registered? by latest Xcode (11.3.1) And with LC saying ?Standalone Success?.? No glitches?. But ?no go in Transporter Same error BR ------------ What do you get from LC when you create the standalone build? Have you refreshed the dist certs just to be sure? Sean Sean said What do you get from LC when you create the standalone build? Have you refreshed the dist certs just to be sure? Sean On Wed, 25 Mar 2020 at 21:19, Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: Did you try a build for TestFlight, (which requires a Distribution for App Store Provisioning profile) Everything worked fine using the same Provisioning Profile and Certificate to 9.6.0.DP2.. But under XCode 11.3.1 and 9.6.0 DP3. I am getting: ---------- ERROR ITMS-90035: "Invalid Signature. A sealed resource is missing or invalid. The file at path [SivaSiva.app/SivaSiva] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html " Of course there is no ?Clean All? for those building outside of Xcode From neville.smythe at optusnet.com.au Thu Mar 26 02:53:37 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 26 Mar 2020 17:53:37 +1100 Subject: Unicode mysteries Message-ID: <4EFCC9F1-1561-4A35-AA02-C6297148122B@optusnet.com.au> I am trying to understand the mysteries of unicode encodings; the following may (or may not) be useful (or confusing) to others. The docs say the full chunk expression for a unicode character is byte i of codeunit j of codepoint k of character c of str (with the warning that this is 'not of general utility? ? indeed!) Taking a look at the Emoji ?flag of Scotland? character ??????? which won?t display here but exists in the Apple Color Emoji font and in corresponding fonts for other platforms, I get put ??????? into str number of chars of str: 1 char 1 of str : ??????? number of codepoints of char 1 of str: 7 codepoint:1 1F3F4 with 2 codeunits (D83C DFF4) codepoint:2 0 with 0 codeunits - seems to be a placeholder rather an actual codepoint codepoint:3 E0067 (DB40 DC67) codepoint:4 0 codepoint:5 E0062 (DB40 DC62) codepoint:6 0 codepoint:7 E0073 (DB40 DC73) number of codepoints of str: 7 number of codeunits of str: 14 number of codeunits of char 1 of str: 14 So there are 6 codeunits which are not in any codepoints (or at least not as reported by LC). They can be enumerated by looping over ?codeunit j of str? rather than 'codeunit j of codepoint k of ..' Or by textEnccode(str,?UTF-16?) and then by enumerating the bytes of the binary encoded str. Bytes in binary encoding = all the codeunits (encoding is actually in littleendian byte order, but given here in bigendian order, which is the order reported by enumerating the codeunits) D83C DFF4 DB40 DC67 DB40 DC62 DB40 DC73 DB40 DC63 DB40 DC74 DB40 DC7F Which should correspond to codepoints 1F3F4 E0067 E0062 E0073 E0063 E0074 E007F And indeed if I manually build a UTF-16 string with these code points it does display as the flag of Scotland. So the lesson is that the reported chunks are not to be naively trusted --- tho not exactly a bug given the documentation warning. 1F3F4 by the way is a black flag; the remaining codepoints are in the Variations unicode block. Amusingly the Rainbow flag emoji is made up of 3 characters, char 1 is a white flag, char 2 is an invisible vertical join instruction, char 3 is a rainbow. BTW, backspacing over the displayed Rainbow flag actually has to be done in three steps to remove the displayed glyph, which I think is not correct behaviour for an editor since it appears to the user as one unicode character. Apple's TextEdit for example deletes the Rainbow flag with a single backspace. There are nasties lurking here for text manipulation LC code. Perhaps there should be a new string element ?unicodeChar?? BTW I have nothing but huge admiration for the LC unicode implementation team, it is a subject of extreme complexity. Another question (which I think has been raised before but I don?t think there was an answer?). When a character (codepoint) in a string is displayed, if the requested font does not have that codepoint the OS substitutes a glyph from another font (or the missing character glyph if no font supports the codepoint). So for example if you change the font of the above flag of Scotland to Arial, it still displays as the flag of Scotland, even though this glyph is not in Arial. LC will still report that the font of this character is Arial: from what I can gather this is not the fault of LC, the OS is doing this substitution behind its back (TextEdit does the same). But is there any way to find out (programatically) the actual font being used? From mark at livecode.com Thu Mar 26 05:52:44 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 26 Mar 2020 09:52:44 +0000 Subject: Unicode mysteries In-Reply-To: <4EFCC9F1-1561-4A35-AA02-C6297148122B@optusnet.com.au> References: <4EFCC9F1-1561-4A35-AA02-C6297148122B@optusnet.com.au> Message-ID: <66c7798a3a6e67d03fe167aef79196bf@livecode.com> On 2020-03-26 06:53, Neville Smythe via use-livecode wrote: > Which should correspond to codepoints > 1F3F4 E0067 E0062 E0073 E0063 E0074 E007F > And indeed if I manually build a UTF-16 string with these code points > it does display as the flag of Scotland. So the lesson is that the > reported chunks are not to be naively trusted --- tho not exactly a > bug given the documentation warning. Well this would be a bug! If you try codepoint 1..14 - then you will see that they alternate between a codepoint and zero - the codepoints appear to correspond to the relevant surrogate pair codeunits. i.e. codepoint is misinterpreting the index as a codeunit index, rather than a codepoint index :| If you file a bug then I suspect this can be fixed quite quickly (famous last words of course!). > Another question (which I think has been raised before but I don?t > think there was an answer?). When a character (codepoint) in a string > is displayed, if the requested font does not have that codepoint the > OS substitutes a glyph from another font (or the missing character > glyph if no font supports the codepoint). So for example if you change > the font of the above flag of Scotland to Arial, it still displays as > the flag of Scotland, even though this glyph is not in Arial. LC will > still report that the font of this character is Arial: from what I can > gather this is not the fault of LC, the OS is doing this substitution > behind its back (TextEdit does the same). But is there any way to find > out (programatically) the actual font being used? Unfortunately not easily - fallback mechanisms of this sort occur quite low down in the text layout / rendering code. What do you need to know what font is actually being used for? Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Thu Mar 26 06:10:51 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 26 Mar 2020 10:10:51 +0000 Subject: Getting HTML5 going In-Reply-To: References: <68248683-09A7-4D21-B527-59769D54AA21@earthlearningsolutions.org> <478bc951-bd2c-3a78-0e14-0420af358720@fourthworld.com> Message-ID: <7918bc4f78c8fcdbf11a050e156c7913@livecode.com> On 2020-03-25 21:07, Mark Waddingham via use-livecode wrote: > I will make a note to double-check the macOS AppStore rules in the > next day or so (this is assuming you are thinking about macOS AppStore > submission), but from memory they are very much aligned with the iOS > AppStore ones in this regard (so my previous posts comments apply > there too). The relevant macOS AppStore guideline is this: 2.5.2. Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they download, install, or execute code which introduces or changes features or functionality of the app, including other apps. So this is less restrictive of the form of executable code which can downloaded compared to iOS; but the same in terms of what such downloads are allowed to do. Basically: If you are producing Desktop software and *not* interested in submitting to the macOS AppStore then you can do whatever you want - i.e. you are free to live update your app whenever you want by downloading updated stackfiles which can do whatever you want them to do. If you are producing Desktop software and *do* want to submit to the macOS AppStore then you can still download live updates, but you need to be wary of what those updates are doing as mentioned in my previously post. There is a tendency, I think, to vastly overthink this. The reality is that you lose nothing by being slightly restricted in terms of what live updates are allowed to do in an AppStore context! Part of the point of AppStores is to make it easier for users to find, install and keep their apps up to date. From a user perspective, updating an app is as easy as clicking a button when they are told there is an update and a little while later they will have an updated app. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From zryip.theslug at gmail.com Thu Mar 26 09:54:59 2020 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 26 Mar 2020 14:54:59 +0100 Subject: DataGrid question... In-Reply-To: References: <1000601200.1597176.1585095525587@mail.yahoo.com> <3F67B03B-64B3-44EA-B647-573B3E337915@m-r-d.de> <1378B10B-C06A-4BE7-8C41-498E559F1DDA@me.com> Message-ID: Paul, I have somewhere a stack demonstrating how to use a second datagrid with the columns to freeze and how to synchronize this second datagrid with the main datagrid when the rows are scrolled. If you may interested I can share it. On Wed, Mar 25, 2020 at 11:07 PM matthias rebbe via use-livecode wrote: > > Thanks. > Matthias > > > > Am 25.03.2020 um 13:34 schrieb Tore Nilsen via use-livecode : > > > > What you should look for in the Dictionary is tabAlign > > > > Tore > > > >> 25. mar. 2020 kl. 13:32 skrev matthias rebbe via use-livecode >: > >> > >>> > >>> Am 25.03.2020 um 01:26 schrieb Richard Gaskin via use-livecode : > >>> > >>> Paul Dupuis wrote: > >>> > >>>> Has anyone come up with a way to configure a DataGrid (LC9) so that > >>>> the left most column remains visible when the other columns are > >>>> scrolled horizontally? > >>>> > >>>> Or is the only way to to do this is to have a separate field to the > >>>> left of the DataGrid that holds the left column? > >>>> > >>>> Anyone solved this already? > >>> > >>> Not here. When all I need is a list I just use a list field. Now that LC's field supports independent column alignment I haven't needed a DG for anything but forms. > >>> > >> > >> > >> Richard, do you know if there is a lesson for this available or is there something written about it? To be honest, i must have missed that "new" feature. > >> > >> I?ve searched already for column alignment, but can only find lessons/information about Datagrids. > >> > >>> Parse out the first col with a "split by column", drop it into a control on the left, and you're good to go. > >>> > >> > >> Matthias > >> > >> - > >> Matthias Rebbe > >> Life Is Too Short For Boring Code > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Zryip TheSlug http://www.aslugontheroad.com From matthias_livecode_150811 at m-r-d.de Thu Mar 26 10:14:49 2020 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 26 Mar 2020 15:14:49 +0100 Subject: DataGrid question... In-Reply-To: References: Message-ID: <5E5DEE10-CBAD-46E1-BEBC-59EC17B9022B@m-r-d.de> Hi Zryip, It would be awesome if you would share it anyway. ;) Regards Matthias Von meinem iPhone gesendet > Am 26.03.2020 um 14:56 schrieb zryip theSlug via use-livecode : > > ?Paul, > > I have somewhere a stack demonstrating how to use a second datagrid > with the columns to freeze and how to synchronize this second datagrid > with the main datagrid when the rows are scrolled. > > If you may interested I can share it. > >> On Wed, Mar 25, 2020 at 11:07 PM matthias rebbe via use-livecode >> wrote: >> >> Thanks. >> Matthias >> >> >>>> Am 25.03.2020 um 13:34 schrieb Tore Nilsen via use-livecode : >>> >>> What you should look for in the Dictionary is tabAlign >>> >>> Tore >>> >>>> 25. mar. 2020 kl. 13:32 skrev matthias rebbe via use-livecode >: >>>> >>>>> >>>>> Am 25.03.2020 um 01:26 schrieb Richard Gaskin via use-livecode : >>>>> >>>>> Paul Dupuis wrote: >>>>> >>>>>> Has anyone come up with a way to configure a DataGrid (LC9) so that >>>>>> the left most column remains visible when the other columns are >>>>>> scrolled horizontally? >>>>>> >>>>>> Or is the only way to to do this is to have a separate field to the >>>>>> left of the DataGrid that holds the left column? >>>>>> >>>>>> Anyone solved this already? >>>>> >>>>> Not here. When all I need is a list I just use a list field. Now that LC's field supports independent column alignment I haven't needed a DG for anything but forms. >>>>> >>>> >>>> >>>> Richard, do you know if there is a lesson for this available or is there something written about it? To be honest, i must have missed that "new" feature. >>>> >>>> I?ve searched already for column alignment, but can only find lessons/information about Datagrids. >>>> >>>>> Parse out the first col with a "split by column", drop it into a control on the left, and you're good to go. >>>>> >>>> >>>> Matthias >>>> >>>> - >>>> Matthias Rebbe >>>> Life Is Too Short For Boring Code >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Zryip TheSlug > http://www.aslugontheroad.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 Mar 26 10:51:17 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 26 Mar 2020 14:51:17 +0000 Subject: Unicode mysteries In-Reply-To: <4EFCC9F1-1561-4A35-AA02-C6297148122B@optusnet.com.au> References: <4EFCC9F1-1561-4A35-AA02-C6297148122B@optusnet.com.au> Message-ID: I see the flag here. Bob S On Mar 25, 2020, at 11:53 PM, Neville Smythe via use-livecode > wrote: Taking a look at the Emoji ?flag of Scotland? character ??????? which won?t display here but exists in the Apple Color Emoji font and in corresponding fonts for other platforms, I get From paul at researchware.com Thu Mar 26 10:54:21 2020 From: paul at researchware.com (Paul Dupuis) Date: Thu, 26 Mar 2020 10:54:21 -0400 Subject: DataGrid question... In-Reply-To: References: <1000601200.1597176.1585095525587@mail.yahoo.com> <3F67B03B-64B3-44EA-B647-573B3E337915@m-r-d.de> <1378B10B-C06A-4BE7-8C41-498E559F1DDA@me.com> Message-ID: <8aa3b57b-2741-d2bd-1e3d-150ef311bca2@researchware.com> On 3/26/2020 9:54 AM, zryip theSlug via use-livecode wrote: > Paul, > > I have somewhere a stack demonstrating how to use a second datagrid > with the columns to freeze and how to synchronize this second datagrid > with the main datagrid when the rows are scrolled. > > If you may interested I can share it. > > Very interested! Given everyone's responses, I was just about to code something up myself using two Datagids for consistency in user interface. Thank you! From bobsneidar at iotecdigital.com Thu Mar 26 11:45:33 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 26 Mar 2020 15:45:33 +0000 Subject: Disabled objects semi translucent?? Message-ID: <8DED5666-48DD-42B5-A603-EDAD0D4C7925@iotecdigital.com> Hi all. I?m noticing (for the first time it seems) that disabled objects are semi-transparent! Is this intentional?? This means any background pattern I set for the card shows through the disabled objects! Boo! Bob S From dunbarx at aol.com Thu Mar 26 12:15:33 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 26 Mar 2020 16:15:33 +0000 (UTC) Subject: Disabled objects semi translucent?? In-Reply-To: <8DED5666-48DD-42B5-A603-EDAD0D4C7925@iotecdigital.com> References: <8DED5666-48DD-42B5-A603-EDAD0D4C7925@iotecdigital.com> Message-ID: <568202415.2546120.1585239333096@mail.yahoo.com> Bob. Yep, disabled objects are translucent. The default blendLevel is 0, so no help there. You can fool around with the backColor, of course. Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Thu, Mar 26, 2020 11:46 am Subject: Disabled objects semi translucent?? Hi all. I?m noticing (for the first time it seems) that disabled objects are semi-transparent! Is this intentional?? This means any background pattern I set for the card shows through the disabled objects! Boo! Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Mar 26 13:33:17 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 26 Mar 2020 17:33:17 +0000 Subject: Navigator won't go away! Message-ID: <1C371B6E-DBD0-4394-9D48-558B2891531D@iotecdigital.com> I have removed every instance of Navigator from my hard drive (I searched for them and deleted them) in preparation of installing the latest version. I did this because on my home Mac, I keep getting a 2.5 beta version of the plug-in every time I launch! I verified my plugin folder is set to /Users/ References: <1C371B6E-DBD0-4394-9D48-558B2891531D@iotecdigital.com> Message-ID: FOUND IT! It was in the actual MacOS APPLICATION BUNDLE!!! Hey LC, I appreciate the freebies, but a beta of 2.5?? Seriously? Geoff is up to v6 now, and it?s open source, not honor-ware. If putting the newer version in the Plugins folder is supposed to override the embedded one, it doesn?t work. Bob S > On Mar 26, 2020, at 10:33 AM, Bob Sneidar via use-livecode wrote: > > I have removed every instance of Navigator from my hard drive (I searched for them and deleted them) in preparation of installing the latest version. I did this because on my home Mac, I keep getting a 2.5 beta version of the plug-in every time I launch! > > I verified my plugin folder is set to /Users/ > I quit Livecode, then relaunch it. I still see revNavigator in the Development/Plugins menu, and when I select it, the 2.5 beta version loads!!! What the actual eff??? > > Where else would Livecode be getting these plugins from?? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Mar 26 13:45:18 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 26 Mar 2020 17:45:18 +0000 Subject: Navigator won't go away! In-Reply-To: References: <1C371B6E-DBD0-4394-9D48-558B2891531D@iotecdigital.com> Message-ID: <41833A95-2654-48B5-B1A1-F8EAB49E964A@iotecdigital.com> Whoopsie, NO plugins are loading from the /Users//Documents/Livecode/PlugIns/ folder! Wha??? Bob S > On Mar 26, 2020, at 10:41 AM, Bob Sneidar via use-livecode wrote: > > FOUND IT! It was in the actual MacOS APPLICATION BUNDLE!!! > > Hey LC, I appreciate the freebies, but a beta of 2.5?? Seriously? Geoff is up to v6 now, and it?s open source, not honor-ware. If putting the newer version in the Plugins folder is supposed to override the embedded one, it doesn?t work. > > Bob S > > >> On Mar 26, 2020, at 10:33 AM, Bob Sneidar via use-livecode wrote: >> >> I have removed every instance of Navigator from my hard drive (I searched for them and deleted them) in preparation of installing the latest version. I did this because on my home Mac, I keep getting a 2.5 beta version of the plug-in every time I launch! >> >> I verified my plugin folder is set to /Users/> >> I quit Livecode, then relaunch it. I still see revNavigator in the Development/Plugins menu, and when I select it, the 2.5 beta version loads!!! What the actual eff??? >> >> Where else would Livecode be getting these plugins from?? >> >> Bob S >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Mar 26 13:50:42 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 26 Mar 2020 17:50:42 +0000 Subject: Navigator won't go away! In-Reply-To: <41833A95-2654-48B5-B1A1-F8EAB49E964A@iotecdigital.com> References: <1C371B6E-DBD0-4394-9D48-558B2891531D@iotecdigital.com> <41833A95-2654-48B5-B1A1-F8EAB49E964A@iotecdigital.com> Message-ID: OK Sorry for the noise. I see now that the Files & Memory/User Extensions setting in preferences needs to be pointed at /Users//Documents/Livecode/ and NOT the plugins folder. Now all the plugins are loading properly. Bob S > On Mar 26, 2020, at 10:45 AM, Bob Sneidar via use-livecode wrote: > > Whoopsie, NO plugins are loading from the /Users//Documents/Livecode/PlugIns/ folder! Wha??? > > Bob S > > >> On Mar 26, 2020, at 10:41 AM, Bob Sneidar via use-livecode wrote: >> >> FOUND IT! It was in the actual MacOS APPLICATION BUNDLE!!! >> >> Hey LC, I appreciate the freebies, but a beta of 2.5?? Seriously? Geoff is up to v6 now, and it?s open source, not honor-ware. If putting the newer version in the Plugins folder is supposed to override the embedded one, it doesn?t work. >> >> Bob S >> >> >>> On Mar 26, 2020, at 10:33 AM, Bob Sneidar via use-livecode wrote: >>> >>> I have removed every instance of Navigator from my hard drive (I searched for them and deleted them) in preparation of installing the latest version. I did this because on my home Mac, I keep getting a 2.5 beta version of the plug-in every time I launch! >>> >>> I verified my plugin folder is set to /Users/>> >>> I quit Livecode, then relaunch it. I still see revNavigator in the Development/Plugins menu, and when I select it, the 2.5 beta version loads!!! What the actual eff??? >>> >>> Where else would Livecode be getting these plugins from?? >>> >>> 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 neville.smythe at optusnet.com.au Thu Mar 26 14:22:16 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Fri, 27 Mar 2020 05:22:16 +1100 Subject: Unicode mysteries In-Reply-To: References: Message-ID: <6B76A532-CEDF-492C-9648-1CB3AD1C43E4@optusnet.com.au> > >> Which should correspond to codepoints >> 1F3F4 E0067 E0062 E0073 E0063 E0074 E007F >> And indeed if I manually build a UTF-16 string with these code points >> it does display as the flag of Scotland. So the lesson is that the >> reported chunks are not to be naively trusted --- tho not exactly a >> bug given the documentation warning. > > Well this would be a bug! If you try codepoint 1..14 - then you will see > that they alternate between a codepoint and zero - the codepoints appear > to correspond to the relevant surrogate pair codeunits. i.e. codepoint > is misinterpreting the index as a codeunit index, rather than a > codepoint index :| > > If you file a bug then I suspect this can be fixed quite quickly (famous > last words of course!). Thanks Mark, I will file a bug report. I don?t *really* need the actual font the system uses to display unsupported codepoints. I was thinking of using it as a lazy way to find out which single codepoints are supported rather than having to parse the cmap tables in the font file. As a way of learning about unicode I was trying to writing an LC version of the character map/PopChar utilities; a project doomed to failure because it?s just too hard to find out which multi-codepoint glyphs are supported by a font. This is a question frequently asked on forums, but it seems there is no answer other than reverse engineering the morx table in the fontfile, which is way too complex to be worth the effort. There is a published list for Emoji fonts but that would not be possible for general ligatures or glyph variations presumably. Any comment on the LC behaviour of treating the Rainbow flag (which is a multi-codepoint glyph composed of three characters) as 3 separate text characters, requiring 3 backspace operations to delete it in a field, rather than a single backspace as works in TextEdit? [The first backspace eliminates the rainbow flag glyph but leaves the white flag showing; the second backspace eliminates the invisible join codepoint, so to the user seems to do nothing; the third backspaced finally eliminates the last glyph.] Is this a design choice or a bug? Bob: I am looking at the Digest, where nonstandard characters (even, annoyingly, quotes) are replaced by question marks, which makes code snippets very hard to read. Is there a setting I should change to fix this? Neville From jacque at hyperactivesw.com Thu Mar 26 16:03:52 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Mar 2020 15:03:52 -0500 Subject: Disabled objects semi translucent?? In-Reply-To: <8DED5666-48DD-42B5-A603-EDAD0D4C7925@iotecdigital.com> References: <8DED5666-48DD-42B5-A603-EDAD0D4C7925@iotecdigital.com> Message-ID: On 3/26/20 10:45 AM, Bob Sneidar via use-livecode wrote: > I?m noticing (for the first time it seems) that disabled objects are semi-transparent! Is this intentional?? This means any background pattern I set for the card shows through the disabled objects! Boo! If you set a background color or pattern that shouldn't happen. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From zryip.theslug at gmail.com Thu Mar 26 16:31:11 2020 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 26 Mar 2020 21:31:11 +0100 Subject: DataGrid question... In-Reply-To: <8aa3b57b-2741-d2bd-1e3d-150ef311bca2@researchware.com> References: <1000601200.1597176.1585095525587@mail.yahoo.com> <3F67B03B-64B3-44EA-B647-573B3E337915@m-r-d.de> <1378B10B-C06A-4BE7-8C41-498E559F1DDA@me.com> <8aa3b57b-2741-d2bd-1e3d-150ef311bca2@researchware.com> Message-ID: The "Freeze pane" stack is available here: https://www.aslugontheroad.com/download/category/4-lab It demonstrates how to scroll, select and sort two datagrids synchronizaly. On Thu, Mar 26, 2020 at 3:55 PM Paul Dupuis via use-livecode wrote: > > On 3/26/2020 9:54 AM, zryip theSlug via use-livecode wrote: > > Paul, > > > > I have somewhere a stack demonstrating how to use a second datagrid > > with the columns to freeze and how to synchronize this second datagrid > > with the main datagrid when the rows are scrolled. > > > > If you may interested I can share it. > > > > > > Very interested! > > Given everyone's responses, I was just about to code something up myself > using two Datagids for consistency in user interface. > > Thank you! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Zryip TheSlug http://www.aslugontheroad.com From paul at researchware.com Thu Mar 26 16:41:44 2020 From: paul at researchware.com (Paul Dupuis) Date: Thu, 26 Mar 2020 16:41:44 -0400 Subject: DataGrid question... In-Reply-To: References: <1000601200.1597176.1585095525587@mail.yahoo.com> <3F67B03B-64B3-44EA-B647-573B3E337915@m-r-d.de> <1378B10B-C06A-4BE7-8C41-498E559F1DDA@me.com> <8aa3b57b-2741-d2bd-1e3d-150ef311bca2@researchware.com> Message-ID: On 3/26/2020 4:31 PM, zryip theSlug via use-livecode wrote: > The "Freeze pane" stack is available here: > https://www.aslugontheroad.com/download/category/4-lab > > It demonstrates how to scroll, select and sort two datagrids synchronizaly. > > ?Thank you. That is really a helpful time saver. All I need to add to it for my use is a overlaid resize between the fixed datagrid and the scrolling one and I have multi-field resized code all over the pace to reuse. Thanks again for sharing! From ahsoftware at sonic.net Thu Mar 26 17:36:28 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 26 Mar 2020 14:36:28 -0700 Subject: DataGrid question... In-Reply-To: References: Message-ID: On 3/24/20 9:17 PM, Pi Digital via use-livecode wrote: > Oh. Cool. I did not know you could do that! Can it do widgets (for svgs) and checkboxes too? Sorry - I missed this earlier. I have faked checkboxes before by exporting snapshots of the checked and unchecked boxes, and then changing the imagesource when I receive a mouseUp. It's a bit of an ugly workaround, especially working out the mouseControl, mouseClick, etc. but it does the job if you really need it. I've never had the need to embed a widget in a field, so I don't know about that one, but I'm not optimistic. -- -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Thu Mar 26 17:57:49 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 26 Mar 2020 17:57:49 -0400 Subject: DataGrid question... In-Reply-To: References: Message-ID: <31ff2739-a892-470d-a562-6a34705adbee@Spark> Probably would need to use drawingSvgCompile instead of a widget. ?Then you could turn an SVG drawing into an image. Thanks, Brian On Mar 26, 2020, 5:37 PM -0400, Mark Wieder via use-livecode , wrote: > On 3/24/20 9:17 PM, Pi Digital via use-livecode wrote: > > Oh. Cool. I did not know you could do that! Can it do widgets (for svgs) and checkboxes too? > > Sorry - I missed this earlier. I have faked checkboxes before by > exporting snapshots of the checked and unchecked boxes, and then > changing the imagesource when I receive a mouseUp. It's a bit of an ugly > workaround, especially working out the mouseControl, mouseClick, etc. > but it does the job if you really need it. > > I've never had the need to embed a widget in a field, so I don't know > about that one, but I'm not optimistic. > > -- > -- > 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 Thu Mar 26 18:05:05 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 26 Mar 2020 15:05:05 -0700 Subject: DataGrid question... In-Reply-To: <31ff2739-a892-470d-a562-6a34705adbee@Spark> References: <31ff2739-a892-470d-a562-6a34705adbee@Spark> Message-ID: <986b7986-c5f5-76f7-8488-762049b59abf@sonic.net> On 3/26/20 2:57 PM, Brian Milby via use-livecode wrote: > Probably would need to use drawingSvgCompile instead of a widget. ?Then you could turn an SVG drawing into an image. Right. But that wouldn't embed the actual widget in the field, just act as a placeholder. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Thu Mar 26 23:53:45 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 27 Mar 2020 03:53:45 +0000 Subject: How to "kill" mouseTouches while waiting for an internet connection? Message-ID: In lo-bandwith, hi-latency internet connections. How can we use mobileClearTouches # in association with this handler? function checkURLAvailable pSelectedURL local tHeaders, tSentHeaders, tResult, tBytes put tsNetHeadSync(pSelectedURL, tSentHeaders, tResult, tBytes) into tHeaders # into tHeaders ## get url pSelectedURL if (tResult is 200) then return true else ntInfo tResult && pSelectedURL return false end if end checkURLAvailable # and, is this the best "algorithm" ? BR From heather at livecode.com Fri Mar 27 11:08:33 2020 From: heather at livecode.com (Heather Laine) Date: Fri, 27 Mar 2020 15:08:33 +0000 Subject: Its very quiet Message-ID: <21CF28C5-7B40-4A0F-940B-0A63A979357D@livecode.com> We are all still here, right? Our list hasn't fallen over again... If you get this, no need to reply ;) Only let me know if you don't. Cheers Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From alex at tweedly.net Fri Mar 27 11:09:35 2020 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 27 Mar 2020 15:09:35 +0000 Subject: Its very quiet In-Reply-To: <21CF28C5-7B40-4A0F-940B-0A63A979357D@livecode.com> References: <21CF28C5-7B40-4A0F-940B-0A63A979357D@livecode.com> Message-ID: <2d32a284-7630-dc55-9c1b-b6f94c6bab87@tweedly.net> It's social distancing. I have to stay 2 metres away from the message - and I can't reach the keyboard. Alex. On 27/03/2020 15:08, Heather Laine via use-livecode wrote: > We are all still here, right? Our list hasn't fallen over again... > > If you get this, no need to reply ;) Only let me know if you don't. > > Cheers > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Mar 27 11:16:07 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Mar 2020 15:16:07 +0000 Subject: Its very quiet In-Reply-To: <21CF28C5-7B40-4A0F-940B-0A63A979357D@livecode.com> References: <21CF28C5-7B40-4A0F-940B-0A63A979357D@livecode.com> Message-ID: <5ECE7A04-098F-4DE8-8AF8-8F77635A3636@iotecdigital.com> All I am doing right now is working in Livecode! Very refreshing. How about we all chime in on what we are currently working on? Currently I am working on a basic SQL Query Builder. I recently revamped my Database Setup stack, dramatically simplifying it so all that is needed is to add it to the stack files of your main stack, configure the connection, then on openStack go invisible to the Database Setup stack (once configured for the SQL database you want to connect to) will make the connection and return a result. If it fails it will show itself and allow you to check your settings and reconnect. Much thanks again to Trevor Devore for helping me with configuring ODBC connections. Bob S On Mar 27, 2020, at 8:08 AM, Heather Laine via use-livecode > wrote: We are all still here, right? Our list hasn't fallen over again... If you get this, no need to reply ;) Only let me know if you don't. Cheers Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From bobsneidar at iotecdigital.com Fri Mar 27 11:17:37 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Mar 2020 15:17:37 +0000 Subject: Its very quiet In-Reply-To: <2d32a284-7630-dc55-9c1b-b6f94c6bab87@tweedly.net> References: <21CF28C5-7B40-4A0F-940B-0A63A979357D@livecode.com> <2d32a284-7630-dc55-9c1b-b6f94c6bab87@tweedly.net> Message-ID: <3B73775D-5F8E-4063-9591-35D4FB33BCA4@iotecdigital.com> That?s odd. Here in ?Merica we only have to stay 6 feet away. Bob S > On Mar 27, 2020, at 8:09 AM, Alex Tweedly via use-livecode wrote: > > It's social distancing. > > I have to stay 2 metres away from the message - and I can't reach the keyboard. > > Alex. > > On 27/03/2020 15:08, Heather Laine via use-livecode wrote: >> We are all still here, right? Our list hasn't fallen over again... >> >> If you get this, no need to reply ;) Only let me know if you don't. >> >> Cheers >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> www.livecode.com >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 27 11:24:22 2020 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 27 Mar 2020 15:24:22 +0000 Subject: Its very quiet In-Reply-To: <3B73775D-5F8E-4063-9591-35D4FB33BCA4@iotecdigital.com> References: <21CF28C5-7B40-4A0F-940B-0A63A979357D@livecode.com> <2d32a284-7630-dc55-9c1b-b6f94c6bab87@tweedly.net> <3B73775D-5F8E-4063-9591-35D4FB33BCA4@iotecdigital.com> Message-ID: <39faeb9b-6db1-f4fe-5a52-c145daa958e1@tweedly.net> Yeah- but we can't count higher than 2 ! :-) On 27/03/2020 15:17, Bob Sneidar via use-livecode wrote: > That?s odd. Here in ?Merica we only have to stay 6 feet away. > > Bob S > From paul at researchware.com Fri Mar 27 11:42:06 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 27 Mar 2020 11:42:06 -0400 Subject: Its very quiet In-Reply-To: <5ECE7A04-098F-4DE8-8AF8-8F77635A3636@iotecdigital.com> References: <21CF28C5-7B40-4A0F-940B-0A63A979357D@livecode.com> <5ECE7A04-098F-4DE8-8AF8-8F77635A3636@iotecdigital.com> Message-ID: <3fec9e34-18d1-a503-1e5c-1289711307fc@researchware.com> On 3/27/2020 11:16 AM, Bob Sneidar via use-livecode wrote: > All I am doing right now is working in Livecode! Very refreshing. How about we all chime in on what we are currently working on? I'm working on implementing a frozen left column pane "Datagrid" based on the code zryip theSlug kindly provided yesterday in response to my "DataGrid question..." thread on this list. But I am only doing that for about another hour or two and then since this Friday is finally warm and sunny where I live, I am planning on taking the afternoon to get some year chores done. From sean at pidigital.co.uk Fri Mar 27 13:37:58 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 27 Mar 2020 17:37:58 +0000 Subject: Its very quiet In-Reply-To: <3fec9e34-18d1-a503-1e5c-1289711307fc@researchware.com> References: <21CF28C5-7B40-4A0F-940B-0A63A979357D@livecode.com> <5ECE7A04-098F-4DE8-8AF8-8F77635A3636@iotecdigital.com> <3fec9e34-18d1-a503-1e5c-1289711307fc@researchware.com> Message-ID: Business as usual here. Barely an inconvenience. I've got an animation for the BBC to do. Also working on a desktop / server / html5 combo for Porrima. Creating new simple widgets for text and diagram display. Trying to find time to fix HTML5 deployment foibles. I barely see daylight so asking me to stay in was like asking me to remember to breathe or eat cake. The only downside is that everyone else is in too! #distractions Sean Cole *Pi Digital * On 3/27/2020 11:16 AM, Bob Sneidar via use-livecode wrote: > > All I am doing right now is working in Livecode! Very refreshing. How > about we all chime in on what we are currently working on? > > From roland.huettmann at gmail.com Fri Mar 27 13:38:29 2020 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 27 Mar 2020 18:38:29 +0100 Subject: Cross-platform Bluetooth and Speech to text Message-ID: For an interactive learning app using audio and video, I received a request to use Bluetooth to control the player remotely. Also this app shall be extended later to speech commands such as: "Go back", "Go forward", "Stop", "Next lesson", "Repeat section" etc. Cross-platform Blootooth I see that there is mergeBLE for Blootooth for iOS and OS X, but not for Windows and Android. Since the mergeBLE Bluetooth API is not supported on Android, Windows, Linux, would it be possible to use LCB to develop such interface? Does anyone of you know of any plans to support the full set of Bluetooth (up to version 5) on all or at least the major platforms? Maybe there are some cross-platform libraries that could be used? There are Java and Objective-C libraries I know. But I would not know how to make them available to LiveCode. Cross-platform Speech to Text Has anybody ever implemented "speech to text" (not TTS)? It should be possible with the browser widget using web API's: Microsoft Cognitive Serrvices, IBM Watson, Speechmatics...? But ideally, it would not depend on available Internet connection and use some good enough text recognition engine. Here I would like to use it for commands, but in general, I guess, it is an interface that is used more and more also to simply bring speech to text in all major languages. Roland From sean at pidigital.co.uk Fri Mar 27 13:50:28 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 27 Mar 2020 17:50:28 +0000 Subject: How to "kill" mouseTouches while waiting for an internet connection? In-Reply-To: References: Message-ID: I always struggled with this. I ended up putting a fully transparent grc covering everything (I call it a blanket) with 'on mouseUp' and 'on mouseDown' set with nothing in them on the grc script. This catches any stray touches I want to be ignored and allow the other processes to complete. Then hide the blanket once the process is done. MobileClearTouches was never reliable enough for me. All the very best, BR Sean Cole *Pi Digital * On Fri, 27 Mar 2020 at 03:53, Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > In lo-bandwith, hi-latency internet connections. > > > > How can we use > > > > mobileClearTouches > > > > > > # in association with this handler? > > > > function checkURLAvailable pSelectedURL > > local tHeaders, tSentHeaders, tResult, tBytes > > > > put tsNetHeadSync(pSelectedURL, tSentHeaders, tResult, tBytes) > into tHeaders # into tHeaders > > ## get url pSelectedURL > > if (tResult is 200) then > > return true > > else > > ntInfo tResult && pSelectedURL > > return false > > end if > > end checkURLAvailable > > > > # and, is this the best "algorithm" ? > > > > BR > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Mar 27 13:58:02 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Mar 2020 12:58:02 -0500 Subject: Determining a scroll based on code unit offsets Message-ID: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> In our last episode, our heroine was trapped by the selection of a line containing metadata. The heroes of this group saved her. In all cases, scrolling the field was accomplished by using the "select" command to bring the line into view. Alas, escape from one danger has led to another. The field itself must be inside an enclosing group so that it will scroll smoothly on mobile. She needs to translate the data from codeunits to a scroll position in order to set the group's scroll rather than the field scroll. Each line of the data looks something like this: 1,103,7 While 7 is a line number, multiplying that by the textheight doesn't give consistent results due to line wrap. The first two items are codeunit offsets but there doesn't seem to be a way to translate those into pixel positions. Our heroine is once again in distress, though as mentioned here, some of that may be due to the inability to reach the keyboard from 6 feet away, which presents its own positioning problems. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Mar 27 14:00:18 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Mar 2020 18:00:18 +0000 Subject: Determining a scroll based on code unit offsets In-Reply-To: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <741733C7-21E0-43BC-A4A8-890420855753@iotecdigital.com> is there a formattedTextHeight? Bob S On Mar 27, 2020, at 10:58 AM, J. Landman Gay via use-livecode > wrote: 1,103,7 While 7 is a line number, multiplying that by the textheight doesn't give consistent results due to line wrap. The first two items are codeunit offsets but there doesn't seem to be a way to translate those into pixel positions. From bobsneidar at iotecdigital.com Fri Mar 27 14:01:26 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Mar 2020 18:01:26 +0000 Subject: Determining a scroll based on code unit offsets In-Reply-To: <741733C7-21E0-43BC-A4A8-890420855753@iotecdigital.com> References: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <741733C7-21E0-43BC-A4A8-890420855753@iotecdigital.com> Message-ID: There is a formattedHeight On Mar 27, 2020, at 11:00 AM, Bob Sneidar > wrote: is there a formattedTextHeight? Bob S On Mar 27, 2020, at 10:58 AM, J. Landman Gay via use-livecode > wrote: 1,103,7 While 7 is a line number, multiplying that by the textheight doesn't give consistent results due to line wrap. The first two items are codeunit offsets but there doesn't seem to be a way to translate those into pixel positions. From sean at pidigital.co.uk Fri Mar 27 14:06:57 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 27 Mar 2020 18:06:57 +0000 Subject: DataGrid question... In-Reply-To: <986b7986-c5f5-76f7-8488-762049b59abf@sonic.net> References: <31ff2739-a892-470d-a562-6a34705adbee@Spark> <986b7986-c5f5-76f7-8488-762049b59abf@sonic.net> Message-ID: Still, adding images to a field for this kind of purpose is a great shout. Even better if the mouse click handler can determine the column and row, which isn't much of a trick. Thanks for the insights. Sean On Thu, 26 Mar 2020 at 22:05, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 3/26/20 2:57 PM, Brian Milby via use-livecode wrote: > > Probably would need to use drawingSvgCompile instead of a widget. Then > you could turn an SVG drawing into an image. > > Right. But that wouldn't embed the actual widget in the field, just act > as a placeholder. > > -- > 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 richmondmathewson at gmail.com Fri Mar 27 14:56:55 2020 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Mar 2020 20:56:55 +0200 Subject: Its very quiet In-Reply-To: <21CF28C5-7B40-4A0F-940B-0A63A979357D@livecode.com> References: <21CF28C5-7B40-4A0F-940B-0A63A979357D@livecode.com> Message-ID: I didn't get this message, so I'm not replying. Battling with getting online teaching started. Best, Richmond. On 27.03.20 17:08, Heather Laine via use-livecode wrote: > We are all still here, right? Our list hasn't fallen over again... > > If you get this, no need to reply ;) Only let me know if you don't. > > Cheers > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Mar 27 15:27:02 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Mar 2020 14:27:02 -0500 Subject: Determining a scroll based on code unit offsets In-Reply-To: References: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <741733C7-21E0-43BC-A4A8-890420855753@iotecdigital.com> Message-ID: I thought of that, but I only have access to a line number based on paragraphs. On 3/27/20 1:01 PM, Bob Sneidar via use-livecode wrote: > There is a formattedHeight > > > On Mar 27, 2020, at 11:00 AM, Bob Sneidar > wrote: > > is there a formattedTextHeight? > > Bob S > > > On Mar 27, 2020, at 10:58 AM, J. Landman Gay via use-livecode > wrote: > > 1,103,7 > > While 7 is a line number, multiplying that by the textheight doesn't give consistent results due to line wrap. The first two items are codeunit offsets but there doesn't seem to be a way to translate those into pixel positions. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mark at livecode.com Fri Mar 27 15:47:01 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 27 Mar 2020 19:47:01 +0000 Subject: Determining a scroll based on code unit offsets In-Reply-To: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <9C5CA84F-2024-4B3E-883F-F9D55E65A37F@livecode.com> Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the formattedHeight of codeunit OFFSET of FIELD)? Sent from my iPhone > On 27 Mar 2020, at 17:59, J. Landman Gay via use-livecode wrote: > > ?In our last episode, our heroine was trapped by the selection of a line containing metadata. The heroes of this group saved her. In all cases, scrolling the field was accomplished by using the "select" command to bring the line into view. > > Alas, escape from one danger has led to another. The field itself must be inside an enclosing group so that it will scroll smoothly on mobile. She needs to translate the data from codeunits to a scroll position in order to set the group's scroll rather than the field scroll. > > Each line of the data looks something like this: > > 1,103,7 > > While 7 is a line number, multiplying that by the textheight doesn't give consistent results due to line wrap. The first two items are codeunit offsets but there doesn't seem to be a way to translate those into pixel positions. > > Our heroine is once again in distress, though as mentioned here, some of that may be due to the inability to reach the keyboard from 6 feet away, which presents its own positioning problems. > > -- > 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 colinholgate at gmail.com Fri Mar 27 16:46:03 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 27 Mar 2020 14:46:03 -0600 Subject: Save stack in HTML5 Message-ID: I made progress getting the basic stack going, the main hold ups were ?wait' and 'the system date', neither of those work. What approach is needed if the stack has text entry that you want to persist when the page is reloaded? Save this stack seems not to work. From jacque at hyperactivesw.com Fri Mar 27 16:49:00 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Mar 2020 15:49:00 -0500 Subject: Determining a scroll based on code unit offsets In-Reply-To: <9C5CA84F-2024-4B3E-883F-F9D55E65A37F@livecode.com> References: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <9C5CA84F-2024-4B3E-883F-F9D55E65A37F@livecode.com> Message-ID: Saved again! I should have thought of that. Thank you. I had just worked out a handler that did the same thing in way too many lines. On 3/27/20 2:47 PM, Mark Waddingham via use-livecode wrote: > Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the formattedHeight of codeunit OFFSET of FIELD)? > > Sent from my iPhone > >> On 27 Mar 2020, at 17:59, J. Landman Gay via use-livecode wrote: >> >> ?In our last episode, our heroine was trapped by the selection of a line containing metadata. The heroes of this group saved her. In all cases, scrolling the field was accomplished by using the "select" command to bring the line into view. >> >> Alas, escape from one danger has led to another. The field itself must be inside an enclosing group so that it will scroll smoothly on mobile. She needs to translate the data from codeunits to a scroll position in order to set the group's scroll rather than the field scroll. >> >> Each line of the data looks something like this: >> >> 1,103,7 >> >> While 7 is a line number, multiplying that by the textheight doesn't give consistent results due to line wrap. The first two items are codeunit offsets but there doesn't seem to be a way to translate those into pixel positions. >> >> Our heroine is once again in distress, though as mentioned here, some of that may be due to the inability to reach the keyboard from 6 feet away, which presents its own positioning problems. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Mar 27 16:49:09 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Mar 2020 20:49:09 +0000 Subject: Determining a scroll based on code unit offsets In-Reply-To: <9C5CA84F-2024-4B3E-883F-F9D55E65A37F@livecode.com> References: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <9C5CA84F-2024-4B3E-883F-F9D55E65A37F@livecode.com> Message-ID: <1FFEF832-06B2-4F1F-880A-B08E3FF6C988@iotecdigital.com> That needs to be turned into a function and added to the MasterLibrary! (If it works?) Bob S On Mar 27, 2020, at 12:47 PM, Mark Waddingham via use-livecode > wrote: Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the formattedHeight of codeunit OFFSET of FIELD)? From bobsneidar at iotecdigital.com Fri Mar 27 16:54:34 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Mar 2020 20:54:34 +0000 Subject: Determining a scroll based on code unit offsets In-Reply-To: <1FFEF832-06B2-4F1F-880A-B08E3FF6C988@iotecdigital.com> References: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <9C5CA84F-2024-4B3E-883F-F9D55E65A37F@livecode.com> <1FFEF832-06B2-4F1F-880A-B08E3FF6C988@iotecdigital.com> Message-ID: <3BB7141C-3020-4F61-B79B-058C427AB306@iotecdigital.com> If someone can come up with a name for the function I?ll post it. Bob S On Mar 27, 2020, at 1:49 PM, Bob Sneidar via use-livecode > wrote: That needs to be turned into a function and added to the MasterLibrary! (If it works?) Bob S From jacque at hyperactivesw.com Fri Mar 27 17:15:56 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Mar 2020 16:15:56 -0500 Subject: Determining a scroll based on code unit offsets In-Reply-To: <9C5CA84F-2024-4B3E-883F-F9D55E65A37F@livecode.com> References: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <9C5CA84F-2024-4B3E-883F-F9D55E65A37F@livecode.com> Message-ID: <7ee9c5b7-f8b1-6712-9a52-4125d1b56dd7@hyperactivesw.com> Oops. Not saved. It fails on larger offsets. Maybe I'm doing something wrong. Here's my longer way, it could likely be optimized better. It does rely on a scripted field selection, and the selectedChunk is passed to the handler: on grpScroll pSelChunk -- pSelChunk = selected field chunk: char x to y of fld z put the num of words in char 1 to (word 4 of pSelChunk) of fld "tText" into tNumWords put the formattedtext of fld "tText" into tFText put the num of lines in word 1 to tNumWords of tFText into tLineNum put tLineNum * the effective textheight of fld "tText" into tScroll set the vScroll of grp "tTextGrp" to tScroll end grpScroll Seems like there should be a better way. On 3/27/20 2:47 PM, Mark Waddingham via use-livecode wrote: > Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the formattedHeight of codeunit OFFSET of FIELD)? > > Sent from my iPhone > >> On 27 Mar 2020, at 17:59, J. Landman Gay via use-livecode wrote: >> >> ?In our last episode, our heroine was trapped by the selection of a line containing metadata. The heroes of this group saved her. In all cases, scrolling the field was accomplished by using the "select" command to bring the line into view. >> >> Alas, escape from one danger has led to another. The field itself must be inside an enclosing group so that it will scroll smoothly on mobile. She needs to translate the data from codeunits to a scroll position in order to set the group's scroll rather than the field scroll. >> >> Each line of the data looks something like this: >> >> 1,103,7 >> >> While 7 is a line number, multiplying that by the textheight doesn't give consistent results due to line wrap. The first two items are codeunit offsets but there doesn't seem to be a way to translate those into pixel positions. >> >> Our heroine is once again in distress, though as mentioned here, some of that may be due to the inability to reach the keyboard from 6 feet away, which presents its own positioning problems. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Fri Mar 27 17:16:17 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 27 Mar 2020 17:16:17 -0400 Subject: Cross-platform Bluetooth and Speech to text In-Reply-To: References: Message-ID: <02bc7237-e45d-091b-799c-e4a26ad12433@researchware.com> On 3/27/2020 1:38 PM, R.H. via use-livecode wrote: > Cross-platform Speech to Text > > Has anybody ever implemented "speech to text" (not TTS)? It should be > possible with the browser widget using web API's: Microsoft Cognitive > Serrvices, IBM Watson, Speechmatics...? But ideally, it would not depend on > available Internet connection and use some good enough text recognition > engine. For last year's LiveCode conference, Trevor DeVore kindle wrapped Pocket Sphinx in a widget library for LC for OSX. He left Window and other platforms as an exercise for any one interested. However, this effort represents the current - and best - work at STT for LC https://github.com/trevordevore/lc-pocketsphinx Should you do the FFI wrapping for any other platforms, please let people know. From jacque at hyperactivesw.com Fri Mar 27 17:35:19 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Mar 2020 16:35:19 -0500 Subject: Determining a scroll based on code unit offsets In-Reply-To: <7ee9c5b7-f8b1-6712-9a52-4125d1b56dd7@hyperactivesw.com> References: <1711d24c810.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <9C5CA84F-2024-4B3E-883F-F9D55E65A37F@livecode.com> <7ee9c5b7-f8b1-6712-9a52-4125d1b56dd7@hyperactivesw.com> Message-ID: Hm. My handler fails too on larger offsets but I think it's because there are lines above it that have spaceAbove and spaceBelow attributes, and those aren't being taken into consideration when multiplying lines by the textheight. I think Mark's example might work if formattedHeight adjusted for that. On 3/27/20 4:15 PM, J. Landman Gay via use-livecode wrote: > Oops. Not saved. It fails on larger offsets. Maybe I'm doing something wrong. Here's my longer > way, it could likely be optimized better. It does rely on a scripted field selection, and the > selectedChunk is passed to the handler: > > on grpScroll pSelChunk > ? -- pSelChunk = selected field chunk: char x to y of fld z > ? put the num of words in char 1 to (word 4 of pSelChunk) of fld "tText" into tNumWords > ? put the formattedtext of fld "tText" into tFText > ? put the num of lines in word 1 to tNumWords of tFText into tLineNum > ? put tLineNum * the effective textheight of fld "tText" into tScroll > ? set the vScroll of grp "tTextGrp" to tScroll > end grpScroll > > Seems like there should be a better way. > > On 3/27/20 2:47 PM, Mark Waddingham via use-livecode wrote: >> Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the formattedHeight of codeunit >> OFFSET of FIELD)? >> >> Sent from my iPhone >> >>> On 27 Mar 2020, at 17:59, J. Landman Gay via use-livecode >>> wrote: >>> >>> ?In our last episode, our heroine was trapped by the selection of a line containing >>> metadata. The heroes of this group saved her. In all cases, scrolling the field was >>> accomplished by using the "select" command to bring the line into view. >>> >>> Alas, escape from one danger has led to another. The field itself must be inside an >>> enclosing group so that it will scroll smoothly on mobile. She needs to translate the data >>> from codeunits to a scroll position in order to set the group's scroll rather than the field >>> scroll. >>> >>> Each line of the data looks something like this: >>> >>> 1,103,7 >>> >>> While 7 is a line number, multiplying that by the textheight doesn't give consistent results >>> due to line wrap. The first two items are codeunit offsets but there doesn't seem to be a >>> way to translate those into pixel positions. >>> >>> Our heroine is once again in distress, though as mentioned here, some of that may be due to >>> the inability to reach the keyboard from 6 feet away, which presents its own positioning >>> problems. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Mar 27 18:40:47 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Mar 2020 22:40:47 +0000 Subject: The TopLevel Stack Message-ID: <40C64886-C33C-4FCF-8FE8-4485794EC93D@iotecdigital.com> Hi all. I?m having fits here. I have a stack that opens another stack invisible. It supposedly closes itself, then returns to the first stack. At that point, it *should* be the topStack? BUT IT?S NOT! Subsequent commands like setting the text of a field fail with no such object! How do I FORCE a stack to be the active stack? Bob S From ahsoftware at sonic.net Fri Mar 27 18:53:23 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 27 Mar 2020 15:53:23 -0700 Subject: DataGrid question... In-Reply-To: References: <31ff2739-a892-470d-a562-6a34705adbee@Spark> <986b7986-c5f5-76f7-8488-762049b59abf@sonic.net> Message-ID: On 3/27/20 11:06 AM, Sean Cole (Pi) via use-livecode wrote: > Still, adding images to a field for this kind of purpose is a great shout. > Even better if the mouse click handler can determine the column and row, > which isn't much of a trick. The row is easy - that's word 2 of the clickline the column you can normally get from word 2 of the mousecharchunk. -- Mark Wieder ahsoftware at gmail.com From phil at pdslabs.net Fri Mar 27 18:58:27 2020 From: phil at pdslabs.net (Phil Davis) Date: Fri, 27 Mar 2020 15:58:27 -0700 Subject: The TopLevel Stack In-Reply-To: <40C64886-C33C-4FCF-8FE8-4485794EC93D@iotecdigital.com> References: <40C64886-C33C-4FCF-8FE8-4485794EC93D@iotecdigital.com> Message-ID: Hi Bob, Is the first stack opened as 'toplevel' or in some other mode? That would make a difference. Best - Phil Davis On 3/27/20 3:40 PM, Bob Sneidar via use-livecode wrote: > Hi all. > > I?m having fits here. I have a stack that opens another stack invisible. It supposedly closes itself, then returns to the first stack. > > At that point, it *should* be the topStack? BUT IT?S NOT! Subsequent commands like setting the text of a field fail with no such object! > > How do I FORCE a stack to be the active stack? > > 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 ahsoftware at sonic.net Fri Mar 27 18:59:07 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 27 Mar 2020 15:59:07 -0700 Subject: The TopLevel Stack In-Reply-To: <40C64886-C33C-4FCF-8FE8-4485794EC93D@iotecdigital.com> References: <40C64886-C33C-4FCF-8FE8-4485794EC93D@iotecdigital.com> Message-ID: <33535064-d5d8-fbdf-1921-60f7ca324a81@sonic.net> On 3/27/20 3:40 PM, Bob Sneidar via use-livecode wrote: > Hi all. > > I?m having fits here. I have a stack that opens another stack invisible. It supposedly closes itself, then returns to the first stack. > > At that point, it *should* be the topStack? BUT IT?S NOT! Subsequent commands like setting the text of a field fail with no such object! > > How do I FORCE a stack to be the active stack? Ah, pronouns. I've gotten lost in the "it"s there... Which stack closes "itself"? The invisible on or the one that opened the invisible stack? Which one do you want to be the topstack? Are you using "go stack" to the first when you close "itself"? What does the defaultstack return? -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Fri Mar 27 19:01:39 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Mar 2020 23:01:39 +0000 Subject: The TopLevel Stack In-Reply-To: <40C64886-C33C-4FCF-8FE8-4485794EC93D@iotecdigital.com> References: <40C64886-C33C-4FCF-8FE8-4485794EC93D@iotecdigital.com> Message-ID: <59D267F5-A372-47DD-ABC2-1699B73DD745@iotecdigital.com> NVM. The defaultStack. Not sure why it stops being the defaultStack though. Going to another stack then going to me in the stack script *should* make it the defaultStack again, but it doesn?t. Bob S On Mar 27, 2020, at 3:40 PM, Bob Sneidar via use-livecode > wrote: Hi all. I?m having fits here. I have a stack that opens another stack invisible. It supposedly closes itself, then returns to the first stack. At that point, it *should* be the topStack? BUT IT?S NOT! Subsequent commands like setting the text of a field fail with no such object! How do I FORCE a stack to be the active stack? Bob S From neville.smythe at optusnet.com.au Sat Mar 28 01:52:05 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 28 Mar 2020 16:52:05 +1100 Subject: Unicode mysteries Message-ID: <9D679994-4702-4712-BB16-F7107755FE76@optusnet.com.au> I have filed a bug report bug_22561 re the misreporting of codepoints for unicode characters. I am pretty convinced the treatment of the Rainbow flag emoji as three separate characters should be treated as incorrect behaviour and therefore a bug, I think the problem is that the vertical join codepoint 200D is not being treated as a codepoint within a character rather than starting a new character (while the glyph variation codepoints FE00-FE0F and the Variation Selectors E01xx are correctly interpreted). It is interesting to see how the ?transgender flag?, which is a new emoji not yet implemented in the Apple Color Emoji font but is supported by Google and Facebook, is displayed in various apps: in LC it appears as 4 glyphs (if the Gnu Unicode font is installed) but 3 separate characters; in BBedit it shows as 2 glyphs, in Pages as 4 glyphs but in both these case as a single character (delete char 1 or backspace eliminates the whole thing, you cannot place a text insertion between the glyphs). One final LC bug. A number of Apple Color Emoji font characters, in particular the digits 1,2..0 are clipped at the top when shown in text size larger than 9. This is true with Fixed Line Height turned off - LC doesn?t adjust the lines for the extra ascent for some reason, and I don?t know of any other text setting we have in LC to fix the problem(?) Other apps show the characters correctly so it is not a design flaw in the font. Neville From brian at milby7.com Sat Mar 28 11:09:46 2020 From: brian at milby7.com (Brian Milby) Date: Sat, 28 Mar 2020 11:09:46 -0400 Subject: LiveCode linting in Atom Message-ID: Recently I have been allowed the opportunity to maintain the LiveCode language support for Atom. I had merged in a number of fixes and changes several months ago but didn't hit the right button to publish them. I finally figured out the missing step and v0.7.0 is now live. The biggest change is the support of the new v2 linter module so once properly configured it should now be able to do the linting. This should be very useful for those who would like to work on script only stacks outside of the IDE. When combined with ScriptTracker, it also allows for editing of scripts from the binary stack externally. I've tested on Mac and Linux. If bugs are found, they can be submitted on GitHub. https://github.com/livecode/atom-language-livecode https://github.com/bwmilby/scriptTracker Stay safe, Brian From brahma at hindu.org Sat Mar 28 15:25:05 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 28 Mar 2020 19:25:05 +0000 Subject: How to "kill" mouseTouches while waiting for an internet connection? In-Reply-To: References: Message-ID: <156076C0-3B92-436E-85FE-FB04CE9EC6E8@hindu.org> WelL, I thought the same thing for a long time, but was reluctant to ?impose? so dramatically on the User Interface. But I always envision a big ugly ?cover?. Ha! So transparency works?.Good, we will try it. Are you typically showing a loading msg or icon. IN other context, I should a load in message and it tell the user he can click to discontinue loading. So that she can ?gracefully? leave the internet connection and go back to the app?.. From: use-livecode on behalf of How LiveCode Reply-To: How LiveCode Date: Friday, March 27, 2020 at 7:51 AM To: How LiveCode Cc: "Sean Cole (Pi)" Subject: Re: How to "kill" mouseTouches while waiting for an internet connection? I always struggled with this. I ended up putting a fully transparent grc covering everything (I call it a blanket) with 'on mouseUp' and 'on mouseDown' set with nothing in them on the grc script. This catches any stray touches I want to be ignored and allow the other processes to complete. Then hide the blanket once the process is done. MobileClearTouches was never reliable enough for me. All the very best, BR Sean Cole *Pi Digital * From kee.nethery at elloco.com Sat Mar 28 21:55:48 2020 From: kee.nethery at elloco.com (kee nethery) Date: Sat, 28 Mar 2020 18:55:48 -0700 Subject: Downloaded LC 9.5.1 for macOS and got this error message Message-ID: ?LiveCode Indy 9.5.1.app? can?t be opened because Apple cannot check it for malicious software. This software needs to be updated. Contact the developer for more information. I just downloaded this from the livecode web site, just now. What?s going on? Kee From bobsneidar at iotecdigital.com Sat Mar 28 21:58:02 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 29 Mar 2020 01:58:02 +0000 Subject: Downloaded LC 9.5.1 for macOS and got this error message In-Reply-To: References: Message-ID: <60557AF7-99A0-4366-B4B2-58CBEB30A444@iotecdigital.com> Try right-clicking it and selecting Open. Bob S > On Mar 28, 2020, at 6:55 PM, kee nethery via use-livecode wrote: > > ?LiveCode Indy 9.5.1.app? can?t be opened because Apple cannot check it for malicious software. > This software needs to be updated. Contact the developer for more information. > > I just downloaded this from the livecode web site, just now. What?s going on? > > Kee > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee.nethery at elloco.com Sat Mar 28 22:09:34 2020 From: kee.nethery at elloco.com (kee nethery) Date: Sat, 28 Mar 2020 19:09:34 -0700 Subject: Downloaded LC 9.5.1 for macOS and got this error message In-Reply-To: <60557AF7-99A0-4366-B4B2-58CBEB30A444@iotecdigital.com> References: <60557AF7-99A0-4366-B4B2-58CBEB30A444@iotecdigital.com> Message-ID: <360D2A34-96C4-4339-88C2-3D54F012B6D2@elloco.com> That worked. Thank you! Just upgraded to Catalina so still being exposed to the higher level of security it imposes. Kee > On Mar 28, 2020, at 6:58 PM, Bob Sneidar via use-livecode wrote: > > Try right-clicking it and selecting Open. > > Bob S > > >> On Mar 28, 2020, at 6:55 PM, kee nethery via use-livecode wrote: >> >> ?LiveCode Indy 9.5.1.app? can?t be opened because Apple cannot check it for malicious software. >> This software needs to be updated. Contact the developer for more information. >> >> I just downloaded this from the livecode web site, just now. What?s going on? >> >> Kee >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sat Mar 28 22:12:56 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 29 Mar 2020 02:12:56 +0000 Subject: Downloaded LC 9.5.1 for macOS and got this error message In-Reply-To: <360D2A34-96C4-4339-88C2-3D54F012B6D2@elloco.com> References: <60557AF7-99A0-4366-B4B2-58CBEB30A444@iotecdigital.com> <360D2A34-96C4-4339-88C2-3D54F012B6D2@elloco.com> Message-ID: <107A1A08-4E02-4DFA-9CCD-9915E2D00F51@iotecdigital.com> i have so much software, small utilities. I?m always leery about upgrading these days. > On Mar 28, 2020, at 7:09 PM, kee nethery via use-livecode wrote: > > That worked. Thank you! Just upgraded to Catalina so still being exposed to the higher level of security it imposes. > Kee > >> On Mar 28, 2020, at 6:58 PM, Bob Sneidar via use-livecode wrote: >> >> Try right-clicking it and selecting Open. >> >> Bob S >> >> >>> On Mar 28, 2020, at 6:55 PM, kee nethery via use-livecode wrote: >>> >>> ?LiveCode Indy 9.5.1.app? can?t be opened because Apple cannot check it for malicious software. >>> This software needs to be updated. Contact the developer for more information. >>> >>> I just downloaded this from the livecode web site, just now. What?s going on? >>> >>> Kee >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee.nethery at elloco.com Sun Mar 29 00:45:44 2020 From: kee.nethery at elloco.com (kee nethery) Date: Sat, 28 Mar 2020 21:45:44 -0700 Subject: Downloaded LC 9.5.1 for macOS and got this error message In-Reply-To: <107A1A08-4E02-4DFA-9CCD-9915E2D00F51@iotecdigital.com> References: <60557AF7-99A0-4366-B4B2-58CBEB30A444@iotecdigital.com> <360D2A34-96C4-4339-88C2-3D54F012B6D2@elloco.com> <107A1A08-4E02-4DFA-9CCD-9915E2D00F51@iotecdigital.com> Message-ID: <2A591489-92A3-41AA-8867-CF3F2D887ED5@elloco.com> I agree. I spent the last several days finding alternatives or upgrades for all my 32-bit software. And converting all files accessed via 32-bit apps into something readable by a 64-bit app. I now have MacDraw files converted into PDFs and all my 2011 Microsoft Office files converted into other formats. Moved to Catalina. Want to see what I need to alter in my lesson for uploading Mac apps to the appStore. Thus the LiveCode upgrade. Thanks! Kee > On Mar 28, 2020, at 7:12 PM, Bob Sneidar via use-livecode wrote: > > i have so much software, small utilities. I?m always leery about upgrading these days. > >> On Mar 28, 2020, at 7:09 PM, kee nethery via use-livecode wrote: >> >> That worked. Thank you! Just upgraded to Catalina so still being exposed to the higher level of security it imposes. >> Kee >> >>> On Mar 28, 2020, at 6:58 PM, Bob Sneidar via use-livecode wrote: >>> >>> Try right-clicking it and selecting Open. >>> >>> Bob S >>> >>> >>>> On Mar 28, 2020, at 6:55 PM, kee nethery via use-livecode wrote: >>>> >>>> ?LiveCode Indy 9.5.1.app? can?t be opened because Apple cannot check it for malicious software. >>>> This software needs to be updated. Contact the developer for more information. >>>> >>>> I just downloaded this from the livecode web site, just now. What?s going on? >>>> >>>> Kee >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From theaford at btinternet.com Sun Mar 29 07:06:14 2020 From: theaford at btinternet.com (Terence Heaford) Date: Sun, 29 Mar 2020 12:06:14 +0100 Subject: Ordering text Message-ID: I have approx. 7000 lines of tab delimited data. When I execute the code snippet below if the sort order is descending it takes approx 120 milliseconds otherwise it takes 20 milliseconds to process. Can someone explain why and perhaps come up with a faster solution. Thanks Terry ?????????? repeat for each line tRec in tData add item 6 of tRec to tBalance put tBalance into item 7 of tRec switch tOrder case "desc" put tRec & CR before tCellData break default put tRec & CR after tCellData end switch end repeat switch tOrder case "desc" delete char 1 of tCellData break default delete last char of tCellData end switch ------------------- From tore.nilsen at me.com Sun Mar 29 07:15:36 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Sun, 29 Mar 2020 13:15:36 +0200 Subject: Ordering text In-Reply-To: References: Message-ID: <32CBEDFF-2C4F-4493-AFE8-BEEED890A6C9@me.com> I believe the reason for the delay comes from the fact that when sorted descending, you put tRec & CR before tCellData. Tp put something before a container is slower than putting something after a container. Regards Tore Nilsen > 29. mar. 2020 kl. 13:06 skrev Terence Heaford via use-livecode : > > I have approx. 7000 lines of tab delimited data. > > When I execute the code snippet below if the sort order is descending it takes approx 120 milliseconds otherwise it takes 20 milliseconds to process. > > Can someone explain why and perhaps come up with a faster solution. > > Thanks > > Terry > ?????????? > > repeat for each line tRec in tData > > add item 6 of tRec to tBalance > > put tBalance into item 7 of tRec > > > switch tOrder > > case "desc" > > put tRec & CR before tCellData > > break > > default > > put tRec & CR after tCellData > > end switch > > > end repeat > > > switch tOrder > > case "desc" > > delete char 1 of tCellData > > break > > default > > delete last char of tCellData > > end switch > > ------------------- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Sun Mar 29 09:20:46 2020 From: brian at milby7.com (Brian Milby) Date: Sun, 29 Mar 2020 09:20:46 -0400 Subject: Ordering text In-Reply-To: <32CBEDFF-2C4F-4493-AFE8-BEEED890A6C9@me.com> References: <32CBEDFF-2C4F-4493-AFE8-BEEED890A6C9@me.com> Message-ID: <61a0d863-870d-49c2-b440-f37f5d75b34f@Spark> Is there a key that you can use to sort? ?May be faster to build it and then use the sort command at the end. Thanks, Brian On Mar 29, 2020, 7:16 AM -0400, Tore Nilsen via use-livecode , wrote: > I believe the reason for the delay comes from the fact that when sorted descending, you put tRec & CR before tCellData. Tp put something before a container is slower than putting something after a container. > > Regards > Tore Nilsen > > > 29. mar. 2020 kl. 13:06 skrev Terence Heaford via use-livecode : > > > > I have approx. 7000 lines of tab delimited data. > > > > When I execute the code snippet below if the sort order is descending it takes approx 120 milliseconds otherwise it takes 20 milliseconds to process. > > > > Can someone explain why and perhaps come up with a faster solution. > > > > Thanks > > > > Terry > > ?????????? > > > > repeat for each line tRec in tData > > > > add item 6 of tRec to tBalance > > > > put tBalance into item 7 of tRec > > > > > > switch tOrder > > > > case "desc" > > > > put tRec & CR before tCellData > > > > break > > > > default > > > > put tRec & CR after tCellData > > > > end switch > > > > > > end repeat > > > > > > switch tOrder > > > > case "desc" > > > > delete char 1 of tCellData > > > > break > > > > default > > > > delete last char of tCellData > > > > end switch > > > > ------------------- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From theaford at btinternet.com Sun Mar 29 09:53:30 2020 From: theaford at btinternet.com (Terence Heaford) Date: Sun, 29 Mar 2020 14:53:30 +0100 Subject: Ordering text In-Reply-To: <61a0d863-870d-49c2-b440-f37f5d75b34f@Spark> References: <32CBEDFF-2C4F-4493-AFE8-BEEED890A6C9@me.com> <61a0d863-870d-49c2-b440-f37f5d75b34f@Spark> Message-ID: I believe it?s sorted (forgive the pun) As the data is stored in an SQLite db I have used the db to sum the values then worked from the top. Like below. This results in approx. 20ms for each sort direction. I have looked into a running total calc using SQLite but the solutions I found seemed rather complicated. Sometimes asking for help then presents a solution. Thanks Terry if tOrder is "desc" then put dbGetAmountForAccount (pAccountName) into tBalance repeat for each line tRec in tData put tBalance into item 7 of tRec put item 6 of tRec into tAmount subtract (item 6 of tRec) from tBalance put tRec & CR after tCellData end repeat delete last char of tCellData else repeat for each line tRec in tData add item 6 of tRec to tBalance put tBalance into item 7 of tRec put tRec & CR after tCellData end repeat delete last char of tCellData end if > On 29 Mar 2020, at 14:20, Brian Milby via use-livecode wrote: > > Is there a key that you can use to sort? May be faster to build it and then use the sort command at the end. > > Thanks, > Brian > On Mar 29, 2020, 7:16 AM -0400, Tore Nilsen via use-livecode , wrote: >> I believe the reason for the delay comes from the fact that when sorted descending, you put tRec & CR before tCellData. Tp put something before a container is slower than putting something after a container. >> >> Regards >> Tore Nilsen >> >>> 29. mar. 2020 kl. 13:06 skrev Terence Heaford via use-livecode : >>> >>> I have approx. 7000 lines of tab delimited data. >>> >>> When I execute the code snippet below if the sort order is descending it takes approx 120 milliseconds otherwise it takes 20 milliseconds to process. >>> >>> Can someone explain why and perhaps come up with a faster solution. >>> >>> Thanks >>> >>> Terry >>> ?????????? >>> >>> repeat for each line tRec in tData >>> >>> add item 6 of tRec to tBalance >>> >>> put tBalance into item 7 of tRec >>> >>> >>> switch tOrder >>> >>> case "desc" >>> >>> put tRec & CR before tCellData >>> >>> break >>> >>> default >>> >>> put tRec & CR after tCellData >>> >>> end switch >>> >>> >>> end repeat >>> >>> >>> switch tOrder >>> >>> case "desc" >>> >>> delete char 1 of tCellData >>> >>> break >>> >>> default >>> >>> delete last char of tCellData >>> >>> end switch >>> >>> ------------------- >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 29 10:32:46 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 29 Mar 2020 10:32:46 -0400 Subject: Ordering text In-Reply-To: References: Message-ID: Hi Terry, Try having your database retrieval perform the sort and not LiveCode. Use the SQLite: ORDER BY clause. See if that gives you a faster result. Rick > On Mar 29, 2020, at 7:06 AM, Terence Heaford via use-livecode wrote: > > I have approx. 7000 lines of tab delimited data. > > When I execute the code snippet below if the sort order is descending it takes approx 120 milliseconds otherwise it takes 20 milliseconds to process. > > Can someone explain why and perhaps come up with a faster solution. > > Thanks > > Terry > ?????????? From bobsneidar at iotecdigital.com Sun Mar 29 14:33:59 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 29 Mar 2020 18:33:59 +0000 Subject: Ordering text In-Reply-To: References: Message-ID: <723D6352-4FF0-4DF4-908F-B5942A653EF0@iotecdigital.com> You took the SQL right out of my query. :-) Bob S On Mar 29, 2020, at 7:32 AM, Rick Harrison via use-livecode > wrote: Hi Terry, Try having your database retrieval perform the sort and not LiveCode. Use the SQLite: ORDER BY clause. See if that gives you a faster result. Rick From dochawk at gmail.com Sun Mar 29 14:54:17 2020 From: dochawk at gmail.com (doc hawk) Date: Sun, 29 Mar 2020 11:54:17 -0700 Subject: Ordering text In-Reply-To: <723D6352-4FF0-4DF4-908F-B5942A653EF0@iotecdigital.com> References: <723D6352-4FF0-4DF4-908F-B5942A653EF0@iotecdigital.com> Message-ID: I haven?t fully followed the queries that led to this, but would something like SELECT SUM(OLD -NEW) FROM some_table WHERE need_to_calc IS true; get you anywhere? I?m also thinking of a lag within the list, to assign them all at once, but the commands coming to memory are from statistical packages, Fortran, spreadsheets, and other matrix math . . . From bobsneidar at iotecdigital.com Sun Mar 29 15:07:25 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 29 Mar 2020 19:07:25 +0000 Subject: Ordering text In-Reply-To: References: <723D6352-4FF0-4DF4-908F-B5942A653EF0@iotecdigital.com> Message-ID: <083B871E-454C-4676-ABDD-46CEDD8163F4@iotecdigital.com> Not enough info but something like: SELECT SUM(OLD -NEW) as balance FROM some_table WHERE need_to_calc IS true order by balance; (or order by whatever column. Not sure balance is what you are trying to sort by.) Bob S > On Mar 29, 2020, at 11:54 AM, doc hawk via use-livecode wrote: > > I haven?t fully followed the queries that led to this, but would something like > > SELECT SUM(OLD -NEW) FROM some_table WHERE need_to_calc IS true; > > get you anywhere? > > > I?m also thinking of a lag within the list, to assign them all at once, but the commands coming to memory are from statistical packages, Fortran, spreadsheets, and other matrix math . . . > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Sun Mar 29 16:40:17 2020 From: curry at pair.com (Curry Kenworthy) Date: Sun, 29 Mar 2020 16:40:17 -0400 Subject: Its very quiet In-Reply-To: <5ECE7A04-098F-4DE8-8AF8-8F77635A3636@iotecdigital.com> References: <5ECE7A04-098F-4DE8-8AF8-8F77635A3636@iotecdigital.com> Message-ID: <3ef3506a-fc3b-1f13-591f-fb5680003cd9@pair.com> > How about we all chime in on what we are currently working on? Like many who have been sick between all the flu and corona going around, just working on getting well again. Managed to stay out of hospital, but not much energy. Quiet is good.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From curry at pair.com Sun Mar 29 16:50:08 2020 From: curry at pair.com (Curry Kenworthy) Date: Sun, 29 Mar 2020 16:50:08 -0400 Subject: DataGrid question... In-Reply-To: References: Message-ID: <3ef96157-a412-0595-b921-c50ac9904535@pair.com> Pi: > The only issue with using a field is you are limited to character > data presentation only. You can?t put inline images, widgets, > checkboxes, etc. Mark: > Now that's just patently not true. No problem with images: > Set the imagesource of char x of field y of this card to tImageID Thanks Mark for catching and correcting that. Way too much inaccurate info and "fake news" about LiveCode gets propagated, and often picked up and parroted even further by others. LC field is extremely versatile! DataGrids are used far more often than they are needed. Best wishes, Curry Kenworthy WordLib: Take charge of MS Word and OpenOffice documents SpreadLib: "Excel-lent" spreadsheet import/export for LC http://livecodeaddons.com/ From bvlahos at mac.com Sun Mar 29 17:17:51 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 29 Mar 2020 14:17:51 -0700 Subject: Hide stack change focus not supported 64bit Message-ID: I have a stack that needs to hide itself so a different window (other application) is now the frontmost window so my application can use AppleScript keystroke command to enter information into the other window. When I issue the command hide this stack my application window disappears but doesn?t lose focus. The target application that was behind my floating window doesn?t become the frontmost application. The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? Thank you, Bill Vlahos From bobsneidar at iotecdigital.com Sun Mar 29 17:21:17 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 29 Mar 2020 21:21:17 +0000 Subject: Hide stack change focus not supported 64bit In-Reply-To: References: Message-ID: <8CF378C3-8851-47FF-AB9A-A61611C14C59@iotecdigital.com> Whaaa?? That is what I was seeing! In my case I used go invisible . The stack I went to got focus, but going back to the calling stack did NOT return focus. What I ended up doing is using set the defaultStack to Bob S On Mar 29, 2020, at 2:17 PM, Bill Vlahos via use-livecode > wrote: I have a stack that needs to hide itself so a different window (other application) is now the frontmost window so my application can use AppleScript keystroke command to enter information into the other window. When I issue the command hide this stack my application window disappears but doesn?t lose focus. The target application that was behind my floating window doesn?t become the frontmost application. The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? Thank you, Bill Vlahos From dochawk at gmail.com Sun Mar 29 17:24:46 2020 From: dochawk at gmail.com (doc hawk) Date: Sun, 29 Mar 2020 14:24:46 -0700 Subject: Ordering text In-Reply-To: <083B871E-454C-4676-ABDD-46CEDD8163F4@iotecdigital.com> References: <723D6352-4FF0-4DF4-908F-B5942A653EF0@iotecdigital.com> <083B871E-454C-4676-ABDD-46CEDD8163F4@iotecdigital.com> Message-ID: <20B88FE2-DD0D-4F79-8BD7-ADB4DE97E46D@gmail.com> As more cobwebs and dust fall away . . . First impose a (temporary?) index column, idx, ordering the transactions, with a step of 1. And then you do something like UPDATE theTable SET tBal=tBal(idx -1) + charge WHERE idx > MIN(idx); From ahsoftware at sonic.net Sun Mar 29 17:43:36 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 29 Mar 2020 14:43:36 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: References: Message-ID: <3dee73f1-d129-eb0a-7841-4315845ba1fe@sonic.net> On 3/29/20 2:17 PM, Bill Vlahos via use-livecode wrote: > The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? Er... no. The documentation says Additionally QuickTime does not include 64 bit support and therefore can not be supported on OS X 64 bit builds of LiveCode. So the hide command works as expected unless you try to use the QT modifications. -- Mark Wieder ahsoftware at gmail.com From bvlahos at mac.com Sun Mar 29 17:54:41 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 29 Mar 2020 14:54:41 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: <8CF378C3-8851-47FF-AB9A-A61611C14C59@iotecdigital.com> References: <8CF378C3-8851-47FF-AB9A-A61611C14C59@iotecdigital.com> Message-ID: <7C31727E-955B-4392-BB08-7EC74A205CDA@mac.com> Bob, I want my stack to completely hide not make another window of my application the frontmost. I want the target application (like a web browser page) that was underneath my app to now have focus. Thanks, Bill > On Mar 29, 2020, at 2:21 PM, Bob Sneidar via use-livecode wrote: > > Whaaa?? That is what I was seeing! In my case I used go invisible . The stack I went to got focus, but going back to the calling stack did NOT return focus. What I ended up doing is using set the defaultStack to > > Bob S > > > On Mar 29, 2020, at 2:17 PM, Bill Vlahos via use-livecode > wrote: > > > I have a stack that needs to hide itself so a different window (other application) is now the frontmost window so my application can use AppleScript keystroke command to enter information into the other window. > > When I issue the command hide this stack my application window disappears but doesn?t lose focus. The target application that was behind my floating window doesn?t become the frontmost application. > > The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? > > Thank you, > Bill Vlahos > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 29 17:55:28 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Mar 2020 16:55:28 -0500 Subject: Hide stack change focus not supported 64bit In-Reply-To: References: Message-ID: On 3/29/20 4:17 PM, Bill Vlahos via use-livecode wrote: > When I issue the command hide this stack my application window disappears but doesn?t lose focus. The target application that was behind my floating window doesn?t become the frontmost application. Hiding doesn't change anything but the visibility. If you need to change focus either use "go" or set the defaultstack. > > The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? I think this is a documentation glitch. All the dictionary references in that last paragraph aren't showing up, so it isn't clear what the nouns are. But "hide" is still supported as far as I know. I think the missing references there are talking about QT commands. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvlahos at mac.com Sun Mar 29 18:01:51 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 29 Mar 2020 15:01:51 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: <3dee73f1-d129-eb0a-7841-4315845ba1fe@sonic.net> References: <3dee73f1-d129-eb0a-7841-4315845ba1fe@sonic.net> Message-ID: <5186BB7B-0A4A-48DC-B999-5BB9ECB53207@mac.com> Mark, OK. That makes sense and matches the behavior as my window does hide. However, the Mac doesn?t give any window the focus. My application doesn?t really hide. It just closes the window but staying as the frontmost application. I need my whole application to hide to give the target window which had focus before I clicked the button on my floating window after it hides itself. Bill > On Mar 29, 2020, at 2:43 PM, Mark Wieder via use-livecode wrote: > > On 3/29/20 2:17 PM, Bill Vlahos via use-livecode wrote: > >> The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? > > > Er... no. The documentation says > > Additionally QuickTime does not include 64 bit support and therefore can not be supported on OS X 64 bit builds of LiveCode. > > So the hide command works as expected unless you try to use the QT modifications. > > -- > 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 scott at elementarysoftware.com Sun Mar 29 18:38:23 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 29 Mar 2020 15:38:23 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: <5186BB7B-0A4A-48DC-B999-5BB9ECB53207@mac.com> References: <3dee73f1-d129-eb0a-7841-4315845ba1fe@sonic.net> <5186BB7B-0A4A-48DC-B999-5BB9ECB53207@mac.com> Message-ID: <88F9B5B8-FAE5-424C-BC6E-549D6499D738@elementarysoftware.com> This sounds like something AppleScript might be able to solve? > On Mar 29, 2020, at 3:01 PM, Bill Vlahos via use-livecode wrote: > > Mark, > > OK. That makes sense and matches the behavior as my window does hide. > > However, the Mac doesn?t give any window the focus. My application doesn?t really hide. It just closes the window but staying as the frontmost application. > > I need my whole application to hide to give the target window which had focus before I clicked the button on my floating window after it hides itself. > > Bill > >> On Mar 29, 2020, at 2:43 PM, Mark Wieder via use-livecode wrote: >> >> On 3/29/20 2:17 PM, Bill Vlahos via use-livecode wrote: >> >>> The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? >> >> >> Er... no. The documentation says >> >> Additionally QuickTime does not include 64 bit support and therefore can not be supported on OS X 64 bit builds of LiveCode. >> >> So the hide command works as expected unless you try to use the QT modifications. >> >> -- >> 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 bvlahos at mac.com Sun Mar 29 18:58:31 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 29 Mar 2020 15:58:31 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: <88F9B5B8-FAE5-424C-BC6E-549D6499D738@elementarysoftware.com> References: <3dee73f1-d129-eb0a-7841-4315845ba1fe@sonic.net> <5186BB7B-0A4A-48DC-B999-5BB9ECB53207@mac.com> <88F9B5B8-FAE5-424C-BC6E-549D6499D738@elementarysoftware.com> Message-ID: <66CB1A3C-91D6-4C3A-9ED0-515CC12B2F48@mac.com> I was hoping to avoid using AppleScript but I might have to. The oldest version of LiveCode I have that behaves the way I want is 5.5.5. LiveCode must have changed this after version 5. Thank, Bill Vlahos > On Mar 29, 2020, at 3:38 PM, scott--- via use-livecode wrote: > > This sounds like something AppleScript might be able to solve? > > >> On Mar 29, 2020, at 3:01 PM, Bill Vlahos via use-livecode wrote: >> >> Mark, >> >> OK. That makes sense and matches the behavior as my window does hide. >> >> However, the Mac doesn?t give any window the focus. My application doesn?t really hide. It just closes the window but staying as the frontmost application. >> >> I need my whole application to hide to give the target window which had focus before I clicked the button on my floating window after it hides itself. >> >> Bill >> >>> On Mar 29, 2020, at 2:43 PM, Mark Wieder via use-livecode wrote: >>> >>> On 3/29/20 2:17 PM, Bill Vlahos via use-livecode wrote: >>> >>>> The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? >>> >>> >>> Er... no. The documentation says >>> >>> Additionally QuickTime does not include 64 bit support and therefore can not be supported on OS X 64 bit builds of LiveCode. >>> >>> So the hide command works as expected unless you try to use the QT modifications. >>> >>> -- >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Sun Mar 29 18:59:47 2020 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 29 Mar 2020 22:59:47 +0000 Subject: Hide stack change focus not supported 64bit In-Reply-To: <88F9B5B8-FAE5-424C-BC6E-549D6499D738@elementarysoftware.com> References: <3dee73f1-d129-eb0a-7841-4315845ba1fe@sonic.net> <5186BB7B-0A4A-48DC-B999-5BB9ECB53207@mac.com> <88F9B5B8-FAE5-424C-BC6E-549D6499D738@elementarysoftware.com> Message-ID: <4BDD2A99-4A4F-451C-8AF6-AA51EB8A38C6@unimelb.edu.au> You can certainly use AS to query the frontmost application but I'm guessing as soon as you click the button in your app then your app is it. You can also query the application processes - if they are sorted in order from frontmost to 'rearmost' then maybe you could tell the second process in the list to come to the front? Terry... ?On 30/3/20, 9:39 am, "scott--- via use-livecode" wrote: This sounds like something AppleScript might be able to solve? > On Mar 29, 2020, at 3:01 PM, Bill Vlahos via use-livecode wrote: > > Mark, > > OK. That makes sense and matches the behavior as my window does hide. > > However, the Mac doesn?t give any window the focus. My application doesn?t really hide. It just closes the window but staying as the frontmost application. > > I need my whole application to hide to give the target window which had focus before I clicked the button on my floating window after it hides itself. > > Bill > >> On Mar 29, 2020, at 2:43 PM, Mark Wieder via use-livecode wrote: >> >> On 3/29/20 2:17 PM, Bill Vlahos via use-livecode wrote: >> >>> The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? >> >> >> Er... no. The documentation says >> >> Additionally QuickTime does not include 64 bit support and therefore can not be supported on OS X 64 bit builds of LiveCode. >> >> So the hide command works as expected unless you try to use the QT modifications. >> >> -- >> 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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Sun Mar 29 19:01:44 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 29 Mar 2020 16:01:44 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: <66CB1A3C-91D6-4C3A-9ED0-515CC12B2F48@mac.com> References: <3dee73f1-d129-eb0a-7841-4315845ba1fe@sonic.net> <5186BB7B-0A4A-48DC-B999-5BB9ECB53207@mac.com> <88F9B5B8-FAE5-424C-BC6E-549D6499D738@elementarysoftware.com> <66CB1A3C-91D6-4C3A-9ED0-515CC12B2F48@mac.com> Message-ID: Sorry. That should read the newest version of LiveCode that behaves the way I want is 5.5.5. I haven?t had to rebuild this application until now due to Apple removing support for 32bit apps. Bill > On Mar 29, 2020, at 3:58 PM, Bill Vlahos wrote: > > I was hoping to avoid using AppleScript but I might have to. > > The oldest version of LiveCode I have that behaves the way I want is 5.5.5. LiveCode must have changed this after version 5. > > Thank, > Bill Vlahos > >> On Mar 29, 2020, at 3:38 PM, scott--- via use-livecode wrote: >> >> This sounds like something AppleScript might be able to solve? >> >> >>> On Mar 29, 2020, at 3:01 PM, Bill Vlahos via use-livecode wrote: >>> >>> Mark, >>> >>> OK. That makes sense and matches the behavior as my window does hide. >>> >>> However, the Mac doesn?t give any window the focus. My application doesn?t really hide. It just closes the window but staying as the frontmost application. >>> >>> I need my whole application to hide to give the target window which had focus before I clicked the button on my floating window after it hides itself. >>> >>> Bill >>> >>>> On Mar 29, 2020, at 2:43 PM, Mark Wieder via use-livecode wrote: >>>> >>>> On 3/29/20 2:17 PM, Bill Vlahos via use-livecode wrote: >>>> >>>>> The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? >>>> >>>> >>>> Er... no. The documentation says >>>> >>>> Additionally QuickTime does not include 64 bit support and therefore can not be supported on OS X 64 bit builds of LiveCode. >>>> >>>> So the hide command works as expected unless you try to use the QT modifications. >>>> >>>> -- >>>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Sun Mar 29 19:04:26 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 29 Mar 2020 23:04:26 +0000 Subject: Hide stack change focus not supported 64bit In-Reply-To: <8CF378C3-8851-47FF-AB9A-A61611C14C59@iotecdigital.com> References: <8CF378C3-8851-47FF-AB9A-A61611C14C59@iotecdigital.com> Message-ID: I just read the documentation. It seems to be talking about DontUseQT and DonUseQTEffects, not hide stack itself. Bob S On Mar 29, 2020, at 2:21 PM, Bob Sneidar > wrote: The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? Thank you, Bill Vlahos From sean at pidigital.co.uk Sun Mar 29 19:32:41 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 30 Mar 2020 00:32:41 +0100 Subject: DataGrid question... In-Reply-To: <3ef96157-a412-0595-b921-c50ac9904535@pair.com> References: <3ef96157-a412-0595-b921-c50ac9904535@pair.com> Message-ID: <9920C50E-97CD-41E1-9CE3-161DCCC167C7@pidigital.co.uk> Fields: Images, yes. Other objects, no. Working out which cell has been clicked, no. Is that ?fake news?? If so, sad face. If not, still sad face. > Thanks Mark for catching and correcting that. Way too much inaccurate info and "fake news" about LiveCode gets propagated, and often picked up and parroted even further by others. LC field is extremely versatile! > > DataGrids are used far more often than they are needed. > > Best wishes, > > Curry Kenworthy From bobsneidar at iotecdigital.com Sun Mar 29 19:35:17 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 29 Mar 2020 23:35:17 +0000 Subject: DataGrid question... In-Reply-To: <9920C50E-97CD-41E1-9CE3-161DCCC167C7@pidigital.co.uk> References: <3ef96157-a412-0595-b921-c50ac9904535@pair.com> <9920C50E-97CD-41E1-9CE3-161DCCC167C7@pidigital.co.uk> Message-ID: <2215609A-6438-44DC-88D3-AD09B30E0AAD@iotecdigital.com> I thought you could embed checkboxes in a data grid? Not in a field of course, but that?s always been the case. When have we ever been able to embed another object in a field? Bob S On Mar 29, 2020, at 4:32 PM, Pi Digital via use-livecode > wrote: Fields: Images, yes. Other objects, no. Working out which cell has been clicked, no. Is that ?fake news?? If so, sad face. If not, still sad face. Thanks Mark for catching and correcting that. Way too much inaccurate info and "fake news" about LiveCode gets propagated, and often picked up and parroted even further by others. LC field is extremely versatile! DataGrids are used far more often than they are needed. Best wishes, Curry Kenworthy From sean at pidigital.co.uk Sun Mar 29 19:35:22 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 30 Mar 2020 00:35:22 +0100 Subject: Its very quiet In-Reply-To: <3ef3506a-fc3b-1f13-591f-fb5680003cd9@pair.com> References: <3ef3506a-fc3b-1f13-591f-fb5680003cd9@pair.com> Message-ID: <1F946C37-BF04-4D6B-A57D-C92FC90389C9@pidigital.co.uk> Sorry to hear that, Curry. Rest up. Glad it hasn?t been too serious for you. We?ll try and keep the noise down for you. Sean Cole Pi > On 29 Mar 2020, at 21:40, Curry Kenworthy via use-livecode wrote: > > Like many who have been sick between all the flu and corona going around, just working on getting well again. Managed to stay out of hospital, but not much energy. Quiet is good.... From ahsoftware at sonic.net Sun Mar 29 19:46:39 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 29 Mar 2020 16:46:39 -0700 Subject: DataGrid question... In-Reply-To: <3ef96157-a412-0595-b921-c50ac9904535@pair.com> References: <3ef96157-a412-0595-b921-c50ac9904535@pair.com> Message-ID: On 3/29/20 1:50 PM, Curry Kenworthy via use-livecode wrote: > Way too much inaccurate info and "fake news" about LiveCode gets propagated I think that's mischaracterized. Just passing on some information (I hate it when someone says x can't be done - that's a real push to do it). I've been embedding small graphics in fields for years now (and textshift helps align them) but I'm sure I'm barely scratching the surface of what fields can do. -- Mark Wieder ahsoftware at gmail.com From scott at elementarysoftware.com Sun Mar 29 20:01:07 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 29 Mar 2020 17:01:07 -0700 Subject: DataGrid question... In-Reply-To: References: <3ef96157-a412-0595-b921-c50ac9904535@pair.com> Message-ID: <175BC5D5-ADC6-48A0-A261-FBF532EA6759@elementarysoftware.com> I have an app I?m working on right now that has check boxes that the user taps in a list field. Swapping the imagesource works really well in this particular case. Not that the dataGrid isn?t the required tool in some cases. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 mobile 360-920-0715 ------------------------------------------------------ > On Mar 29, 2020, at 4:46 PM, Mark Wieder via use-livecode wrote: > > On 3/29/20 1:50 PM, Curry Kenworthy via use-livecode wrote: > >> Way too much inaccurate info and "fake news" about LiveCode gets propagated > > I think that's mischaracterized. > > Just passing on some information (I hate it when someone says x can't be done - that's a real push to do it). I've been embedding small graphics in fields for years now (and textshift helps align them) but I'm sure I'm barely scratching the surface of what fields can do. > > -- > 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 ambassador at fourthworld.com Sun Mar 29 20:37:26 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 29 Mar 2020 17:37:26 -0700 Subject: DataGrid question... In-Reply-To: <2215609A-6438-44DC-88D3-AD09B30E0AAD@iotecdigital.com> References: <2215609A-6438-44DC-88D3-AD09B30E0AAD@iotecdigital.com> Message-ID: <8335e2d7-c641-bb9c-3e1f-3febfa6f09f6@fourthworld.com> Bob Sneidar wrote: > I thought you could embed checkboxes in a data grid? A DG is a collection of groups. Anything that can be put into a group can be part of the group that defines the row. > When have we ever been able to embed another object in a field? "Embed"? Never. But we can display an image in a field. It works very much like HTML, where you can reference an image object by ID to have it show up in a field: set the imageSource of char 13 of fld 1 to tSomeImgID HtmlText for that would show something like:

Hello World

-- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From curry at pair.com Sun Mar 29 20:53:14 2020 From: curry at pair.com (Curry Kenworthy) Date: Sun, 29 Mar 2020 20:53:14 -0400 Subject: DataGrid question... In-Reply-To: <9920C50E-97CD-41E1-9CE3-161DCCC167C7@pidigital.co.uk> References: <9920C50E-97CD-41E1-9CE3-161DCCC167C7@pidigital.co.uk> Message-ID: <29faf360-2e5f-23f2-c0be-ffbc7745932b@pair.com> Pi: > Fields: Images, yes. Other objects, no. Working out which cell > has been clicked, no. > Is that ?fake news?? If so, sad face. If not, still sad face. Well, sorry but I have to say YES it's largely fake news! :D I'm ill and no strength for an argument (and BTW it has been a fairly "serious" and costly, long-lasting illness I would add; merely glad to have stayed out of hospital) so this will be my last word on the subject but the facts are crystal clear. Images: Well-supported in fields, and for a long time! Working out which cell has been clicked: Sorry, that's not accurate either. Yes, we do have that! Also for a long time. Other objects: That one depends on interpretation. Other standard LC objects dragged in? No. Interactive content that can look and function just like objects to fill the same need? Yes. Often it works great. From checkboxes to charts and tables. I've been very active in this area, and so have others. Not meaning to pick on you, this does not center around you, but it's a good example. Just addressing facts and a general need for accuracy in what we promote. We've had too much misinformation widely spread over the years, and it harms projects when people get their minds filled up with a lot of wrong info and use it to direct their actions and decisions. The field is one such area - greatly underappreciated for its many strengths. Many other areas where we've had untrue facts widely spread and accepted/repeated/learned as truth. Glad this one was caught early. Be safe, everyone...in code quality and in health matters. Bad stuff going around. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From stephen at barncard.com Sun Mar 29 22:00:47 2020 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 29 Mar 2020 19:00:47 -0700 Subject: Its very quiet In-Reply-To: <1F946C37-BF04-4D6B-A57D-C92FC90389C9@pidigital.co.uk> References: <3ef3506a-fc3b-1f13-591f-fb5680003cd9@pair.com> <1F946C37-BF04-4D6B-A57D-C92FC90389C9@pidigital.co.uk> Message-ID: I'm rebuilding a 1980s era Ampex MM1200 Recording Device. 24/16/8 track. For archiving. No Livecode content though, although I will eventually make a remote control using LiveCode Community ... -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, Mar 29, 2020 at 4:36 PM Pi Digital via use-livecode < use-livecode at lists.runrev.com> wrote: > Sorry to hear that, Curry. Rest up. Glad it hasn?t been too serious for > you. We?ll try and keep the noise down for you. > > Sean Cole > Pi > > > > On 29 Mar 2020, at 21:40, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Like many who have been sick between all the flu and corona going > around, just working on getting well again. Managed to stay out of > hospital, but not much energy. Quiet is good.... > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Sun Mar 29 22:05:48 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 30 Mar 2020 02:05:48 +0000 Subject: DataGrid question... In-Reply-To: <29faf360-2e5f-23f2-c0be-ffbc7745932b@pair.com> References: <9920C50E-97CD-41E1-9CE3-161DCCC167C7@pidigital.co.uk> <29faf360-2e5f-23f2-c0be-ffbc7745932b@pair.com> Message-ID: > > Working out which cell has been clicked: Sorry, that's not accurate > either. Yes, we do have that! Also for a long time. > Hi, As Curry's now unfortunately out of the conversation, can someone else help me understand how you work out which cell has been clicked? He said it can be done but gave no explanation or hint of how. I trust him so it must be possible. Suppose every field is an image of a checkbox or a series of figures from a spreadsheet. Without the text being selected, how can you work out the cell? Better still, if its completely empty, how can you tell? 'Addressing facts and a general need for accuracy in what we promote' means promoting the accurate details so we can see where we are going wrong with our 'minds' that are 'filled up with a lot of wrong info' that we end up using 'to direct our actions and decisions'. I apologise for having been misinformed. Is that the way the conversation goes? :) Thanks From sean at pidigital.co.uk Sun Mar 29 22:06:47 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 30 Mar 2020 02:06:47 +0000 Subject: DataGrid question... In-Reply-To: <29faf360-2e5f-23f2-c0be-ffbc7745932b@pair.com> References: <9920C50E-97CD-41E1-9CE3-161DCCC167C7@pidigital.co.uk> <29faf360-2e5f-23f2-c0be-ffbc7745932b@pair.com> Message-ID: > > Working out which cell has been clicked: Sorry, that's not accurate > either. Yes, we do have that! Also for a long time. > Hi, As Curry's now unfortunately out of the conversation, can someone else help me understand how you work out which cell has been clicked? He said it can be done but gave no explanation or hint of how. I trust him so it must be possible. Suppose every field is an image of a checkbox or a series of figures from a spreadsheet. Without the text being selected, how can you work out the cell? Better still, if its completely empty, how can you tell? 'Addressing facts and a general need for accuracy in what we promote' means promoting the accurate details so we can see where we are going wrong with our 'minds' that are 'filled up with a lot of wrong info' that we end up using 'to direct our actions and decisions'. I apologise for having been misinformed. Is that the way the conversation goes? :) Thanks From bobsneidar at iotecdigital.com Sun Mar 29 22:09:00 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 30 Mar 2020 02:09:00 +0000 Subject: DataGrid question... In-Reply-To: References: <9920C50E-97CD-41E1-9CE3-161DCCC167C7@pidigital.co.uk> <29faf360-2e5f-23f2-c0be-ffbc7745932b@pair.com> Message-ID: <8A876294-34A0-4647-8015-234E4EBB29C1@iotecdigital.com> The mouseControl. > On Mar 29, 2020, at 7:06 PM, Sean Cole (Pi) via use-livecode wrote: > >> >> Working out which cell has been clicked: Sorry, that's not accurate >> either. Yes, we do have that! Also for a long time. >> > > Hi, > > As Curry's now unfortunately out of the conversation, can someone else help > me understand how you work out which cell has been clicked? He said it can > be done but gave no explanation or hint of how. I trust him so it must be > possible. Suppose every field is an image of a checkbox or a series of > figures from a spreadsheet. Without the text being selected, how can you > work out the cell? Better still, if its completely empty, how can you tell? > > 'Addressing facts and a general need for accuracy in what we promote' > means promoting the accurate details so we can see where we are going wrong > with our 'minds' that are 'filled up with a lot of wrong info' that we end > up using 'to direct our actions and decisions'. I apologise for having been > misinformed. Is that the way the conversation goes? :) > > 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 ahsoftware at sonic.net Sun Mar 29 22:23:36 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 29 Mar 2020 19:23:36 -0700 Subject: Its very quiet In-Reply-To: References: <3ef3506a-fc3b-1f13-591f-fb5680003cd9@pair.com> <1F946C37-BF04-4D6B-A57D-C92FC90389C9@pidigital.co.uk> Message-ID: <793a11b4-ee4b-cb78-8416-af8a5fcce055@sonic.net> On 3/29/20 7:00 PM, Stephen Barncard via use-livecode wrote: > I'm rebuilding a 1980s era Ampex MM1200 Recording Device. 24/16/8 track. > For archiving. > No Livecode content though, although I will eventually make a remote > control using LiveCode Community ... !!! I thought the MM1200s were only 16 track. Those things are huge. Great sounding though. -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Sun Mar 29 22:34:13 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 30 Mar 2020 02:34:13 +0000 Subject: Save stack in HTML5 In-Reply-To: References: Message-ID: Colin, Sorry I didn't even notice your message til just now. For persistent data, you're going to need some form of storage. Usually, websites utilise cookies. This is the more security-conscious way of handling it, depending on the data of course. w3school.com/js/js_cookies.asp has good examples on how to do this. So you can call a bit of js from LiveCode to read or write it where necessary. Use sparingly. 'Wait' is documented not to work. The best way to put a 'wait' in place is to split up your handler and use 'send blah to thisScript in x seconds'. 'System date' has no meaning because you are talking entirely to the browser via JS (effectively), not the users' system. The other date forms work fine. What use case do you have that needs the 'system date'? Maybe you could set a user preference for the format if necessary. All the best Sean On Fri, 27 Mar 2020 at 20:46, Colin Holgate via use-livecode < use-livecode at lists.runrev.com> wrote: > I made progress getting the basic stack going, the main hold ups were > ?wait' and 'the system date', neither of those work. > > What approach is needed if the stack has text entry that you want to > persist when the page is reloaded? Save this stack seems not to work. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jerry at jhjensen.com Sun Mar 29 22:38:39 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Sun, 29 Mar 2020 19:38:39 -0700 Subject: DataGrid question... In-Reply-To: References: <9920C50E-97CD-41E1-9CE3-161DCCC167C7@pidigital.co.uk> <29faf360-2e5f-23f2-c0be-ffbc7745932b@pair.com> Message-ID: <46D5BBDC-84D7-4A27-A849-B86F072CF63C@jhjensen.com> Hi Sean, Have you seen Bernd Niggemann?s modTableField? It is built on top of the LC list field, without a lot of the complications of DataGrids if you don?t need DG?s huge capabilities. It might work well for you. Regards, Jerry Jensen > On Mar 29, 2020, at 7:05 PM, Sean Cole (Pi) via use-livecode wrote: > >> >> Working out which cell has been clicked: Sorry, that's not accurate >> either. Yes, we do have that! Also for a long time. >> > > Hi, > > As Curry's now unfortunately out of the conversation, can someone else help > me understand how you work out which cell has been clicked? From sean at pidigital.co.uk Sun Mar 29 23:27:14 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 30 Mar 2020 04:27:14 +0100 Subject: DataGrid question... In-Reply-To: <8A876294-34A0-4647-8015-234E4EBB29C1@iotecdigital.com> References: <8A876294-34A0-4647-8015-234E4EBB29C1@iotecdigital.com> Message-ID: Hi Bob That?ll return the field is I?m over but not the cell of the table field. Unless, again, I am mistaken. Am I missing something. Sean Cole Pi Digital > On 30 Mar 2020, at 03:09, Bob Sneidar via use-livecode wrote: > > ?The mouseControl. >>> help >> me understand how you work out which cell has been clicked? He said it can >> be done but gave no explanation or hint of how. From sean at pidigital.co.uk Sun Mar 29 23:35:02 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 30 Mar 2020 04:35:02 +0100 Subject: DataGrid question... In-Reply-To: <46D5BBDC-84D7-4A27-A849-B86F072CF63C@jhjensen.com> References: <46D5BBDC-84D7-4A27-A849-B86F072CF63C@jhjensen.com> Message-ID: <56916114-83C7-46F6-87E5-4B32938FD488@pidigital.co.uk> Hi Jerry Thanks for the heads up about Bernd?s code. But I was interested in learning how to get the cell index of a table field when clicked as we are told it was solved a ?long time? ago. That makes it seem that it is general knowledge and I?m a dunce for not being aware of it (which is very possible). If you?ve got any pointers you know of that can steer me right I?d appreciate it. Sean Cole Pi Digital > On 30 Mar 2020, at 03:38, Jerry Jensen via use-livecode wrote: > > ?Hi Sean, > Have you seen Bernd Niggemann?s modTableField? It is built on top of the LC list field, without a lot of the complications of DataGrids if you don?t need DG?s huge capabilities. It might work well for you. > Regards, > Jerry Jensen > >>> On Mar 29, 2020, at 7:05 PM, Sean Cole (Pi) via use-livecode wrote: >>> >>> >>> Working out which cell has been clicked: Sorry, that's not accurate >>> either. Yes, we do have that! Also for a long time. >>> >> >> Hi, >> >> As Curry's now unfortunately out of the conversation, can someone else help >> me understand how you work out which cell has been clicked? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sun Mar 29 23:37:01 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 30 Mar 2020 03:37:01 +0000 Subject: DataGrid question... In-Reply-To: <56916114-83C7-46F6-87E5-4B32938FD488@pidigital.co.uk> References: <46D5BBDC-84D7-4A27-A849-B86F072CF63C@jhjensen.com> <56916114-83C7-46F6-87E5-4B32938FD488@pidigital.co.uk> Message-ID: <1E5F2680-B902-45BA-A6D1-E0415E065122@iotecdigital.com> The mouseControl! Bob S On Mar 29, 2020, at 8:35 PM, Pi Digital via use-livecode > wrote: Hi Jerry Thanks for the heads up about Bernd?s code. But I was interested in learning how to get the cell index of a table field when clicked as we are told it was solved a ?long time? ago. That makes it seem that it is general knowledge and I?m a dunce for not being aware of it (which is very possible). If you?ve got any pointers you know of that can steer me right I?d appreciate it. Sean Cole Pi Digital From bobsneidar at iotecdigital.com Sun Mar 29 23:40:30 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 30 Mar 2020 03:40:30 +0000 Subject: DataGrid question... In-Reply-To: <1E5F2680-B902-45BA-A6D1-E0415E065122@iotecdigital.com> References: <46D5BBDC-84D7-4A27-A849-B86F072CF63C@jhjensen.com> <56916114-83C7-46F6-87E5-4B32938FD488@pidigital.co.uk> <1E5F2680-B902-45BA-A6D1-E0415E065122@iotecdigital.com> Message-ID: <7014ABB5-C37F-4FEF-B02E-4F5703B1A02C@iotecdigital.com> on mouseUp put the mouseControl into tControl put the long id of tControl into tID put the short name of tControl into tName end mouseUp The short name will reveal the column number. The dgHilitedLine will give you the line. > On Mar 29, 2020, at 8:37 PM, Bob Sneidar via use-livecode wrote: > > The mouseControl! > > Bob S > > On Mar 29, 2020, at 8:35 PM, Pi Digital via use-livecode > wrote: > > Hi Jerry > > Thanks for the heads up about Bernd?s code. But I was interested in learning how to get the cell index of a table field when clicked as we are told it was solved a ?long time? ago. That makes it seem that it is general knowledge and I?m a dunce for not being aware of it (which is very possible). If you?ve got any pointers you know of that can steer me right I?d appreciate it. > > 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 sean at pidigital.co.uk Sun Mar 29 23:56:37 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 30 Mar 2020 04:56:37 +0100 Subject: DataGrid question... In-Reply-To: <7014ABB5-C37F-4FEF-B02E-4F5703B1A02C@iotecdigital.com> References: <7014ABB5-C37F-4FEF-B02E-4F5703B1A02C@iotecdigital.com> Message-ID: <26F48200-CA00-4FA6-B1A6-732ABCDC446C@pidigital.co.uk> Ah Bob. You misunderstand. We are asking in reference to the table field, not DG. Finding the index in data grid is very easy indeed. In a table field, it so much as I was to understand. But apparently there is some magic I?ve missed somewhere and perhaps I?m the only one. Do you know what it is? Sean Cole Pi Digital > On 30 Mar 2020, at 04:40, Bob Sneidar via use-livecode wrote: > > ?on mouseUp > put the mouseControl into tControl > put the long id of tControl into tID > put the short name of tControl into tName > end mouseUp > > The short name will reveal the column number. The dgHilitedLine will give you the line. > >> On Mar 29, 2020, at 8:37 PM, Bob Sneidar via use-livecode wrote: >> >> The mouseControl! >> >> Bob S >> >> On Mar 29, 2020, at 8:35 PM, Pi Digital via use-livecode > wrote: >> >> Hi Jerry >> >> Thanks for the heads up about Bernd?s code. But I was interested in learning how to get the cell index of a table field when clicked as we are told it was solved a ?long time? ago. That makes it seem that it is general knowledge and I?m a dunce for not being aware of it (which is very possible). If you?ve got any pointers you know of that can steer me right I?d appreciate it. >> >> Sean Cole >> Pi Digital >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jerry at jhjensen.com Mon Mar 30 00:02:19 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Sun, 29 Mar 2020 21:02:19 -0700 Subject: DataGrid question... In-Reply-To: <56916114-83C7-46F6-87E5-4B32938FD488@pidigital.co.uk> References: <46D5BBDC-84D7-4A27-A849-B86F072CF63C@jhjensen.com> <56916114-83C7-46F6-87E5-4B32938FD488@pidigital.co.uk> Message-ID: <243095CB-5425-4F45-9642-D785F4DF5E2D@jhjensen.com> Hi Sean, Sorry, I was thinking you might not need a DG at all. My mistake. Anyway, just to be complete, Bernd?s modTableField API gives you the following: mtfDataItemClicked pColumnClicked, pLineClicked, pItemContent, pGroupName mtfDataItemClicked is send when the user clicks into a data cell. 4 parameters are sent: the number of the column, the number of the line, the content of the cell and the long name of the group. Content of course can be empty if the cell is empty. .Jerry > On Mar 29, 2020, at 8:35 PM, Pi Digital via use-livecode wrote: > > Hi Jerry > > Thanks for the heads up about Bernd?s code. But I was interested in learning how to get the cell index of a table field when clicked as we are told it was solved a ?long time? ago. That makes it seem that it is general knowledge and I?m a dunce for not being aware of it (which is very possible). If you?ve got any pointers you know of that can steer me right I?d appreciate it. > From bobsneidar at iotecdigital.com Mon Mar 30 00:03:04 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 30 Mar 2020 04:03:04 +0000 Subject: DataGrid question... In-Reply-To: <26F48200-CA00-4FA6-B1A6-732ABCDC446C@pidigital.co.uk> References: <7014ABB5-C37F-4FEF-B02E-4F5703B1A02C@iotecdigital.com> <26F48200-CA00-4FA6-B1A6-732ABCDC446C@pidigital.co.uk> Message-ID: <0E50D0AA-6020-4939-8FC3-A8E5EDE367BB@iotecdigital.com> OIC. I was struggling with that earlier today. The problem is, there is no cell. Just a field. You can get the line with the clickLine, but I discovered that even with cell editing on, the table field acted erratically, adding lines when I didn?t want them. Since you know the tabstops, you can calculate where in the field the user clicked, and therefore the ?cell?. You will have to do some math though. If the field is horizontally scrolled you will have to take that scroll into account. Honestly it would be better to just have a data grid. That is what I ended up doing. Bob S On Mar 29, 2020, at 8:56 PM, Pi Digital via use-livecode > wrote: Ah Bob. You misunderstand. We are asking in reference to the table field, not DG. Finding the index in data grid is very easy indeed. In a table field, it so much as I was to understand. But apparently there is some magic I?ve missed somewhere and perhaps I?m the only one. Do you know what it is? Sean Cole Pi Digital From terry.judd at unimelb.edu.au Mon Mar 30 00:04:16 2020 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 30 Mar 2020 04:04:16 +0000 Subject: DataGrid question... In-Reply-To: <26F48200-CA00-4FA6-B1A6-732ABCDC446C@pidigital.co.uk> References: <7014ABB5-C37F-4FEF-B02E-4F5703B1A02C@iotecdigital.com> <26F48200-CA00-4FA6-B1A6-732ABCDC446C@pidigital.co.uk> Message-ID: <1EB21532-F838-4B95-8210-DA752275C051@unimelb.edu.au> This is rough but sort of works... on selectionChanged set the itemDel to tab put word 2 of the selectedLine into tRow put word 2 of the selectedChunk into nChar put length(line 1 to tRow-1 of me) into tStart put char tStart+2 to nChar of me into tText put the number of items in tText into tCol put tRow&&tCol end selectionChanged ?On 30/3/20, 2:57 pm, "use-livecode on behalf of Pi Digital via use-livecode" wrote: Ah Bob. You misunderstand. We are asking in reference to the table field, not DG. Finding the index in data grid is very easy indeed. In a table field, it so much as I was to understand. But apparently there is some magic I?ve missed somewhere and perhaps I?m the only one. Do you know what it is? Sean Cole Pi Digital > On 30 Mar 2020, at 04:40, Bob Sneidar via use-livecode wrote: > > on mouseUp > put the mouseControl into tControl > put the long id of tControl into tID > put the short name of tControl into tName > end mouseUp > > The short name will reveal the column number. The dgHilitedLine will give you the line. > >> On Mar 29, 2020, at 8:37 PM, Bob Sneidar via use-livecode wrote: >> >> The mouseControl! >> >> Bob S >> >> On Mar 29, 2020, at 8:35 PM, Pi Digital via use-livecode > wrote: >> >> Hi Jerry >> >> Thanks for the heads up about Bernd?s code. But I was interested in learning how to get the cell index of a table field when clicked as we are told it was solved a ?long time? ago. That makes it seem that it is general knowledge and I?m a dunce for not being aware of it (which is very possible). If you?ve got any pointers you know of that can steer me right I?d appreciate it. >> >> Sean Cole >> Pi Digital >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Mar 30 02:32:00 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Mar 2020 01:32:00 -0500 Subject: DataGrid question... In-Reply-To: <1EB21532-F838-4B95-8210-DA752275C051@unimelb.edu.au> References: <7014ABB5-C37F-4FEF-B02E-4F5703B1A02C@iotecdigital.com> <26F48200-CA00-4FA6-B1A6-732ABCDC446C@pidigital.co.uk> <1EB21532-F838-4B95-8210-DA752275C051@unimelb.edu.au> Message-ID: I can't write a test handler right now, but I'm thinking you might be able do something like this: repeat for each item i in the tabstops of the field: if the clickH > i and less than item i+1, that's your column The clickline gives you the row. On 3/29/20 11:04 PM, Terry Judd via use-livecode wrote: > This is rough but sort of works... > > on selectionChanged > set the itemDel to tab > put word 2 of the selectedLine into tRow > put word 2 of the selectedChunk into nChar > put length(line 1 to tRow-1 of me) into tStart > put char tStart+2 to nChar of me into tText > put the number of items in tText into tCol > put tRow&&tCol > end selectionChanged > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephen at barncard.com Mon Mar 30 03:15:55 2020 From: stephen at barncard.com (Stephen Barncard) Date: Mon, 30 Mar 2020 00:15:55 -0700 Subject: Its very quiet In-Reply-To: <793a11b4-ee4b-cb78-8416-af8a5fcce055@sonic.net> References: <3ef3506a-fc3b-1f13-591f-fb5680003cd9@pair.com> <1F946C37-BF04-4D6B-A57D-C92FC90389C9@pidigital.co.uk> <793a11b4-ee4b-cb78-8416-af8a5fcce055@sonic.net> Message-ID: Plug in headblocks for 24, 16, and 8 tracks. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, Mar 29, 2020 at 7:24 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 3/29/20 7:00 PM, Stephen Barncard via use-livecode wrote: > > I'm rebuilding a 1980s era Ampex MM1200 Recording Device. 24/16/8 track. > > For archiving. > > No Livecode content though, although I will eventually make a remote > > control using LiveCode Community ... > > !!! I thought the MM1200s were only 16 track. Those things are huge. > Great sounding though. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Mon Mar 30 05:08:24 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 30 Mar 2020 10:08:24 +0100 Subject: DataGrid question... In-Reply-To: References: Message-ID: <29A01455-557D-439B-AC50-D766ABBBABA9@pidigital.co.uk> Hmm, but if you look back to Curry?s last post he claims regarding table fields, not data grids : >> Working out which cell has been clicked: Sorry, that's not accurate either. Yes, we do have that! Also for a long time. Curry is a very reliable and valued source of LC knowledge. So, have we all missed a clever and simple, non convoluted method of telling which cell in a scrollable, non editable table field has been clicked? Even if that cell is empty. Something as simple as: put the dgIndex of the target into theIndexThatWasClickedOn ? Sean Cole Pi > On 30 Mar 2020, at 07:32, J. Landman Gay via use-livecode wrote: > > ?I can't write a test handler right now, but I'm thinking you might be able do something like this: > > repeat for each item i in the tabstops of the field: > if the clickH > i and less than item i+1, > that's your column > > The clickline gives you the row. > >> On 3/29/20 11:04 PM, Terry Judd via use-livecode wrote: >> This is rough but sort of works... >> on selectionChanged >> set the itemDel to tab >> put word 2 of the selectedLine into tRow >> put word 2 of the selectedChunk into nChar >> put length(line 1 to tRow-1 of me) into tStart >> put char tStart+2 to nChar of me into tText >> put the number of items in tText into tCol >> put tRow&&tCol >> end selectionChanged > > > -- > Jacqueline Landman Gay | From alex at tweedly.net Mon Mar 30 06:49:07 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 30 Mar 2020 11:49:07 +0100 Subject: DataGrid question... In-Reply-To: <29A01455-557D-439B-AC50-D766ABBBABA9@pidigital.co.uk> References: <29A01455-557D-439B-AC50-D766ABBBABA9@pidigital.co.uk> Message-ID: <06e9ea03-4984-c46b-3b21-c6ed751ffb58@tweedly.net> I don't know of a simple way to do it. However, Bernd's modTableField does do it, and it uses regular fields, and it's open source - so I took a very quick look there. It's not simple :-) But there's a function 'gatherItemClickedInfo' that (with some modifications) might be the foundation of a general handler for you. Alex. On 30/03/2020 10:08, Pi Digital via use-livecode wrote: > Hmm, but if you look back to Curry?s last post he claims regarding table fields, not data grids : > >>> Working out which cell has been clicked: Sorry, that's not accurate either. Yes, we do have that! Also for a long time. > Curry is a very reliable and valued source of LC knowledge. So, have we all missed a clever and simple, non convoluted method of telling which cell in a scrollable, non editable table field has been clicked? Even if that cell is empty. Something as simple as: > > put the dgIndex of the target into theIndexThatWasClickedOn > ? > > Sean Cole > Pi > > >> On 30 Mar 2020, at 07:32, J. Landman Gay via use-livecode wrote: >> >> ?I can't write a test handler right now, but I'm thinking you might be able do something like this: >> >> repeat for each item i in the tabstops of the field: >> if the clickH > i and less than item i+1, >> that's your column >> >> The clickline gives you the row. >> >>> On 3/29/20 11:04 PM, Terry Judd via use-livecode wrote: >>> This is rough but sort of works... >>> on selectionChanged >>> set the itemDel to tab >>> put word 2 of the selectedLine into tRow >>> put word 2 of the selectedChunk into nChar >>> put length(line 1 to tRow-1 of me) into tStart >>> put char tStart+2 to nChar of me into tText >>> put the number of items in tText into tCol >>> put tRow&&tCol >>> end selectionChanged >> >> -- >> Jacqueline Landman Gay | > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Mar 30 09:13:10 2020 From: dfepstein at comcast.net (David Epstein) Date: Mon, 30 Mar 2020 09:13:10 -0400 Subject: DataGrid question... Message-ID: <51A43CC2-2398-470B-B908-4B609A16A40A@comcast.net> This is more or less Jacqueline Gay?s suggestion, but with a couple of wrinkles. You do need to adjust for the horizontal scroll of the field (I?m not sure about borders or margin). And if I am not mistaken sometimes ?the tabStops? will not have an entry for each tab, if the column width stays constant. My approach is to keep a global called gColGuide, which gets reloaded when column widths change. It has one line per column, with leftEdge,0,rightEdge,0 in each line. The function used to load gColGuide is shown below. put word 1 of the clickLoc into x put word 2 of the clickLine into L ? line number put the hScroll of fld ?table? into hs put colGuide() into gColGuide function mCol x,hs ? returns column number for horizontal pixel x, consulting gColGuide. hs is the field?s hScroll. global gColGuide add hs to x put 1 into c repeat for each line k in gColGuide if x > item 1 of k and x < item 3 of k then return c add 1 to c end repeat return empty end mCol-- Any need to adjust for borders and margins? function colGuide ? used to load gColGuide with one line per column; each line has left,0,right,0 set itemDelimiter to tab put the number of items in fld "headers" of into cz set itemDelimiter to comma get the tabStops of fld ?table? put "0," before it put the left of fld ?table? into fL repeat with n = 1 to min(cz,(-1 + the number of items in it)) -- so that colGuide will only cover the used columns. put fL+8 + item n of it,0,fL+8 + item n+1 of it,0 & return after hold end repeat if cz > n then put item 3 of line -1 of hold - item 1 of line -1 of hold into w repeat with m = n+1 to cz get item 3 of line -1 of hold put it,0,w + it,0 & return after hold end repeat end if put fL into item 1 of hold return hold end colGuide David Epstein From rdimola at evergreeninfo.net Mon Mar 30 09:25:47 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 30 Mar 2020 09:25:47 -0400 Subject: Its very quiet In-Reply-To: References: <3ef3506a-fc3b-1f13-591f-fb5680003cd9@pair.com> <1F946C37-BF04-4D6B-A57D-C92FC90389C9@pidigital.co.uk> Message-ID: <004801d60696$bc283120$34789360$@net> I'm getting all 16 channels of my Fostex E16(1/2 inch) working to see if I can digitally archive. My biggest problem is that it's all on 456 grand master and I will probably only get one pass (if that) and gunk up the heads every pass. I also have one 2" 16 track tape I would like to archive. 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 Stephen Barncard via use-livecode Sent: Sunday, March 29, 2020 10:01 PM To: How to use LiveCode Cc: Stephen Barncard; Pi Digital Subject: Re: Its very quiet I'm rebuilding a 1980s era Ampex MM1200 Recording Device. 24/16/8 track. For archiving. No Livecode content though, although I will eventually make a remote control using LiveCode Community ... -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, Mar 29, 2020 at 4:36 PM Pi Digital via use-livecode < use-livecode at lists.runrev.com> wrote: > Sorry to hear that, Curry. Rest up. Glad it hasn?t been too serious > for you. We?ll try and keep the noise down for you. > > Sean Cole > Pi > > > > On 29 Mar 2020, at 21:40, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Like many who have been sick between all the flu and corona going > around, just working on getting well again. Managed to stay out of > hospital, but not much energy. Quiet is good.... > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Mar 30 11:02:10 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 30 Mar 2020 15:02:10 +0000 Subject: Using Shift + Cmd + 1 as a menu short in LiveCode In-Reply-To: <11108D57-F603-4ECE-A7A6-E616A53CA083@gmail.com> References: <11108D57-F603-4ECE-A7A6-E616A53CA083@gmail.com> Message-ID: Cmd-E will eject a mounted removable disk. I've never heard of Cmd-Shift-1. Bob S > On Mar 25, 2020, at 11:09 , doc hawk via use-livecode wrote: > > Isn?t that the key sequence for ejecting the internal floppy, err, first removable disk? > > It does seem to be removed from recent releases, though (although -3 an -4 still work, though not quite how they used to . . ) > > These were in the original release for the 128k . . . From ahsoftware at sonic.net Mon Mar 30 11:22:05 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 30 Mar 2020 08:22:05 -0700 Subject: Its very quiet In-Reply-To: References: <3ef3506a-fc3b-1f13-591f-fb5680003cd9@pair.com> <1F946C37-BF04-4D6B-A57D-C92FC90389C9@pidigital.co.uk> <793a11b4-ee4b-cb78-8416-af8a5fcce055@sonic.net> Message-ID: <17f5780b-4dd5-0128-3857-6e342c0e7774@sonic.net> On 3/30/20 12:15 AM, Stephen Barncard via use-livecode wrote: > Plug in headblocks for 24, 16, and 8 tracks. ...and three (!) rows of VUE meters? -- Mark Wieder ahsoftware at gmail.com From heather at livecode.com Mon Mar 30 12:11:53 2020 From: heather at livecode.com (Heather Laine) Date: Mon, 30 Mar 2020 17:11:53 +0100 Subject: Ready to go Message-ID: <8F201D7E-2E08-446E-BAA0-D06996C05D72@livecode.com> Dear List Folks, Following up on my earlier message, our special Covid-19 page is now live on site, here: https://livecode.com/stay-at-home/ Please feel free to share far and wide, with anyone you think might benefit from it. We'll be setting up the first zoom meeting soon, I'll let you know when we've finalised a date and time. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From richmondmathewson at gmail.com Mon Mar 30 12:46:10 2020 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 30 Mar 2020 19:46:10 +0300 Subject: Using Shift + Cmd + 1 as a menu short in LiveCode In-Reply-To: References: <11108D57-F603-4ECE-A7A6-E616A53CA083@gmail.com> Message-ID: <6f8036ca-5988-c91e-2139-99c8ebdf1311@gmail.com> Well, or what it's worth I just tried Cmd_Shift_1 on my Mac Mini and nothing happened, so, if it really "floats yer boat" you should be able to use it as some sort of short cut in LiveCode. On 30.03.20 18:02, Bob Sneidar via use-livecode wrote: > Cmd-E will eject a mounted removable disk. I've never heard of Cmd-Shift-1. > > Bob S > > >> On Mar 25, 2020, at 11:09 , doc hawk via use-livecode wrote: >> >> Isn?t that the key sequence for ejecting the internal floppy, err, first removable disk? >> >> It does seem to be removed from recent releases, though (although -3 an -4 still work, though not quite how they used to . . ) >> >> These were in the original release for the 128k . . . > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Mar 30 12:54:40 2020 From: dochawk at gmail.com (doc hawk) Date: Mon, 30 Mar 2020 09:54:40 -0700 Subject: Using Shift + Cmd + 1 as a menu short in LiveCode In-Reply-To: References: <11108D57-F603-4ECE-A7A6-E616A53CA083@gmail.com> Message-ID: <9CE5BCB5-538A-47C3-9058-4438BF07FDB7@gmail.com> On Mar 30, 2020, at 8:02 AM, Bob Sneidar via use-livecode wrote: > > Cmd-E will eject a mounted removable disk. I've never heard of Cmd-Shift-1. Newbie :) It seems to have disappeared some time ago. I know that I used it some years ago on a CD, to my surprise. -3 and -4 are still live, but the whole set were very, very low level way back when. I bring it up because even thought apparently not implemented any more, there might still be some system intercept that catches it under some OSX variants. From richmondmathewson at gmail.com Mon Mar 30 13:06:37 2020 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 30 Mar 2020 20:06:37 +0300 Subject: Using Shift + Cmd + 1 as a menu short in LiveCode In-Reply-To: <9CE5BCB5-538A-47C3-9058-4438BF07FDB7@gmail.com> References: <11108D57-F603-4ECE-A7A6-E616A53CA083@gmail.com> <9CE5BCB5-538A-47C3-9058-4438BF07FDB7@gmail.com> Message-ID: This is worth a look: https://support.apple.com/en-us/HT201236 On 30.03.20 19:54, doc hawk via use-livecode wrote: > On Mar 30, 2020, at 8:02 AM, Bob Sneidar via use-livecode wrote: >> Cmd-E will eject a mounted removable disk. I've never heard of Cmd-Shift-1. > Newbie :) > > It seems to have disappeared some time ago. > > I know that I used it some years ago on a CD, to my surprise. > > -3 and -4 are still live, but the whole set were very, very low level way back when. > > I bring it up because even thought apparently not implemented any more, there might still be some system intercept that catches it under some OSX variants. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 30 13:14:31 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 30 Mar 2020 20:14:31 +0300 Subject: [ ANN ] This week in LiveCode 219 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 #219 here: https://bit.ly/2UriPj3 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 lists at mangomultimedia.com Mon Mar 30 13:27:49 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 30 Mar 2020 12:27:49 -0500 Subject: Using Shift + Cmd + 1 as a menu short in LiveCode In-Reply-To: References: <11108D57-F603-4ECE-A7A6-E616A53CA083@gmail.com> <9CE5BCB5-538A-47C3-9058-4438BF07FDB7@gmail.com> Message-ID: Guys, Please don't hijack the thread. -- Trevor DeVore ScreenSteps www.screensteps.com On Mon, Mar 30, 2020 at 12:07 PM Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > This is worth a look: > > https://support.apple.com/en-us/HT201236 > > On 30.03.20 19:54, doc hawk via use-livecode wrote: > > On Mar 30, 2020, at 8:02 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Cmd-E will eject a mounted removable disk. I've never heard of > Cmd-Shift-1. > > Newbie :) > > > > It seems to have disappeared some time ago. > > > > I know that I used it some years ago on a CD, to my surprise. > > > > -3 and -4 are still live, but the whole set were very, very low level > way back when. > > > > I bring it up because even thought apparently not implemented any more, > there might still be some system intercept that catches it under some OSX > variants. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Mar 30 13:42:29 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 30 Mar 2020 18:42:29 +0100 Subject: DataGrid question... In-Reply-To: <51A43CC2-2398-470B-B908-4B609A16A40A@comcast.net> References: <51A43CC2-2398-470B-B908-4B609A16A40A@comcast.net> Message-ID: <3BD1E332-2BAE-41CF-A4EA-62F6E2391360@pidigital.co.uk> Wow, David. Not convoluted at all :) so much easier than data grid. I?m not sure this is what Curry was thinking of. What do you think he was eluding to. We?ve ?known? this for years now apparently. Sean Cole Pi Digital > On 30 Mar 2020, at 14:13, David Epstein via use-livecode wrote: > > ?This is more or less Jacqueline Gay?s suggestion, but with a couple of wrinkles. You do need to adjust for the horizontal scroll of the field (I?m not sure about borders or margin). And if I am not mistaken sometimes ?the tabStops? will not have an entry for each tab, if the column width stays constant. > My approach is to keep a global called gColGuide, which gets reloaded when column widths change. It has one line per column, with leftEdge,0,rightEdge,0 in each line. > The function used to load gColGuide is shown below. > > put word 1 of the clickLoc into x > put word 2 of the clickLine into L ? line number > put the hScroll of fld ?table? into hs > > put colGuide() into gColGuide > > function mCol x,hs ? returns column number for horizontal pixel x, consulting gColGuide. hs is the field?s hScroll. > global gColGuide > add hs to x > put 1 into c > repeat for each line k in gColGuide > if x > item 1 of k and x < item 3 of k then return c > add 1 to c > end repeat > return empty > end mCol-- Any need to adjust for borders and margins? > > function colGuide ? used to load gColGuide with one line per column; each line has left,0,right,0 > set itemDelimiter to tab > put the number of items in fld "headers" of into cz > set itemDelimiter to comma > get the tabStops of fld ?table? > put "0," before it > put the left of fld ?table? into fL > repeat with n = 1 to min(cz,(-1 + the number of items in it)) -- so that colGuide will only cover the used columns. > put fL+8 + item n of it,0,fL+8 + item n+1 of it,0 & return after hold > end repeat > if cz > n then > put item 3 of line -1 of hold - item 1 of line -1 of hold into w > repeat with m = n+1 to cz > get item 3 of line -1 of hold > put it,0,w + it,0 & return after hold > end repeat > end if > put fL into item 1 of hold > return hold > end colGuide > > David Epstein > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Mon Mar 30 13:56:37 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 30 Mar 2020 18:56:37 +0100 Subject: Ready to go In-Reply-To: <8F201D7E-2E08-446E-BAA0-D06996C05D72@livecode.com> References: <8F201D7E-2E08-446E-BAA0-D06996C05D72@livecode.com> Message-ID: <96BD5841-8BD4-45BE-AF79-1043C4E887B7@pidigital.co.uk> The Tom Glod ?using LiveCode for the first time? video is a good one to share for enthusiastically selling LC. Sean Cole Pi Digital > On 30 Mar 2020, at 17:11, Heather Laine via use-livecode wrote: > > ?Dear List Folks, > > Following up on my earlier message, our special Covid-19 page is now live on site, here: > > https://livecode.com/stay-at-home/ > > Please feel free to share far and wide, with anyone you think might benefit from it. > > We'll be setting up the first zoom meeting soon, I'll let you know when we've finalised a date and time. > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Mar 30 15:42:20 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Mar 2020 14:42:20 -0500 Subject: DataGrid question... In-Reply-To: <29A01455-557D-439B-AC50-D766ABBBABA9@pidigital.co.uk> References: <29A01455-557D-439B-AC50-D766ABBBABA9@pidigital.co.uk> Message-ID: On 3/30/20 4:08 AM, Pi Digital via use-livecode wrote: > So, have we all missed a clever and simple, non convoluted method of telling which cell in a scrollable, non editable table field has been clicked? Even if that cell is empty. The table field is pretty rudimentary and so has limitations. For example, no messages are generated if a user clicks in a cell that is below the last text entry. Provided the field is full of data and user clicks on a populated cell, this seems to work: on selectionChanged put "Row:" && word 2 of the clickline into tRow -- adjust for scroll here put "Col:" && getColumn(the clickH) into tColumn put tRow &cr& tColumn end selectionChanged function getColumn pClickH put the num of items in the tabstops of me into tNumStops put last item of the tabstops of me into tTabWidth -- in case we need to calculate it set the itemdel to tab put the num of items in line 1 of fld "tf" into tColumns if tNumStops < tColumns then -- add missing tabstops put the tabstops of me into tTabs repeat with x = tNumStops+1 to tColumns put comma & (tTabWidth * x) after tTabs end repeat end if set the itemdel to comma repeat with x = 1 to the num of items in tTabs if pClickH > item x of tTabs and pClickH < item x+1 of tTabs then return x end if end repeat return empty end getColumn This is as far as I got (I need to get back to work,) but I think all it's missing is calculating the row offset if the field is scrolled. David accounted for that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jerry at jhjensen.com Mon Mar 30 16:07:52 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Mon, 30 Mar 2020 13:07:52 -0700 Subject: DataGrid question... In-Reply-To: <06e9ea03-4984-c46b-3b21-c6ed751ffb58@tweedly.net> References: <29A01455-557D-439B-AC50-D766ABBBABA9@pidigital.co.uk> <06e9ea03-4984-c46b-3b21-c6ed751ffb58@tweedly.net> Message-ID: <09AC46DA-71FA-4015-8F8C-1EC0FB9884DE@jhjensen.com> In modTableField there?s a function for that: mtfDataItemClicked pColumnClicked, pLineClicked, pItemContent, pGroupName > On Mar 30, 2020, at 3:49 AM, Alex Tweedly via use-livecode wrote: > > I don't know of a simple way to do it. > > However, Bernd's modTableField does do it, and it uses regular fields, and it's open source - so I took a very quick look there. > > It's not simple :-) > > But there's a function 'gatherItemClickedInfo' that (with some modifications) might be the foundation of a general handler for you. From bogdanoff at me.com Mon Mar 30 16:38:43 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 30 Mar 2020 13:38:43 -0700 Subject: DataGrid question... In-Reply-To: <09AC46DA-71FA-4015-8F8C-1EC0FB9884DE@jhjensen.com> References: <29A01455-557D-439B-AC50-D766ABBBABA9@pidigital.co.uk> <06e9ea03-4984-c46b-3b21-c6ed751ffb58@tweedly.net> <09AC46DA-71FA-4015-8F8C-1EC0FB9884DE@jhjensen.com> Message-ID: Does anyone have a link to obtain Bernd's modTableField ? Peter Bogdanoff > On Mar 30, 2020, at 1:07 PM, Jerry Jensen via use-livecode wrote: > > In modTableField there?s a function for that: > mtfDataItemClicked pColumnClicked, pLineClicked, pItemContent, pGroupName > >> On Mar 30, 2020, at 3:49 AM, Alex Tweedly via use-livecode wrote: >> >> I don't know of a simple way to do it. >> >> However, Bernd's modTableField does do it, and it uses regular fields, and it's open source - so I took a very quick look there. >> >> It's not simple :-) >> >> But there's a function 'gatherItemClickedInfo' that (with some modifications) might be the foundation of a general handler for you. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 30 16:57:06 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 30 Mar 2020 21:57:06 +0100 Subject: DataGrid question... In-Reply-To: <09AC46DA-71FA-4015-8F8C-1EC0FB9884DE@jhjensen.com> References: <29A01455-557D-439B-AC50-D766ABBBABA9@pidigital.co.uk> <06e9ea03-4984-c46b-3b21-c6ed751ffb58@tweedly.net> <09AC46DA-71FA-4015-8F8C-1EC0FB9884DE@jhjensen.com> Message-ID: <949abc87-4ab3-f5c4-c679-8e70fafb72ce@tweedly.net> Yeah,? mtfDataItemClicked calls gatherItemClickedInfo to get the info :-) On 30/03/2020 21:07, Jerry Jensen via use-livecode wrote: > In modTableField there?s a function for that: > mtfDataItemClicked pColumnClicked, pLineClicked, pItemContent, pGroupName > >> On Mar 30, 2020, at 3:49 AM, Alex Tweedly via use-livecode wrote: >> >> I don't know of a simple way to do it. >> >> However, Bernd's modTableField does do it, and it uses regular fields, and it's open source - so I took a very quick look there. >> >> It's not simple :-) >> >> But there's a function 'gatherItemClickedInfo' that (with some modifications) might be the foundation of a general handler for you. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jerry at jhjensen.com Mon Mar 30 16:56:24 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Mon, 30 Mar 2020 13:56:24 -0700 Subject: DataGrid question... In-Reply-To: References: <29A01455-557D-439B-AC50-D766ABBBABA9@pidigital.co.uk> <06e9ea03-4984-c46b-3b21-c6ed751ffb58@tweedly.net> <09AC46DA-71FA-4015-8F8C-1EC0FB9884DE@jhjensen.com> Message-ID: <59EE628B-3C64-459D-ACCA-E60AD7A2B60D@jhjensen.com> I am updating a project that used modTableField. I emailed Bernd to see what the current version is. Its 0.3.3.9 and he emailed it to me. I don?t have a link, but Bernd?s email is: Niggemann, Bernd" I?m a big fan! Jerry Jensen > On Mar 30, 2020, at 1:38 PM, Peter Bogdanoff via use-livecode wrote: > > Does anyone have a link to obtain Bernd's modTableField ? > > Peter Bogdanoff > > >> On Mar 30, 2020, at 1:07 PM, Jerry Jensen via use-livecode wrote: >> >> In modTableField there?s a function for that: >> mtfDataItemClicked pColumnClicked, pLineClicked, pItemContent, pGroupName >> >>> On Mar 30, 2020, at 3:49 AM, Alex Tweedly via use-livecode wrote: >>> >>> I don't know of a simple way to do it. >>> >>> However, Bernd's modTableField does do it, and it uses regular fields, and it's open source - so I took a very quick look there. >>> >>> It's not simple :-) >>> >>> But there's a function 'gatherItemClickedInfo' that (with some modifications) might be the foundation of a general handler for you. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 livecode.org Mon Mar 30 17:26:49 2020 From: paul at livecode.org (Paul Hibbert) Date: Mon, 30 Mar 2020 14:26:49 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: References: Message-ID: <3DC7AB30-6277-4210-9FAE-F95C3F6038AC@livecode.org> Have you looked at the Launch command? launch [documentPath with] applicationPath Documentation: Description Use the launch command to start an application for the user to use. When the launch command executes, the application being launched comes to the foreground. When the user quits, LiveCode comes to the foreground. If no documentPath is specified, the following two statements are equivalent: launch application open process application for neither Or maybe, Launch document or Launch URL Paul > On Mar 29, 2020, at 14:17, Bill Vlahos via use-livecode > wrote: > > > I have a stack that needs to hide itself so a different window (other application) is now the frontmost window so my application can use AppleScript keystroke command to enter information into the other window. > > When I issue the command hide this stack my application window disappears but doesn?t lose focus. The target application that was behind my floating window doesn?t become the frontmost application. > > The documentation in 9.5.1 says that hide stack is not supported in 64bit. What is the alternative for MacOS X 64bit to temporarily hide my application? > > Thank you, > Bill Vlahos > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Paul paul at livecode.org macOS Mojave 10.14 From curry at pair.com Mon Mar 30 17:35:18 2020 From: curry at pair.com (Curry Kenworthy) Date: Mon, 30 Mar 2020 17:35:18 -0400 Subject: DataGrid question... In-Reply-To: <3BD1E332-2BAE-41CF-A4EA-62F6E2391360@pidigital.co.uk> References: <3BD1E332-2BAE-41CF-A4EA-62F6E2391360@pidigital.co.uk> Message-ID: Pi: > I?m not sure this is what Curry was thinking of. What do you think > he was eluding to. We?ve ?known? this for years now apparently. I love the humor so far - well done, kind of like a skit/spoof of Fake News flailing under the weight of Accurate Facts yet insistently demanding more, LOL, if that was your intent. OK, I'll join in the fun and play straight man in the act to ham it up and help give cooped up people at home a much-needed laugh, and educational to boot. Our own little Punch and Judy show. Just this one more email though; I've been sick for weeks and need to catch up on work, so extra typing has to be very limited. Generally known (your claim, not mine): List members quickly provided starter code for not 1 but 2 separate approaches. I'd say the existence of tabstops and clickH/mouseH is fairly well-known. Just a matter of actually applying what is known - that's a key skill and we've just seen a real live demo of several people doing exactly that. Good job, all! Long time: Check. Tabstops and mouseH have been there since LC/RR 1.0, if the dictionary can be trusted for once. That's quite a while. I myself published an optimized column function back in 2011 or 2012 with SpreadLib (and my critics keep reminding me that was a long time ago; they can't have it both ways) so I assume I'd probably been using rougher column code for several years before that. And I assume other people did too. (But I admit, on a geological time scale that's just the blink of an eye. And in the course of human civilization, I don't have any handy evidence that people in ancient Catal Huyuk or Jericho were using similar methods. However even animals have an innate sense of comparing larger and smaller amounts, and early civilizations solved highly complex problems, so I wouldn't underestimate them; I think the average scholar back then was very smart, and placing a given value into a series of values should be doable IMHO. But to stick to proven facts, it's indeed a "long" time in LiveCode terms, the capability was available for almost as long as LC/RR itself. But not in geological terms or "God's time" and the life of our universe; I'm afraid the Fake News might have me over a barrel on possible meanings of the word long.) :-) Providing people have some background on field props, this is no trouble at all! I don't believe all learning should be by rote, AKA either someone has seen the explicit code and heard a spiel, or else he/she is completely helpless and innocent of the entire concept. For LC tutoring I would place a "which column" coding challenge exercise as: Beginner skill level for known provided equal-width tabstops, Intermediate for rough handling all field tabstops, and Advanced for a cleaner/shorter optimized and polished solution and/or handling paragraph-level settings. Never claimed it was a one-liner (typical fake news "flailing" with hyperbole, common media tactic) but as demo'd here it's not hard to make your own function, for those not function-averse or performance-averse. But yes the field is underappreciated and much sexier than the gossip and hearsay crowd gives it credit for. So it's great that we are increasing awareness and understanding and driving a stake into the heart of some misconceptions! That concludes my brief battle to fortify field users against Fake News...for this round, but the war for hearts and minds never ends in our 24/7 media cycle! So I'll fly away back to my sickbed lair to recuperate (but not lick my wounds or touch my face) until the next time Forces of Misinformation and Mayhem rise once more from the gutters and perch on the gorgoyles to threaten the code-izens of our fair virtual metropolis. Carry on! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From Bernd.Niggemann at uni-wh.de Mon Mar 30 17:43:39 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Mon, 30 Mar 2020 21:43:39 +0000 Subject: DataGrid question... Message-ID: >Peter Bogdanoff wrote: >Does anyone have a link to obtain Bernd's modTableField ? Here is a link to the latest version of modifiedTableField berndniggemann.on-rev.com/mtf/modTableField.zip there is a zip of a demo stack with a helper stack and a .rtf document with the API Use the demo stack to explore modTableField. Have a little patience to explore. It shows many options. Please have a look at the API document to get a feeling how to address and query modTableField. If you want to use modTableField in a project copy the group "modTableField 1" from the demo stack to your stack and use the API to work with it. This version is HTML5 safe. There was a superfluous wait in former versions. Hermann used tinyDict with his HTML5 demo of an IDE. tinyDictionary uses modTableField There are a couple of users that seem quite content with modTableField (thanks Jerry for mentioning it) I would be happy to know if anybody uses modTableField in a project. (aside from the people that mailed me before). If you have questions please feel free to email me. Kind regards Bernd From paulmcclernan at gmail.com Mon Mar 30 22:49:09 2020 From: paulmcclernan at gmail.com (Paul McClernan) Date: Mon, 30 Mar 2020 22:49:09 -0400 Subject: Hide stack change focus not supported 64bit In-Reply-To: References: Message-ID: You can easily use AppleScript mixed with LiveCode script to change focus to another app On Sun, Mar 29, 2020 at 5:18 PM Bill Vlahos via use-livecode < use-livecode at lists.runrev.com> wrote: > > I have a stack that needs to hide itself so a different window (other > application) is now the frontmost window so my application can use > AppleScript keystroke command to enter information into the other window. > > When I issue the command hide this stack my application window disappears > but doesn?t lose focus. The target application that was behind my floating > window doesn?t become the frontmost application. > > The documentation in 9.5.1 says that hide stack is not supported in 64bit. > What is the alternative for MacOS X 64bit to temporarily hide my > application? > > Thank you, > Bill Vlahos > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paulmcclernan at gmail.com Mon Mar 30 22:58:27 2020 From: paulmcclernan at gmail.com (Paul McClernan) Date: Mon, 30 Mar 2020 22:58:27 -0400 Subject: Hide stack change focus not supported 64bit In-Reply-To: References: Message-ID: (Sorry, hit send too soon). You can easily use AppleScript mixed with LiveCode script to change focus to another app: *do *"tell application "& quote& "PhotoShop"& quote& " to activate"as AppleScript You could also use AppHide / AppUnhide from my LCB Library macOSTools to minimize your stack which automatically switches to whatever the next running app is. See the test stack, which uses the above AppleScript to switch focus back to LiveCode after the AppHide command. Download from here: https://github.com/PaulMcClernan/LCB_macOSTools On Mon, Mar 30, 2020 at 10:49 PM Paul McClernan wrote: > You can easily use AppleScript mixed with LiveCode script to change focus > to another app > > On Sun, Mar 29, 2020 at 5:18 PM Bill Vlahos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> I have a stack that needs to hide itself so a different window (other >> application) is now the frontmost window so my application can use >> AppleScript keystroke command to enter information into the other window. >> >> When I issue the command hide this stack my application window disappears >> but doesn?t lose focus. The target application that was behind my floating >> window doesn?t become the frontmost application. >> >> The documentation in 9.5.1 says that hide stack is not supported in >> 64bit. What is the alternative for MacOS X 64bit to temporarily hide my >> application? >> >> Thank you, >> Bill Vlahos >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From bvlahos at mac.com Tue Mar 31 00:52:45 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 30 Mar 2020 21:52:45 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: References: Message-ID: <5EFA08A8-B098-4671-A346-FDAA0AA9C3B6@mac.com> Paul, Your AppHide/AppUnhide sounds perfect. I will try it. Thank you, Bill Vlahos > On Mar 30, 2020, at 7:58 PM, Paul McClernan via use-livecode wrote: > > (Sorry, hit send too soon). > You can easily use AppleScript mixed with LiveCode script to change focus > to another app: > > *do *"tell application "& quote& "PhotoShop"& quote& " to activate"as > AppleScript > > You could also use AppHide / AppUnhide from my LCB Library macOSTools > to minimize your stack which automatically switches to whatever the next > running app is. See the test stack, which uses the above AppleScript to > switch focus back to LiveCode after the AppHide command. > Download from here: > https://github.com/PaulMcClernan/LCB_macOSTools > > On Mon, Mar 30, 2020 at 10:49 PM Paul McClernan > wrote: > >> You can easily use AppleScript mixed with LiveCode script to change focus >> to another app >> >> On Sun, Mar 29, 2020 at 5:18 PM Bill Vlahos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> >>> I have a stack that needs to hide itself so a different window (other >>> application) is now the frontmost window so my application can use >>> AppleScript keystroke command to enter information into the other window. >>> >>> When I issue the command hide this stack my application window disappears >>> but doesn?t lose focus. The target application that was behind my floating >>> window doesn?t become the frontmost application. >>> >>> The documentation in 9.5.1 says that hide stack is not supported in >>> 64bit. What is the alternative for MacOS X 64bit to temporarily hide my >>> application? >>> >>> Thank you, >>> Bill Vlahos >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Tue Mar 31 08:38:09 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Tue, 31 Mar 2020 14:38:09 +0200 Subject: Speech on Android Message-ID: <3c383fcd-050b-407f-dce0-5f906a59a232@gmail.com> Hi, i have a few questions on speech used on android: 1. can you use any available language or must the Android System be set on a language? (i suspect the first) i choose an english and dutch lang, first it worked, later it talked spanish...could be a mistake from me of course. 2. the list of available voice is filled with unrecoqnizable names like nl-nl-x-lgc-network or nl-nl-x-dma-local, how can we change this like male-female or with names like Hans-Cynthia-Ben-Susan thanks Jerry From paul at researchware.com Tue Mar 31 08:37:26 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 31 Mar 2020 08:37:26 -0400 Subject: specialFolderPath, Microsoft Window, and 64 bits Message-ID: On Windows, the SpecialFolderPath function can use Constant Special Item ID List (CSIDL) values, but since Windows Vista, developer were supposed to switch to using the Microsoft Known Folder ID system instead (I just learned this, so there's that!) (see https://docs.microsoft.com/en-us/windows/win32/shell/knownfolderid) Under CSIDL, specialFolderPath("38") is the equivalent of CSIDL_PROGRAM_FILES or C:\Program Files\ on older systems or C:\Program Files (x86)\ on Windows 8 or 10 (for 32 bit apps) Under KNOWNFOLDERID, this is FOLDERID_ProgramFiles and there is a seconds KNOWNFOLDERID, FOLDERID_ProgramFilesX64 that on 64 bit Window 8 and 10 gets you the 64 bit app installation folder, typically C:\Program Files\ Under LiveCode 9.x.x (up to 9.6.0dp3) I can see no way to obtain the 64bit application installation folder using SpecialFolderPath? Does anyone know if this is correct or am I missing something? And does anyone know if LC plans to update the specialFolderPath function on Windows to use KNOWNFOLDERID? Or if it currently uses KNOWNFOLDERID (for all I know). My use case is that I need to check both the 32 bit app installation folder and the 64 bit app installation folder to see if a particular app is installed (either the 32 or 64 bit version could be present) and I would rather NOT hard code the paths since we do run into non-standard installations among our customer base. From merakosp at gmail.com Tue Mar 31 09:13:19 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 31 Mar 2020 16:13:19 +0300 Subject: [ANN] Release 9.6.0 DP-3 In-Reply-To: <8BCAE7C6-789B-4192-9A4A-E04D82A77A3F@hindu.org> References: <9CD804C6-D469-40B1-9671-8A360D3944FC@livecode.com> <455B9F15-8925-4AD0-8E1D-352490EAB4AF@pidigital.co.uk> <3335119A-B28D-47B6-A6E3-F2B23E929480@hindu.org> <8BCAE7C6-789B-4192-9A4A-E04D82A77A3F@hindu.org> Message-ID: Hello Brahmanathaswami, Thank you for sending your .ipa file to our support team. I will post the reply here, since this issue might affect other people too. It seems that Apple/Transporter does not like files that have accented chars in their filename to be included in the app bundle. From Apple dev's forum: https://forums.developer.apple.com/thread/105899 Indeed, you have included these files: /SivaSiva.app/assets/img/shumPortraitSvg/m?ng.svg /SivaSiva.app/assets/img/shumPortraitSvg/l?n.svg /SivaSiva.app/assets/img/shumPortraitSvg/?n.svg /SivaSiva.app/assets/img/shumPortraitSvg/?m.svg I suggest renaming these files so as they do not have accented chars, rebuild a standalone and submit it. Note: Do not rename these files in the existing app bundle as it will become invalid (well, it is already invalid - I mean that in general you must not make any changes in the app bundle as they invalidate the signature). Please let us know if it fixes the problem for you. Kind regards, Panos -- On Thu, 26 Mar 2020 at 03:48, Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > If you mean ?refresh? as in > > > > -- deleting the profiles in ~/Library/MobileDevice/Provisioning Profiles > > -- Going go to developer.apple.com. Downloaded them again, > > -- click them and they were ?registered? by latest Xcode (11.3.1) > > > > And with LC saying > > > > ?Standalone Success?.? No glitches?. > > > > But ?no go in Transporter > > > > Same error > > > > BR > > > > ------------ > > > > What do you get from LC when you create the standalone build? Have you > > refreshed the dist certs just to be sure? > > Sean > > > Sean said > > What do you get from LC when you create the standalone build? Have you > refreshed the dist certs just to be sure? > Sean > > On Wed, 25 Mar 2020 at 21:19, Sannyasin Brahmanathaswami via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > Did you try a build for TestFlight, (which requires a Distribution for > App Store Provisioning profile) > > Everything worked fine using the same Provisioning Profile and Certificate > to 9.6.0.DP2.. > > But under XCode 11.3.1 and 9.6.0 DP3. > I am getting: > ---------- > ERROR ITMS-90035: "Invalid Signature. A sealed resource is missing or > invalid. The file at path [SivaSiva.app/SivaSiva] is not properly signed. > Make sure you have signed your application with a distribution certificate, > not an ad hoc certificate or a development certificate. Verify that the > code signing settings in Xcode are correct at the target level (which > override any values at the project level). Additionally, make sure the > bundle you are uploading was built using a Release target in Xcode, not a > Simulator target. If you are certain your code signing settings are > correct, choose "Clean All" in Xcode, delete the "build" directory in the > Finder, and rebuild your release target. For more information, please > consult > > https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html > " > > Of course there is no ?Clean All? for those building outside of Xcode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 31 11:24:16 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 31 Mar 2020 15:24:16 +0000 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: References: Message-ID: <4885B792-D61C-4A0F-B7B5-2ACC3A537BFF@iotecdigital.com> Isn?t the defaultFolder the app folder when you launch it? Bob S On Mar 31, 2020, at 5:37 AM, Paul Dupuis via use-livecode > wrote: Under LiveCode 9.x.x (up to 9.6.0dp3) I can see no way to obtain the 64bit application installation folder using SpecialFolderPath? Does anyone know if this is correct or am I missing something? From paul at researchware.com Tue Mar 31 12:02:59 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 31 Mar 2020 12:02:59 -0400 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: <4885B792-D61C-4A0F-B7B5-2ACC3A537BFF@iotecdigital.com> References: <4885B792-D61C-4A0F-B7B5-2ACC3A537BFF@iotecdigital.com> Message-ID: <9cf17e1a-50da-8384-df17-bad94ef1e8fb@researchware.com> On 3/31/2020 11:24 AM, Bob Sneidar via use-livecode wrote: > Isn?t the defaultFolder the app folder when you launch it? > Yes, but I am interested in where OTHER applications have been installed (a specific other application that could have ts 32 bit OR its 64 bit version installed) From paul at researchware.com Tue Mar 31 12:07:34 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 31 Mar 2020 12:07:34 -0400 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: References: Message-ID: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> On 3/31/2020 8:37 AM, Paul Dupuis via use-livecode wrote: > Under LiveCode 9.x.x (up to 9.6.0dp3) I can see no way to obtain the > 64bit application installation folder using SpecialFolderPath? Does > anyone know if this is correct or am I missing something? So answering my own question, as of LC9.6.0dp3 here are all the Windows paths for any given CSIDL number between 0 and 255). None return the 64-bit applications folder path. I will file an enhancement request. specialFolderPath(0) = C:/Users//Desktop specialFolderPath(2) = C:/Users//AppData/Roaming/Microsoft/Windows/Start Menu/Programs specialFolderPath(5) = C:/Users//Documents specialFolderPath(6) = C:/Users//Favorites specialFolderPath(7) = C:/Users//AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup specialFolderPath(8) = C:/Users//AppData/Roaming/Microsoft/Windows/Recent specialFolderPath(9) = C:/Users//AppData/Roaming/Microsoft/Windows/SendTo specialFolderPath(11) = C:/Users//AppData/Roaming/Microsoft/Windows/Start Menu specialFolderPath(13) = C:/Users//Music specialFolderPath(14) = C:/Users//Videos specialFolderPath(16) = C:/Users//Desktop specialFolderPath(19) = C:/Users//AppData/Roaming/Microsoft/Windows/Network Shortcuts specialFolderPath(20) = C:/Windows/Fonts specialFolderPath(21) = C:/Users//AppData/Roaming/Microsoft/Windows/Templates specialFolderPath(22) = C:/ProgramData/Microsoft/Windows/Start Menu specialFolderPath(23) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs specialFolderPath(24) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs/StartUp specialFolderPath(25) = C:/Users/Public/Desktop specialFolderPath(26) = C:/Users//AppData/Roaming specialFolderPath(27) = C:/Users//AppData/Roaming/Microsoft/Windows/Printer Shortcuts specialFolderPath(28) = C:/Users//AppData/Local specialFolderPath(29) = C:/Users//AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup specialFolderPath(30) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs/StartUp specialFolderPath(31) = C:/Users//Favorites specialFolderPath(32) = C:/Users//AppData/Local/Microsoft/Windows/INetCache specialFolderPath(33) = C:/Users//AppData/Local/Microsoft/Windows/INetCookies specialFolderPath(34) = C:/Users//AppData/Local/Microsoft/Windows/History specialFolderPath(35) = C:/ProgramData specialFolderPath(36) = C:/Windows specialFolderPath(37) = C:/Windows/System32 specialFolderPath(38) = C:/Program Files (x86) specialFolderPath(39) = C:/Users//Pictures specialFolderPath(40) = C:/Users/ specialFolderPath(41) = C:/Windows/SysWOW64 specialFolderPath(42) = C:/Program Files (x86) specialFolderPath(43) = C:/Program Files (x86)/Common Files specialFolderPath(44) = C:/Program Files (x86)/Common Files specialFolderPath(45) = C:/ProgramData/Microsoft/Windows/Templates specialFolderPath(46) = C:/Users/Public/Documents specialFolderPath(47) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Administrative Tools specialFolderPath(48) = C:/Users//AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Administrative Tools specialFolderPath(53) = C:/Users/Public/Music specialFolderPath(54) = C:/Users/Public/Pictures specialFolderPath(55) = C:/Users/Public/Videos specialFolderPath(56) = C:/Windows/Resources specialFolderPath(59) = C:/Users//AppData/Local/Microsoft/Windows/Burn/Burn From mark at livecode.com Tue Mar 31 12:12:01 2020 From: mark at livecode.com (Mark Waddingham) Date: Tue, 31 Mar 2020 17:12:01 +0100 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> References: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> Message-ID: On 2020-03-31 17:07, Paul Dupuis via use-livecode wrote: > On 3/31/2020 8:37 AM, Paul Dupuis via use-livecode wrote: >> Under LiveCode 9.x.x (up to 9.6.0dp3) I can see no way to obtain the >> 64bit application installation folder using SpecialFolderPath? Does >> anyone know if this is correct or am I missing something? > > So answering my own question, as of LC9.6.0dp3 here are all the > Windows paths for any given CSIDL number between 0 and 255). None > return the 64-bit applications folder path. I will file an enhancement > request. Is your app running as 32-bit? Just to note (looking at the MSDN reference you mentioned): FOLDERID_ProgramFilesX64 This value is not supported on 32-bit operating systems. It also is not supported for 32-bit applications running on 64-bit operating systems. Attempting to use FOLDERID_ProgramFilesX64 in either situation results in an error. See Remarks for more information. So even if we did move to FOLDERIDs it wouldn't make much difference if the app is 32-bit as 32-bit apps won't return 64-bit related OS paths (it seems). If the app is running as 64-bit then I think the relevant CSIDLs return the right thing? Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Tue Mar 31 12:26:04 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 31 Mar 2020 16:26:04 +0000 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> References: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> Message-ID: <72B0EC63-A4CB-4F12-8D8D-19D729CFA80C@iotecdigital.com> The Windows Registry uses HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths as the path to the installation folder for all installed applications. put queryRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AcroRd32.exe\path") seems to work. Bob S > On Mar 31, 2020, at 9:07 AM, Paul Dupuis via use-livecode wrote: > > On 3/31/2020 8:37 AM, Paul Dupuis via use-livecode wrote: >> Under LiveCode 9.x.x (up to 9.6.0dp3) I can see no way to obtain the 64bit application installation folder using SpecialFolderPath? Does anyone know if this is correct or am I missing something? > > So answering my own question, as of LC9.6.0dp3 here are all the Windows paths for any given CSIDL number between 0 and 255). None return the 64-bit applications folder path. I will file an enhancement request. > > specialFolderPath(0) = C:/Users//Desktop > specialFolderPath(2) = C:/Users//AppData/Roaming/Microsoft/Windows/Start Menu/Programs > specialFolderPath(5) = C:/Users//Documents > specialFolderPath(6) = C:/Users//Favorites > specialFolderPath(7) = C:/Users//AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup > specialFolderPath(8) = C:/Users//AppData/Roaming/Microsoft/Windows/Recent > specialFolderPath(9) = C:/Users//AppData/Roaming/Microsoft/Windows/SendTo > specialFolderPath(11) = C:/Users//AppData/Roaming/Microsoft/Windows/Start Menu > specialFolderPath(13) = C:/Users//Music > specialFolderPath(14) = C:/Users//Videos > specialFolderPath(16) = C:/Users//Desktop > specialFolderPath(19) = C:/Users//AppData/Roaming/Microsoft/Windows/Network Shortcuts > specialFolderPath(20) = C:/Windows/Fonts > specialFolderPath(21) = C:/Users//AppData/Roaming/Microsoft/Windows/Templates > specialFolderPath(22) = C:/ProgramData/Microsoft/Windows/Start Menu > specialFolderPath(23) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs > specialFolderPath(24) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs/StartUp > specialFolderPath(25) = C:/Users/Public/Desktop > specialFolderPath(26) = C:/Users//AppData/Roaming > specialFolderPath(27) = C:/Users//AppData/Roaming/Microsoft/Windows/Printer Shortcuts > specialFolderPath(28) = C:/Users//AppData/Local > specialFolderPath(29) = C:/Users//AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup > specialFolderPath(30) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs/StartUp > specialFolderPath(31) = C:/Users//Favorites > specialFolderPath(32) = C:/Users//AppData/Local/Microsoft/Windows/INetCache > specialFolderPath(33) = C:/Users//AppData/Local/Microsoft/Windows/INetCookies > specialFolderPath(34) = C:/Users//AppData/Local/Microsoft/Windows/History > specialFolderPath(35) = C:/ProgramData > specialFolderPath(36) = C:/Windows > specialFolderPath(37) = C:/Windows/System32 > specialFolderPath(38) = C:/Program Files (x86) > specialFolderPath(39) = C:/Users//Pictures > specialFolderPath(40) = C:/Users/ > specialFolderPath(41) = C:/Windows/SysWOW64 > specialFolderPath(42) = C:/Program Files (x86) > specialFolderPath(43) = C:/Program Files (x86)/Common Files > specialFolderPath(44) = C:/Program Files (x86)/Common Files > specialFolderPath(45) = C:/ProgramData/Microsoft/Windows/Templates > specialFolderPath(46) = C:/Users/Public/Documents > specialFolderPath(47) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Administrative Tools > specialFolderPath(48) = C:/Users//AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Administrative Tools > specialFolderPath(53) = C:/Users/Public/Music > specialFolderPath(54) = C:/Users/Public/Pictures > specialFolderPath(55) = C:/Users/Public/Videos > specialFolderPath(56) = C:/Windows/Resources > specialFolderPath(59) = C:/Users//AppData/Local/Microsoft/Windows/Burn/Burn > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 31 12:51:13 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 31 Mar 2020 12:51:13 -0400 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: References: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> Message-ID: <93ecde88-5880-1bcc-d26f-a6b53773260c@researchware.com> On 3/31/2020 12:12 PM, Mark Waddingham via use-livecode wrote: > On 2020-03-31 17:07, Paul Dupuis via use-livecode wrote: >> On 3/31/2020 8:37 AM, Paul Dupuis via use-livecode wrote: >>> Under LiveCode 9.x.x (up to 9.6.0dp3) I can see no way to obtain the >>> 64bit application installation folder using SpecialFolderPath? Does >>> anyone know if this is correct or am I missing something? >> >> So answering my own question, as of LC9.6.0dp3 here are all the >> Windows paths for any given CSIDL number between 0 and 255). None >> return the 64-bit applications folder path. I will file an enhancement >> request. > > Is your app running as 32-bit? > > Just to note (looking at the MSDN reference you mentioned): > > FOLDERID_ProgramFilesX64 > This value is not supported on 32-bit operating systems. It also is > not supported for 32-bit applications running on 64-bit operating > systems. Attempting to use FOLDERID_ProgramFilesX64 in either > situation results in an error. See Remarks for more information. > > So even if we did move to FOLDERIDs it wouldn't make much difference > if the app is 32-bit as 32-bit apps won't return 64-bit related OS > paths (it seems). > > If the app is running as 64-bit then I think the relevant CSIDLs > return the right thing? > > Warmest Regards, > > Mark. > Okay, I was running LC960dp3 (32 bit) so I downloaded LC960dp2 (64 bit) [I chose dp2 only because I didn't want 32 and 64 bits of the same version installed in case of some unknown conflict). Reran my paths test and your DO get different results! Most interestingly: specialFolderPath(38) = C:/Program Files is the 64 bot applications folder and specialFolderPath(42) = C:/Program Files (x86) is teh 32 bit applications folder So, if I am using LC to build a Windows 64 bit standalone that 64 bit standalone can get BOTH the 64 bit Programs folder path AND the 32 bit Program folders path to check for the presence of a 3rd party application that could be installed as either 32 or 64 bit. HOWEVER, if I have built a 32-Bit LC standalone, that can not get the path for the 64 bit Programs folder. It can ONLY get the path for the 32 bit Programs folder A little disappointing. My use case remains. My app (currently 32 bit)? needs to check if a 3rd party app is installed. That 3rd party app could be have either a 32 bit version or a 64 bit version installed. I would like to use some sort of "specialFolderPath" precisely so it a user has a non standard installation I get the correct paths. In at least one actual customer instance we have - out customer is running our app on a Microsoft Terminal Server and users get a remote desktop access to the server to run our app. In this specific case, REGISTRY queries get the users local registery on the CLIENT, but PATH queries check file paths on the SERVER, so registry checks do not work in this case. Folder paths for 64-bit LiveCode 960dp2 specialFolderPath("home") = C:/Users/paul specialFolderPath("desktop") = C:/Users/paul/Desktop specialFolderPath("documents") = C:/Users/paul/Documents specialFolderPath("support") = C:/Users/paul/AppData/Roaming specialFolderPath("system") = C:/Windows specialFolderPath("start") = C:/Users/paul/AppData/Roaming/Microsoft/Windows/Start Menu specialFolderPath("fonts") = C:/Windows/Fonts specialFolderPath("temporary") = C:/Users/paul/AppData/Local/Temp specialFolderPath("engine") = C:/Program Files/RunRev/LiveCode Business 9.6 (dp 2) specialFolderPath("resources") = C:/Users/paul/Desktop specialFolderPath(0) = C:/Users/paul/Desktop specialFolderPath(2) = C:/Users/paul/AppData/Roaming/Microsoft/Windows/Start Menu/Programs specialFolderPath(5) = C:/Users/paul/Documents specialFolderPath(6) = C:/Users/paul/Favorites specialFolderPath(7) = C:/Users/paul/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup specialFolderPath(8) = C:/Users/paul/AppData/Roaming/Microsoft/Windows/Recent specialFolderPath(9) = C:/Users/paul/AppData/Roaming/Microsoft/Windows/SendTo specialFolderPath(11) = C:/Users/paul/AppData/Roaming/Microsoft/Windows/Start Menu specialFolderPath(13) = C:/Users/paul/Music specialFolderPath(14) = C:/Users/paul/Videos specialFolderPath(16) = C:/Users/paul/Desktop specialFolderPath(19) = C:/Users/paul/AppData/Roaming/Microsoft/Windows/Network Shortcuts specialFolderPath(20) = C:/Windows/Fonts specialFolderPath(21) = C:/Users/paul/AppData/Roaming/Microsoft/Windows/Templates specialFolderPath(22) = C:/ProgramData/Microsoft/Windows/Start Menu specialFolderPath(23) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs specialFolderPath(24) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs/StartUp specialFolderPath(25) = C:/Users/Public/Desktop specialFolderPath(26) = C:/Users/paul/AppData/Roaming specialFolderPath(27) = C:/Users/paul/AppData/Roaming/Microsoft/Windows/Printer Shortcuts specialFolderPath(28) = C:/Users/paul/AppData/Local specialFolderPath(29) = C:/Users/paul/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup specialFolderPath(30) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs/StartUp specialFolderPath(31) = C:/Users/paul/Favorites specialFolderPath(32) = C:/Users/paul/AppData/Local/Microsoft/Windows/INetCache specialFolderPath(33) = C:/Users/paul/AppData/Local/Microsoft/Windows/INetCookies specialFolderPath(34) = C:/Users/paul/AppData/Local/Microsoft/Windows/History specialFolderPath(35) = C:/ProgramData specialFolderPath(36) = C:/Windows specialFolderPath(37) = C:/Windows/System32 specialFolderPath(38) = C:/Program Files specialFolderPath(39) = C:/Users/paul/Pictures specialFolderPath(40) = C:/Users/paul specialFolderPath(41) = C:/Windows/SysWOW64 specialFolderPath(42) = C:/Program Files (x86) specialFolderPath(43) = C:/Program Files/Common Files specialFolderPath(44) = C:/Program Files (x86)/Common Files specialFolderPath(45) = C:/ProgramData/Microsoft/Windows/Templates specialFolderPath(46) = C:/Users/Public/Documents specialFolderPath(47) = C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Administrative Tools specialFolderPath(48) = C:/Users/paul/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Administrative Tools specialFolderPath(53) = C:/Users/Public/Music specialFolderPath(54) = C:/Users/Public/Pictures specialFolderPath(55) = C:/Users/Public/Videos specialFolderPath(56) = C:/Windows/Resources specialFolderPath(59) = C:/Users/paul/AppData/Local/Microsoft/Windows/Burn/Burn From paul at researchware.com Tue Mar 31 12:52:22 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 31 Mar 2020 12:52:22 -0400 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: <72B0EC63-A4CB-4F12-8D8D-19D729CFA80C@iotecdigital.com> References: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> <72B0EC63-A4CB-4F12-8D8D-19D729CFA80C@iotecdigital.com> Message-ID: On 3/31/2020 12:26 PM, Bob Sneidar via use-livecode wrote: > The Windows Registry uses HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths as the path to the installation folder for all installed applications. > > put queryRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AcroRd32.exe\path") > > seems to work. > Thanks for the suggestion, but that will not work in our case In at least one actual customer instance we have - out customer is running our app on a Microsoft Terminal Server and users get a remote desktop access to the server to run our app. In this specific case, REGISTRY queries get the users local registery on the CLIENT, but PATH queries check file paths on the SERVER, so registry checks do not work in this case. From bobsneidar at iotecdigital.com Tue Mar 31 12:54:29 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 31 Mar 2020 16:54:29 +0000 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: References: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> <72B0EC63-A4CB-4F12-8D8D-19D729CFA80C@iotecdigital.com> Message-ID: <22FFC699-6D12-43AC-A390-A9DD7E1B1248@iotecdigital.com> Well that certainly complicates things! :-) Bob S On Mar 31, 2020, at 9:52 AM, Paul Dupuis via use-livecode > wrote: On 3/31/2020 12:26 PM, Bob Sneidar via use-livecode wrote: The Windows Registry uses HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths as the path to the installation folder for all installed applications. put queryRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AcroRd32.exe\path") seems to work. Thanks for the suggestion, but that will not work in our case In at least one actual customer instance we have - out customer is running our app on a Microsoft Terminal Server and users get a remote desktop access to the server to run our app. In this specific case, REGISTRY queries get the users local registery on the CLIENT, but PATH queries check file paths on the SERVER, so registry checks do not work in this case. From paul at researchware.com Tue Mar 31 13:05:33 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 31 Mar 2020 13:05:33 -0400 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: <22FFC699-6D12-43AC-A390-A9DD7E1B1248@iotecdigital.com> References: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> <72B0EC63-A4CB-4F12-8D8D-19D729CFA80C@iotecdigital.com> <22FFC699-6D12-43AC-A390-A9DD7E1B1248@iotecdigital.com> Message-ID: <5d4eb6d0-895d-b214-ba59-befb28a1adbf@researchware.com> On 3/31/2020 12:54 PM, Bob Sneidar via use-livecode wrote: > Well that certainly complicates things! :-) > > Yea! Our application is used by researchers in Academia, and more are shifting to served application for distance learning, especially with the pandemic. We know we work under Citrix App Server, but this is the first (in recent times) Microsoft Terminal Server and every app server is slightly different. We're big enough to have customers with weird configuration, but in no way big enough to be able to afford to have app servers we can test on, so each one is a sudden new support and development challenge! From lists at mangomultimedia.com Tue Mar 31 13:13:29 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 31 Mar 2020 12:13:29 -0500 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: <93ecde88-5880-1bcc-d26f-a6b53773260c@researchware.com> References: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> <93ecde88-5880-1bcc-d26f-a6b53773260c@researchware.com> Message-ID: On Tue, Mar 31, 2020 at 11:52 AM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > > Okay, I was running LC960dp3 (32 bit) so I downloaded LC960dp2 (64 bit) > [I chose dp2 only because I didn't want 32 and 64 bits of the same > version installed in case of some unknown conflict). Reran my paths test > and your DO get different results! > > Most interestingly: > specialFolderPath(38) = C:/Program Files is the 64 bot applications folder > and > specialFolderPath(42) = C:/Program Files (x86) is teh 32 bit > applications folder > > So, if I am using LC to build a Windows 64 bit standalone that 64 bit > standalone can get BOTH the 64 bit Programs folder path AND the 32 bit > Program folders path to check for the presence of a 3rd party > application that could be installed as either 32 or 64 bit. > > HOWEVER, if I have built a 32-Bit LC standalone, that can not get the > path for the 64 bit Programs folder. It can ONLY get the path for the 32 > bit Programs folder > > A little disappointing. My use case remains. My app (currently 32 bit) > needs to check if a 3rd party app is installed. That 3rd party app could > be have either a 32 bit version or a 64 bit version installed. I would > like to use some sort of "specialFolderPath" precisely so it a user has > a non standard installation I get the correct paths. > Paul, I had a similar situation recently where I needed to get some DPI information about the monitors that wasn't available through my LC main application. I ended up writing a simple command line tool in Visual Studio that used the Windows APIs and returned the proper information. I included that exe with my app and called it from within LC. In your case you would create a 64-bit command line app and I'm guessing you could find sample code for such a common API call. -- Trevor DeVore ScreenSteps www.screensteps.com From mark at livecode.com Tue Mar 31 13:19:41 2020 From: mark at livecode.com (Mark Waddingham) Date: Tue, 31 Mar 2020 18:19:41 +0100 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: References: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> <93ecde88-5880-1bcc-d26f-a6b53773260c@researchware.com> Message-ID: <7e131baf7d359743c78c855bb8d0cf56@livecode.com> On 2020-03-31 18:13, Trevor DeVore via use-livecode wrote: > I had a similar situation recently where I needed to get some DPI > information about the monitors that wasn't available through my LC main > application. I ended up writing a simple command line tool in Visual > Studio > that used the Windows APIs and returned the proper information. I > included > that exe with my app and called it from within LC. In your case you > would > create a 64-bit command line app and I'm guessing you could find sample > code for such a common API call. Another thought occurs (along these lines)... I'm pretty sure if you run shell commands on windows then the program files are present as env vars (at least for the shell's bitness). So it might be possible to run the 32-bit cmd.exe from shell() and give it a bat script which echos out the relevant var? Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paul at researchware.com Tue Mar 31 13:19:30 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 31 Mar 2020 13:19:30 -0400 Subject: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: References: <2fbae358-9f9e-aa20-dbe5-0a921c400277@researchware.com> <93ecde88-5880-1bcc-d26f-a6b53773260c@researchware.com> Message-ID: <9f963bfd-84d4-b6f7-1575-0006455315c3@researchware.com> On 3/31/2020 1:13 PM, Trevor DeVore via use-livecode wrote: > > Paul, > > I had a similar situation recently where I needed to get some DPI > information about the monitors that wasn't available through my LC main > application. I ended up writing a simple command line tool in Visual Studio > that used the Windows APIs and returned the proper information. I included > that exe with my app and called it from within LC. In your case you would > create a 64-bit command line app and I'm guessing you could find sample > code for such a common API call. > That's a good idea! I will? look into that for a more solid and reliable fix. From paul at researchware.com Tue Mar 31 13:32:24 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 31 Mar 2020 13:32:24 -0400 Subject: AW: specialFolderPath, Microsoft Window, and 64 bits In-Reply-To: References: Message-ID: So, I think I may have answered by own question. IF my app is 32 bit THEN ?? specialFolderPath(38) returns the 32 bit app folder (C:\Program Files (x86)\) ? and ?? specialFolderPath(42) returns the 32 bit app folder (C:\Program Files (x86)\) IF my app is 64 bit THEN ?? specialFolderPath(38) returns the 64 bit app folder (C:\Program Files\) ? and ?? specialFolderPath(42) returns the 32 bit app folder (C:\Program Files (x86)\) I don't want to change to building a 64-bit Windows version of my - mostly because we are just not geared up to QA test for that and 32 bit builds. My main concerns is where the Window OS is installed to a not standard volume, so you have something like: D:\Program Files\ or \\system07\C$\Program Files\ or etc. However, I can write a custom function to get the 32 bit path (C:\Program Files (x86)\) and take everything before "Program Files" as the VOLUME\ or \\SERVER\VOLUME\ and just put it in front of the 64 bit Program Files folder name to get a correct 64 bit path. I don't believe that the 64bit Program Files and 32 Bit Program Files folders can be on different volumes. Both Mark and Trevor's suggestions of Shell environment variables OR LCB wrapped windows API) (respectively) potentially offer a more stable and reliable solution that my thought above and I'll look into them. Thank you all who responded. From tom at makeshyft.com Tue Mar 31 15:11:42 2020 From: tom at makeshyft.com (Tom Glod) Date: Tue, 31 Mar 2020 15:11:42 -0400 Subject: Ready to go In-Reply-To: <96BD5841-8BD4-45BE-AF79-1043C4E887B7@pidigital.co.uk> References: <8F201D7E-2E08-446E-BAA0-D06996C05D72@livecode.com> <96BD5841-8BD4-45BE-AF79-1043C4E887B7@pidigital.co.uk> Message-ID: Hi Heather, Thanks for doing that for the new users. Will you have a sale for existing users? Sean, agreed.... the started today factor of LC is amazing!! definitely a great selling point. On Mon, Mar 30, 2020 at 1:57 PM Pi Digital via use-livecode < use-livecode at lists.runrev.com> wrote: > The Tom Glod ?using LiveCode for the first time? video is a good one to > share for enthusiastically selling LC. > > Sean Cole > Pi Digital > > > > On 30 Mar 2020, at 17:11, Heather Laine via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Dear List Folks, > > > > Following up on my earlier message, our special Covid-19 page is now > live on site, here: > > > > https://livecode.com/stay-at-home/ > > > > Please feel free to share far and wide, with anyone you think might > benefit from it. > > > > We'll be setting up the first zoom meeting soon, I'll let you know when > we've finalised a date and time. > > > > Best Regards, > > > > Heather > > > > Heather Laine > > Customer Services Manager > > LiveCode Ltd > > www.livecode.com > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Tue Mar 31 15:13:57 2020 From: tom at makeshyft.com (Tom Glod) Date: Tue, 31 Mar 2020 15:13:57 -0400 Subject: Ready to go In-Reply-To: References: <8F201D7E-2E08-446E-BAA0-D06996C05D72@livecode.com> <96BD5841-8BD4-45BE-AF79-1043C4E887B7@pidigital.co.uk> Message-ID: I know you guys just had a 30% sale to start the year...but Christmas killed us with customer missing in action .... so I couldn't do it at the time. :( Stay well everyone! On Tue, Mar 31, 2020 at 3:11 PM Tom Glod wrote: > Hi Heather, > > Thanks for doing that for the new users. > > Will you have a sale for existing users? > > Sean, agreed.... the started today factor of LC is amazing!! definitely a > great selling point. > > > On Mon, Mar 30, 2020 at 1:57 PM Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The Tom Glod ?using LiveCode for the first time? video is a good one to >> share for enthusiastically selling LC. >> >> Sean Cole >> Pi Digital >> >> >> > On 30 Mar 2020, at 17:11, Heather Laine via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > ?Dear List Folks, >> > >> > Following up on my earlier message, our special Covid-19 page is now >> live on site, here: >> > >> > https://livecode.com/stay-at-home/ >> > >> > Please feel free to share far and wide, with anyone you think might >> benefit from it. >> > >> > We'll be setting up the first zoom meeting soon, I'll let you know when >> we've finalised a date and time. >> > >> > Best Regards, >> > >> > Heather >> > >> > Heather Laine >> > Customer Services Manager >> > LiveCode Ltd >> > www.livecode.com >> > >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Tue Mar 31 15:17:50 2020 From: tom at makeshyft.com (Tom Glod) Date: Tue, 31 Mar 2020 15:17:50 -0400 Subject: Its very quiet In-Reply-To: <17f5780b-4dd5-0128-3857-6e342c0e7774@sonic.net> References: <3ef3506a-fc3b-1f13-591f-fb5680003cd9@pair.com> <1F946C37-BF04-4D6B-A57D-C92FC90389C9@pidigital.co.uk> <793a11b4-ee4b-cb78-8416-af8a5fcce055@sonic.net> <17f5780b-4dd5-0128-3857-6e342c0e7774@sonic.net> Message-ID: I'm working on an App in flutter.... I can't wait to get back into my Livecode work later in the spring..... still have years of LC work left. On Mon, Mar 30, 2020 at 11:23 AM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 3/30/20 12:15 AM, Stephen Barncard via use-livecode wrote: > > Plug in headblocks for 24, 16, and 8 tracks. > > ...and three (!) rows of VUE meters? > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From paul at researchware.com Tue Mar 31 15:24:27 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 31 Mar 2020 15:24:27 -0400 Subject: Answer dialog enhancement... Message-ID: <76145c5d-e39f-0a65-b324-67cc6ecb6163@researchware.com> Here is another attempt to not reinvent the wheel: We, like a lot of people, use: answer [/iconType/]/prompt/[with/button1/[or/buttons/]] [titled/windowTitle/] [as sheet] And we use the various iconTypes to who error, warning, or informational icons. We have a lot of these that are caution dialogs (are you sure that... sort of thing). We'd like to move to the (now) common UI convention of having a "Do not show this again." check box in the dialog combined with a set of saved preferences for whether the used indicated it should not be shown again. We already have a preferences system in place. I am seeking if someone has already written code to ADD a "Do not ask this again." check box to the existing Answer Dialog, so you could do something like: DontShowAgain "on" answer warning "Are you sure you want to quit before saving?" with "Save" or "Quit" titled "Are You Sure?" put it into tResponse put line x of the dalogData into tDontShowAgain DontShowAgain "off" where a handler DontShowAgain creates and positions a check box in the existing Answer Dialog and adds a script to put the result in the dialogData (or some means to check it afterwards) Alternatively, if no one has glued this onto the existing Answer Dialog has anyone created a custom Answer Dialog with a Do Not Show Again check box that has the same general capabilities (icon type by platform (Win/OSX), html text prompts, named buttons, and windowTitle as parameters) From bobsneidar at iotecdigital.com Tue Mar 31 18:10:30 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 31 Mar 2020 22:10:30 +0000 Subject: Answer dialog enhancement... In-Reply-To: <76145c5d-e39f-0a65-b324-67cc6ecb6163@researchware.com> References: <76145c5d-e39f-0a65-b324-67cc6ecb6163@researchware.com> Message-ID: <4D239D76-5889-4B39-8EFB-F89F1855D175@iotecdigital.com> The answer dialog is simply a stack in and of itself if I am not mistaken. I?m wondering if you couldn?t find that stack and clone it for your own purposes? Bob S On Mar 31, 2020, at 12:24 PM, Paul Dupuis via use-livecode > wrote: Here is another attempt to not reinvent the wheel: We, like a lot of people, use: answer [/iconType/]/prompt/[with/button1/[or/buttons/]] [titled/windowTitle/] [as sheet] And we use the various iconTypes to who error, warning, or informational icons. We have a lot of these that are caution dialogs (are you sure that... sort of thing). We'd like to move to the (now) common UI convention of having a "Do not show this again." check box in the dialog combined with a set of saved preferences for whether the used indicated it should not be shown again. We already have a preferences system in place. I am seeking if someone has already written code to ADD a "Do not ask this again." check box to the existing Answer Dialog, so you could do something like: DontShowAgain "on" answer warning "Are you sure you want to quit before saving?" with "Save" or "Quit" titled "Are You Sure?" put it into tResponse put line x of the dalogData into tDontShowAgain DontShowAgain "off" where a handler DontShowAgain creates and positions a check box in the existing Answer Dialog and adds a script to put the result in the dialogData (or some means to check it afterwards) Alternatively, if no one has glued this onto the existing Answer Dialog has anyone created a custom Answer Dialog with a Do Not Show Again check box that has the same general capabilities (icon type by platform (Win/OSX), html text prompts, named buttons, and windowTitle as parameters) From paul at researchware.com Tue Mar 31 19:09:48 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 31 Mar 2020 19:09:48 -0400 Subject: Answer dialog enhancement... In-Reply-To: <4D239D76-5889-4B39-8EFB-F89F1855D175@iotecdigital.com> References: <76145c5d-e39f-0a65-b324-67cc6ecb6163@researchware.com> <4D239D76-5889-4B39-8EFB-F89F1855D175@iotecdigital.com> Message-ID: <4d47be93-531e-e5ac-e1fe-c60b43ebe150@researchware.com> On 3/31/2020 6:10 PM, Bob Sneidar via use-livecode wrote: > The answer dialog is simply a stack in and of itself if I am not mistaken. I?m wondering if you couldn?t find that stack and clone it for your own purposes? > > Bob S Yes. That is easy enough. Turn on "Show IDE Stacks in List" from the "View" menu and there are the Answer and Ask Dialogs. Then you need to work out how the Answer command passes its data via "the dialogData" property into order to create an alternative calling routine that sets up the Don't Ask Again check box You could copy the Answer to your own project? and in the Standalone Settings switch to Manual Inclusions and exclude the Answer Dialog. Then I believe the answer command will use the copy of the dialog in your project. Then you need to add the button, change the resizeStack handlers accordingly, script its show and hide, add code to get the return value AND remember to see if the dialog needs updates with each new release of LiveCode. That is why I asked if anyone has already done it so as to not re-invent the wheel. From bobsneidar at iotecdigital.com Tue Mar 31 19:12:36 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 31 Mar 2020 23:12:36 +0000 Subject: Answer dialog enhancement... In-Reply-To: <4d47be93-531e-e5ac-e1fe-c60b43ebe150@researchware.com> References: <76145c5d-e39f-0a65-b324-67cc6ecb6163@researchware.com> <4D239D76-5889-4B39-8EFB-F89F1855D175@iotecdigital.com> <4d47be93-531e-e5ac-e1fe-c60b43ebe150@researchware.com> Message-ID: Seems like most if not all this code has been done already in the dialog itself. I?ll look into it because I wanted at one point to make an enhanced answer dialog as well. Bob S On Mar 31, 2020, at 4:09 PM, Paul Dupuis via use-livecode > wrote: On 3/31/2020 6:10 PM, Bob Sneidar via use-livecode wrote: The answer dialog is simply a stack in and of itself if I am not mistaken. I?m wondering if you couldn?t find that stack and clone it for your own purposes? Bob S Yes. That is easy enough. Turn on "Show IDE Stacks in List" from the "View" menu and there are the Answer and Ask Dialogs. Then you need to work out how the Answer command passes its data via "the dialogData" property into order to create an alternative calling routine that sets up the Don't Ask Again check box You could copy the Answer to your own project and in the Standalone Settings switch to Manual Inclusions and exclude the Answer Dialog. Then I believe the answer command will use the copy of the dialog in your project. Then you need to add the button, change the resizeStack handlers accordingly, script its show and hide, add code to get the return value AND remember to see if the dialog needs updates with each new release of LiveCode. That is why I asked if anyone has already done it so as to not re-invent the wheel. From paul at researchware.com Tue Mar 31 20:23:34 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 31 Mar 2020 20:23:34 -0400 Subject: Answer dialog enhancement... In-Reply-To: References: <76145c5d-e39f-0a65-b324-67cc6ecb6163@researchware.com> <4D239D76-5889-4B39-8EFB-F89F1855D175@iotecdigital.com> <4d47be93-531e-e5ac-e1fe-c60b43ebe150@researchware.com> Message-ID: <115f1cd5-d2fd-52f1-4f4c-5d8524d8991c@researchware.com> On 3/31/2020 7:12 PM, Bob Sneidar via use-livecode wrote: > Seems like most if not all this code has been done already in the dialog itself. I?ll look into it because I wanted at one point to make an enhanced answer dialog as well. > > Bob S I'm thinking that if I need to roll my own, then my approach might be to write a handler that adds or removes the button by script from the standard Answer Dialog. That was if LC Corporate every makes changed to the dialog, your project inherits them with a new built under a new version of the engine. If you copy the dialog, then you either need to rename it and maintain it or do manual Inclusions and exclude the engine from conflicting with your copy. I was thinking something like: on mouseUp ? dontaskagain "on","Do not show this message again." ? answer warning "Some message I may not want to see again." with "Cancel" or "OK" titled "A Message" ? put it into tAnswer ? dontaskagain "off" end mouseUp command dontaskagain pActivate, pLabel ? -- usage: ? -- dontaskagain "on|off" [, ] ? --?? dontaskagain "on","Do not show this message again." ? --?? answer warning "Some message I may not want to see again." with "Cancel" or "OK" titled "A Message" ? --?? put it into tAnswer ? --?? dontaskagain "off" ? switch pActivate ??? case "on" ????? -- setup the templateButton ????? set the style of the templateButton to "checkbox" ????? set the label of the templateButton to pLabel ????? set the width of the templateButton to the formattedWidth of the templateButton ????? set the height of the templateButton to 23 ????? -- ????? create btn "DontAskAgain" in cd 1 of stack "Answer Dialog" ????? -- ????? reset the templateButton ????? break ??? case "off" ????? delete btn "DontAskAgain" of cd 1 of stack "Answer Dialog" ????? break ? end switch end dontaskagain This adds the checkbox or removes it to the built in Answer Dialog dynamically. The problem is pre-positioning the checkbox. The dialog has a preOpenCard handler that does the position and if I position it ahead of time the code it the preOpenCard changes things I think I need to insert a openCard handler into the stack dynamically, which would execute after preOpenCard, that positions the check box OR attach a behavior script with an "after preOpenCard" handler, but I don't understand exactly how to do that?? From jacque at hyperactivesw.com Tue Mar 31 20:35:41 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 31 Mar 2020 19:35:41 -0500 Subject: Answer dialog enhancement... In-Reply-To: <4d47be93-531e-e5ac-e1fe-c60b43ebe150@researchware.com> References: <76145c5d-e39f-0a65-b324-67cc6ecb6163@researchware.com> <4D239D76-5889-4B39-8EFB-F89F1855D175@iotecdigital.com> <4d47be93-531e-e5ac-e1fe-c60b43ebe150@researchware.com> Message-ID: <171332a4748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I had to create my own for mobile since the default didn't do what I wanted. I implemented it as a group. When the user hits the OK button it places the response in the dialogdata and sends a message to the card. The card has a handler that captures the message and gets the dialogdata to do what it needs. If the user cancels, the dialogdata contains "cancel". I keep the group in an unplaced background, and when I need it I copy it to the card. When it's dismissed I delete it. That way I don't need to include it on all the cards. I trigger it with a command that passes any necessary data to the group as parameters. I don't think it's possible to remove the answer dialog from an app, the last time I tried it reselected itself, so I just ignore it. Since I was using it on mobile this works pretty well, but on desktop it would be confined to the card rect. You could do the same thing with a stack, which would eliminate the need to copy anything. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 31, 2020 6:11:51 PM Paul Dupuis via use-livecode wrote: > On 3/31/2020 6:10 PM, Bob Sneidar via use-livecode wrote: >> The answer dialog is simply a stack in and of itself if I am not mistaken. >> I?m wondering if you couldn?t find that stack and clone it for your own >> purposes? >> >> Bob S > > Yes. That is easy enough. Turn on "Show IDE Stacks in List" from the > "View" menu and there are the Answer and Ask Dialogs. > > Then you need to work out how the Answer command passes its data via > "the dialogData" property into order to create an alternative calling > routine that sets up the Don't Ask Again check box > > You could copy the Answer to your own project and in the Standalone > Settings switch to Manual Inclusions and exclude the Answer Dialog. Then > I believe the answer command will use the copy of the dialog in your > project. Then you need to add the button, change the resizeStack > handlers accordingly, script its show and hide, add code to get the > return value > > AND remember to see if the dialog needs updates with each new release of > LiveCode. > > That is why I asked if anyone has already done it so as to not re-invent > the wheel. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode